/*
Theme Name: Karadaroots
Author: Karadaroots
Version: 1.0
*/

/* =========================================================
  Common
========================================================= */

body {
  background-color: var(--bg-white);
}

/* SP〜1099pxは上部固定ヘッダー分だけ押し下げ */
main {
  padding-top: var(--sp-header-height);
}

/* PC左固定ヘッダー時のみ、mainを右へ逃がす */
@media (min-width: 1100px) {
  main {
    padding-top: 0;
    margin-left: var(--pc-side-header-width);
  }
}

/* SP下固定コンタクト分 */
@media (max-width: 767.98px) {
  .footer {
    padding-bottom: calc(7rem + 1.5rem);
  }
}

/* アンカー位置補正 */
[id] {
  scroll-margin-top: var(--sp-header-height);
}

@media (min-width: 1100px) {
  [id] {
    scroll-margin-top: 0;
  }
}


/* Safariの上下をこちらで塗る */
html,
body {
  background-color: var(--bg-white);
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99999;
  pointer-events: none;
  background-color: var(--bg-white);
}

body::before {
  top: 0;
  height: env(safe-area-inset-top, 0px);
}

body::after {
  bottom: 0;
  height: env(safe-area-inset-bottom, 0px);
}


/* =========================================================
  Header - Base
========================================================= */

.l-header {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--sp-header-height);
  padding: 0 1.5rem;
  background-color: var(--green);
}

.l-header .l-pc-wrapper {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: block;
  width: 4.5rem;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
  Header - PC Layout
========================================================= */

@media (min-width: 1100px) {
  .l-header {
    width: var(--pc-side-header-width);
    height: 100vh;
    padding: clamp(2.4rem, 4vh, 4.8rem) 3.2rem;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .l-header::-webkit-scrollbar {
    display: none;
  }

  .l-header .l-pc-wrapper {
    max-width: none;
    width: 100%;
    min-height: 100%;
    height: auto;
    margin: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .logo {
    width: clamp(9rem, 8vw, 12rem);
  }
}


/* =========================================================
  Header - Animation
========================================================= */

/* SP〜1099px Header animation */
@media (max-width: 1099.98px) {
  #header.UpMove {
    animation: UpAnime .5s forwards;
  }

  @keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }

  #header.DownMove {
    animation: DownAnime .5s forwards;
  }

  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #header.no-anim {
    animation: none !important;
    transition: none !important;
  }
}

/* PCでは左固定ヘッダーなので、必ず表示 */
@media (min-width: 1100px) {
  #header,
  #header.UpMove,
  #header.DownMove,
  #header.no-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
  Hamburger
========================================================= */

.menu-btn {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  z-index: 10001;
  cursor: pointer;
  padding: 0 0.5rem 0 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
  display: block;
  position: relative;
  width: 2.6rem;
  height: 0.25rem;
  background: var(--white);
  border-radius: 999px;
  transition: 0.3192s cubic-bezier(.04, .04, .12, .96) 0.1008s;
}

.navicon::before,
.navicon::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 999px;
  transition: 0.3192s cubic-bezier(.04, .04, .12, .96) 0.1008s;
}

.navicon::before {
  top: 0.9rem;
}

.navicon::after {
  bottom: 0.9rem;
}

/* 三本線 → × */
.menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
  transition: 0.2192s cubic-bezier(.04, .04, .12, .96) 0.1008s;
}

.menu-btn:checked ~ .menu-icon .navicon::before {
  top: 0;
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon::after {
  bottom: 0;
  transform: rotate(45deg);
}


/* =========================================================
  Menu - Base
========================================================= */

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__sns-sp {
  display: none;
}

.header-sns-sp {
  display: none;
}


/* =========================================================
  Menu - SP
========================================================= */

@media (max-width: 1099.98px) {
  .menu {
    position: fixed;
    top: var(--sp-header-height);
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: calc(100dvh - var(--sp-header-height));
    padding: 0 1.5rem 5rem;
    background: var(--green);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-1.2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.45s cubic-bezier(0.25, 0.9, 0.25, 1),
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .menu-btn:checked ~ .menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem 0;
    margin: 0;
  }

  .menu li.header__sns-sp {
    border-bottom: 0;
  }

  .menu a {
    display: block;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
  }

  .menu .header__sns-sp {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 0;
    padding: 3.2rem 0 0;
  }

  .menu .header-sns-sp {
    display: flex;
    align-items: center;
    gap: 2.4rem;
  }

  .menu .header-sns-sp__link {
    display: block;
    width: 5.6rem;
    flex: 0 0 5.6rem;
  }

  .menu .header-sns-sp__link img {
    display: block;
    width: 100%;
    max-width: 5.6rem;
    height: auto;
  }
}


/* =========================================================
  Menu - PC
========================================================= */

@media (min-width: 1100px) {
  .menu-btn,
  .menu-icon {
    display: none;
  }

  .menu {
    position: static;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.4rem, 2.2vh, 2.4rem);
    width: 100%;
    margin: clamp(3.2rem, 5vh, 5.6rem) 0 0;
    padding: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .menu li {
    border: 0;
    padding: 0;
    margin: 0;
  }

  .menu a {
    display: block;
    color: var(--white);
    font-size: clamp(1.4rem, 1vw, 1.6rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
  }

  .menu a:hover {
    color: var(--bg-yellow);
    opacity: 1;
  }
}


/* =========================================================
  PC Header Contact
========================================================= */

.header-contact {
  display: none;
}

@media (min-width: 1100px) {
  .header-contact {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: clamp(3.2rem, 6vh, 6.4rem);
  }

  .header-contact__tel {
    color: var(--white);
    font-family: var(--font-family-en);
    font-size: clamp(2rem, 1.8vw, 2.4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .header-contact__line {
    display: block;
    width: 100%;
    max-width: 24rem;
    margin-top: 1.2rem;
  }

  .header-contact__line img {
    display: block;
    width: 100%;
    height: auto;
  }

  .header-contact__text {
    margin-top: 1.6rem;
    color: var(--white);
    font-size: clamp(1.4rem, 1vw, 1.6rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
  }

  .header-contact__text span {
    display: block;
  }

  .header-sns {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: clamp(2.4rem, 4vh, 4rem);
  }

  .header-sns__link {
    display: block;
    width: clamp(4.8rem, 4vw, 5.6rem);
  }

  .header-sns__link img {
    display: block;
    width: 100%;
    height: auto;
  }
}


/* =========================================================
  PC Header - Narrow Height Adjustment
========================================================= */

@media (min-width: 1100px) and (max-height: 760px) {
  .l-header {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .logo {
    width: 10rem;
  }

  .menu {
    gap: 1.2rem;
    margin-top: 2.4rem;
  }

  .menu a {
    font-size: 1.3rem;
  }

  .header-contact {
    padding-top: 2.4rem;
  }

  .header-contact__tel {
    font-size: 2.2rem;
  }

  .header-contact__line {
    max-width: 18rem;
    margin-top: 1rem;
  }

  .header-contact__text {
    margin-top: 1.2rem;
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .header-sns {
    margin-top: 2rem;
    gap: 1.2rem;
  }

  .header-sns__link {
    width: 4.8rem;
  }
}


/* =========================================================
  PC Header - Narrow Width Adjustment
========================================================= */

@media (min-width: 1100px) and (max-width: 1180px) {
  .header-contact__tel {
    font-size: clamp(1.8rem, 1.55vw, 2rem);
    letter-spacing: 0;
  }
}


/* =========================================================
  SP Fixed Contact
========================================================= */

.sp-fixed-contact {
  display: none;
}

@media (max-width: 767.98px) {
  .sp-fixed-contact {
    position: fixed;
    z-index: 10002;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 6.4rem;
  }

  .sp-fixed-contact__line,
  .sp-fixed-contact__tel {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    color: var(--white);
    font-family: var(--font-family-h);
    font-weight: var(--font-weight-extra-bold);
    overflow: hidden;
  }

  .sp-fixed-contact__line {
    width: 50%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.2rem;
    background-color: #06C755;
  }

  .sp-fixed-contact__tel {
    width: 50%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.2rem;
    background-color: var(--bg-yellow);
  }

  .sp-fixed-contact__line-icon {
    display: block;
    flex-shrink: 0;
    width: 5.2rem;
    margin-right: -0.5rem;

  }

  .sp-fixed-contact__tel-icon {
    display: block;
    flex-shrink: 0;
    width: 4.8rem;
    margin-right: -0.5rem;
  }

  .sp-fixed-contact__line-icon img,
  .sp-fixed-contact__tel-icon img {
    display: block;
    width: 80%;
    height: auto;
  }

  .sp-fixed-contact__line-text,
  .sp-fixed-contact__tel-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: var(--white);
    font-family: var(--font-family-h);
    font-weight: var(--font-weight-extra-bold);
    line-height: 1.08;
    white-space: nowrap;
  }

  .sp-fixed-contact__line-text {
    font-size: clamp(1.6rem, 4.1vw, 1.8rem);
    letter-spacing: -0.04em;
	margin-top: -0.3rem;
  }

  .sp-fixed-contact__tel-text {
    font-size: clamp(1.6rem, 4.1vw, 1.8rem);
    letter-spacing: -0.04em;
	margin-top: -0.3rem;
  }

  .sp-fixed-contact__dot {
  display: inline-block;
  margin-inline: -0.18em;
  }
}


/* =========================================================
  Main Visual
========================================================= */

.mv {
  background-color: var(--bg-white);
}

.mv__visual {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--sp-header-height));
  overflow: hidden;
  background-color: var(--bg-white);
}


/* -------------------------
  PC images
------------------------- */

.mv__pc-images {
  display: none;
}

.mv__pc-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------------------------
  SP slider
------------------------- */

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

.mv__sp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  overflow: hidden;
  transition: opacity 2.6s ease;
}

.mv__sp-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.mv__sp-slide.is-initial {
  opacity: 1;
  z-index: 2;
  transition: none;
}

.mv__sp-slide.is-leaving {
  opacity: 0;
  z-index: 3;
}

.mv__sp-slide picture,
.mv__sp-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.mv__sp-slide img {
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 10.5s linear;
}

.mv__sp-slide.is-active img {
  transform: scale(1.08);
}

.mv__sp-slide.is-active.is-leaving img {
  transform: scale(1.08);
}


/* -------------------------
  MV Content
------------------------- */

.mv__content {
  position: absolute;
  z-index: 6;
}

.mv__copy {
  position: static;
  width: 100%;
}

.mv__title-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mv__title-picture,
.mv__title-img {
  display: block;
  width: 100%;
  height: auto;
}

.mv__certification {
  position: static;
  display: flex;
  align-items: center;
}

.mv__certification-icon {
  display: block;
  flex-shrink: 0;
}

.mv__certification-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.mv__certification-text-picture,
.mv__certification-text-img {
  display: block;
  width: 100%;
  height: auto;
  margin: -0.5rem 0 0 -1rem;
}


/* =========================================================
  Main Visual - SP
========================================================= */

@media (max-width: 767.98px) {
  .mv__visual {
    height: calc(100svh - var(--sp-header-height) - 7rem);
    min-height: 58rem;
  }

  .mv__sp-slide img {
    object-position: center bottom;
  }

  .mv__content {
    left: 50%;
    top: 7rem;
    width: min(96%, 39rem);
    transform: translateX(-50%);
  }

  .mv__certification {
    width: min(88%, 36rem);
    margin-inline: auto;
    align-items: center;
	padding-top:1.5rem;
  }

  .mv__certification-icon {
    width: 8.8rem;
  }

  .mv__certification-text-picture {
    flex: 1;
    min-width: 0;
  }
}


/* 縦が短いスマホ用 */
@media (max-width: 767.98px) and (max-height: 700px) {
  .mv__visual {
    min-height: 56rem;
  }

  .mv__content {
    top: 7rem;
    width: min(92%, 37rem);
  }

  .mv__certification {
    width: min(86%, 34rem);
  }

  .mv__certification-icon {
    width: 8rem;
  }
}


/* 横幅が広いスマホ〜タブレット手前 */
@media (min-width: 480px) and (max-width: 767.98px) {
  .mv__sp-slide img {
    object-position: center bottom;
  }

  .mv__content {
    top: 7rem;
    width: min(86vw, 52rem);
  }

  .mv__certification {
    width: min(72vw, 42rem);
  }
}


/* =========================================================
  Main Visual - PC
========================================================= */

@media (min-width: 768px) {
  .mv__visual {
    min-height: 100svh;
    background-color: var(--bg-white);
  }

  .mv__sp-slider {
    display: none;
  }

  .mv__pc-images {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;

    --mv-pc-side-gap: 5rem;
    --mv-pc-image-gap: -1.2rem;
    --mv-pc-image-width: calc(
      (100% - (var(--mv-pc-side-gap) * 2) - (var(--mv-pc-image-gap) * 2)) / 3
    );
    --mv-pc-image-top: 32rem;
    --mv-pc-image-step: 9.5rem;
  }

  .mv__pc-image {
    position: absolute;
    overflow: visible;
    width: var(--mv-pc-image-width);
  }

  .mv__pc-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .mv__pc-image--01 {
    left: var(--mv-pc-side-gap);
    top: var(--mv-pc-image-top);
    bottom: auto;
  }

  .mv__pc-image--02 {
    left: calc(
      var(--mv-pc-side-gap) + var(--mv-pc-image-width) + var(--mv-pc-image-gap)
    );
    top: calc(var(--mv-pc-image-top) - var(--mv-pc-image-step));
    bottom: auto;
  }

  .mv__pc-image--03 {
    right: var(--mv-pc-side-gap);
    top: calc(var(--mv-pc-image-top) - (var(--mv-pc-image-step) * 2));
    bottom: auto;
  }

  .mv__pc-image::after {
    display: none;
  }

  .mv__content {
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    transform: none;
    pointer-events: none;
  }

  .mv__copy {
    position: absolute;
    top: clamp(2.8rem, 4.8vw, 6.4rem);
    left: clamp(4.8rem, 6vw, 8rem);
    width: min(68vw, 90rem);
  }

  .mv__title-picture,
  .mv__title-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .mv__certification {
    position: absolute;
    right: clamp(8rem, 9vw, 13rem);
    bottom: clamp(11rem, 14vh, 16rem);
    width: min(48vw, 58rem);
    margin-top: 0;
    margin-inline: 0;
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }

  .mv__certification-icon {
    width: clamp(8rem, 6.8vw, 10.4rem);
  }

  .mv__certification-text-picture {
    flex: 1;
    min-width: 0;
  }
}


/* 1400px以下はPC画像の左右余白を詰める */
@media (min-width: 768px) and (max-width: 1400px) {
  .mv__pc-images {
    --mv-pc-side-gap: 0rem;
  }
}


/* =========================================================
  Image Sections
========================================================= */

.image-section {
  width: 100%;
  background-color: var(--bg-white);
}

.image-section__picture,
.image-section__img {
  display: block;
  width: 100%;
}

.image-section__img {
  height: auto;
}

/* 画像セクション間の余白を消す */
.image-section + .image-section {
  margin-top: 0;
}

/* PC・タブレットは画像を全幅表示 */
@media (min-width: 768px) {
  .image-section__picture,
  .image-section__img {
    width: 100%;
  }
}

/* スマホ下固定ボタンがある場合、最後の画像が隠れないようにする */
@media (max-width: 767.98px) {
  .image-section--faq {
    padding-bottom: 7rem;
  }
}

/* bredgeはSP専用 */

@media (min-width: 768px) {

  .image-section--bredge {

    display: none;

  }

}

.image-section {
  position: relative;
}

.image-section__link {
  position: absolute;
  z-index: 10;
  display: block;
}

/* =========================================================
  Info section links
========================================================= */

/* SP */
@media (max-width: 767.98px) {
  .image-section__link--info-line {
    left: 3.5%;
    top: 76.5%;
    width: 93%;
    height: 10.2%;
  }

  .image-section__link--info-cancel {
    left: 4%;
    top: 91.5%;
    width: 61%;
    height: 3.2%;
  }
}

/* PC */
@media (min-width: 768px) {
  .image-section__link--info-line {
    left: 7.2%;
    top: 68.5%;
    width: 25.5%;
    height: 17%;
  }

  .image-section__link--info-cancel {
    left: 5.2%;
    top: 89.8%;
    width: 22.5%;
    height: 4%;
  }
}

@media (max-width: 767.98px) {
  .image-section__link--info-tel {
left: 5%;
        top: 34.6%;
        width: 41%;
        height: 3.2%;
  }
}

@media (min-width: 768px) {
  .image-section__link--info-tel {
    display: none;
  }
}


/* =========================================================
  Cancel Policy Page
========================================================= */

.page-main--cancel-policy {
  background-color: var(--bg-white);
}

.cancel-policy {
  padding: 8rem 0 10rem;
}

.cancel-policy__inner {
  width: min(90%, 86rem);
  margin-inline: auto;
}

.cancel-policy__title {
  color: var(--darkgreen);
  font-family: var(--font-family-h);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.cancel-policy__body {
  margin-top: 4rem;
}

.cancel-policy__body p {
  color: var(--basecolor);
  font-family: var(--font-family-base);
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  font-weight: var(--font-weight-medium);
  line-height: 2;
}

.cancel-policy__body p + p {
  margin-top: 2rem;
}

@media (max-width: 767.98px) {
  .cancel-policy {
    padding: 5.6rem 0 10rem;
  }

  .cancel-policy__body {
    margin-top: 3.2rem;
  }
}

/* =========================================================
  Text Pages
========================================================= */

.page-main--privacy-policy,
.page-main--cancel-policy {
  background-color: var(--bg-white);
}

.policy-page,
.cancel-policy {
  padding: 8rem 0 10rem;
}

.policy-page__inner,
.cancel-policy__inner {
  width: min(90%, 86rem);
  margin-inline: auto;
}

.policy-page__title,
.cancel-policy__title {
  color: var(--darkgreen);
  font-family: var(--font-family-h);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.policy-page__body,
.cancel-policy__body {
  margin-top: 4rem;
}

.policy-page__body h2 {
  margin-top: 4rem;
  color: var(--darkgreen);
  font-family: var(--font-family-h);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.5;
}

.policy-page__body p,
.policy-page__body li,
.cancel-policy__body p {
  color: var(--basecolor);
  font-family: var(--font-family-base);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: var(--font-weight-medium);
  line-height: 2;
}

.policy-page__body p + p,
.cancel-policy__body p + p {
  margin-top: 2rem;
}

.policy-page__body ol,
.policy-page__body ul {
  margin-top: 1.6rem;
  padding-left: 1.5em;
}

.policy-page__body li + li {
  margin-top: 0.8rem;
}

.policy-page__address {
  margin-top: 2rem;
  color: var(--basecolor);
  font-family: var(--font-family-base);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-style: normal;
  font-weight: var(--font-weight-medium);
  line-height: 2;
}

.policy-page__address a {
  color: var(--darkgreen);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .policy-page,
  .cancel-policy {
    padding: 5.6rem 0 10rem;
  }

  .policy-page__body,
  .cancel-policy__body {
    margin-top: 3.2rem;
  }
}

@media (max-width: 767.98px) {
  .image-section__link--access-tel {
    left: 4%;
    top: 21.5%;
    width: 38%;
    height: 2%;
  }
}

@media (min-width: 768px) {
  .image-section__link--access-tel {
    display: none;
  }
}


/* =========================================================
  Footer
========================================================= */

.footer {
  width: 100%;
  height: auto;
  background-color: var(--bg-main);
  color: var(--white);
}

.footer__inner {
  padding-top: 7rem;
  padding-bottom: 1rem;
}

.footer__contents {
  display: flex;
  flex-direction: column;
}

.footer__left,
.footer__right {
  width: 100%;
}

/* 左：ロゴ＋屋号 / 右：SNS */
.footer__brand {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
}

.footer__brand-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: block;
  width: 6.5rem;
  flex-shrink: 0;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__shop-name {
  margin-top: 1.6rem;
  color: var(--white);
  font-family: var(--font-family-base);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

.footer__address {
  display: none;
}


/* SNS */
.footer__sns--sp {
  display: none;
}

@media (max-width: 1099.98px) {
  .footer__sns--sp {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1.2rem;
    width: 12.8rem;
    margin-top: 0;
    flex-shrink: 0;
  }

  .footer__sns--sp .footer__sns-link {
    display: block;
    width: 5.6rem;
    flex-shrink: 0;
  }

  .footer__sns--sp .footer__sns-link img {
    display: block;
    width: 100%;
    height: auto;
  }
}


/* 営業時間テーブル */
.footer-hours {
  width: 100%;
  margin-top: 2.2rem;
}

.footer-hours__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: var(--bg-white);
}

.footer-hours__table th,
.footer-hours__table td {
  border: 1px solid var(--basecolor);
  color: var(--darkgreen);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-extra-bold);
  text-align: center;
  vertical-align: middle;
}

.footer-hours__table thead th {
  padding: 0.8rem 0.2rem;
  background-color: #f1f1f1;
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  line-height: 1.2;
}

.footer-hours__table tbody th {
  padding: 1rem 0.2rem;
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  line-height: 1.2;
}

.footer-hours__table td {
  padding: 1rem 0.2rem;
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
}

.footer-hours__table th:first-child {
  width: 30%;
}

.footer-hours__open {
  color: var(--yellow);
}

.footer-hours__closed {
  color: var(--lightgreen);
}


/* 住所・電話番号 */
.footer__info {
  margin-top: 2rem;
}

.footer__info p {
  color: var(--white);
  font-family: var(--font-family-base);
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.8;
}


/* ポリシー */
.footer__policy--sp {
  display: none;
}

@media (max-width: 1099.98px) {
  .footer__policy--sp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    margin-top: 4rem;
  }

  .footer__policy--sp a {
    color: var(--white);
    font-family: var(--font-family-h);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    text-align: center;
  }

  .footer__policy.f-sp-none {
    display: none !important;
  }

  .footer__info.f-pc-none {
    display: block !important;
  }
}


/* コピーライト */
.footer__copyright {
  margin: 5.4rem 0 6rem 0;
  color: var(--white);
  font-family: var(--font-family-en);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  text-align: center;
}


/* =========================================================
  Footer - Common PC offset
========================================================= */

@media (min-width: 1100px) {
  .footer {
    margin-left: var(--pc-side-header-width);
    width: calc(100% - var(--pc-side-header-width));
  }
}


/* =========================================================
  Footer - Middle Layout 1100px - 1349px
========================================================= */

@media (min-width: 1100px) and (max-width: 1349.98px) {
  .footer {
    background-color: var(--bg-green);
  }

  .footer__inner {
    max-width: 72rem;
    margin-inline: auto;
    padding: 7.2rem 4rem 4rem;
  }

  .footer__contents {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__left,
  .footer__right {
    width: 100%;
  }

  .footer__left {
    display: flex;
    justify-content: center;
  }

  .footer__brand {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer__brand-main {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, auto);
    align-items: center;
    gap: 2.4rem;
  }

  .footer__logo {
    width: 7.2rem;
  }

  .footer__shop-name {
    margin-top: 0;
    color: var(--white);
    font-family: var(--font-family-base);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
  }

  .footer__address {
    display: block;
    margin-top: 0.4rem;
    color: var(--white);
    font-family: var(--font-family-base);
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    white-space: nowrap;
  }

  .footer__sns--sp {
    display: none;
  }

  .footer__policy.f-sp-none {
    display: none !important;
  }

  .footer__right {
    margin-top: 2.8rem;
    display: flex;
    justify-content: center;
  }

  .footer-hours {
    width: 100%;
    max-width: 58rem;
    margin-top: 0;
  }

  .footer-hours__table {
    width: 100%;
    table-layout: fixed;
  }

  .footer-hours__table th,
  .footer-hours__table td {
    white-space: nowrap;
    box-sizing: border-box;
  }

  .footer-hours__col-time {
    width: 32%;
  }

  .footer-hours__col-day {
    width: 9.7%;
  }

  .footer-hours__col-holiday {
    width: 9.8%;
  }

  .footer-hours__table thead th {
    padding: 1rem 0.4rem;
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .footer-hours__table tbody th {
    padding: 1rem 0.4rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .footer-hours__table td {
    padding: 1rem 0.2rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .footer-hours__table thead th:last-child {
    font-size: 1.6rem;
    letter-spacing: -0.04em;
  }

  .footer__info.f-pc-none {
    display: none !important;
  }

  .footer__policy--sp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 4.8rem;
  }

  .footer__policy--sp a {
    color: var(--white);
    font-family: var(--font-family-base);
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
  }

  .footer__copyright {
    margin: 4rem 0 0;
    font-size: 1.3rem;
  }
}


/* =========================================================
  Footer - PC
========================================================= */

@media (min-width: 1350px) {
  .footer {
    background-color: var(--bg-green);
  }

  .footer__inner {
    max-width: 104rem;
    margin-inline: auto;
    padding: 7.6rem 4rem 3.2rem;
  }

  .footer__contents {
    display: grid;
    grid-template-columns: 44rem minmax(52rem, 58rem);
    gap: clamp(1.2rem, 2vw, 4.8rem);
    align-items: start;
    justify-content: center;
    max-width: none;
    margin-inline: auto;
  }

  .footer__left {
    display: flex;
    flex-direction: column;
  }

  .footer__brand {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-start;
  }

  .footer__brand-main {
    display: contents;
  }

  .footer__logo {
    width: 6.8rem;
  }

  .footer__shop-name {
    margin-top: 0;
    font-size: 2rem;
    line-height: 1.4;
  }

  .footer__address {
    display: block;
    margin-top: 0.4rem;
    color: var(--white);
    font-family: var(--font-family-h);
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
  }

  .footer__policy.f-sp-none {
    display: flex !important;
  }

  .footer__policy {
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 5.2rem;
  }

  .footer__policy a {
    font-size: 1.4rem;
  }

  .footer__right {
    width: 100%;
    max-width: 58rem;
  }

  .footer-hours {
    width: 100%;
    max-width: 58rem;
    margin-top: 0;
  }

  .footer-hours__table {
    width: 100%;
    table-layout: fixed;
  }

  .footer-hours__col-time {
    width: 32%;
  }

  .footer-hours__col-day {
    width: 9.7%;
  }

  .footer-hours__col-holiday {
    width: 9.8%;
  }

  .footer-hours__table th,
  .footer-hours__table td {
    white-space: nowrap;
    box-sizing: border-box;
  }

  .footer-hours__table thead th {
    padding: 1rem 0.4rem;
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .footer-hours__table tbody th {
    padding: 1rem 0.4rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .footer-hours__table td {
    padding: 1rem 0.2rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .footer-hours__table thead th:last-child {
    font-size: 1.6rem;
    letter-spacing: -0.04em;
  }

  .footer__copyright {
    margin: 5.2rem 0 2.5rem 0;
    font-size: 1.4rem;
  }
}
