@charset "UTF-8";

/* ========================================
   SUMMER GIRL BLUE
======================================== */

:root {
    --summer-blue: #52b9ee;
    --summer-deep-blue: #167bbb;
    --summer-sky: #8ed9ff;
    --summer-white: #ffffff;
    --summer-yellow: #ffe45c;
    --summer-text: #173247;
    --summer-light: #f5fbff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

body.summer-page {
    color: var(--summer-text);
    background: var(--summer-white);
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

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

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

.summer-container {
    width: min(1120px, calc(100% - 80px));
    margin-inline: auto;
}


/* ========================================
   HEADER
======================================== */

.summer-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;

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

    width: 100%;
    padding: 25px 42px;

    color: var(--summer-white);

    background:
        linear-gradient(
            to bottom,
            rgba(31, 127, 187, 0.35),
            transparent
        );
}

.summer-logo {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.summer-nav ul {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.summer-nav a {
    font-family: "Playfair Display", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.summer-menu-button {
    display: none;
}


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

.summer-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            #55bdf2 0%,
            #8fdcff 65%,
            #e9f8ff 100%
        );
}

.summer-sky {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(55, 165, 225, 0.05),
            rgba(255, 255, 255, 0.12)
        ),
        url("../images/summer-sky.jpg") center / cover no-repeat;
}


/* 光 */

.summer-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(255, 255, 255, 0.85),
            transparent 28%
        );

    content: "";
    pointer-events: none;
}


/* HERO文字 */

.summer-hero-copy {
    position: absolute;
    z-index: 10;

    top: 50%;
    left: 7%;

    color: var(--summer-white);

    transform: translateY(-50%);
    text-shadow: 0 3px 20px rgba(30, 100, 150, 0.18);
}

.summer-hero-label {
    margin-bottom: 20px;

    font-family: "Playfair Display", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35em;
}

.summer-hero h1 {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(70px, 9vw, 145px);
    font-weight: 600;

    line-height: 0.78;
    letter-spacing: -0.045em;
}

.summer-hero h1 span {
    display: block;
}

.summer-hero h1 span:nth-child(2) {
    margin-left: 0.35em;
}

.summer-hero h1 span:nth-child(3) {
    margin-left: 0.08em;

    color: transparent;
    -webkit-text-stroke: 1.5px var(--summer-white);
}

.summer-title-jp {
    margin: 32px 0 0;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4em;
}

.summer-catch {
    margin-top: 30px;

    font-size: 20px;
    font-weight: 500;
    line-height: 2;

    letter-spacing: 0.16em;
}


/* 立ち絵 */

.summer-standing {
    position: absolute;
    z-index: 5;
    bottom: 0;
}

.summer-standing img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;

    filter:
        drop-shadow(
            0 30px 35px rgba(32, 99, 139, 0.25)
        );
}

.summer-standing span {
    position: absolute;

    color: rgba(255, 255, 255, 0.45);

    font-family: "Playfair Display", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}


/* 慶崎 */

.summer-standing-keizaki {
    right: 21%;
    width: min(37vw, 520px);
    height: 88%;
}

.summer-standing-keizaki span {
    top: 20%;
    left: -25px;

    writing-mode: vertical-rl;
}


/* 白咲 */

.summer-standing-shirosaki {
    z-index: 6;
    right: 0;
    width: min(35vw, 490px);
    height: 82%;
}

.summer-standing-shirosaki span {
    top: 14%;
    right: 15px;

    writing-mode: vertical-rl;
}


/* SCROLL */

.summer-scroll {
    position: absolute;
    z-index: 20;

    bottom: 35px;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: white;

    transform: translateX(-50%);
}

.summer-scroll span {
    font-size: 8px;
    letter-spacing: 0.3em;
}

.summer-scroll i {
    display: block;

    width: 1px;
    height: 55px;

    background: rgba(255, 255, 255, 0.7);
}


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

.summer-section {
    padding: 130px 0;
}

.summer-heading {
    display: flex;
    gap: 25px;
    align-items: flex-start;

    margin-bottom: 70px;
}

.summer-heading > p {
    margin: 7px 0 0;

    color: var(--summer-blue);

    font-family: "Playfair Display", serif;
    font-size: 12px;
}

.summer-heading span {
    display: block;

    margin-bottom: 10px;

    color: var(--summer-deep-blue);

    font-family: "Playfair Display", serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.32em;
}

.summer-heading h2 {
    margin: 0;

    font-family: "Playfair Display", "Noto Sans JP", serif;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;

    line-height: 1.25;
}


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

.summer-story {
    background: var(--summer-light);
}

.summer-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;
    align-items: center;
}

.summer-story-image {
    position: relative;
}

.summer-story-image::before {
    position: absolute;

    z-index: 0;

    top: 20px;
    left: 20px;

    width: 100%;
    height: 100%;

    background: var(--summer-yellow);

    content: "";
}

.summer-story-image img {
    position: relative;
    z-index: 1;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.summer-story-main {
    margin-top: 0;

    color: var(--summer-deep-blue);

    font-size: clamp(26px, 3vw, 42px) !important;
    font-weight: 500;

    line-height: 1.8 !important;
}

.summer-story-text p {
    font-size: 14px;
    line-height: 2.2;
}


/* ========================================
   CHARACTER
======================================== */

.summer-character {
    background: var(--summer-white);
}

.summer-character-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 35px;
}

.summer-character-card {
    overflow: hidden;

    background: #f3fbff;

    border:
        1px solid rgba(38, 146, 210, 0.16);
}

.summer-character-visual {
    position: relative;

    height: 560px;

    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            #a8e3ff,
            #ecf9ff
        );
}

.summer-character-visual img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: bottom;
}

.summer-character-info {
    padding: 40px;
}

.summer-character-en {
    margin: 0 0 10px;

    color: var(--summer-deep-blue);

    font-family: "Playfair Display", serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;
}

.summer-character-info h3 {
    margin: 0;

    font-size: 35px;
    font-weight: 500;
}

.summer-character-role {
    margin: 12px 0 25px;

    color: #7d9cad;

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

    letter-spacing: 0.18em;
}

.summer-character-description {
    margin: 0;

    color: #526a78;

    font-size: 14px;
    line-height: 2;
}


/* ========================================
   COMIC
======================================== */

.summer-comic {
    color: var(--summer-white);

    background:
        linear-gradient(
            rgba(18, 116, 178, 0.83),
            rgba(25, 140, 205, 0.83)
        ),
        url("../images/summer-sky.jpg") center / cover fixed;
}

.summer-comic .summer-heading span {
    color: var(--summer-yellow);
}

.summer-comic .summer-heading > p {
    color: var(--summer-yellow);
}

.summer-comic-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    border:
        1px solid rgba(255, 255, 255, 0.5);

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

    backdrop-filter: blur(15px);
}

.summer-comic-label {
    margin: 0 0 10px;

    color: var(--summer-yellow);

    font-family: "Playfair Display", serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.summer-comic-box h3 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 52px);
}

.summer-comic-box p {
    line-height: 2;
}

.summer-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    min-width: 220px;

    padding: 18px 22px;

    border: 1px solid var(--summer-white);

    font-family: "Playfair Display", serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    transition:
        color 0.3s,
        background 0.3s;
}

.summer-button:hover {
    color: var(--summer-deep-blue);
    background: var(--summer-white);
}


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

.summer-gallery {
    background: #effaff;
}

.summer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.summer-gallery-grid figure {
    margin: 0;

    overflow: hidden;

    aspect-ratio: 3 / 4;

    background: #ddd;
}

.summer-gallery-grid img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.summer-gallery-grid figure:hover img {
    transform: scale(1.04);
}


/* ========================================
   ENDING
======================================== */

.summer-ending {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 700px;

    overflow: hidden;

    text-align: center;
    color: var(--summer-white);

    background:
        url("../images/summer-sky.jpg")
        center / cover no-repeat;
}

.summer-ending::after {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(38, 153, 218, 0.2),
            rgba(23, 112, 170, 0.5)
        );

    content: "";
}

.summer-ending-copy {
    position: relative;
    z-index: 2;
}

.summer-ending-copy p {
    margin: 0 0 30px;

    font-family: "Playfair Display", serif;
    font-size: clamp(55px, 8vw, 120px);

    line-height: 0.95;
}

.summer-ending-copy span {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.4em;
}


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

.summer-footer {
    display: flex;
    justify-content: space-between;

    padding: 28px 40px;

    color: var(--summer-white);
    background: var(--summer-deep-blue);

    font-size: 10px;

    letter-spacing: 0.15em;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .summer-container {
        width: calc(100% - 40px);
    }

    .summer-menu-button {
        position: relative;
        z-index: 1100;

        display: flex;
        flex-direction: column;

        gap: 6px;

        width: 32px;

        padding: 0;

        border: none;
        background: transparent;
    }

    .summer-menu-button span {
        display: block;

        width: 100%;
        height: 1px;

        background: white;
    }

    .summer-nav {
        position: fixed;
        inset: 0;

        display: grid;
        place-items: center;

        visibility: hidden;
        opacity: 0;

        background:
            rgba(52, 157, 216, 0.97);

        transition:
            opacity 0.3s,
            visibility 0.3s;
    }

    .summer-nav.active {
        visibility: visible;
        opacity: 1;
    }

    .summer-nav ul {
        flex-direction: column;
        align-items: center;

        gap: 30px;
    }

    .summer-nav a {
        font-size: 25px;
    }


    .summer-hero-copy {
        top: 16%;
        left: 25px;

        transform: none;
    }

    .summer-hero h1 {
        font-size: 75px;
    }

    .summer-standing-keizaki {
        right: 25%;
        width: 55%;
        height: 70%;
    }

    .summer-standing-shirosaki {
        right: -3%;
        width: 52%;
        height: 64%;
    }

    .summer-story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

}


/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 600px) {

    .summer-header {
        padding: 18px;
    }

    .summer-logo {
        font-size: 16px;
    }

    .summer-hero {
        min-height: 760px;
    }

    .summer-hero-copy {
        top: 13%;
        left: 18px;
    }

    .summer-hero h1 {
        font-size: 55px;
    }

    .summer-title-jp {
        margin-top: 20px;
        font-size: 9px;
    }

    .summer-catch {
        margin-top: 20px;
        font-size: 14px;
    }

    .summer-standing-keizaki {
        right: 24%;
        width: 70%;
        height: 57%;
    }

    .summer-standing-shirosaki {
        right: -12%;
        width: 68%;
        height: 53%;
    }

    .summer-standing span {
        display: none;
    }

    .summer-section {
        padding: 80px 0;
    }

    .summer-heading {
        gap: 15px;
        margin-bottom: 45px;
    }

    .summer-heading h2 {
        font-size: 32px;
    }

    .summer-story-main {
        font-size: 24px !important;
    }


    /* CHARACTERをスマホ2列 */

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

        gap: 12px;
    }

    .summer-character-visual {
        height: 300px;
    }

    .summer-character-info {
        padding: 18px 13px;
    }

    .summer-character-en {
        font-size: 7px;
    }

    .summer-character-info h3 {
        font-size: 18px;
    }

    .summer-character-role {
        margin: 8px 0 12px;

        font-size: 8px;
    }

    .summer-character-description {
        font-size: 10px;
        line-height: 1.7;
    }


    /* COMIC */

    .summer-comic-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 30px 22px;
    }

    .summer-button {
        width: 100%;
    }


    /* GALLERYを2列 */

    .summer-gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .summer-ending {
        min-height: 520px;
    }

    .summer-ending-copy p {
        font-size: 52px;
    }

    .summer-footer {
        flex-direction: column;

        gap: 10px;

        padding: 24px 18px;
    }

}

/* 黄色い帯 */

.summer-hero-label span,
.summer-title-jp span,
.summer-catch span,
.summer-hero h1 > span {
    display: table;
    width: fit-content;

    padding: 4px 12px;

    color: #fff;
    background: #f4cf32;
}
.summer-hero h1 span:nth-child(3) {
    margin-left: 0.08em;

    color: #fff;
    -webkit-text-stroke: 0;
}

.summer-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.summer-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summer-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;

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

    visibility: hidden;
    opacity: 0;

    padding: 30px;

    background: rgba(20, 95, 145, 0.9);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.summer-lightbox.active {
    visibility: visible;
    opacity: 1;
}

.summer-lightbox-image {
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 88vh;

    object-fit: contain;

    box-shadow: 0 20px 60px rgba(0, 70, 120, 0.3);
}

.summer-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;

    padding: 0;
    border: none;

    color: #fff;
    background: transparent;

    font-size: 45px;

    cursor: pointer;
}

/* ========================================
   4COMA
======================================== */

.summer-fourcoma {
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* 背景にうっすら黄色 */
.summer-fourcoma::before {
    position: absolute;
    top: 0;
    right: -120px;

    width: 420px;
    height: 100%;

    background: rgba(255, 228, 92, 0.18);

    content: "";
    transform: skewX(-10deg);
}

.summer-fourcoma .summer-container {
    position: relative;
    z-index: 1;
}

.summer-fourcoma-lead {
    max-width: 620px;
    margin: -25px 0 55px;

    color: #607989;

    font-size: 14px;
    line-height: 2;
}


/* 四コマ一覧 */

.summer-fourcoma-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
    align-items: start;
}


/* カード */

.summer-fourcoma-card {
    min-width: 0;

    overflow: hidden;

    background: #f7fcff;

    border: 1px solid rgba(38, 146, 210, 0.14);

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

.summer-fourcoma-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(37, 129, 183, 0.12);
}


/* 漫画画像 */

.summer-fourcoma-image {
    display: block;

    width: 100%;
    padding: 0;

    border: 0;
    background: #fff;

    cursor: zoom-in;
}

.summer-fourcoma-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* タイトル部分 */

.summer-fourcoma-content {
    position: relative;

    padding: 22px 20px 24px;

    border-top: 5px solid var(--summer-yellow);
}

.summer-fourcoma-content span {
    display: block;

    margin-bottom: 7px;

    color: var(--summer-deep-blue);

    font-family: "Playfair Display", serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.2em;
}

.summer-fourcoma-content h3 {
    margin: 0;

    color: var(--summer-text);

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


/* ========================================
   4COMA TABLET
======================================== */

@media (max-width: 900px) {

    .summer-fourcoma-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* ========================================
   4COMA SMARTPHONE
======================================== */

@media (max-width: 600px) {

    .summer-fourcoma-lead {
        margin: -15px 0 35px;

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

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

        gap: 10px;
    }

    .summer-fourcoma-content {
        padding: 14px 11px 16px;

        border-top-width: 4px;
    }

    .summer-fourcoma-content span {
        font-size: 7px;
    }

    .summer-fourcoma-content h3 {
        font-size: 12px;
    }

}

/* ========================================
   LOADING
======================================== */

.summer-loading {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: grid;
    place-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            160deg,
            #55bdf2 0%,
            #8fdcff 55%,
            #dff5ff 100%
        );

    transition:
        opacity 1s ease,
        visibility 1s ease;
}

/* 光 */
.summer-loading::before {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 255, 255, 0.9),
            transparent 30%
        );

    content: "";
}

/* 薄い白フィルター */
.summer-loading::after {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 40%,
            rgba(255, 255, 255, 0.18)
        );

    content: "";
}

.summer-loading-inner {
    position: relative;
    z-index: 2;

    padding: 30px;

    text-align: center;
    color: #fff;
}


/* 小さい英字 */

.summer-loading-label {
    display: block;

    margin-bottom: 25px;

    font-family: "Playfair Display", serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.4em;

    opacity: 0;

    animation:
        summerLoadingFade 1s 0.2s forwards;
}


/* メインコピー */

.summer-loading-copy {
    margin: 0;

    font-size: clamp(20px, 3vw, 32px);
    font-weight: 500;

    line-height: 2;
    letter-spacing: 0.15em;
}

.summer-loading-copy span {
    display: block;

    opacity: 0;
    transform: translateY(15px);
}

.summer-loading-copy span:first-child {
    animation:
        summerLoadingFade 1.2s 0.5s forwards;
}

.summer-loading-copy span:last-child {
    animation:
        summerLoadingFade 1.2s 0.9s forwards;
}


/* 黄色ライン */

.summer-loading-line {
    width: 0;
    height: 3px;

    margin: 28px auto 0;

    background: var(--summer-yellow);

    animation:
        summerLoadingLine 1.2s 1.2s forwards;
}


/* 消える */

.summer-loading.hide {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


/* アニメーション */

@keyframes summerLoadingFade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes summerLoadingLine {

    from {
        width: 0;
    }

    to {
        width: 100px;
    }

}