@charset "utf-8";
/* =========================================================
   LANIKOA HAWAII
   Modern Website - Complete CSS
   ========================================================= */

/* ---------------------------------------------------------
   01. Reset / Variables
   --------------------------------------------------------- */

:root {
    --primary: #1e4f42;
    --primary-dark: #16372f;
    --primary-light: #2f7a66;
    --gold: #d4af37;

    --white: #ffffff;
    --black: #111111;
    --text: #25332f;
    --muted: #71807b;

    --light: #f7faf8;
    --border: rgba(30, 79, 66, 0.10);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 20px 50px rgba(30, 79, 66, 0.10);
    --shadow-lg: 0 30px 80px rgba(30, 79, 66, 0.16);

    --header-height: 82px;

    --container: 1180px;

    --transition: 0.35s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    color: var(--text);
    background: var(--white);

    font-family:
        "Noto Sans JP",
        "Helvetica Neue",
        Arial,
        sans-serif;

    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.ready {
    opacity: 1;
}

img,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

section {
    scroll-margin-top: var(--header-height);
}

::selection {
    color: var(--white);
    background: var(--primary);
}


/* ---------------------------------------------------------
   02. Common Layout
   --------------------------------------------------------- */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section--light {
    background: var(--light);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading small {
    display: block;
    margin-bottom: 12px;

    color: var(--gold);

    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: var(--primary-dark);

    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.05em;
}

.heading-small {
    font-size: 0.75em;
}

.section-heading h2::before {
    content: "";

    display: block;

    width: 110px;
    height: 1px;

    margin: 0 auto 22px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}

.section-heading p {
    margin: 22px auto 0;

    color: var(--muted);
    font-size: 15px;
}

/* エデュケーショナルコンサルタントの色 */
.educational-consultant {
    color: #2F6B3F;
    font-size: 1.2em;
    font-weight: 800;
    letter-spacing: -0.04em;
}


/* ---------------------------------------------------------
   03. Header
   --------------------------------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;
    min-height: var(--header-height);

    background: rgba(255, 255, 255, 0.82);

    border-bottom: 1px solid transparent;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.header.scrolled,
.header.is-fixed {
    background: rgba(255, 255, 255, 0.94);

    border-bottom-color: var(--border);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.07);
}

.header-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo img,
.logo svg {
    width: auto;
    max-width: 210px;
    height: 54px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;

    padding: 8px 0;

    color: var(--text);

    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 600;

    transition: color var(--transition);
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    cursor: pointer;

    background: transparent;
}

.hamburger span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--primary);

    transition: transform var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;

    z-index: 999;

    width: min(360px, 100%);
    height: calc(100vh - var(--header-height));

    padding: 35px 25px;

    overflow-y: auto;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        -20px 20px 50px rgba(0, 0, 0, 0.10);

    transform: translateX(100%);
    visibility: hidden;

    transition:
        transform var(--transition),
        visibility var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu a {
    display: block;

    padding: 17px 0;

    border-bottom: 1px solid var(--border);

    color: var(--primary-dark);

    font-weight: 600;
}




/* ヘッダー背景の模様 */

.header-bg {
    position: absolute;
    inset: 0;
    background: url('Base/top_obi_green_small.png') center / cover no-repeat;  /* ← 画像パスを調整 */
    opacity: 0.7;  /* ← 薄くして文字を読みやすくする（0.08〜0.16で調整可） */
    pointer-events: none;
    z-index: 0;
}

.header-inner {
    z-index: 1;
}
	
	
	
.logo {
    position: relative;
    z-index: 2;
}

.logo img {
    position: relative;
    z-index: 2;
}	
	






/* ---------------------------------------------------------
   04. Hero
   --------------------------------------------------------- */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero video,
.hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.62),
            rgba(0, 0, 0, 0.18)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;

    padding-top: var(--header-height);
}

.hero-copy {
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;

    align-items: center;

    margin-bottom: 22px;
    padding: 8px 16px;

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(10px);

    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    font-family:
        Montserrat,
        "Noto Sans JP",
        sans-serif;

    font-size: clamp(46px, 8vw, 92px);
    font-weight: 800;

    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 640px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: clamp(15px, 2vw, 19px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 35px;
}

.hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;

    height: 100px;

    background:
        linear-gradient(
            to top,
            var(--white),
            transparent
        );

    pointer-events: none;
}


/* ---------------------------------------------------------
   05. Buttons
   --------------------------------------------------------- */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    border-radius: 999px;

    cursor: pointer;

    font-family:
        Montserrat,
        "Noto Sans JP",
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition);
}

.btn-primary {
    color: var(--white);
    background: var(--primary);

    box-shadow:
        0 12px 30px rgba(30, 79, 66, 0.20);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(30, 79, 66, 0.25);
}

.btn-outline {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.55);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    color: var(--primary-dark);
    background: var(--white);

    transform: translateY(-3px);
}



/* 緑のボタンに模様を入れる */
.btn-primary.btn-pattern {
    background-image: url('Base/obi_b1.jpg');  /* ← ボタン用の模様画像 */
    background-size: cover;
    background-position: center;
    position: relative;
}

.btn-primary.btn-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15); /* ← 模様を少し暗くして文字を読みやすくする */
    border-radius: inherit;
    z-index: 0;
}

.btn-primary.btn-pattern > * {
    position: relative;
    z-index: 1;
}



/* ---------------------------------------------------------
   06. About
   --------------------------------------------------------- */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 80px;

    align-items: center;
}

.about-image {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;

    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-image::after {
    content: "";

    position: absolute;
    inset: 0;

    border:
        1px solid rgba(255, 255, 255, 0.35);

    border-radius: inherit;

    pointer-events: none;
}

.about-content h3 {
    margin: 0 0 20px;

    color: var(--primary-dark);

    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: clamp(18px, 2.3vw, 28px); /* --ハワイで学びたい～の文字の大きさ--*/
    line-height: 1.2;
}

.about-content p {
    margin: 0 0 18px;

    color: var(--muted);
}

.about-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 35px;
}

.feature-card {
    padding: 24px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-family: Montserrat, sans-serif;
    font-size: 26px;
}


/* ---------------------------------------------------------
   07. Programs / Products
   --------------------------------------------------------- */

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.program-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(30, 79, 66, 0.18);

    box-shadow: var(--shadow-lg);
}

.program-image {
    overflow: hidden;

    aspect-ratio: 4 / 3;
}

.program-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.06);
}

.program-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px;
}

.program-body h3 {
    margin: 0 0 12px;

    color: var(--primary-dark);

    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: 21px;
}

.program-body p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.program-body .btn {
    align-self: flex-start;

    margin-top: auto;
    padding-top: 18px;
}


/* ---------------------------------------------------------
   08. Support
   --------------------------------------------------------- */

.support-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.support-box {
    position: relative;
    overflow: hidden;
    padding: 38px 30px;
    border:
        1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
			 #527A3F,
			#345A2C
			/* ---------------------------------------------------------
   09. News var(--primary),
            var(--primary-dark) 下の四角Summerの色これはもともとあったもので濃い緑
   --------------------------------------------------------- */			
        );

    color: var(--white);
    box-shadow: var(--shadow-md);
     transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.support-box2 {
    position: relative;
    overflow: hidden;
    padding: 38px 30px;
    border:
        1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
			#A88A3A,
    #F1E8C9
			/* ---------------------------------------------------------
   これは下のサポートの流れのボックスの色
   --------------------------------------------------------- */			
        );

    color: var(--white);
    box-shadow: var(--shadow-md);
     transition:
        transform var(--transition),
        box-shadow var(--transition);
}




.support-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.support-box::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -80px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12);/* 右上に見える薄い丸い模様・最後の数字を変えると濃さが変わる-- */
}


.support-box2::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -80px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.16);/* 右上に見える薄い丸い模様・最後の数字を変えると濃さが変わる-- */
}




.support-box h3 {
    position: relative;

    margin: 0 0 12px;

    font-family: Montserrat, "Noto Sans JP", sans-serif;
}

.support-box p {
    position: relative;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}

.support-box2 {
    color: #244B35;
}

.support-box2 h3 {
    position: relative;
    margin: 0 0 12px;
    font-family: Montserrat, "Noto Sans JP", sans-serif;
	font-size: 24px;
	font-weight: 900;
}

.support-box2 p {
    position: relative;
    margin: 0;
    font-size: 16px;
	font-weight: 500;
}


/* ---------------------------------------------------------
   09. News
   --------------------------------------------------------- */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.news-card {
    height: 100%;

    padding: 28px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.news-date {
    display: block;

    margin-bottom: 10px;

    color: var(--gold);

    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.news-card h3 {
    margin: 0 0 12px;

    color: var(--primary-dark);

    font-size: 18px;
    line-height: 1.5;
}

.news-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* ---------------------------------------------------------
   10. Gallery
   --------------------------------------------------------- */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    border-radius: var(--radius-md);

    cursor: pointer;

    background: #ddd;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.78);
}

.gallery-item::after {
    content: "+";

    position: absolute;

    left: 50%;
    top: 50%;

    display: grid;

    width: 48px;
    height: 48px;

    place-items: center;

    border-radius: 50%;

    color: var(--white);
    background: rgba(0, 0, 0, 0.38);

    font-size: 24px;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(0.8);

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* ---------------------------------------------------------
   11. Contact
   --------------------------------------------------------- */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 70px;

    align-items: start;
}

.contact-info h3 {
    margin: 0 0 20px;

    color: var(--primary-dark);

    font-family: Montserrat, "Noto Sans JP", sans-serif;
    font-size: 34px;
    line-height: 1.25;
}

.contact-info p {
    color: var(--muted);
}

.contact-form {
    padding: 35px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--primary-dark);

    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 14px 16px;

    border:
        1px solid rgba(30, 79, 66, 0.16);

    border-radius: 12px;

    outline: none;

    color: var(--text);
    background: var(--white);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group textarea {
    min-height: 160px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(30, 79, 66, 0.08);
}

.contact-form button {
    width: 100%;
}


/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */

.footer {
    position: relative;

    padding: 70px 0 30px;

    color: rgba(255, 255, 255, 0.82);

    background:
        linear-gradient(
            180deg,
            var(--primary-dark),
            #10251f
        );
}

.footer::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--gold),
            var(--primary)
        );
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        repeat(2, 1fr);

    gap: 50px;
}

.footer h3 {
    margin: 0 0 18px;

    color: var(--white);

    font-family: Montserrat, sans-serif;
}

.footer p {
    margin: 0;

    font-size: 13px;
}

.footer a {
    display: inline-block;

    padding: 5px 0;

    color: rgba(255, 255, 255, 0.78);

    transition: color var(--transition);
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    font-size: 12px;
}


/* ---------------------------------------------------------
   13. Image Viewer
   --------------------------------------------------------- */

.image-viewer {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.90);
}

.image-viewer img {
    max-width: 95vw;
    max-height: 90vh;

    object-fit: contain;

    border-radius: 10px;
}

.image-viewer-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    cursor: pointer;

    color: var(--white);
    background: transparent;

    font-size: 32px;
}


/* ---------------------------------------------------------
   14. Animations
   --------------------------------------------------------- */

.fade-up,
.fade-left,
.fade-right,
.section-title {
    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-up {
    transform: translateY(35px);
}

.fade-left {
    transform: translateX(-35px);
}

.fade-right {
    transform: translateX(35px);
}

.fade-up.show,
.fade-left.show,
.fade-right.show,
.section-title.show {
    opacity: 1;

    transform: none;
}

.loading {
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}


/* ---------------------------------------------------------
   15. Utility
   --------------------------------------------------------- */

.hide {
    display: none !important;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.rounded {
    border-radius: var(--radius-lg);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background: var(--light);
}


/* ---------------------------------------------------------
   16. Accessibility
   --------------------------------------------------------- */

:focus-visible {
    outline:
        3px solid rgba(212, 175, 55, 0.75);

    outline-offset: 3px;
}

button:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}


/* ---------------------------------------------------------
   17. Responsive
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .desktop-nav {
        gap: 18px;
    }

    .about-grid {
        gap: 45px;
    }

    .program-grid,
    .news-grid,
    .support-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .contact-grid {
        gap: 40px;
    }
}


@media (max-width: 768px) {

    :root {
        --header-height: 72px;
    }

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .section {
        padding: 80px 0;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo img,
    .logo svg {
        max-width: 170px;
        height: 46px;
    }

    .hero {
        min-height: 100svh;

        background:
            linear-gradient(
                135deg,
                var(--primary),
                var(--primary-light)
            );
    }

    .hero video {
        display: none;
    }

    .hero-overlay {
        background:
            linear-gradient(
                135deg,
                rgba(22, 55, 47, 0.90),
                rgba(47, 122, 102, 0.72)
            );
    }

    .hero-content {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .hero h1 {
        font-size:
            clamp(42px, 14vw, 70px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .news-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}


@media (max-width: 480px) {

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .gallery-grid {
        gap: 8px;
    }

    .hero-eyebrow {
        font-size: 9px;
    }

    .program-body,
    .news-card {
        padding: 24px;
    }
}


/* ---------------------------------------------------------
   18. Reduced Motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-up,
    .fade-left,
    .fade-right,
    .section-title {
        opacity: 1;
        transform: none;
    }
}









/* =====================================================
   RESPONSIVE HEADER
   ===================================================== */

/* PCではヘッダーを1行に固定 */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}


/* ナビゲーションも折り返さない */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}


/* 少し画面が狭くなったら文字と間隔を縮める */
@media (max-width: 1100px) {

    .desktop-nav {
        gap: 18px;
    }

    .desktop-nav a {
        font-size: 13px;
    }

    .logo img {
        max-width: 100px;
    }

}


/* =====================================================
   TABLET / SMALL PC
   ===================================================== */

@media (max-width: 900px) {

    .header {
        height: 78px;
    }

    .header-inner {
        min-height: 78px;
    }


    /* PC用メニューを消す */
    .desktop-nav {
        display: none;
    }


    /* ハンバーガーを表示 */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;

        width: 44px;
        height: 44px;

        padding: 0;
        border: 0;

        background: transparent;
        cursor: pointer;
    }


    .hamburger span {
        display: block;

        width: 25px;
        height: 2px;

        background: currentColor;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .header {
        height: 70px;
    }

    .header-inner {
        min-height: 70px;
        padding-left: 18px;
        padding-right: 18px;
    }


    .logo img {
        max-width: 90px;
    }


    .hamburger {
        width: 42px;
        height: 42px;
    }

}







/* =====================================================
   HEADER FINAL FIX
   ===================================================== */

.header {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
    overflow: visible !important;
}

.header-inner {
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}


/* ロゴ */

.header .logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.header .logo img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 105px !important;
    max-height: 52px !important;
}


/* PCナビ */

.header .desktop-nav {
    display: flex !important;

    align-items: center !important;

    flex-wrap: nowrap !important;
    white-space: nowrap !important;

    flex-shrink: 1 !important;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .header {
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;
    }

    .header-inner {
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;
    }


    .header .desktop-nav {
        display: none !important;
    }


    .header .hamburger {
        display: flex !important;

        width: 46px !important;
        height: 46px !important;

        min-width: 46px !important;
        min-height: 46px !important;

        max-width: 46px !important;
        max-height: 46px !important;

        flex-shrink: 0 !important;

        padding: 0 !important;
        margin: 0 !important;

        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        gap: 6px !important;

        border: 0 !important;
        background: transparent !important;
    }


    .header .hamburger span {
        display: block !important;

        width: 30px !important;
        height: 4px !important;

        min-width: 30px !important;
        min-height: 4px !important;

        max-width: 30px !important;
        max-height: 4px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #1e4f42 !important;

        border-radius: 3px !important;

        opacity: 1 !important;
    }

}


/* =====================================================
   SMARTPHONE
   ===================================================== */

@media (max-width: 600px) {

    .header {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
    }

    .header-inner {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;

        padding-left: 15px !important;
        padding-right: 15px !important;
    }


    .header .logo img {
        max-width: 82px !important;
        max-height: 45px !important;
    }


    .header .hamburger {
        width: 44px !important;
        height: 44px !important;

        min-width: 44px !important;
        min-height: 44px !important;

        max-width: 44px !important;
        max-height: 44px !important;
    }


    .header .hamburger span {
        width: 29px !important;
        height: 4px !important;

        min-width: 29px !important;
        min-height: 4px !important;

        max-width: 29px !important;
        max-height: 4px !important;
    }

}



@media (min-width: 901px) {

    .header-inner {
        width: calc(100% - 40px) !important;　/* これはHedderの中のロゴと文字の位置。両端に余白を付けた 40pxのところ大きくすると余白増える*/
        margin-left: auto !important;
        margin-right: auto !important;
    }

}











/* ---------------------------------------------------------
   END
   --------------------------------------------------------- */.logo11 {
}
