
:root {
  --bp-mobile-max: 479px;
  --bp-small-tablet-min: 480px;
  --bp-small-tablet-max: 767px;
  --bp-tablet-min: 768px;
  --bp-tablet-max: 1023px;

  --fs-mobile: 14px;
  --fs-small-tablet: 15px;
  --fs-tablet: 16px;
  --fs-pc: 18px;

  --font-family-main: "Aozora Mincho", serif;

  --color-main-bg: #ffffff;
  --color-body-bg: rgba(240, 229, 201, 0.2);
  --color-accent: #df5446;
  --color-accent-translucent: rgba(223, 84, 70, 0.9);
  --color-loader-bg: #F7CDC2;
  --color-progress-bg: #e0e0e0;
  --color-progress-bar: #FF8A65;
  --color-footer-bg: #df5446;
  --color-footer-text: #ffffff;
  --color-text-dark: #000000;

  --border-width: 2px;
  --line-height: 2px;
  --line-length-default: 50vw;
  --line-length-mobile: 80vw;
  --loader-logo-size: 30vh;
  --progress-height: 5px;
  --sns-icon-size: 2rem;
  --font-size-title: 2.5rem;
  --font-size-title-mobile: 2rem;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s ease-in-out;
  --transition-fade: 2.0s ease;
}


@font-face {
  font-family: 'Aozora Mincho';
  src: url('./top/aozoramincho/AozoraMinchoRegular02.woff2') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Aozora Mincho';
  src: url('./top/aozoramincho/AozoraMincho-bold02.woff2') format('truetype');
  font-weight: 700;
  font-style: normal;
}



html {
  font-size: var(--fs-pc);
}

@media (max-width: var(--bp-mobile-max)) {
  html { font-size: var(--fs-mobile); }
}

@media (min-width: var(--bp-small-tablet-min)) and (max-width: var(--bp-small-tablet-max)) {
  html { font-size: var(--fs-small-tablet); }
}

@media (min-width: var(--bp-tablet-min)) and (max-width: var(--bp-tablet-max)) {
  html { font-size: var(--fs-tablet); }
}

body {
  font-family: var(--font-family-main);
}


h1 {
  font-size: 2.0rem;
}
h2 {
  font-size: 2.0rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.125rem;
}
p {
  font-size: 1.0rem;
}


:root {
  --color-main-bg: #ffffff;
  --color-body-bg: #F0E5C9;
  --color-accent: #df5446;
  --color-accent-translucent: rgba(223, 84, 70, 0.9);
  --color-loader-bg: #F0E5C9;
  --color-progress-bg: #e0e0e0;
  --color-progress-bar: #FF8A65;
  --color-footer-bg: #df5446;
  --color-footer-text: #ffffff;
  --color-text-dark: #000000;
  --coler-text-dark-2:#1A2E53;
  --border-width: 2px;
  --line-height: 2px;
  --line-length-default: 50vw;
  --line-length-mobile: 80vw;
  --loader-logo-size: 30vh;
  --progress-height: 5px;
  --sns-icon-size: 2rem;
  --font-size-title: 2.5rem;
  --font-size-title-mobile: 2rem
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s ease-in-out;
  --transition-fade: 2.0s ease;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Aozora Mincho","Times New Roman", "Klee One", "MS Mincho", sans-serif;
  text-align: center;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("./top/img/p0102.png"); 
  background-size: 1200px auto;
  background-position: center center;
  background-repeat: repeat;
  z-index: -1;
}
@media (max-width: 450px) {
  body::before {
    background-position: right center;
  }
}

.section-title {
  margin-top: 100px;
  position: relative;
  text-align: center;
  margin: 1em 0;
  font-size: var(--font-size-title);
}
.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--line-length-default);
  height: var(--line-height);
  background-color: var(--color-accent);
}
.section-title::before { top: -0.5em; }
.section-title::after  { bottom: -0.5em; }

@media (max-width: 450px) {
  .section-title { font-size: var(--font-size-title-mobile); }
  .section-title::before,
  .section-title::after { width: var(--line-length-mobile); }
}

#loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-loader-bg);
  transition: opacity var(--transition-fade);
  z-index: 9999;
}
#loader img {
  width: var(--loader-logo-size);
  height: auto;
  margin-bottom: 20px;
}
.progress-container {
  width: 60%;
  max-width: 400px;
  height: var(--progress-height);
  background-color: var(--color-progress-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar {
  width: 0;
  height: 100%;
  background-color: var(--color-progress-bar);
  border-radius: 10px 0 0 10px;
  transition: width var(--transition-fast);
}
#progress-text {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
}

header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  z-index: 1000;
}

.sns-icons {
  display: flex;
  gap: 0.8em;
  align-items: center;
  padding: 2em;
}
.sns-icons a {
  color: var(--coler-text-dark-2);
  font-size: var(--sns-icon-size);
  transition: color var(--transition-medium);
}
.sns-icons a:hover {
  color: var(--color-accent);
}

.hamburger {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
  left: -30px;
}
.hamburger span {
  position: absolute;
  width: 100%;
  height: var(--border-width);
  background: var(--coler-text-dark-2);
  transition:
    transform var(--transition-slow),
    background var(--transition-medium);
  right: 0;
}
.hamburger span:first-child { top: 8px; }
.hamburger span:last-child  { bottom: 16px; }

.hamburger.active span {
  background: var(--coler-text-dark-2);
}
.hamburger.active span:first-child {
  transform: rotate(30deg) translate(5px, 5px);
}
.hamburger.active span:last-child {
  transform: rotate(-30deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  inset: 0;
  background: var(--color-accent);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
  z-index: 1000;
}
.nav-menu.open {
  opacity: 1;
  visibility: visible;
}

.nav-header {
  background-color: var(--color-loader-bg);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-logo {
  max-height: 20vh;
  max-width: 80%;
  object-fit: contain;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  overflow-y: auto;
  align-self: center;
}
.nav-list li {
  margin-top: 2vh;
}
.nav-list li a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 3vh;
  font-weight: bold;
  line-height: 1;
}
.nav-list li a .english  { padding-top: 0rem; }
.nav-list li a .hiragana { font-size: 2.5vh; }

.sns-icons-nav {
  padding: 10px 0;
  margin-bottom: 5px;
  display: flex;
  gap: 0.8em;
  justify-content: center;
  align-items: center;
}
.sns-icons-nav a {
  color: var(--color-text-dark);
}

footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 4vw 5vw;
  margin-top: 4vw;
}
.footer-content {
  margin: 0 50px;
  text-align: left;
}
.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.footer-link a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: opacity var(--transition-fast);
}
.footer-link a:hover {
  opacity: 0.8;
}
.footer-copy {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-top: 2rem;
}
.copy-br {
  display: block;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 0.25rem;
  }
  .footer-link {
    width: 100%;
    margin-bottom: 0;
  }
  .footer-link a {
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 480px) {
  footer          { padding: 6vw 4vw; }
  .footer-link a  { font-size: 0.9rem; }
  .footer-copy    { font-size: 0.8rem; }
}
@media (min-width: 769px) {
  .footer-links   { gap: 4rem; }
  .footer-content { margin: 0 25%; }
  .copy-br        { display: none; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.random-quote {
  text-align: center;
  font-style: italic;
  margin-bottom: 10px;
  margin-top: 10px;
  color: var(--color-text-dark);
}

.menu-quoute{
  margin-top: 20px!important;
}

.section-title{
    padding: 10px 50px!important;
    margin-top: 100px!important;
    font-size: 1.75rem!important;
}
