@charset "utf-8";

/* ============================================
   TOP COMMON
============================================ */
body {
    font-size: 1.6rem;
    background: #fcfcf8;
    color: #333333;
}

#top {
    overflow: hidden;
    padding-top: 0;
}

.top-section {
    padding: 120px 0;
    position: relative;
}

.top-section-label {
    color: #E07A5F;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.top-section-title {
    font-size: 4.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: normal;
    color: #4A3B32;
}

.top-section-lead {
    color: #666;
}

.section-link a {
    display: inline-block;
    padding-bottom: 4px;
    text-decoration: none;
    border-bottom: 3px double #E07A5F;
}

/* ============================================
   SITE SUMMARY BAR
============================================ */
.site-summary-bar {
    background: #4A3B32;
    color: #FFFEF9;
}

.site-summary-bar p {
    margin: 0;
    padding: 9px 0;
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: center;
}
@media (max-width: 768px) {
    .site-summary-bar p {
        padding: 8px 0;
        font-size: 1.2rem;
        line-height: 1.7;
        text-align: left;
    }
}

/* ============================================
   HERO
============================================ */
.hero-section {
    background-image: url("../images/hero_bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo {
    max-width: 200px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 0 2px white) drop-shadow(0 0 2px white);
}

.hero-catchphrase {
    color: #4A3B32;
    font-size: 4rem;
    line-height: 1.6;
    font-weight: bold;
    filter: drop-shadow(0 0 2px white) drop-shadow(0 0 2px white);
}


/* ============================================
   INTRODUCTION
============================================ */
#about-intro h2 {
    font-size: 2.8rem;
    color: #4A3B32;
    margin-bottom: 10px;
    font-weight: normal;
}

.intro-lead {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #4A3B32;
    max-width: 800px;
    margin: 0 auto 20px;
}


/* ============================================
   CONSULT
============================================ */
.consult-area {
    background: #f5f3eb;
}

.consult-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 30px;
    align-items: stretch;
}

.consult-card {
    position: relative;
    padding: 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    overflow: visible;
}

.consult-card::after {
    content: "";
    position: absolute;
    right: 36px;
    top: -10px;
    width: 20px;
    height: 34px;
    background: darkorange;
    border: 1px solid rgba(0,0,0,0.06);
    border-top: none;
    transform: skewX(-20deg);
}

.consult-icon {
    width: 120px;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    padding-left: 20px;
}

.consult-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.consult-card .card-body {
    padding: 18px 24px;
}

.consult-card .card-title {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: normal;
}

.consult-card .card-text {
    font-size: 1.4rem;
    line-height: 1.7;
}

.consult-label {
    color: #7B6A2C;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
}


/* ============================================
   SERVICE
============================================ */
.service-area {
    background: #E6ECE7;
}

.service-item {
    margin-bottom: 100px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-category {
    color: #E07A5F;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
}

.service-body h3 {
    font-size: 3rem;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: normal;
}

.service-body p {
    line-height: 2;
}

.service-img img {
    border-radius: 12px;
}


/* ============================================
   PHILOSOPHY
============================================ */
#philosophy {
    position: relative;
    background: #DED4CB;
    overflow: hidden;
}

#philosophy::before {
    --logo-size: 620px;

    content: "";
    position: absolute;
    top: calc(var(--logo-size) * -0.1);
    right: calc(var(--logo-size) * -0.2);
    width: var(--logo-size);
    aspect-ratio: 1 / 1;
    background: url("../images/symbol_to-chi.png") no-repeat center center;
    background-size: contain;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    #philosophy::before {
        --logo-size: 360px;
        opacity: 0.1;
    }
}

#philosophy .wrap {
    position: relative;
    z-index: 1;
}

.philosophy-area {
    overflow: hidden;
}

.philosophy-box {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-title {
    font-size: clamp(4rem, 6vw, 6rem);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: normal;
}

.philosophy-text p {
    line-height: 2.2;
    margin-bottom: 30px;
}

.philosophy-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    padding: 30px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(74,59,50,0.12);
    border-radius: 18px;
}

.philosophy-profile-img {
    width: 160px;
    min-width: 160px;
    margin: 0;
}

.philosophy-profile-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.philosophy-profile-label {
    color: #7B6A2C;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    font-weight: bold;
    margin-bottom: 10px;
}

.philosophy-profile-body p {
    line-height: 1.9;
}


/* ============================================
   NOTE
============================================ */
.note-area {
    background: #fcfcf8;
}

.note-grid {
    align-items: stretch;
}

.note-card {
    position: relative;
    border-radius: 0;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fffef9;
	padding: 20px 20px 10px 20px;
    transition: transform 0.3s ease;
}

.note-card:nth-child(even) {
    transform: rotate(-1deg);
}

.note-card:nth-child(odd){
    transform: rotate(1deg);
}

.note-card:hover {
    transform: translateY(-5px);
}
/*
.note-card:nth-child(2):hover {
    transform: rotate(-1deg) translateY(-5px);
}

.note-card:nth-child(3):hover {
    transform: rotate(1deg) translateY(-5px);
}
*/

.note-card-img{
	display: none;
}

.note-thumb {
    margin: 0;
    overflow: hidden;
}

.note-thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.note-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.note-date {
    color: #999;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.note-category {
    display: inline-block;
    padding: 3px 10px;
    color: #fff;
    background: #8FA79A;
    border-radius: 100px;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.note-link {
    margin-top: 24px;
    margin-bottom: 0;
}

.note-link a {
    display: inline-block;
    padding: 8px 18px;
    color: #E07A5F;
    border: 1px solid #E07A5F;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: normal;
}

.note-link a:hover {
    opacity: 1;
    background: #E07A5F;
    color: #fff;
}

.note-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.note-footer-links p {
    margin-bottom: 0;
}

.note-instagram-link {
    background: #fff;
}

.note-instagram-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #666;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.note-instagram-link a:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.note-instagram-link img {
    display: block;
    width: 32px;
    height: 32px;
}

/* ============================================
   NOTE ARCHIVE CARD LAYOUT
   発掘ノートページ専用
============================================ */

/* 発掘ノートページでは縦1列 */
.page-note .note-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* カードを横長レイアウトに変更 */
.page-note .note-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
    align-items: stretch;
    padding: 22px;
}

/* 画像を右側にしたい場合 */
.page-note .note-card.note-card-img-right {
    grid-template-columns: 1fr 260px;
}

.page-note .note-card.note-card-img-right .note-card-img {
    order: 2;
}

.page-note .note-card.note-card-img-right .note-card-body {
    order: 1;
}

/* 画像エリア */
.page-note .note-card-img {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #EDE4DA;
}

/* 縦を高くしすぎないため、画像高さを固定 */
.page-note .note-card-img img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.page-note .note-card:hover .note-card-img img {
    transform: scale(1.04);
}

/* 本文側 */
.page-note .note-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* 日付・カテゴリまわりを少し詰める */
.page-note .note-date {
    margin-bottom: 6px;
}

.page-note .note-category {
    margin-bottom: 10px;
}

/* タイトル */
.page-note .note-card h3 {
    margin-bottom: 12px;
    line-height: 1.55;
}

/* 本文を長くしすぎない */
.page-note .note-text {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ボタン位置 */
.page-note .note-link {
    margin-top: auto;
}
@media (max-width: 768px) {

    .page-note .note-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .page-note .note-card.note-card-img-right {
        grid-template-columns: 1fr;
    }

    .page-note .note-card.note-card-img-right .note-card-img,
    .page-note .note-card.note-card-img-right .note-card-body {
        order: initial;
    }

    .page-note .note-card-img img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .page-note .note-card-body {
        display: block;
    }

    .page-note .note-link {
        margin-top: 18px;
    }
}


/* ============================================
   CONTACT
============================================ */
.contact-area {
    background-color: #4A3B32;
    background-image: url("../images/bg_tiso.png");
    background-repeat: repeat;
    background-position: center top;
}

.contact-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 8%;
    background: #FAF8F5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-title {
    font-size: 3rem;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: normal;
}

.contact-button {
    margin-top: 50px;
}

.contact-button a {
    display: inline-block;
    min-width: 280px;
    padding: 20px 40px;
    background: #E07A5F;
    color: #fff !important;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-button a:hover {
    opacity: 1;
    transform: translateY(-3px);
}


/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {

    .top-section {
        padding: 80px 0;
    }

    .top-section-title {
        font-size: 3rem;
    }

    .hero-section {
        height: auto;
        min-height: 200px;
        background-position: center center;
        padding: 40px 5%;
    }

    .hero-logo {
        display: none;
    }

    .hero-catchphrase {
        font-size: 2.0rem;
        background: rgba(255, 248, 245, 0.1);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .intro-lead {
        font-size: 1.6rem;
        line-height: 1.8;
        padding: 0 4%;
    }

    .consult-grid {
        grid-template-columns: 1fr;
    }

    .consult-card {
        grid-template-columns: 96px 1fr;
    }

    .consult-card::after {
        right: 24px;
        top: -9px;
        width: 18px;
        height: 30px;
    }

    .consult-icon {
        width: 96px;
        padding-left: 14px;
    }

    .consult-card .card-body {
        padding: 16px 18px;
    }

    .consult-card .card-title {
        font-size: 1.8rem;
    }

    .consult-card .card-text {
        font-size: 1.3rem;
    }

    .service-item {
        margin-bottom: 70px;
    }

    .service-body h3 {
        font-size: 2.4rem;
    }

    .philosophy-title {
        font-size: 3.4rem;
        margin-bottom: 40px;
    }

    .philosophy-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .philosophy-profile-img {
        width: 90px;
        min-width: 90px;
    }

    .contact-box {
        padding: 60px 8%;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-button a {
        width: 100%;
        min-width: auto;
    }
}



/* ============================================
   NOTE ARCHIVE PAGE
============================================ */
.page-note {
    --lower-bg-light: #FAF8F5;
    --lower-bg-dark: #8C7A6B;
    --lower-sub-bg: #F5F3EB;
    --lower-accent: #E07A5F;
    --lower-title-bg: #FAF8F5;
    --lower-title-text: #4A3B32;
}

.page-note .lower-hero-head {
    background: linear-gradient(to bottom, #FAF8F5 0%, #F5F3EB 100%);
}

.note-archive-intro {
    background: #FAF8F5;
}

.note-archive-section {
    background: #F5F3EB;
}

.note-year-block {
    margin-bottom: 80px;
}

.note-year-block:last-child {
    margin-bottom: 0;
}

.note-year-title {
    max-width: 1100px;
    margin: 0 auto 0px;
    color: #4A3B32;
    font-size: 3.2rem;
    line-height: 1.4;
    font-weight: normal;
    border-bottom: 1px solid rgba(74, 59, 50, 0.18);
    padding-bottom: 14px;
}

/* TOP側のnote-card-gridがあるなら不要。
   もし一覧で崩れる場合だけ使う */
.note-archive-section .note-card-grid {
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .note-year-block {
        margin-bottom: 60px;
    }

    .note-year-title {
        font-size: 2.6rem;
        margin-bottom: 24px;
    }
}

.note-page-head {
    padding: 110px 0 0px;
    background: linear-gradient(to bottom, #FAF8F5 0%, #F5F3EB 100%);
    text-align: center;
}

.note-page-head .lower-title {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .note-page-head {
        padding: 84px 0 0px;
    }
}

/* ============================================
   NOTE YEAR NAV
============================================ */
.note-year-nav {
    max-width: 1100px;
    margin: 70px auto 0;
    padding-top: 34px;
    border-top: 1px solid rgba(74, 59, 50, 0.16);
    text-align: center;
}

.note-year-nav-title {
    color: #4A3B32;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 18px;
}

.note-year-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.note-year-nav a {
    display: inline-block;
    min-width: 86px;
    padding: 10px 18px;
    background: #FAF8F5;
    border: 1px solid rgba(74, 59, 50, 0.14);
    border-radius: 100px;
    color: #4A3B32;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.note-year-nav a:hover,
.note-year-nav a[aria-current="page"] {
    background: #E07A5F;
    border-color: #E07A5F;
    color: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    .note-year-nav {
        margin-top: 50px;
        padding-top: 28px;
    }

    .note-year-nav ul {
        gap: 10px;
    }

    .note-year-nav a {
        min-width: 76px;
        padding: 9px 16px;
    }
}