@charset "utf-8";

/*----------------------------------------------
  リセット
----------------------------------------------*/

*,
::before,
::after {
  box-sizing: border-box;
  background-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-size: contain;
}

:where(
  body,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  li,
  dl,
  dt,
  dd,
  figure,
  figcaption,
  blockquote
) {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

:where(ul, ol) {
  list-style: none;
}

:where(a) {
  text-decoration: none;
  color: inherit;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-weight: normal;
}

:where(img, picture, video, canvas, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(button) {
  font: inherit;
  color: inherit;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

:root {
  --site-gutter: 40px;

  font-size: 16px;
  line-height: 1.6;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  overflow-wrap: anywhere;
  line-break: strict;
  color: #222;
  background-color: #fff;

  @media (max-width: 1300px) {
    --site-gutter: 30px;
  }

  @media (max-width: 767.98px) {
    --site-gutter: 16px;
  }
}

/*----------------------------------------------
  ユーティリティ
----------------------------------------------*/

@media (max-width: 767.98px) {
  .desktop-only {
    display: none !important;
  }
}

.container {
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  max-width: 1480px;

  &.--w-800 {
    max-width: calc(800px + var(--site-gutter) * 2);
  }

  &.--w-600 {
    max-width: calc(600px + var(--site-gutter) * 2);
  }

  &.--full {
    max-width: none;
  }

  &.--ivory {
    background-color: #f0eee8;
  }
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  & > * {
    min-width: 0;
  }

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.ivory-block {
  margin-block: 80px;
  padding-block: 80px;
  background-color: #f0eee8;

  @media (max-width: 767.98px) {
    margin-block: 60px;
    padding-block: 60px;
  }
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-10 {
  margin-top: 10px !important;
}
.mt-15 {
  margin-top: 15px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.mt-30 {
  margin-top: 30px !important;
}
.mt-40 {
  margin-top: 40px !important;
}
.mt-50 {
  margin-top: 50px !important;
}
.mt-60 {
  margin-top: 60px !important;
}
.mt-70 {
  margin-top: 70px !important;
}
.mt-80 {
  margin-top: 80px !important;
}
.mt-1em {
  margin-top: 1em !important;
}
.mt-2em {
  margin-top: 2em !important;
}

.fs-12 {
  font-size: 12px;
}

.fs-24 {
  font-size: 24px;
}

.fs-28 {
  font-size: 28px;
}

.bold {
  font-weight: bold;
}

.fw-normal {
  font-weight: normal !important;
}

.btn {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 1.2em 25px;
  background-color: #60a57e;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  border: none;
  cursor: pointer;

  &:hover {
    background-color: #008060;
  }

  &.--full {
    width: 100%;
  }

  &.--white {
    background-color: #fff;
    color: #60a57e;

    &:hover {
      background-color: #60a57e;
      color: #fff;
    }
  }

  &.--disabled {
    background-color: #ccc;
    color: #666;
    cursor: default;
    text-decoration: line-through;
  }
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);

  &:hover {
    text-decoration-color: inherit;
  }
}

/*----------------------------------------------
  アナウンスバー
----------------------------------------------*/

.announcement-bar {
  padding-inline: 30px;
  background-color: #60a57e;
  color: #fff;
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: center;
  gap: 1em;

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
  }
}

.announcement-bar__left {
  text-align: left;

  @media (max-width: 767.98px) {
    display: none;
  }
}

.announcement-bar__middle {
  min-width: none;
}

.announcement-bar__right {
  text-align: right;

  @media (max-width: 767.98px) {
    display: none;
  }
}

.announcement-bar-social-links {
  font-size: 15px;
  display: flex;
  gap: 0.9em;
  padding-block: 1em;

  img {
    display: block;
    width: 1em;
    height: 1em;
    filter: invert(1);
  }
}

.announcement {
  --duration: 0.4s;
  --delay: 0.3s;

  font-size: 13px;
  position: relative;
  height: 3em;
  width: 100%;

  & > li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;

    &[aria-hidden='true'] {
      transition:
        visibility 0s var(--duration),
        translate 0s var(--duration),
        opacity var(--duration);
      visibility: hidden;
      translate: 0 2em;
      opacity: 0;
    }

    &[aria-hidden='false'] {
      transition:
        visibility 0s var(--delay),
        translate var(--duration) var(--delay),
        opacity var(--duration) var(--delay);
      visibility: visible;
      translate: 0 0;
      opacity: 1;
    }

    & > :is(a, span) {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;

      &:is(a) {
        text-decoration: underline;
        text-decoration-color: rgba(255, 255, 255, 0.6);

        &:hover {
          text-decoration-color: #fff;
        }
      }
    }
  }
}

/*----------------------------------------------
  ヘッダー（ロゴのところ）
----------------------------------------------*/

.page-header {
  position: relative;
  border-bottom: 1px solid #c7d4cc;
}

.page-header-drawer-button {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;

  @media (min-width: 768px) {
    display: none;
  }

  & svg {
    width: 24px;
    height: 24px;
  }
}

.page-header-logo {
  margin-inline: auto;

  @media (min-width: 768px) {
    padding-block: 20px;
    width: 200px;
  }

  @media (max-width: 767.99px) {
    padding-block: 10px;
    width: 100px;
  }
}

/*----------------------------------------------
  メインナビ
----------------------------------------------*/

.main-nav {
  border-bottom: 1px solid #c7d4cc;
  font-size: 14px;

  ul {
    display: flex;
    justify-content: center;
  }

  a {
    --pad: 18px;
    --color: #60a57e;
    --underline-scale: 0 1;

    &:hover {
      --color: #008060;
      --underline-scale: 1 1;
    }

    &[aria-current='page'] {
      --underline-scale: 1 1;
    }

    display: block;
    position: relative;
    padding: var(--pad);
    color: var(--color);
    transition: color 0.3s;

    &::after {
      content: '';
      position: absolute;
      bottom: -1px;
      background-color: currentColor;
      height: 2px;
      left: var(--pad);
      width: calc(100% - var(--pad) * 2);

      transition: scale 0.3s;
      scale: var(--underline-scale);
      will-change: transform;
    }
  }

  @media (max-width: 767.98px) {
    display: none;
  }
}

/*----------------------------------------------
  スマホドロワー
----------------------------------------------*/

body:has(.mobile-drawer[aria-hidden='false']) {
  overflow: hidden;
}

.mobile-drawer {
  --duration: 0.5s;

  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  &[aria-hidden='true'] {
    --backdrop-opacity: 0;
    --backdrop-transition: opacity var(--duration);
    --box-translate: -100% 0;
    --box-transition: translate var(--duration)
      cubic-bezier(0.55, 0.03, 0.37, 0.96);

    visibility: hidden;
    transition: visibility 0s var(--duration);
  }

  &[aria-hidden='false'] {
    --backdrop-opacity: 1;
    --backdrop-transition: opacity var(--duration);
    --box-translate: 0 0;
    --box-transition: translate var(--duration)
      cubic-bezier(0.55, 0.03, 0.37, 0.96);

    visibility: visible;
    transition: visibility 0s;
  }

  & .mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 0.5);
    opacity: var(--backdrop-opacity);
    transition: var(--backdrop-transition);
  }

  & .mobile-drawer__box {
    position: absolute;
    left: 0;
    top: 0;
    width: 88%;
    height: 100%;
    background-color: #fff;
    translate: var(--box-translate);
    transition: var(--box-transition);
    display: grid;
    grid-template-rows: auto 1fr;

    & > .mobile-drawer__box-header {
      border-bottom: 1px solid #c7d4cc;
      display: flex;
      justify-content: end;
    }

    & > .mobile-drawer__box-body {
      padding-block: 30px;
      padding-inline: var(--site-gutter);
      overflow-y: auto;
    }
  }

  & .mobile-drawer__close {
    width: 64px;
    height: 54px;
    display: grid;
    place-content: center;
    color: #60a57e;

    & svg {
      width: 24px;
      height: 24px;
    }
  }

  & .mobile-drawer__nav {
    & > ul {
      font-size: 17px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1em;

      & > li {
        & > a {
          color: #60a57e;
          font-weight: bold;
        }
      }
    }
  }

  & .mobile-drawer__social {
    margin-top: 30px;
    border-top: 1px solid #c7d4cc;
    padding-top: 30px;
    font-size: 20px;
    display: flex;
    gap: 1em;
    & > a {
      & > img {
        width: 1em;
        height: 1em;
      }
    }
  }
}

/*----------------------------------------------
  ホーム ヒーロースライド
----------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  height: 600px;
  background-color: #eee;

  @media (max-width: 767.98px) {
    height: 320px;
  }
}

.hero-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  &[aria-hidden='true'] {
    z-index: 1;
    transition:
      visibility 0s 0.8s,
      opacity 0s 0.8s;
    visibility: hidden;
    opacity: 0;
  }

  &[aria-hidden='false'] {
    z-index: 2;
    transition:
      visibility 0s,
      opacity 0.8s;
    visibility: visible;
    opacity: 1;
  }
}

.hero-item__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  .hero-item[aria-hidden='true'] & {
    transition: scale 0s 0.8s;
    scale: 1.2;
  }

  .hero-item[aria-hidden='false'] & {
    transition: scale 2s cubic-bezier(0.21, 0.6, 0.35, 1);
    scale: 1;
  }
}

.hero-item__content {
  position: absolute;
  z-index: 1;
  padding: 70px;
  color: #fff;

  &.--center {
    inset: 0;
    margin: auto;
    text-align: center;
    height: fit-content;
  }

  &.--left-top {
    left: 0;
    top: 0;
    text-align: left;
  }

  &.--left-bottom {
    left: 0;
    bottom: 0;
    text-align: left;
  }

  &.--right-top {
    right: 0;
    top: 0;
    text-align: right;
  }

  &.--right-bottom {
    right: 0;
    bottom: 0;
    text-align: right;
  }

  @media (max-width: 767.98px) {
    padding: 50px 20px;
  }
}

.hero-item__text {
  overflow: hidden;
  line-height: 1.5;
  font-weight: 500;

  @media (min-width: 768px) {
    font-size: 38px;
  }

  @media (max-width: 767.99px) {
    font-size: 24px;
  }

  .hero-item[aria-hidden='true'] & > p {
    transition:
      opacity 0s,
      translate 0s;
    opacity: 0;
    translate: 0 3em;
  }
  .hero-item[aria-hidden='false'] & > p {
    transition:
      opacity 0.4s,
      translate 0.7s 0s ease-out;
    opacity: 1;
    translate: 0 0;
  }
}

.hero-item__subtext {
  .hero-item[aria-hidden='true'] & > p {
    transition:
      opacity 0s,
      translate 0s;
    opacity: 0;
    translate: 0 2em;
  }

  .hero-item[aria-hidden='false'] & > p {
    transition:
      opacity 0.3s 0.6s,
      translate 0.6s 0.6s ease-out;
    opacity: 1;
    translate: 0 0;
  }
}

.hero-item__btn {
  margin-top: 10px;

  .hero-item[aria-hidden='true'] & {
    transition: opacity 0s;
    opacity: 0;
  }
  .hero-item[aria-hidden='false'] & {
    transition: opacity 0.7s 0.8s;
    opacity: 1;
  }
}

.hero-dotswrap {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;

  & > button {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
    display: grid;
    place-content: center;
    cursor: pointer;

    & svg {
      width: 12px;
      height: 12px;
    }

    &[aria-current='false'] {
      & circle {
        fill: #fff;
      }
    }

    &[aria-current='true'] {
      & circle {
        fill: none;
        stroke-width: 4;

        &:nth-child(1) {
          stroke: #fff6;
        }

        &:nth-child(2) {
          stroke: #fff;
          stroke-dasharray: 85;
          stroke-dashoffset: 85;
          transform-origin: 50%;
          transform: rotate(-90deg);
          animation-name: drawCircle;
          animation-timing-function: linear;
          animation-duration: var(--hero-interval);
          animation-fill-mode: forwards;
        }
      }
    }
  }
}

@keyframes drawCircle {
  0% {
    stroke-dashoffset: 85;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/*----------------------------------------------
  コレクションスライダー
----------------------------------------------*/

.collection-slider {
}

.collection-slider__header {
  padding-inline: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.collection-slider__header-button {
  width: 44px;
  height: 44px;
  background-color: currentColor;
  mask-size: 24px 24px;
  mask-position: center;
  transition: opacity 0.3s;

  &:disabled {
    opacity: 0;
    cursor: default;
  }

  &.--prev {
    mask-image: url('../images/chevron-left.svg');
  }
  &.--next {
    mask-image: url('../images/chevron-right.svg');
  }
}

.collection-slider__header-title {
  font-size: 22px;
  font-weight: 600;
}

.collection-slider__viewport {
  --slide-width: 300px;
  --slide-gap: 16px;
  --slide-count: 1;
  --viewport-width: calc(
    var(--slide-width) * var(--slide-count) + var(--slide-gap) *
      (var(--slide-count) + 1)
  );

  overflow: hidden;
  margin-inline: auto;
  padding-inline: var(--slide-gap);
  width: min(var(--viewport-width), 100%);
  opacity: 0;

  &.--initialized {
    transition: opacity 0.8s;
    opacity: 1;
  }
}

.collection-slider__slides {
  display: flex;
  margin-left: calc(-1 * var(--slide-gap));
}

.collection-slider__slide {
  flex: 0 0 calc(var(--slide-width) + var(--slide-gap));
  padding-left: var(--slide-gap);
}

/*----------------------------------------------
  カードリンク
----------------------------------------------*/

.card-link {
  display: block;
}

.card-link__image {
  position: relative;
  aspect-ratio: 1;

  &.--rental {
    aspect-ratio: 270 / 200;
  }

  & > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    &[hidden] {
      display: none;
    }
  }

  & > button {
    --size: 30px;
    position: absolute;
    z-index: 1;
    top: calc(50% - var(--size) / 2);
    width: var(--size);
    height: var(--size);
    background-color: rgb(255 255 255 / 0.7);
    opacity: 0.8;

    &:hover {
      opacity: 1;
    }

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: #555;
      mask-image: var(--mask-image);
      mask-size: 80% 80%;
      mask-position: center;
    }

    &.--prev {
      --mask-image: url('../images/chevron-left.svg');
      left: 0;
    }

    &.--next {
      --mask-image: url('../images/chevron-right.svg');
      right: 0;
    }
  }
}

.card-link__text {
  margin-top: 10px;
  font-size: 14px;
}

.card-link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;

  @media (max-width: 767.98px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

/*----------------------------------------------
  宿にしむら
----------------------------------------------*/

.nishimura {
  text-align: center;
}
.nishimura__image {
  display: block;
  margin-inline: auto;
  max-width: 580px;
}
.nishimura__text {
  margin-top: 1em;
}

/*----------------------------------------------
  お知らせ記事
----------------------------------------------*/

/*----------------------------------------------
  記事アコーディオン
----------------------------------------------*/

.article-accordion {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-accordion__details {
  --summary-before-rotate: -90deg;
  --summary-before-opacity: 1;
  --summary-after-rotate: 0deg;

  &[open] {
    --summary-before-rotate: 90deg;
    --summary-before-opacity: 0;
    --summary-after-rotate: 180deg;
  }
}

.article-accordion__summary {
  list-style: none;
  position: relative;
  padding-block: 20px;
  padding-right: 30px;
  cursor: pointer;

  &::-webkit-details-marker {
    display: none;
  }

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 11px;
    height: 1px;
    background-color: rgb(0, 125, 158);
    transition: 0.3s ease;
    transition-property: rotate, opacity;
  }

  &::before {
    rotate: var(--summary-before-rotate);
    opacity: var(--summary-before-opacity);
  }
  &::after {
    rotate: var(--summary-after-rotate);
  }
}

.article-accordion__heading {
  color: rgb(0, 125, 158);
}
.article-accordion__date {
  font-size: 14px;
}
.article-accordion__title {
  font-size: 20px;
}

.article-accordion__body {
  margin-bottom: 30px;
}

/*----------------------------------------------
  エディター本文
----------------------------------------------*/

.editor {
  display: flow-root;
  font-size: 16px;

  & > :first-child {
    margin-top: 0;
  }

  & > :last-child {
    margin-bottom: 0;
  }

  & :where(p) {
    margin-block: 1em;
  }

  & :where(h1, h2, h3, h4, h5, h6) {
    margin-block: 2em 1.5em;
    font-weight: bold;
  }

  & :where(h1) {
    font-size: 2em;
  }

  & :where(h2) {
    font-size: 1.75em;
  }

  & :where(h3) {
    font-size: 1.5em;
  }

  & :where(h4) {
    font-size: 1.25em;
  }

  & :where(h5) {
    font-size: 1em;
  }

  & :where(h6) {
    font-size: 0.875em;
  }

  & :where(ul) {
    list-style: disc;
    margin-left: 2em;
    margin-block: 1.5em;
  }

  & :where(ol) {
    list-style: decimal;
    margin-left: 2em;
    margin-block: 1.5em;
  }

  & :where(li) {
    margin-block: 0.5em;
    line-height: 1.4;
  }

  & :where(dl) {
    margin-block: 1.5em;
  }
  & :where(dt) {
    margin-top: 0.5em;
    font-weight: bold;
  }
  & :where(dd) {
    margin-left: 1em;
  }

  & :where(strong) {
    font-weight: bold;
  }

  & :where(em) {
    font-style: italic;
    font-weight: inherit;
  }

  & :where(a) {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);

    &:hover {
      text-decoration-color: inherit;
    }
  }

  & .wp-block-image {
    margin-block: 2em;

    & .wp-element-caption {
      font-size: 81.75%;
      color: #666;
    }
  }

  & :where(table) {
    margin-block: 2em;
    width: 100%;
    border-collapse: collapse;

    & :where(th, td) {
      vertical-align: top;
      text-align: left;
      border-top: 1px solid #e2e2e2;
      border-bottom: 1px solid #e2e2e2;
      padding: 0.7em;
      font-weight: normal;

      &:where(th) {
        font-weight: bold;
        white-space: nowrap;
      }
    }
  }

  & .sp-block-table {
    @media (max-width: 767.98px) {
      display: block;

      & :where(tbody, tr, th, td) {
        display: block;

        &:where(tr) {
          border-top: 1px solid #e2e2e2;

          &:last-child {
            border-bottom: 1px solid #e2e2e2;
          }
        }

        &:where(th, td) {
          border: none;
          padding: 0;

          &:where(th) {
            padding-top: 0.7em;
            padding-inline: 0.5em;

            & > br {
              display: none;
            }
          }

          &:where(td) {
            padding-block: 0.7em;
            padding-inline: 1.5em 0.5em;
          }
        }
      }
    }
  }
}

.box {
  font-size: 0.9rem;
  max-width: 100%;
  padding: 1rem;
  margin: 3rem auto;
  background: #e9f2ec;
  line-height: 2;
  border-radius: 5px;

  & > :first-child {
    margin-top: 0;
  }

  & > :last-child {
    margin-bottom: 0;
  }
}

/*----------------------------------------------
  こぐまプレイスの想い
----------------------------------------------*/

.omoi {
  display: grid;

  @media (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.omoi__images {
  & a {
    display: block;
    position: relative;
    aspect-ratio: 685 / 410;

    & > img {
      position: absolute;
      aspect-ratio: 1 / 1;
      width: 53%;
      height: auto;
      &:nth-child(1) {
        right: 0;
        top: 0;
      }
      &:nth-child(2) {
        left: 0;
        bottom: 0;
      }
    }
  }
}

.omoi__content {
  @media (min-width: 768px) {
    padding-inline: 15%;
  }

  @media (max-width: 767.98px) {
    margin-inline: auto;
    max-width: 500px;
  }

  & .omoi__heading {
    font-size: 13px;
  }
  & .omoi__heading2 {
    margin-top: 0.6em;
    font-size: 28px;
    font-weight: bold;
    color: #60a57e;
  }
  & p {
    margin-top: 1em;
  }
}

/*----------------------------------------------
  例えばこんな使いかた
----------------------------------------------*/

.usage {
  display: grid;
  gap: 30px;

  & > div {
    &.--pro {
      --color-rgb: 127 193 204;
      --label-text: '教えたい・プロを目指す';
      --icon-url: url('../images/koguma_pro.svg');
    }

    &.--enjoy {
      --color-rgb: 244 227 64;
      --label-text: '楽しみたい・リラックス';
      --icon-url: url('../images/koguma_enjoy.svg');
    }

    &.--relax {
      --color-rgb: 135 181 94;
      --label-text: 'ゆったりと遊んでみる';
      --icon-url: url('../images/koguma_relax.svg');
    }

    /* クマアイコン */
    padding-left: 60px;
    background-image: var(--icon-url);
    background-size: 50px 50px;
    background-position: 0 0;

    /* ラベル */
    &::before {
      content: var(--label-text);
      margin-bottom: 5px;
      font-size: 10px;
      display: flex;
      align-items: center;
      font-weight: normal;
      padding-inline: 1em;
      width: fit-content;
      height: 2.2em;
      border-radius: 1.1em;
      background-color: rgb(var(--color-rgb));
    }

    & > dt {
      display: inline;
      font-size: 17px;
      font-weight: bold;
      background: linear-gradient(
        transparent 62%,
        rgb(var(--color-rgb) / 0.4) 30%
      );
    }
    & > dd {
      margin-top: 1em;

      display: flex;
      align-items: center;
      gap: 10px;

      & > img {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        object-fit: contain;
      }

      @media (max-width: 767.98px) {
        margin-left: -60px;
      }
    }
  }
}

/*----------------------------------------------
  ホーム ナビゲーション
----------------------------------------------*/

.home-nav {
  margin-inline: auto;
  max-width: 1400px;

  display: flex;
  justify-content: space-around;

  @media (max-width: 767.98px) {
    flex-direction: column;
    gap: 40px;
  }

  & > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;

    & > dt {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;

      & > a {
        img {
          width: 140px;
          height: 140px;
        }
      }

      & > span {
        font-size: 24px;
        line-height: 1.2;
        font-weight: bold;
        text-align: center;
        color: #60a57e;
      }
    }

    & > dd {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1em;
    }
  }
}

/*----------------------------------------------
  アクセス
----------------------------------------------*/

.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
  }
}

.access__iframe {
  margin-top: 2em;
  width: 100%;

  @media (min-width: 768px) {
    aspect-ratio: 1;
  }
  @media (max-width: 767.98px) {
    height: 300px;
  }
}

.access__image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  & .btn {
    position: absolute;
    bottom: 20px;
  }
}

/*----------------------------------------------
  フッター
----------------------------------------------*/

.site-footer {
  margin-top: 120px;
}

.site-footer-banners {
  padding-block: 20px;
  background-color: #c7d4cc;

  & > .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 30px;

    @media (max-width: 767.98px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    & > a {
      & > img {
        border-radius: 5px;
        transition: filter 0.5s;
      }

      &:hover > img {
        filter: brightness(1.1);
      }
    }
  }
}

.site-footer-nav {
  margin-top: 50px;

  & > .container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;

    @media (max-width: 1000px) {
      flex-direction: column;
      gap: 30px;
    }
  }
}

.site-footer-nav__col {
  max-width: 460px;
  display: grid;
  gap: 20px;
}

.site-footer-nav__logo {
  max-width: 200px;
}

.site-footer-nav__about {
  display: grid;
  gap: 1em;
  & strong {
    font-size: 18px;
    font-weight: bold;
    color: #60a57e;
  }
}

.site-footer-nav__list {
  display: grid;
  gap: 20px;

  & > li {
    & > :where(a, span) {
      font-size: 18px;
      font-weight: bold;
      color: #60a57e;

      &:where(a) {
        transition: opacity 0.3s;
        &:hover {
          opacity: 0.7;
        }
      }
    }
    & > ul {
      margin-top: 10px;
      display: grid;
      gap: 10px;

      & a {
        transition: opacity 0.3s;
        &:hover {
          opacity: 0.7;
        }
      }
    }
  }
}

.site-footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #c7d4cc;
  padding-block: 50px;

  & > .container {
    & small {
      font-size: 13px;
      & a {
        transition: opacity 0.3s;
        &:hover {
          opacity: 0.7;
        }
      }
    }
  }
}

/*----------------------------------------------
  ページタイトル
----------------------------------------------*/

.page-title {
  position: relative;
  margin-bottom: 50px;
  padding-block: var(--padding-block);
  padding-inline: var(--site-gutter);
  min-height: var(--height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  color: var(--color, inherit);
  text-shadow: var(--text-shadow, none);

  &:has(.page-title__bg) {
    --color: #fff;
    --text-shadow: 0 0 5px rgb(0 0 0 / 0.5);
  }

  @media (min-width: 768px) {
    --padding-block: 50px;
    --color: inherit;
    --height: 280px;
    --font-size: 48px;
    --font-size-en: 13px;

    &:not(:has(.page-title__bg)) {
      --padding-block: 50px 0;
      --font-size: 28px;
      --height: 100px;
    }
  }

  @media (max-width: 767.98px) {
    --padding-block: 50px;
    --height: 140px;
    --font-size: 24px;
    --font-size-en: 11px;

    &:not(:has(.page-title__bg)) {
      --padding-block: 50px 0;
      --font-size: 22px;
      --height: 100px;
    }
  }

  & > .page-title__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & > .page-title__text {
    position: relative;

    & > .page-title__en {
      font-size: var(--font-size-en);
      font-weight: bold;
      margin-bottom: 0.5em;
      text-transform: uppercase;
    }

    & > .page-title__title {
      font-size: var(--font-size);
      font-weight: bold;
    }
  }
}

.page-subtitle {
  margin-block: 50px;
  padding-inline: var(--site-gutter);
  text-align: center;
  font-size: 30px;
  line-height: 1.3;
  font-weight: bold;
}

/*----------------------------------------------
  レンタル・イベント 記事ページ
----------------------------------------------*/

.item-header {
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 20px;

  & .item-header__title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: bold;
  }

  & .item-header__price {
    margin-top: 0.5em;
    font-size: 22px;
  }
}

.item-links {
  display: grid;
  gap: 15px;
}

/*----------------------------------------------
  レンタル・イベント ギャラリー
----------------------------------------------*/

.item-gallery {
  width: 100%;
}

.item-gallery__images {
  position: relative;
  aspect-ratio: 1;
  width: 100%;

  & > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;

    &[hidden] {
      visibility: hidden;
      opacity: 0;
      transition:
        visibility 0s 0.3s,
        opacity 0.3s;
    }

    &:not([hidden]) {
      visibility: visible;
      opacity: 1;
      transition:
        visibility 0s,
        opacity 0.3s;
    }
  }
}

.item-gallery__thumbnails {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;

  & > button {
    flex: 0 0 80px;
    position: relative;
    aspect-ratio: 1;
    height: auto;

    &[aria-current='false'] {
      --border: 1px solid gray;
    }

    &[aria-current='true'] {
      --border: 5px solid #60a57e;
    }

    & > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      border: var(--border);
      transition: border 0.3s;
      opacity: 0.8;
    }
  }
}

/*----------------------------------------------
  フォーム
----------------------------------------------*/

.form-label {
  font-weight: bold;
  margin-bottom: 8px;
}

.form-control {
  display: block;

  &:is(
    input[type='text'],
    input[type='tel'],
    input[type='email'],
    input[type='password'],
    select,
    textarea
  ) {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
    padding: 0.8em;
    border: 1.5px solid #c7c8c8;
    background-color: #fff;
    color: #222;
    width: 100%;
  }

  &:is(textarea) {
    min-height: 120px;
    resize: vertical;
  }
}

/*----------------------------------------------
  お問合せ
----------------------------------------------*/

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  > .--full {
    grid-column: 1 / -1;
  }

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
  }
}

/*----------------------------------------------
  各種ご案内
----------------------------------------------*/

.guide-menu {
  display: grid;
  gap: 30px;

  @media (min-width: 768px) {
    margin-block: 80px;
    grid-template: 420px / 480px 1fr;
  }

  @media (max-width: 767.98px) {
    margin-block: 60px;
    grid-template-columns: 1fr;
    height: auto;
  }

  & > header {
    padding: 40px var(--site-gutter);
    background-image: url('../images/about3.jpg');
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;

    & > small {
      font-size: 13px;
    }

    & > h2 {
      font-size: 22px;
      font-weight: bold;
    }
  }

  & > ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;

    & > li {
      & > a {
        font-weight: bold;
        text-decoration: underline;
      }
    }
  }
}

/*----------------------------------------------
  ページリンクバナー
----------------------------------------------*/

.page-banners {
  margin-block: 80px;
  display: grid;
  grid-template: 300px / 1fr 1fr;
  gap: 20px;

  @media (max-width: 767.98px) {
    margin-block: 60px;
    grid-template: 200px 200px / 1fr;
  }

  & > a {
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    gap: 1em;
    color: #fff;

    &:hover {
      --image-scale: 1.1;
    }

    & > img {
      position: absolute;
      z-index: -1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      scale: var(--image-scale, 1);
      transition: scale 0.3s;
    }
  }
}

/*----------------------------------------------
  こぐまプレイスの想い
----------------------------------------------*/

.concept-block1 {
  margin-block: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;

  @media (max-width: 767.98px) {
    margin-block: 60px;
    grid-template-columns: 1fr;
  }

  & > .concept-block1__image {
    width: 100%;
    object-fit: cover;

    @media (min-width: 768px) {
      aspect-ratio: 685 / 320;
      height: auto;

      &.--large {
        aspect-ratio: 685 / 580;
      }
    }

    @media (max-width: 767.98px) {
      height: 160px;

      &.--large {
        height: 260px;
      }
    }
  }

  & > .concept-block1__content {
    display: grid;
    gap: 1em;

    h2 {
      font-size: 13px;
    }
  }
}

.concept-block2 {
  margin-block: 80px;

  @media (max-width: 767.98px) {
    margin-block: 60px;
  }
}

/*----------------------------------------------
  予約方法のご案内
----------------------------------------------*/

.guide-step {
  margin-block: 60px;
  margin-inline: auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 30px;

  @media (max-width: 767.98px) {
    grid-template-columns: 1fr;
  }

  & .guide-step__heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: start;
    gap: 16px;

    @media (max-width: 767.98px) {
      grid-column: auto;
    }

    & .guide-step__step {
      flex-shrink: 0;
      margin-top: 3px;
      background-color: #60a57e;
      color: #fff;
      font-size: 16px;
      padding-inline: 10px;
      height: 32px;
      line-height: 30px;
      border-radius: 5px;
      font-weight: bold;
    }

    & .guide-step__title {
      font-size: 24px;
      font-weight: bold;
    }
  }

  & .guide-step__image {
  }

  & .guide-step__content {
    font-size: 14px;
  }
}

/*----------------------------------------------
  アクセス
----------------------------------------------*/

.access-map {
  position: relative;
  height: 450px;

  @media (max-width: 767.98px) {
    height: 300px;
  }

  & > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/*----------------------------------------------
  ゆったりエリア紹介
----------------------------------------------*/

.area-block {
  margin-block: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;

  @media (max-width: 767.98px) {
    margin-block: 60px;
    grid-template-columns: 1fr;
  }

  & > .area-block__image {
    width: 100%;
    height: 480px;
    object-fit: cover;

    @media (max-width: 767.98px) {
      height: 200px;
    }
  }

  & > .area-block__content {
    & h2 {
      margin-block: 0.5rem 1.5rem;
    }
  }
}

.area-images {
  margin-block: 80px;
  display: grid;
  grid-template: 220px / 2fr 1fr;
  gap: 30px;

  @media (max-width: 767.98px) {
    grid-template: 200px 200px / 1fr;
    gap: 16px;
  }

  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/*----------------------------------------------
  こぐまを探してみよう
----------------------------------------------*/

.koguma-content {
  text-align: center;

  & > img {
    margin-block: 2em;
    margin-inline: auto;
  }
}
