/* ==========================
   Reset
========================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}

/* ==========================
   Base
========================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    color: #2b2b2b;
    background: #fff;
    line-height: 1.8;
}

.section {
    padding: 60px 0;
}

.section__inner {
    width: min(1200px, 90%);
    margin: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 280px;
    height: 60px;

    border-radius: 999px;

    transition: .3s;
}

.button:hover {
    transform: translateY(-3px);
}

.button--gold {
    position: relative;
    overflow: hidden;
    background: #d9c099;
    color: #fff;
    transition:
        background .4s ease,
        transform .4s ease,
        box-shadow .4s ease;
}

.button--gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transform: skewX(-25deg);
    transition: left .8s ease;
}

.button--gold:hover {
    background: #c9a96f;
    box-shadow: 0 12px 24px rgba(183,154,69,.35);
    transform: translateY(-3px);
}

.button--gold:hover::before {
    left: 170%;
}

.button--outline {
    border: 1px solid #d9c099;
    color: #b69363;
}

/* ==========================
   Header
========================== */

.header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ece7df;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, 92%);
    height: 90px;
    margin: auto;
}

.header__logo {
    display: block;
    width: 190px;
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header-nav__list {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header-nav__list a {
    position: relative;
    display: block;
    padding: 10px 0;
    font-size: 16px;
    letter-spacing: .12em;
}

.header-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: #d8be91;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.header-nav__list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hamburger {
    display: none;
}

/* ==========================
   Hero
========================== */

.hero {
    min-height: calc(100vh - 90px);
    background: url("../images/haikei5.png") no-repeat right center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero__inner {
    width: min(1200px, 90%);
    margin: auto;
}

.hero__content {
    max-width: 500px;
}

.hero__title {
    font-size: 64px;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    margin-bottom: 40px;
}

/* ==========================
   About
========================== */

.about {
    padding: 120px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.section-heading__line {
    width: 220px;
    height: 1px;
    background: #d8be91;
    position: relative;
}

.section-heading__line::before,
.section-heading__line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #d8be91;
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-heading__line::before {
    left: 0;
}

.section-heading__line::after {
    right: 0;
}

.section-heading__title {
    font-size: 54px;
    font-weight: 400;
    color: #2d2d2d;
    font-family: "Times New Roman", serif;
}

.about__text {
    text-align: center;
    font-size: 24px;
    line-height: 2;
    color: #555;
}

/* ==========================
   Gallery
========================== */

.gallery {
    position: relative;
    padding: 140px 0;
    background: #f8f6f2;
}

.gallery__heading {
    margin-bottom: 70px;
    text-align: center;
}

.gallery__sub-title {
    margin-bottom: 8px;
    color: #a58d67;
    font-family: "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.gallery__title {
    margin-bottom: 18px;
    color: #282522;
    font-family: "Times New Roman", serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .04em;
}

.gallery__lead {
    color: #77716a;
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: .08em;
}

.gallery__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 72px;
}

/* ==========================
   Gallery Frame
========================== */

.gallery-card {
    min-width: 0;
}

.gallery-card__link {
    display: block;
}

.gallery-card__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    filter: drop-shadow(0 18px 20px rgba(45, 36, 27, .14));
    transition:
        transform .45s ease,
        filter .45s ease;
}

/* 額縁の透明窓に合わせた写真位置 */
.gallery-card__photo-box {
    position: absolute;
    top: 22%;
    right: 10.5%;
    bottom: 19%;
    left: 10.5%;
    z-index: 1;
    overflow: hidden;
    background: #eee9e2;
}

.gallery-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .75s ease,
        filter .75s ease;
}

/* 額縁PNG */
.gallery-card__frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.gallery-card__content {
    padding-top: 8px;
    text-align: center;
}

.gallery-card__title {
    margin-bottom: 7px;
    color: #2f2a25;
    font-family: "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .08em;
}

.gallery-card__category {
    position: relative;
    padding-top: 13px;
    color: #999188;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gallery-card__category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 32px;
    height: 1px;
    background: #b79a45;
    transform: translateX(-50%);
    opacity: .55;
}

/* Hover */
.gallery-card:hover .gallery-card__visual {
    transform: translateY(-7px);
    filter: drop-shadow(0 25px 28px rgba(45, 36, 27, .20));
}

.gallery-card:hover .gallery-card__photo {
    transform: scale(1.045);
    filter: brightness(1.03) contrast(1.03);
}

.gallery__button {
    text-align: center;
}

/* ==========================
   Features
========================== */

.features {
    padding: 40px,0,60px;
}

.features__box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.feature-item {
    position: relative;
    text-align: center;
    padding: 50px 24px 46px;
}

.feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: #e7dfd2;
}

.feature-item__icon {
    margin-bottom: 20px;
    color: #d3b77f;
    font-size: 48px;
    line-height: 1;
}

.feature-item__title {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 400;
}

.feature-item__text {
    color: #555;
    font-size: 16px;
    line-height: 2;
}

/* ==========================
   Contact
========================== */

.contact {
    padding: 80px 0 140px;
    text-align: center;
    background: #fff;
}

.contact .section-heading {
    margin-bottom: 36px;
}

.contact__text {
    margin-bottom: 40px;
    color: #555;
    font-size: 20px;
    line-height: 2;
}

/* ==========================
   Footer
========================== */

.footer {
    padding: 40px 0 28px;
    background: #1f1f1f;
    text-align: center;
}

.footer__logo {
    display: inline-block;
    width: 150px;
    margin-bottom: 24px;
}

.footer__logo img {
    width: 100%;
    height: auto;
    opacity: .9;
}

.footer__nav,
.footer__legal {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.footer__nav {
    margin-bottom: 16px;
}

.footer__legal {
    margin-bottom: 24px;
    gap: 24px;
}

.footer__nav a {
    color: #f5f5f5;
    font-size: 15px;
    letter-spacing: .05em;
    transition: .3s;
}

.footer__legal a {
    color: #b8b8b8;
    font-size: 13px;
    letter-spacing: .05em;
    transition: .3s;
}

.footer__nav a:hover,
.footer__legal a:hover {
    color: #d8be91;
}

.footer__copy {
    color: #888;
    font-size: 12px;
    letter-spacing: .08em;
}

/* ==========================
   Fade Animation
========================== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   Hero Animation
========================== */

.hero__title {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1.8s ease-out forwards;
    animation-delay: .4s;
}

.hero .button {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.5s ease forwards;
    animation-delay: 1.3s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   PC・スマホ改行切り替え
=============================== */

/* PCだけ改行 */
.pc-br {
    display: inline;
}

/* スマホだけ改行 */
.sp-br {
    display: none;
}

.no-wrap {
    white-space: nowrap;
}

.mobile-nav {
    display: none;
}