@charset "UTF-8";

/* ========================================
  Header
======================================== */
.header {
  margin-top: 2rem;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__info, .header__info02 {
  font-family: var(--font-family-accent);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-align: right;
}

.header__tel {
  font-size: 2.5rem;
  letter-spacing: .6rem;
}

.header__tel::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background: url("/img/handset.svg") center / contain no-repeat;
  vertical-align: middle;
  margin-right: 8px;
  transform: translateY(-5px);
}

.header__person {
  font-size: .75rem;
  transform: translateY(-8px);
}

.header__hours-label {
  display: inline-block;
  padding: .25rem 1rem;
  border-radius: var(--radius-pill);
  background: #fde8cf;
}

.header__hours-time {
  margin: 0 0 0 .5rem;
  font-size: 1.5rem;
  color: #ed844d;
}

.header__utility-list {
  display: flex;
  justify-content: right;
  gap: 1.5rem;
  margin: 2rem 0 0 0;
  font-size: 1rem;
}

.header__office-info {
  margin: 0 0 0 2rem;
  font-size: .75rem;
}

.header__hamburger {
  display: none;
}

.header__brand {
  font-family: var(--font-family-accent);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.header__brand-link {
  display: flex;
}

.header__brand-logo {
  width: 32px;
  height: auto;
  margin-right: .5rem;
}

.header__nav {
  margin: 1rem 0 0 0;
}

.header__list {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-black);
  color: var(--color-primary-pale);
}

.header__link {
  position: relative;
  display: inline-block;
  padding: 1rem;
  transition: .5s;
}

.header__link:hover {
  background: var(--color-primary-pale);
  color: var(--color-primary);
  opacity: 1;
}

i.fa {
  display: block;
  text-align: center;
  font-size: 2rem;
}

/* ========================================
  Main,Aside
======================================== */
.top-layout {
  display: flex;
  max-width: 1400px;
  margin: auto;
}

#top-main {
  width: 65%;
}

#top-aside {
  width: 35%;
  max-width: 500px;
  margin: 3rem 0 0 0;
  padding: 0 2.5rem;
  border-left: 1px dotted var(--color-primary);
}

.top-aside__logo {
  margin: 0 0 1rem 0;
}

.top-aside__logo,
.top-aside__postal-code,
.top-aside__address {
  text-align: center;
}

.top-aside__logo img {
  display: inline;
}

.top-aside__details {
  margin: 1rem 0 0 0;
}

.top-aside__label {
  display: inline-block;
  padding: .25rem .5rem;
  margin: .5rem .5rem 0 0;
  border-radius: var(--radius-pill);
  background: #fde8cf;
}

.top-aside__info--hours {
  margin: 1rem 0 0 0;
}

.top-aside__label--hours {
  background: #eba873;
}

.top-aside__note {
  display: inline-block;
  font-size: .75rem;
  margin: 0 0 0 5rem;
  transform: translateY(-8px);
}

.top-aside__name {
  display: inline-block;
  margin: 0 0 0 7rem;
  font-size: .75rem;
  transform: translateY(-8px);
}

/* ========================================
  Footer
======================================== */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  margin: 5rem 0 0 0;
  background: var(--color-primary);
  font-weight: var(--font-weight-regular);
  font-size: .875rem;
  text-wrap: wrap;
  color: var(--color-primary-pale);
}

.footer__copyright {
  line-height: 1.8;
  letter-spacing: 0;
  text-align: center;
}

.footer__copyright-main {
  white-space: nowrap;
}

.footer__copyright-sub {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .footer__copyright {
    font-size: clamp(.6875rem, 3.2vw, .875rem);
  }
}

/* ========================================
  Common Components
======================================== */
.section__title01 {
  max-width: 500px;
  margin: 5rem auto 4rem auto;
  background: linear-gradient(transparent 60%, var(--color-primary-pale) 60%);
  text-align: center;
  color: var(--color-primary);
}

.section__title02 {
  margin: 5rem auto 2rem auto;
  padding: .5rem 0 .5rem 1rem;
  border-left: 5px solid var(--color-primary);
  color: var(--color-primary);
}

.section__content {
  margin: 5rem 0 0 0;
}

.section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  width: 90%;
  max-width: 800px;
  padding: 0 2rem;
}

.section__list--type01 {
  display: block;
}

.section__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.section__item::before {
  content: "●";
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: .75rem;
  line-height: 1.5;
  margin-top: .45em;
}

.section__image-wrapper {
  position: relative;
  text-align: center;
}

.section__image {
  margin: 0 0 2rem 0;
  text-align: center;
}

.section__img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  border-radius: 16px;
}

.section__badge {
  position: absolute;
  right: 20%;
  bottom: -10%;
  padding: .25rem 1rem;
  border: 4px solid var(--color-primary-dark);
  border-radius: var(--radius-md);
  background: var(--color-primary-pale);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}

.section__text {
  margin: .5rem 0 0 0;
  padding: 0 2rem;
}

.cta {
  width: 400px;
  margin: 5rem auto 0;
}

.button {
  display: inline-block;
  width: 400px;
  padding: 1rem;
  background: var(--color-primary);
  text-align: center;
  color: var(--color-primary-pale);
}

.note {
  position: relative;
  padding-left: 1.2em;
  font-size: .875rem;
}

.note::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  color: inherit;
}

/* ========================================
  Home - Hero
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  margin: 3rem 0 0 0;
}

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: inherit;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title,
.hero__illustration,
.hero__apricot {
  opacity: 0;
  will-change: transform, opacity;
}

.hero__title {
  position: relative;
  font-family: var(--font-family-accent);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.3;
  animation: fadeUp 2s ease forwards;
}

.hero__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 200px;
  aspect-ratio: 1;
  background: url("/img/logo.svg") center / contain no-repeat;
  opacity: .2;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__blob {
  position: absolute;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.hero__blob--top {
  top: -15%;
  left: -10%;
  width: 1000px;
}

.hero__blob--bottom {
  right: -12%;
  bottom: -15%;
  width: 1200px;
}

.hero__illustration {
  position: absolute;
}

.hero__illustration--top-right {
  top: 2%;
  right: 5%;
  width: 240px;
  animation:fadeUp .8s ease .3s forwards, floating 5s ease-in-out 1.1s infinite;
  z-index: 1;
}

.hero__illustration--bottom-left {
  bottom: 5%;
  left: 5%;
  width: 320px;
  animation:fadeUp .8s ease .6s forwards,floating 5.5s ease-in-out 1.4s infinite;
  z-index: 1;
}

.hero__apricot {
  position: absolute;
  z-index: 1;
}

.hero__apricot--01 {
  top: 10%;
  left: 10%;
  width: 80px;
  animation:fadeUp .8s ease .9s forwards,floating-small 4.5s ease-in-out 1.7s infinite;
}

.hero__apricot--02 {
  right: 10%;
  bottom: 40px;
  width: 200px;
  animation:fadeUp .8s ease 1.2s forwards,floating-reverse 6s ease-in-out 2s infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1deg);
  }
}

@keyframes floating-small {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(4px, -8px, 0) rotate(-2deg);
  }
}

@keyframes floating-reverse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-5px, 10px, 0) rotate(2deg);
  }
}

/* ========================================
  Home - under h2
======================================== */
.about {
  width: 85%;
  margin: 3rem auto 0 auto;
  padding: 3rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  text-align: center;
  font-size: 1.25rem;
}

.about .about__text:not(:first-child) {
  margin: 1rem 0 0 0;
}

.about__highlight {
  position: relative;
  transition: color .5s ease;
}

.about__highlight::after {
  position: absolute;
  right: 0;
  bottom: -.15em;
  left: 0;
  height: 4px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
  content: "";
}

.about__highlight.is-colored {
  color: var(--color-primary);
}

.about__highlight.is-colored::after {
  transform: scaleX(1);
}

.news__list {
  max-width: 700px;
  margin: auto;
}

.news__item {
  display: flex;
  gap: 2rem;
}

/* ========================================
  Faq Page
======================================== */
.faq__item {
  margin: 4rem 0 0 0;
}

.faq__question {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 0 .5rem 0;
  border-bottom: dashed 2px var(--color-primary);
  font-size: 1.5rem;
}

.faq__question::before {
  content: "Q";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 1rem 0 0;
  padding: 0 0 5px 0;
  border-radius: 50%;
  background: var(--color-primary);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-pale);
}

.faq__answer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 1rem 0 0 0;
}

.faq__answer::before {
  content: "A";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 1rem 0 0;
  padding: 0 0 4px 0;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

/* ========================================
  Access Page
======================================== */
.map {
  width: 100%;
  max-width: 1000px;
  margin: 4rem auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);

}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.company-info {
  margin: 3rem 0 0 0;
  border-top: 1px solid var(--color-border);
}

.company-info__item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  border-bottom: 1px solid var(--color-border);
}

.company-info__term,
.company-info__description {
  padding: 1.25rem 1.5rem;
}

.company-info__term {
  display: flex;
  align-items: center;
  background-color: var(--color-primary-light);
  font-weight: var(--font-weight-bold);
}

.company-info__description {
  margin: 0;
}

/* ========================================
  Responsive
======================================== */
@media(max-width: 1000px) {
  .header {
    position: relative;
    z-index: 100;
  }

  .header__utility-list,
  .header__nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
  }

  .header__info {
    display: none !important;
  }

  .header__info02 {
    display: block !important;
    width: min(450px, 100%);
    margin: 2.5rem auto;
  }

  .header__utility-list {
    position: absolute;
    top: calc(100% + 60px);
    right: var(--content-padding);
    left: var(--content-padding);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-primary-pale);
    z-index: 4;
  }

  .header__nav {
    position: absolute;
    top: calc(100% - 12px);
    right: 0;
    left: 0;
    z-index: 1;
    min-height: 460px;
    padding: 2rem var(--content-padding);
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 3;
  }

  .header__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 140px 0 0 0;
    background: none;
    text-align: center;
  }

  .header__link {
    display: block;
    padding-block: .8rem;
  }

  .header.is-open .header__utility-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-60px);
  }

  .header.is-open .header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  #top .header.is-open .header__utility-list{
    transform: translateY(-260px);
  }

  #top .header.is-open .header__nav {
    transform: translateY(-200px);
  }

  .header__hamburger {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: var(--color-primary);
    color: #3f3935;
    cursor: pointer;
    z-index: 4;
  }

  .header__hamburger-line {
    position: absolute;
    left: 50%;
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary-pale);
    transform: translateX(-50%);
    transform-origin: center;
    transition: top 0.3s, transform 0.3s, opacity 0.3s;
  }

  .header__hamburger-line:nth-child(1) {
    top: 15px;
  }

  .header__hamburger-line:nth-child(2) {
    top: 23px;
  }

  .header__hamburger-line:nth-child(3) {
    top: 31px;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background-color: rgb(0 0 0 / 40%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1;
  }

  .header.is-open .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  i.fa {
    display: inline;
    padding: 0 .5rem 0 0;
    font-size: 1rem;
  }

  .hero__blob--top {
    top: -5%;
    left: -10%;
    width: 600px;
  }

  .hero__blob--bottom {
    right: -10%;
    bottom: -5%;
    width: 600px;
  }

  .hero__illustration--top-right {
    top: 5%;
    right: 5%;
    width: 180px;
  }

  .hero__illustration--bottom-left {
    bottom: 5%;
    left: 5%;
    width: 220px;
  }

  .hero__apricot--02 {
    right: 10%;
    bottom: 20px;
    width: 180px;
  }

  .about {
    width: 500px;
    margin: 3rem auto 0 auto;
    padding: 3rem 0;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    text-align: center;
    font-size: 1rem;
  }

  .top-layout {
    display: block;
  }

  #top-main {
    width: 100%;
  }

  #top-aside {
    width: 90%;
    margin: 5rem auto 0 auto;
    padding: 0 1rem;
    border: none;
  }

  .top-aside__name {
    margin: 0;
    display: inline;
  }
}

@media(max-width: 800px) {
  .about {
    width: 500px;
  }
}

@media(max-width: 600px) {
  .section__title01 {
    max-width: 300px;
    margin: 3rem auto 2rem auto;
    font-size: 1.5rem;
  }

  .section__title02 {
    margin: 3rem auto 1rem auto;
    padding: .25rem 0 .25rem .75rem;
    font-size: 1.25rem;
  }

  .section__list {
    display: block;
  }

  .section__badge {
    position: absolute;
    right: 20px;
    bottom: -10%;
    padding: .25rem 1rem;
    font-size: 1rem;
  }

  .section__text {
    padding: 0 .75rem;
  }

  .header__nav {
    margin: 2rem 0 0 0;
  }

  .header.is-open .header__utility-list {
    transform: translateY(-30px);
  }

  #top .header.is-open .header__utility-list {
    transform: translateY(-180px);
  }

  #top .header.is-open .header__nav {
    transform: translateY(-150px);
  }

  .header__brand {
    font-size: 1.125rem;
  }

  .header__info02 {
    margin: 1rem 0;
  }

  .header__contact {
    text-align: center;
  }

  .header__tel {
    font-size: 1.5rem;
    text-decoration: underline;
  }

  .header__tel::before {
    width: 30px;
    height: 30px;
    transform: translateY(-2px);
  }

  .header__address {
    font-size: .75rem;
    text-align: center;
  }

  .header__hours {
    margin: .25rem 0 0 0;
    text-align: center;
  }

  .header__hours-time {
    font-size: 1.25rem;
  }

  .header__utility-list {
    gap: 1.25rem;
    font-size: 1rem;
  }

  .header__list {
    padding: 150px 0 0;
    font-size: 1rem;
  }

  .header__office-info {
    margin: 0;
    text-align: center;
  }

  .hero {
    margin: 1rem 0 0 0;
    min-height: 500px;
  }

  .hero__title {
    font-size: clamp(1.125rem, 5vw, 4rem);
  }

  .hero__title::before {
    width: 100px;
  }

  .hero__blob--top {
    top: 0;
    left: -20%;
    width: 600px;
  }

  .hero__blob--bottom {
    right: -10%;
    bottom: 0;
    width: 600px;
  }

  .hero__illustration--top-right {
    top: 5%;
    right: 5%;
    width: 150px;
  }

  .hero__illustration--bottom-left {
    bottom: 5%;
    left: 5%;
    width: 180px;
  }

  .hero__apricot {
    width: 60px;
  }

  .hero__apricot--02 {
    right: 10%;
    bottom: 20px;
    width: 100px;
  }

  .about {
    width: 90%;
  }

  .news__list {
    max-width: 500px;
  }

  .news__item  {
    display: block;
  }

  .cta {
    width: 80%;
  }

  .cta__inner {
    text-align: center;
  }

  .button {
    width: 80%;
  }

  .faq__question {
    font-size: 1.25rem;
  }

  .company-info__item {
    grid-template-columns: 1fr;
  }

  .company-info__term,
  .company-info__description {
    padding: 1rem;
  }

  .company-info__contact {
    display: block;
  }

  .tel {
    text-decoration: underline;
  }

  .footer__copyright {
    font-size: clamp(.6875rem, 3.2vw, .875rem);
  }
}


/* ==================================================
  Opening
================================================== */

body.is-fixed {
  overflow: hidden;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

  background-color: var(--color-background);

  opacity: 1;
  visibility: visible;

  transition:
    opacity .8s ease,
    visibility 0s linear .8s;
}

.opening__logo {
  width: min(500px, 70vw);
  height: auto;

  opacity: 0;
  filter: blur(8px);
  transform: scale(.95);

  animation: openingLogo 1.2s ease forwards;
}

.opening__message {
  margin: 0;

  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px);

  font-family: var(--font-family-accent);
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  letter-spacing: .1em;

  animation: openingMessage 1.8s ease 1.6s forwards;
}

.opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes openingLogo {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes openingMessage {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening__logo {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .opening__message {
    animation: openingMessage 1.8s ease 1.2s forwards;
  }
}