/* ==================================================
   01 BASE
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #728f50;
    --green-light: #9eb77e;
    --green-pale: #f4f8ef;
    --green-border: #d9e4cd;

    --text: #222222;
    --sub: #718064;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "YuGothic",
        Meiryo,
        sans-serif;

    background:
        linear-gradient(
            180deg,
            #f8fbf5 0%,
            #ffffff 35%,
            #f7faf4 100%
        );

    color: var(--text);
    line-height: 1.7;
}


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

.hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(32, 55, 23, 0.86) 0%,
            rgba(42, 69, 32, 0.65) 40%,
            rgba(53, 81, 38, 0.18) 75%
        ),
        url("profile.jpg");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(180, 220, 140, 0.28),
            transparent 35%
        ),
        radial-gradient(
            circle at 35% 75%,
            rgba(130, 180, 100, 0.22),
            transparent 38%
        );

    pointer-events: none;
}

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

    max-width: 1100px;
    min-height: 560px;

    margin: 0 auto;
    padding: 60px 55px;

    display: flex;
    align-items: center;
}

.hero-message {
    width: 50%;
    color: white;

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.35);
}

.hero-message h1 {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;

    margin-bottom: 24px;
}

.hero-message p {
    font-size: clamp(13px, 1.4vw, 17px);
    font-weight: 600;
    line-height: 2;
}


/* ==================================================
   03 CURVE
================================================== */

.curve {
    position: relative;
    z-index: 3;

    height: 90px;
    margin-top: -70px;

    overflow: hidden;
}

.curve::before {
    content: "";

    position: absolute;

    width: 140%;
    height: 150px;

    left: -20%;
    top: 20px;

    background: #ffffff;

    border-radius: 50% 50% 0 0;
}


/* ==================================================
   04 MAIN
================================================== */

main {
    position: relative;
    z-index: 4;

    max-width: 840px;

    margin: 0 auto;

    padding:
        5px 25px
        60px;
}


/* ==================================================
   05 PROFILE
================================================== */

.profile {
    text-align: center;

    padding:
        10px 0
        30px;
}

.profile h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.profile .english {
    margin-top: 5px;

    color: var(--green);

    font-size: 16px;
    letter-spacing: 0.18em;
}


/* ==================================================
   06 SECTION TITLE
================================================== */

.section-title {
    display: flex;
    align-items: center;

    gap: 16px;

    margin:
        34px 0
        20px;

    color: var(--green);

    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.16em;
}

.section-title::before,
.section-title::after {
    content: "";

    flex: 1;

    height: 1px;
}

.section-title::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--green-light)
        );
}

.section-title::after {
    background:
        linear-gradient(
            90deg,
            var(--green-light),
            transparent
        );
}

.section-title i {
    font-size: 16px;
}


/* ==================================================
   07 OFFICIAL LINKS
================================================== */

.links-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;

    min-height: 78px;

    padding:
        13px 18px;

    background:
        rgba(255, 255, 255, 0.95);

    border:
        1px solid
        var(--green-border);

    border-radius: 9px;

    color: var(--text);
    text-decoration: none;

    box-shadow:
        0 3px 12px
        rgba(82, 110, 65, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.link-card:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--green-light);

    box-shadow:
        0 8px 22px
        rgba(82, 110, 65, 0.16);
}

.link-icon {
    width: 48px;

    text-align: center;

    font-size: 30px;
}

.link-content {
    flex: 1;

    padding-left: 8px;
}

.link-name {
    display: block;

    font-size: 17px;
    font-weight: 600;
}

.link-sub {
    display: block;

    margin-top: 1px;

    color:
        var(--green-light);

    font-size: 12px;
}

.arrow {
    color: var(--green);

    font-size: 20px;
}


/* SNS COLOR */

.instagram {
    color: #e1306c;
}

.x-twitter {
    color: #111111;
}

.youtube {
    color: #ff0000;
}

.facebook {
    color: #1877f2;
}

.tiktok {
    color: #111111;
}

.line {
    color: #06c755;
}

.note {
    color: #222222;
}

.podcast {
    color: #7c5bbd;
}


/* ==================================================
   08 PROJECTS
================================================== */

.projects {
    overflow: hidden;

    background: white;

    border:
        1px solid
        var(--green-border);

    border-radius: 10px;
}

.project-card {
    display: flex;
    align-items: center;

    min-height: 62px;

    padding:
        12px 20px;

    color: var(--text);
    text-decoration: none;

    border-bottom:
        1px solid
        var(--green-border);

    transition:
        background 0.2s ease;
}

.project-card:last-child {
    border-bottom: none;
}

.project-card:hover {
    background:
        var(--green-pale);
}

.project-icon {
    width: 48px;

    color:
        var(--green-light);

    font-size: 22px;
}

.project-name {
    flex: 1;

    font-size: 15px;
    font-weight: 600;
}

.project-description {
    width: 230px;

    color:
        var(--green-light);

    font-size: 13px;
}

.project-arrow {
    color: var(--green);

    font-size: 20px;
}


/* ==================================================
   09 BOOKS
================================================== */

.book-box {
    display: flex;
    align-items: center;

    gap: 25px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f5f8f1
        );

    border:
        1px solid
        var(--green-border);

    border-radius: 14px;

    box-shadow:
        0 5px 18px
        rgba(82, 110, 65, 0.08);
}

.book-icon {
    width: 90px;
    height: 110px;

    flex-shrink: 0;

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

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #809e61,
            #536f3c
        );

    color: white;

    font-size: 38px;

    box-shadow:
        0 6px 16px
        rgba(60, 90, 40, 0.18);
}

.book-content {
    flex: 1;
}

.book-label {
    margin-bottom: 4px;

    color: var(--green);

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.15em;
}

.book-content h3 {
    margin-bottom: 7px;

    font-size: 20px;
    line-height: 1.5;
}

.book-content p {
    margin-bottom: 16px;

    color: #666666;

    font-size: 13px;
    line-height: 1.8;
}

.amazon-button {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding:
        12px 20px;

    color: #222222;

    background:
        #ffcc66;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    border-radius: 8px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.amazon-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(0, 0, 0, 0.15);
}

.amazon-button i {
    font-size: 22px;
}

.amazon-button span {
    margin-left: 5px;

    font-size: 20px;
}


/* ==================================================
   10 CONTACT
================================================== */

.contact-box {
    padding:
        32px 28px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f3f8ee
        );

    border:
        1px solid
        var(--green-border);

    border-radius: 14px;

    box-shadow:
        0 5px 18px
        rgba(82, 110, 65, 0.08);
}

.contact-heading {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-text {
    max-width: 600px;

    margin:
        0 auto
        22px;

    color: #666666;

    font-size: 13px;
    line-height: 1.9;
}

.contact-main-button {
    max-width: 500px;
    min-height: 65px;

    margin: 0 auto;

    padding:
        14px 22px;

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

    gap: 14px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #789758,
            #58763c
        );

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;

    border-radius: 10px;

    box-shadow:
        0 5px 15px
        rgba(76, 105, 52, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-main-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 9px 25px
        rgba(76, 105, 52, 0.30);
}

.contact-main-button i {
    font-size: 21px;
}

.contact-arrow {
    margin-left: auto;

    font-size: 24px;
}


/* ==================================================
   11 QR
================================================== */

.qr-section {
    margin-top: 38px;

    padding:
        28px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fbfdf9,
            #f1f6eb
        );

    border:
        1px solid
        var(--green-border);

    border-radius: 12px;
}

.qr-title {
    color: var(--green);

    font-size: 19px;
    font-weight: bold;

    letter-spacing: 0.05em;
}

.qr-title i {
    margin-right: 8px;
}

.qr-description {
    margin:
        5px 0
        18px;

    font-size: 13px;
}

#qrcode {
    display: flex;
    justify-content: center;
}

#qrcode img,
#qrcode canvas {
    padding: 10px;

    background: white;

    border-radius: 7px;

    box-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.08);
}


/* ==================================================
   12 FOOTER
================================================== */

footer {
    padding:
        25px 10px
        35px;

    text-align: center;

    color: var(--green);

    font-size: 12px;

    letter-spacing: 0.08em;
}


/* ==================================================
   13 TABLET / MOBILE
================================================== */

@media (max-width: 700px) {

    .hero {
        min-height: 510px;

        background-position:
            62% center;
    }

    .hero::after {
        content: "";

        position: absolute;
        inset: 0;

        background:
            linear-gradient(
                180deg,
                transparent 35%,
                rgba(29, 51, 22, 0.70)
                100%
            );
    }

    .hero-content {
        min-height: 510px;

        padding:
            40px 24px;

        align-items:
            flex-end;
    }

    .hero-message {
        position: relative;
        z-index: 3;

        width: 100%;
    }

    .hero-message h1 {
        margin-bottom: 12px;

        font-size: 29px;
    }

    .hero-message p {
        font-size: 12px;
        line-height: 1.8;
    }

    .curve {
        margin-top: -45px;
    }

    main {
        padding:
            0 15px
            45px;
    }

    .profile h2 {
        font-size: 34px;
    }

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

    .project-description {
        display: none;
    }

    .book-box {
        gap: 17px;

        padding:
            22px 18px;
    }

    .book-icon {
        width: 70px;
        height: 95px;

        font-size: 30px;
    }

    .book-content h3 {
        font-size: 16px;
    }

    .book-content p {
        font-size: 12px;
    }

    .contact-box {
        padding:
            27px 18px;
    }

    .contact-heading {
        font-size: 18px;
    }

    .contact-main-button {
        font-size: 14px;
    }

}


/* ==================================================
   14 SMALL MOBILE
================================================== */

@media (max-width: 400px) {

    .hero {
        min-height: 470px;
    }

    .hero-content {
        min-height: 470px;
    }

    .hero-message h1 {
        font-size: 25px;
    }

    .book-box {
        align-items: flex-start;

        gap: 14px;
    }

    .book-icon {
        width: 60px;
        height: 82px;

        font-size: 26px;
    }

}