/**
 * about.css
 * About / Stories セクションのスタイル
 * guu-hotel から統合した追加スタイル
 */

/* ==================== Token Aliases ==================== */
/* guu-hotel の変数名を guu-hotelのコピー の変数にマッピング */
:root {
    --font-jp: var(--font-family-jp);
    --font-lato: var(--font-family-eng);
    --color-white: var(--white);
    --color-gray: var(--gray1-5);
    --desktop-width: 1440px;
    --line-height-tight: var(--line-height-140);
    --line-height-relaxed: 1.8;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 4rem;
    --padding-x-content: 45px;
    --color-text-01: var(--livin-guu);
    --color-text-02: var(--marimore);
    --color-text-03: var(--ichi-guu);
    --color-text-04: var(--and-series);
    --color-text-05: var(--other-hotels);
}

/* ==================== Container & Grid ==================== */
.page-container {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

/* ==================== Section Layout ==================== */
.section-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 788px;
  padding: 108px 0;
}

.section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-left: var(--padding-x-content);
}

/* ==================== Section Header ==================== */
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-left: 45px;
}

.section-meta {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-end;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 300;
  line-height: var(--line-height-tight);
  white-space: nowrap;
}

.section-number {
  font-size: 20px;
}

.section-category {
  font-size: 14px;
}

.section-title {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 300;
  line-height: var(--line-height-tight);
  letter-spacing: 0.72px;
  font-feature-settings: 'palt';
  margin: 0;
}

/* ==================== Section Body ==================== */
.section-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-image-container {
  width: 100%;
  padding: 0 35px;
  display: flex;
  align-items: flex-start;
}

.section-description {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 400;
  line-height: var(--line-height-relaxed);
  letter-spacing: 0.39px;
  font-feature-settings: 'palt';
  white-space: normal;
  margin: 0;
  padding-left: 45px;
  margin-top: 4rem;
}

.section-description p {
  margin: 0;
  line-height: var(--line-height-relaxed);
}

.section-description p + p {
  margin-top: 0;
}

/* ==================== Text Utilities ==================== */
.text-light {
  font-weight: 300;
}

.text-regular {
  font-weight: 400;
}

/* ==================== Section Image ==================== */
.about-image {
  position: relative;
  width: 280px;
  height: 202px;
  overflow: hidden;
}

.mask-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.mask-group {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mask-group img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mask-layer {
    position: absolute;
    mask-repeat: no-repeat;
    mask-mode: alpha;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-mode: alpha;
}

.mask-layer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.mask-layer--sp {
    display: block;
}

.mask-layer--pc {
    display: none;
}

/* ==================== Brand CTA ==================== */
.about-brand-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.25rem;
}

.about-brand-btn {
    font-family: var(--font-jp);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-white);
    background-color: var(--color-gray);
    border-radius: 100px;
    padding: 0.8125rem 1.5rem 0.875rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    line-height: 1.7;
    white-space: nowrap;
}

.about-brand-arrow {
    display: block;
    flex-shrink: 0;
}

.about-brand-arrow--pc {
    display: none;
}

/* ==================== Desktop Layout ==================== */
@media (min-width: 768px) {
  .page-container {
    max-width: var(--desktop-width);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .section-item {
    padding: 100px 6.0625rem;
    align-items: center;
  }

  .section-wrapper {
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 0;
    flex: 1;
    width: 100%;
  }

  .section-header {
    gap: var(--space-lg);
    flex: 0 0 22.0625rem;
    padding-left: 0;
  }

  .section-meta {
    font-size: 24px;
  }

  .section-number {
    font-size: 24px;
  }

  .section-title {
    font-size: 48px;
    letter-spacing: 1.44px;
  }

  .section-body {
    flex: 0 0 33.75rem;
  }

  .section-image-container {
    width: 540px;
    padding: 0;
    flex-shrink: 0;
  }

  .about-image {
    height: 390px;
    width: 540px;
    overflow: hidden;
  }

  .mask-layer--sp {
    display: none;
  }

  .mask-layer--pc {
    display: block;
  }

  .section-description {
    font-size: 14px;
    padding-left: 4.9375rem;
    letter-spacing: 0.42px;
    line-height: 1.7;
    flex: 1;
    margin-top: 0;
  }

  .about-brand-cta {
    padding: 3.75rem 0 6.25rem;
  }

  .about-brand-btn {
    font-size: 1.25rem;
    padding: 1.0625rem 3rem 1.125rem;
  }

  .about-brand-arrow--sp {
    display: none;
  }

  .about-brand-arrow--pc {
    display: block;
    width: 4.3125rem;
    height: 4.3125rem;
  }
}

/* ==================== STORIES SECTION ==================== */

.stories-container {
    width: 100%;
    background-color: #f3f3f3;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stories-wrapper {
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 1.25rem;
    overflow-x: hidden;
}

.stories-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stories-title {
    font-family: var(--font-lato);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.64px;
    color: #ae9e7f;
    margin: 0;
    line-height: var(--line-height-tight);
    text-align: left;
}

.stories-content {
    display: flex;
    flex-direction: column;
    gap: 7.5rem;
}

/* ==================== NOTE SECTION ==================== */

.note-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.note-intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.note-title {
    font-family: var(--font-lato);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    letter-spacing: 0.48px;
    color: #544a42;
    margin: 0;
    font-feature-settings: 'palt';
}

.note-description {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.78px;
    color: #4b4b4b;
    margin: 0;
    font-feature-settings: 'palt';
}

.note-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* ==================== STORY CARD ==================== */

.story-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-image {
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.card-image img,
.card-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1.25rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.card-title {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.64px;
    color: #4b4b4b;
    margin: 0;
    font-feature-settings: 'palt';
}

.card-description {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.72px;
    color: #82776e;
    margin: 0;
    font-feature-settings: 'palt';
}

.note-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
}

/* ==================== CTA BUTTON ==================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 100px;
    background-color: transparent;
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.78px;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-feature-settings: 'palt';
    white-space: nowrap;
}

.button-gray {
    background-color: #716963;
}

.button-gray:hover {
    background-color: #5f5a54;
    opacity: 0.9;
}

.button-teal {
    background-color: #7da7a0;
}

.button-teal:hover {
    background-color: #6d9790;
    opacity: 0.9;
}

.button-brown {
    background-color: #ae9e7f;
}

.button-brown:hover {
    background-color: #9a8a6b;
    opacity: 0.9;
}

.cta-wrapper {
    display: inline-flex;
    align-items: center;
}

.cta-icon {
    width: 2.6875rem;
    height: 2.6875rem;
    flex-shrink: 0;
    display: block;
}

/* ==================== HOTEL NEWS SECTION ==================== */

.hotel-news-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hotel-news-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hotel-news-card .card-title {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.64px;
}

.hotel-news-card .cta-wrapper {
    align-self: flex-end;
    margin-top: 1rem;
}

/* ==================== INSTAGRAM SECTION ==================== */

.instagram-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.instagram-intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.instagram-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.instagram-title {
    font-family: var(--font-lato);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    letter-spacing: 0.48px;
    color: #544a42;
    margin: 0;
}

.instagram-description {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.78px;
    color: #4b4b4b;
    margin: 0;
    font-feature-settings: 'palt';
}

.instagram-gallery {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    overflow-x: auto;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.instagram-gallery::-webkit-scrollbar {
    display: none;
}

.instagram-gallery {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==================== GALLERY ITEM ==================== */

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 8rem;
}

.gallery-tag {
    font-family: var(--font-lato);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: var(--line-height-relaxed);
    letter-spacing: 0.36px;
    color: #846e42;
    border: 1px solid #846e42;
    border-radius: 50px;
    padding: 0.125rem 0.625rem;
    text-align: center;
    white-space: nowrap;
    width: fit-content;
}

.gallery-item:nth-child(4) .gallery-tag,
.gallery-item:nth-child(5) .gallery-tag {
    color: #3f643f;
    border-color: #3f643f;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 128 / 229.4;
    border-radius: 0.625rem;
    overflow: hidden;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image video,
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.625rem;
}

.gallery-info {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    justify-content: flex-start;
}

.gallery-name {
    font-family: var(--font-lato);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.78px;
    color: #4b4b4b;
    margin: 0;
    font-feature-settings: 'palt';
}

.gallery-item:nth-child(4) .gallery-name,
.gallery-item:nth-child(5) .gallery-name {
    font-family: var(--font-jp);
}

.gallery-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    transform: scaleX(-1);
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (min-width: 768px) {
    .stories-container {
        padding: 5rem 0;
        align-items: flex-start;
    }

    .stories-wrapper {
        max-width: var(--desktop-width);
        padding: 0 9.625rem;
        gap: 5rem;
    }

    .stories-header {
        text-align: left;
        margin-bottom: 0;
    }

    .stories-title {
        font-size: 2.5rem;
    }

    .stories-content {
        gap: 6rem;
    }

    .note-section {
        gap: 2.5rem;
    }

    .note-intro {
        gap: 0.5rem;
    }

    .note-title {
        font-size: 1.5rem;
    }

    .note-description {
        font-size: 0.875rem;
    }

    .note-cards {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
    }

    .note-cards .story-card:first-child {
        flex: 0 0 30rem;
        gap: 1rem;
    }

    .note-cards .story-card:first-child .card-image {
        width: 30rem;
        height: auto;
        aspect-ratio: 480 / 323;
    }

    .note-cards .story-card:first-child .card-title {
        font-size: 1.625rem;
        font-weight: 300;
        letter-spacing: 0.065em;
        line-height: 1.5;
    }

    .note-cards .story-card:first-child .card-description {
        font-size: 0.8125rem;
        color: #82776e;
    }

    .note-cards .story-card--sub {
        flex: 0 0 15.375rem;
        width: 15.375rem;
        gap: 0.5rem;
    }

    .note-cards .story-card--sub .card-image {
        width: 100%;
        aspect-ratio: 246 / 164;
        overflow: hidden;
    }

    .note-cards .story-card--sub .card-title {
        font-size: 1.25rem;
        font-weight: 300;
        line-height: var(--line-height-tight);
        letter-spacing: 0.05em;
    }

    .note-cards .story-card--sub .card-description {
        font-size: 0.8125rem;
        color: #82776e;
    }

    .note-cta {
        justify-content: flex-end;
        margin-top: 0;
    }

    .cta-button {
        font-size: 0.9375rem;
        letter-spacing: 0.056em;
    }

    .hotel-news-section {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 5rem;
    }

    .hotel-news-card {
        flex: 0 0 25rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hotel-news-card .card-image {
        width: 25rem;
        aspect-ratio: 400 / 260;
        overflow: hidden;
    }

    .hotel-news-card .card-title {
        font-size: 1.625rem;
        font-weight: 300;
        line-height: 1.5;
        letter-spacing: 0.065em;
    }

    .hotel-news-card .card-description {
        font-size: 0.8125rem;
        color: #82776e;
    }

    .hotel-news-card .cta-wrapper {
        align-self: flex-end;
        margin-top: 0.5rem;
    }

    .instagram-section {
        gap: 3rem;
    }

    .instagram-intro {
        gap: 0.75rem;
    }

    .instagram-header {
        gap: 1rem;
    }

    .instagram-icon {
        width: 1.625rem;
        height: 1.625rem;
    }

    .instagram-title {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }

    .instagram-description {
        font-size: 0.9375rem;
        letter-spacing: 0.056em;
    }

    .instagram-gallery {
        gap: 2.5rem;
        overflow-x: visible;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .gallery-item {
        flex: 0 0 9.625rem;
        width: 9.625rem;
        gap: 0.5rem;
    }

    .gallery-image {
        aspect-ratio: 154 / 276;
        border-radius: 0.75rem;
    }

    .gallery-image video,
    .gallery-image img {
        border-radius: 0.75rem;
    }

    .gallery-name {
        font-size: 0.875rem;
    }
}
