/* ==================================================
   GLOBAL NAVIGATION
================================================== */

.top__nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #ddd;
}

.top__nav-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.top__nav-item {
  display: grid;
  place-items: center;
  gap: 4px;

  padding: 18px 8px 14px;

  text-align: center;
  text-decoration: none;
  color: #222;

  transition: opacity .3s ease;
}

.top__nav-item:hover {
  opacity: .6;
}

.top__nav-en {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1;
  white-space: nowrap;
}

.top__nav-ja {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.4;
}


/* ==================================================
   SUB HEADER
================================================== */

.sub-header {
  width: 100%;
  color: #222;
  font-family: "Zen Old Mincho", serif;
}

.sub-header__inner {
  width: min(800px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 210px 260px 1fr;
  align-items: center;

  position: relative;
}


/* ==================================================
   SUB HEADER - LOGO
================================================== */

.sub-header__logo {
  height: 70px;
  padding-right: 20px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  border-right: none;
  position: relative;
}

.sub-header__logo::after {
  content: "";

  position: absolute;
  top: 0;
  right: 0;

  width: 1px;
  height: 100%;

  background: #d8c7b2;
}

.sub-header__logo img {
  display: block;
  width: 180px;
  height: auto;
}


/* ==================================================
   SUB HEADER - TEL
================================================== */

.sub-header__tel {
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 15px;

  border-right: none;
  position: relative;
}

.sub-header__tel::after {
  content: "";

  position: absolute;
  top: 0;
  right: 0;

  width: 1px;
  height: 100%;

  background: #d8c7b2;
}

.sub-header__tel img {
  width: 28px;
  height: 28px;
}

.sub-header__tel a {
  color: #222;
  font-family: "Zen Old Mincho", serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}


/* ==================================================
   SUB HEADER - INFORMATION
================================================== */

.sub-header__info {
  display: grid;
  gap: 5px;
  padding-left: 18px;
}

.sub-header__info-item {
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 8px;
}

.sub-header__info-item img {
  width: 20px;
  height: 20px;
}

.sub-header__info-item p {
  display: grid;
  grid-template-columns: 72px auto;
  align-items: center;
  gap: 8px;

  margin: 0;

  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  width: 100%;

  position: relative;
  overflow: hidden;

  background-image: url("../images/footer_bg_pc.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}


/* ==================================================
   FOOTER INNER
================================================== */

.footer-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;

  padding: 80px 0 70px;

  display: grid;
  grid-template-columns: 420px 450px 1fr;
  grid-template-areas:
    "brand nav actions";
}


/* ==================================================
   FOOTER BRAND
================================================== */

.footer-brand {
  grid-area: brand;
}

.footer-logo {
  display: inline-block;
}


/* ==================================================
   FOOTER INFORMATION
================================================== */

.footer-info {
  margin-top: 25px;

  font-size: 14px;
  line-height: 1.6;
}

.footer-info p {
  width: 100%;

  margin: 0;
  padding: 5px 0 5px 45px;

  position: relative;

  overflow-wrap: break-word;
}

.footer-info p::before {
  content: "";

  display: block;

  width: 24px;
  height: 24px;

  position: absolute;
  left: 12px;
  top: 50%;

  transform: translateY(-50%);

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-info p.add::before {
  background-image: url("../images/icon_add.svg");
}

.footer-info p.tel::before {
  background-image: url("../images/icon_tel.svg");
}

.footer-info p.open::before {
  background-image: url("../images/icon_open.svg");
}

.footer-info p.close::before {
  background-image: url("../images/icon_close.svg");
}

.footer-info a {
  color: inherit;
  text-decoration: none;
}

.footer-info a:hover {
  opacity: .65;
}


/* ==================================================
   FOOTER NAVIGATION
================================================== */

.footer-nav {
  grid-area: nav;

  display: grid;
  gap: 13px;

  line-height: 1.5;
}

.footer-nav ul {
  width: 95%;
}

.footer-nav ul li {
  padding-bottom: 5px;
}

.footer-nav ul li:first-child {
  font-weight: bold;
  border-bottom: 2px dotted #a77c35;
}

.footer-nav a {
  position: relative;

  display: inline-block;

  padding-left: 18px;

  color: #18575a;
  text-decoration: none;

  transition:
    opacity .2s ease,
    transform .2s ease;
}

.footer-nav a::before {
  content: "›";

  position: absolute;
  left: 0;

  color: #a77c35;
}

.footer-nav a:hover {
  opacity: .7;
  transform: translateX(4px);
}


/* ==================================================
   FOOTER RESERVE / ACCESS
================================================== */

.footer-actions {
  grid-area: actions;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.footer-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: transform .3s ease;
}

.footer-action:hover {
  transform: translateY(-4px);
}

.footer-action img {
  transition: opacity .3s ease;
}

.footer-action:hover img {
  opacity: .75;
}

.footer-action-en {
  font-family:
    "Cormorant Garamond",
    Georgia,
    "Times New Roman",
    serif;

  font-size: 26px;
  letter-spacing: .05em;
}

.footer-action-ja {
  margin-top: 7px;

  font-size: 13px;
  letter-spacing: .18em;
}


/* ==================================================
   FOOTER COPYRIGHT
================================================== */

.footer-copyright {
  width: 100%;
}

.footer-copyright-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copyright p {
  margin: 0;

  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: .05em;

  text-align: center;
}

/* ==================================================
   PAGE TOP
================================================== */

.page-top {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 900;

  width: 60px;
  height: 60px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid #a77c35;
  border-radius: 50%;

  background: rgba(255, 255, 255, .9);
  color: #18575a;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity .4s ease,
    visibility .4s ease,
    transform .4s ease;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top__arrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1;
}

.page-top__text {
  margin-top: -3px;

  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1;
}

.page-top:hover {
  transform: translateY(-4px);
  background: #fff;
}

/* ==================================================
   TABLET
================================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* ---------- Navigation ---------- */

  .top__nav-item {
    padding: 15px 5px 12px;
  }

  .top__nav-en {
    font-size: 19px;
  }

  .top__nav-ja {
    font-size: 11px;
  }


  /* ---------- Sub Header ---------- */
  .sub-header__inner {
    width: calc(100% - 40px);
    min-height: 130px;

    grid-template-columns: 28% 34% 38%;
  }

  .sub-header__logo {
    padding-right: 20px;
  }

  .sub-header__logo img {
    width: 230px;
  }

  .sub-header__tel {
    gap: 8px;
    padding: 0 15px;
  }

  .sub-header__tel img {
    width: 32px;
    height: 32px;
  }

  .sub-header__tel a {
    font-size: 28px;
  }

  .sub-header__info {
    gap: 8px;
    padding-left: 15px;
  }

  .sub-header__info-item {
    grid-template-columns: 30px auto;
    gap: 8px;
  }

  .sub-header__info-item img {
    width: 30px;
    height: 30px;
  }

  .sub-header__info-item p {
    grid-template-columns: 70px auto;
    gap: 6px;

    font-size: 15px;
  }


  /* ---------- Footer ---------- */
  .footer-inner {
    grid-template-columns: 1fr 1fr;

    grid-template-areas:
      "brand brand"
      "nav actions";

    row-gap: 50px;

    padding: 70px 0 60px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-nav {
    width: min(100%, 400px);
  }

  .footer-actions {
    width: min(100%, 400px);
    margin-left: auto;
  }
}

/* ==================================================
   SMARTPHONE
================================================== */
@media screen and (max-width: 767px) {
  /* ---------- Navigation ---------- */
  .top__nav {
    position: fixed !important;
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #ddd;
    border-bottom: none;
  }

  .top__nav-inner {
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top__nav-item {
    padding: 10px 3px 8px;
  }

  .top__nav-en {
    font-size: 16px;
  }

  .top__nav-ja {
    font-size: 10px;
  }


  /* ---------- Sub Header ---------- */
  .sub-header__inner {
    width: calc(100% - 40px);
    min-height: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }


  .sub-header__logo {
    width: 100%;
    height: auto;
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid #d8c7b2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sub-header__logo::after,
  .sub-header__tel::after {
    display: none;
  }

  .sub-header__logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
  }


  .sub-header__tel {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid #d8c7b2;
  }

  .sub-header__tel img {
    width: 28px;
    height: 28px;
  }

  .sub-header__tel a {
    font-size: 27px;
    white-space: nowrap;
  }


  .sub-header__info {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 15px 0;
  }

  .sub-header__info-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .sub-header__info-item img {
    width: 28px;
    height: 28px;
  }

  .sub-header__info-item p {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
  }

/* ---------- PageTop ---------- */
  .page-top {
    right: 15px;
    bottom: 75px;

    width: 52px;
    height: 52px;
  }

  .page-top__arrow {
    font-size: 18px;
  }

  .page-top__text {
    font-size: 10px;
  }

/* ---------- Footer ---------- */
  .site-footer {
    background-image: url("../images/footer_bg_sp.png");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #dcefed;
    padding-bottom: 75px;
  }

  .footer-inner {
    width: min(calc(100% - 32px), 520px);
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "actions";
    row-gap: 15px;
    padding: 20px 0 5px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    font-size: 42px;
  }

  .footer-brand-ja {
    font-size: 15px;
  }

  .footer-info {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.9;
  }

  .footer-info p {
    margin-bottom: 10px;
    text-align: left;
  }

  .footer-nav {
    width: min(100%, 400px);
    margin: 0 auto;
    gap: 7px;
    font-size: 13px;
  }

  .footer-nav ul li {
    padding-bottom: 3px;
  }

  .footer-nav a {
    line-height: 1.45;
  }

  .footer-actions {
    width: fit-content;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 110px);
    gap: 20px;
  }

  .footer-action {
    min-height: 85px;
  }

  .footer-action img {
    display: block;
    width: 110px;
    height: auto;
  }

  .footer-action-en {
    font-size: 22px;
  }

  .footer-action-ja {
    font-size: 12px;
  }

  .footer-copyright-inner {
    width: calc(100% - 32px);
    min-height: 90px;
  }

  .footer-copyright p {
    font-size: 13px;
  }
}

/* ==================================================
   REDUCED MOTION
================================================== */
@media (prefers-reduced-motion: reduce) {

  .top__nav-item,
  .footer-nav a,
  .footer-action {
    transition: none;
  }
}