@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');
@charset "UTF-8";

:root {
    --color-main: #4f7f79;
    --color-main-dark: #315f5a;
    --color-accent: #e99072;
    --color-accent-dark: #d87554;
    --color-cream: #f8f4ec;
    --color-light-green: #eef5f2;
    --color-text: #3c4745;
    --color-muted: #74807e;
    --color-white: #ffffff;
    --color-border: #dce6e2;
    --shadow-soft: 0 18px 50px rgba(48, 83, 77, 0.12);
    --radius-large: 28px;
    --radius-medium: 18px;
    --content-width: 1180px;
    --content-narrow: 820px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family: "BIZ UDPGothic", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   Header
========================================================= */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--color-white);
    border-bottom: 1px solid rgba(79, 127, 121, 0.12);
}

.header-inner {
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background-color: #53ADAB;
    padding-right: 30px;
}

.brand {
    min-width: 0;
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 180px;
    max-height: 70px;
    object-fit: contain;
}

.brand-logo-text {
    display: none;
    color: var(--color-main-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-message {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

.header-donation-button,
.donation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 26px;
    border-radius: 999px;
    color: #53ADAB;
    background: #ffffa8;
    font-weight: 700;
    box-shadow: 0 12px 25px rgba(233, 144, 114, 0.28);
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.header-donation-button:hover,
.donation-button:hover {
    transform: translateY(-2px);
    background: #ffff5c;
    box-shadow: 0 16px 30px rgba(216, 117, 84, 0.34);
}

.global-nav {
    background: #c0decf;
}

.global-nav-inner {
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.global-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px clamp(12px, 2vw, 28px);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.global-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 8px;
    height: 2px;
    background: var(--color-white);
    transition: left 0.25s ease, right 0.25s ease;
}

.global-nav a:hover::after {
    left: 22%;
    right: 22%;
}

/* =========================================================
   HERO
========================================================= */

.hero{
    position:relative;
    min-height:520px;

    display:flex;
    align-items:flex-end;
    justify-content:center;

    background:#fff;
}

/* 虹 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: url("../img/rainbow.png") center 35% / 130% auto no-repeat;

    opacity: 0.95;

    /* 上下左右へフェード */
    mask-image:
        radial-gradient(circle at center,
            #000 35%,
            rgba(0,0,0,.95) 55%,
            rgba(0,0,0,.6) 72%,
            transparent 100%);
    -webkit-mask-image:
        radial-gradient(circle at center,
            #000 35%,
            rgba(0,0,0,.95) 55%,
            rgba(0,0,0,.6) 72%,
            transparent 100%);
}

/* 白を少し重ねる */
.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;

    background:
        /* 下に向かって白へフェード */
        linear-gradient(
            to bottom,
            rgba(255,255,255,0) 65%,
            rgba(255,255,255,.4) 82%,
            rgba(255,255,255,.85) 94%,
            #fff 100%
        );
}

.hero-content{
    position:relative;
    z-index:2;

    margin-bottom:80px;
    text-align:center;
}

.hero h1{
    margin:0;

    font-family:"Kosugi Maru", "BIZ UDPGothic", sans-serif;
    font-size:clamp(24px,3vw,42px);
    line-height:1.9;
    font-weight:700;
    letter-spacing:.08em;

    color:#355654;
    text-shadow:
        0 0 10px rgba(255,255,255,.95),
        0 0 25px rgba(255,255,255,.9),
        0 0 40px rgba(255,255,255,.8);
}

.hero::before{
    content:"";
    position:absolute;
    top:-40px;
    left:50%;
    transform:translateX(-50%);

    width:min(900px,90%);
    height:500px;

    background:url("../img/rainbow.png") center top / contain no-repeat;

    opacity:.95;

    /* フェードアウト */
    -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 30%,
    rgba(0,0,0,.7) 55%,
    rgba(0,0,0,.3) 75%,
    transparent 100%
);

    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 45%,
        rgba(0,0,0,.85) 60%,
        rgba(0,0,0,.45) 78%,
        transparent 100%
    );
}

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

.section {
    padding: clamp(76px, 9vw, 130px) 24px;
    background-color: #e5f1eb;
}

.section-inner.purpose-inner{
    width: min(1000px, 100%);
}

.section-label {
    margin: 0 0 12px;
    color: var(--color-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.78);
}

.section-title {
    margin: 0;
    color: var(--color-main-dark);
    font-size: clamp(30px, 4.2vw, 37px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 20px;
}

.section-title span {
    color: #53ADAB;
}

.section-heading {
    margin-bottom: 48px;
    color: #365957;
}

.center {
    text-align: center;
}

.section-description {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--color-muted);
    font-size: 15px;
}

.body-copy p,
.purpose-copy p {
    margin: 0;
}

.body-copy p + p,
.purpose-copy p + p {
    margin-top: 20px;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: clamp(48px, 7vw, 90px);
    align-items: center;
}

.text-column {
    min-width: 0;
}

.text-column .section-title {
    margin-bottom: 32px;
}

.image-card,
.large-image-placeholder {
    overflow: hidden;
    border-radius: var(--radius-large);
    background: var(--color-light-green);
    box-shadow: var(--shadow-soft);
}

.image-card img,
.large-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-image-placeholder {
    aspect-ratio: 16 / 8.5;
}

.placeholder-text {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px;
    color: var(--color-main-dark);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.6), rgba(238,245,242,0.9));
    border: 2px dashed rgba(79, 127, 121, 0.26);
}

.placeholder-text strong {
    font-size: 20px;
}

.placeholder-text span {
    color: var(--color-muted);
    font-size: 13px;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 30px;
    margin-top: 20px;
    border: 1px solid var(--color-main);
    border-radius: 999px;
    color: var(--color-main-dark);
    background: var(--color-white);
    font-weight: 700;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.outline-button:hover {
    color: var(--color-white);
    background: var(--color-main);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: var(--color-main-dark);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.text-link::after {
    content: "→";
}

.button-row {
    margin-top: 48px;
    text-align: center;
}

.our-hospice {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #365957;
}

.our-hospice p {
    margin: 0 0 24px;
    color: #365957;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: normal;
}

.our-message {
    width: fit-content;
    max-width: 100%;
    margin: 35px auto;
    padding: 22px 30px;

    border-top: 1px solid rgba(83, 173, 171, .7);
    border-bottom: 1px solid rgba(83, 173, 171, .7);

    color: #365957;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 500;
    line-height: 2;
    letter-spacing: .08em;
    text-align: center;
}

/* =========================================================
   Purpose
========================================================= */

.purpose-section {
    position: relative;
    text-align: center;
}

.purpose-copy {
    margin-top: 42px;
    color: #56615f;
    font-size: clamp(15px, 1.8vw, 17px);
    text-align: left;
}

/* =========================================
   PURPOSE
========================================= */

.purpose-section {
    padding: clamp(70px, 9vw, 120px) 20px;
}

.section-inner.purpose-inner{
    width: min(1100px, 100%);
}

.purpose-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 42px);
}

/* カード同士をつなぐ線 */
.purpose-cards::before {
    position: absolute;
    top: 50%;
    left: 14%;
    right: 14%;
    z-index: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        #EAB84D,
        #FFF151,
        #3F945B,
        #182680
    );
    border-radius: 999px;
    content: "";
    transform: translateY(-50%);
}

.purpose-card {
    position: relative;
    z-index: 1;
    min-height: 250px;
    padding: clamp(32px, 4vw, 50px) clamp(22px, 3vw, 36px);
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(44, 87, 85, 0.12);
    text-align: center;
}

.purpose-card h3 {
    margin: 0 0 22px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.purpose-card p {
    margin: 0;
    color: #333333;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 2;
    letter-spacing: 0.03em;
}

.purpose-card-red h3 {
    color: #B9352A;
}

.purpose-card-yellow h3 {
    color: #EAB84D;
}

.purpose-card-blue h3 {
    color: #182680;
}

/* 上部のカラードット */
.purpose-card::before {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 4px solid #f7fbfa;
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

.purpose-card-red::before {
    background: #dc655d;
}

.purpose-card-yellow::before {
    background: #e8c627;
}

.purpose-card-blue::before {
    background: #2588ad;
}

/* タブレット・スマホ */
@media (max-width: 820px) {
    .purpose-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .purpose-cards::before {
        top: 20px;
        bottom: 20px;
        left: 50%;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(
            to bottom,
            #e56c62,
            #f3c528,
            #53adab,
            #2588ad
        );
        transform: translateX(-50%);
    }

    .purpose-card {
        width: min(500px, 100%);
        min-height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .purpose-section {
        padding: 60px 16px;
    }

    .purpose-heading {
        margin-bottom: 36px;
    }

    .purpose-heading h2 {
        font-size: 26px;
    }

    .purpose-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .purpose-card p br {
        display: none;
    }
}

/* =========================================================
   Story / hospice
========================================================= */

.story-section {
    background: var(--color-white);
    text-align: center;
}

.hospice-section {
    background: var(--color-light-green);
}

/* =========================================================
   Activity
========================================================= */

.activity-section {
    background: var(--color-white);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.activity-card {
    overflow: hidden;
    border-radius: var(--radius-medium);
    background: var(--color-white);
    box-shadow: 0 16px 45px rgba(39, 75, 69, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(39, 75, 69, 0.15);
}

.activity-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-light-green);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-image .placeholder-text {
    min-height: 100%;
    border-radius: 0;
}

.activity-card-body {
    padding: 26px 24px 30px;
}

.activity-card time {
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.activity-card h3 {
    margin: 10px 0 12px;
    color: var(--color-main-dark);
    font-size: 19px;
    line-height: 1.6;
}

.activity-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.instagram-link{
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

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

/* =========================================================
   Supporters / volunteer
========================================================= */

.supporters-section {
    background: var(--color-cream);
}

.supporter-placeholder {
    margin-top: 38px;
    padding: 44px 24px;
    border: 1px dashed rgba(79, 127, 121, 0.38);
    border-radius: var(--radius-medium);
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.65);
}

.volunteer-section {
    background: var(--color-white);
}

/* =========================================================
   Donation
========================================================= */

.donation-section {
    position: relative;
    overflow: hidden;
    color: #53adab;
    background-color:#faedf6;
}


.donation-inner {
    position: relative;
    z-index: 2;
    width: min(800px, 100%);
    margin: 0 auto;
    text-align: center;
}

.donation-inner h2 {
    margin: 0 0 30px;
    font-size: clamp(32px, 5vw, 40px);
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.donation-inner p {
    margin: 0;
    color: #53ABAD;
}

.donation-inner p + p {
    margin-top: 16px;
}

.donation-inner .donation-button {
    margin-top: 38px;
}

/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: var(--color-light-green);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(49, 95, 90, 0.08);
}

.faq-list summary {
    position: relative;
    padding: 24px 64px 24px 28px;
    cursor: pointer;
    list-style: none;
    color: var(--color-main-dark);
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 14px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-main);
    font-family: Georgia, "Times New Roman", serif;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    color: var(--color-main);
    font-size: 28px;
    font-weight: 300;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 28px 26px 72px;
    color: var(--color-muted);
}

.faq-answer p {
    margin: 0;
}

/* =========================================================
   Contact / footer
========================================================= */

.contact-section {
    background: var(--color-white);
}

.contact-note {
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 12px;
}

.site-footer {
    padding: 56px 24px 26px;
    color: rgba(255, 255, 255, 0.84);
    background: #53ADAB;
}

.footer-inner {
    width: min(var(--content-width), 100%);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 190px;
    max-height: 78px;
    object-fit: contain;
}

.footer-logo span {
    display: none;
    color: var(--color-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 700;
}

.footer-message {
    margin: 20px 0 30px;
    font-size: 14px;
}

.copyright {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    letter-spacing: 0.08em;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 960px) {
    html {
        scroll-padding-top: 90px;
    }

    .header-inner {
        min-height: 82px;
    }

    .brand {
        gap: 18px;
    }

    .brand-message {
        padding-left: 18px;
        font-size: 12px;
    }

    .global-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .global-nav::-webkit-scrollbar {
        display: none;
    }

    .global-nav-inner {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        padding: 0 14px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .image-card {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 16 / 11;
    }

    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        line-height: 1.85;
    }

    .header-inner {
        width: min(100% - 28px, var(--content-width));
        min-height: 74px;
        gap: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 125px;
    }

    .brand-logo-text {
        font-size: 22px;
    }

    .brand-message {
        display: none;
    }

    .header-donation-button {
        min-height: 44px;
        padding: 9px 16px;
        font-size: 12px;
    }

    .global-nav-inner {
        min-height: 46px;
    }

    .global-nav a {
        padding: 10px 14px;
        font-size: 12px;
    }

    .hero {
        min-height: 560px;
        background-position: center;
    }

    .hero-content {
        width: min(100% - 34px, var(--content-width));
        text-align: center;
    }

    .hero-sub {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero h1 {
        line-height: 1.5;
    }

    .section {
        padding: 74px 20px;
    }

    .section-title {
        font-size: 22px
    }

    .purpose-copy {
        margin-top: 34px;
        font-size: 15px;
    }

    .large-image-placeholder {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .image-card {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .reverse-mobile .image-card {
        order: 2;
    }

    .reverse-mobile .text-column {
        order: 1;
    }

    .faq-list summary {
        padding: 20px 54px 20px 20px;
        font-size: 14px;
    }

    .faq-list summary::before {
        width: 26px;
        height: 26px;
        margin-right: 9px;
    }

    .faq-list summary::after {
        right: 20px;
    }

    .faq-answer {
        padding: 0 20px 22px;
        font-size: 14px;
    }

    .donation-inner h2 {
        font-size: clamp(30px, 8vw, 42px);
    }
}

@media (max-width: 420px) {
    .brand-logo {
        width: 105px;
    }

    .brand-logo-text {
        font-size: 19px;
    }

    .header-donation-button {
        padding-inline: 13px;
    }

    .hero {
        min-height: 350px;
    }
}
