:root {
    --primary-blue: #009DD4;
    --secondary-teal: #29B4B7;
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}
body {
    position: relative;
    background-color: #fff;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    /* overflow: hidden; */
}
.preparation {
    z-index: 10000;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
}
.preparation h1 {
    color: #fff;
}

/* --- COMMON REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.hero-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
@media screen and (max-width: 768px) {
    .preparation h1 {
        font-size: 18px;
    }
}
input, textarea, select {
    background-color: #fff;
    color: #333;
}
a {
    text-decoration: none;
    color: #333;
}
a:hover {
    opacity: 0.8;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

main {
    margin-top: 100px;
}

.main-block {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.view-more {
    display: flex;
    justify-content: center;
}
.view-more a {
    display: block;
    width: 320px;
    background: linear-gradient(to left, #26B0B0, #3482C0);
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    padding: 20px 0;
}

header {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100px;
    left: 0;
    top: 0;
    padding: 0 40px;
    background-color: #fff;
    opacity: 1;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    box-shadow: 0px 1px 18px 0px rgba(105, 105, 105, 0.16);
}
header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}
header .block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
header .logo a {
    display: flex;
    align-items: center;
}
header .logo img {
    height: 60px;
}
header h1 {
    font-size: 24px;
    margin-left: 20px;
}
header .pc-nav ul {
    display: flex;
}
header .pc-nav ul li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    margin-left: 40px;
}

/* ホバー時のテキストカラー変化 */
header .pc-nav ul li a:hover {
    color: var(--primary-blue);
}

/* 下線のアニメーション (中央から広がる) */
header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
header nav .pc-nav li a:hover::after {
    width: 100%;
}

/* 少し浮き上がるような微細な動き */
header nav .pc-nav li a {
    transition: transform 0.3s ease, color 0.3s ease;
}

header nav .pc-nav li a:active {
    transform: translateY(1px);
}
#hamburger {
    display: none;
}
#sp-nav {
    display: none;
}
@media screen and (max-width: 768px) {
    main {
        margin-top: 70px;
    }
    .main-block {
        width: calc(100% - 40px);
    }
    .pc-nav {
        display: none;
    }
    header {
        z-index: 130;
        height: 70px;
        padding: 0 20px;
        z-index: 9999;
    }
    header .block {
        position: relative;
        z-index: 9999;
        height: 70px;
    }
    header .logo img {
        height: 40px;
    }
    header h1 {
        font-size: 18px;
        margin-left: 10px;
    }
    #hamburger {
        width: 34px;
        height: 27px;
        display: block;
        z-index: 110;
    }
    #hamburger span {
        position: relative;
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 10px;
        background-color: #3482C0;
        transition: ease .5s;
    }
    #hamburger span:nth-child(1) {
        top: 0;
    }
    #hamburger span:nth-child(2) {
        margin: 7px 0;
    } 
    #hamburger span:nth-child(3) {
        top: 0;
    }
    #hamburger.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }
    #hamburger.active span:nth-child(2) {
        opacity: 0;  
    }
    #hamburger.active span:nth-child(3) {
        top: -11px;
        transform: rotate(-45deg);
    }
    #sp-nav {
        display: block;
        opacity: 0;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px 32px 120px 32px;
        background-color: #fffffff2;
        transition: ease .5s;
        pointer-events: none;
        overflow-y: scroll;
    }
    #sp-nav.active {
        z-index: 90;
        opacity: 1;
        pointer-events: all;
    }
    #sp-nav li {
        padding: 18px 11.4px;
        border-bottom: 1px solid #D9D9D9;
        font-weight: bold;
    }
    #sp-nav .bottom-none {
        padding-bottom: 0;
    }
    #sp-nav .sub-menu li {
        border-bottom: none;
    }
    #sp-nav li a {
        font-size: 14px; /* 修正済み */
        color: #404040;
    }
    #sp-nav li.contact {
        position: relative;
        width: 230px;
        border-bottom: none;
        text-align: center;
        margin: 40px auto 0;
    }
    #sp-nav li.contact a {
        width: 100%;
        color: #fff;
        padding: 20px ;
    }
}

footer {
    background-color: #fff;
}
footer .block {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
}
footer .info h2 {
    font-size: 18px;
    margin-left: 10px;
}
footer .info .logo {
    margin-bottom: 20px;
}
footer .info .logo a {
    display: flex;
    align-items: center;
}
footer .info .logo img {
    width: 40px;
}
footer .info li {
    line-height: 1.8;
}
footer .nav li {
    line-height: 2;
}
footer .nav .main {
    font-size: 18px;
    font-weight: 600;
}
footer .nav .sub a {
    color: #716F6E;
}
footer .copy {
    width: calc(100% - 80px);
    margin: 0 auto;
    padding: 10px 40px;
    border-top: 1px solid #CFD6DF;
    color: #CFD6DF;
    text-align: center;
    font-size: 14px;
}
footer .nav-wrapper {
    display: none;
}
@media screen and (max-width: 768px) {
    footer .block {
        flex-direction: column;
        padding: 20px;
    }
    footer .info {
        margin-bottom: 20px;
    }
    footer .info .logo {
        display: flex;
        justify-content: center;
    }
    footer .info .logo img {
        width: 40px;
    }
    footer .info li {
        line-height: 1.8;
        font-size: 14px;
        text-align: center;
    }
    footer .nav {
        display: none;
    }
    footer .nav-wrapper {
        display: block;
    }
    /* Navigation / Accordion */
    .nav-wrapper {
        border-top: 1px solid #f3f4f6;
    }
    .accordion-item {
        border-bottom: 1px solid #f3f4f6;
    }
    .accordion-trigger {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        background: none;
        border: none;
        text-align: left;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        color: #444;
    }
    .nav-link-direct {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        font-weight: bold;
        font-size: 1rem;
    }
    .chevron {
        color: #9ca3af;
        font-size: 0.875rem;
        transition: transform 0.3s ease;
    }
    .chevron-right {
        color: #d1d5db;
    }
    /* Accordion Content */
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    .accordion-item.active .accordion-content {
        max-height: 500px;
    }
    .accordion-item.active .chevron {
        transform: rotate(180deg);
    }

    .sub-menu {
        list-style: none;
        padding: 8px 0;
    }
    .sub-menu-link {
        display: block;
        padding: 12px 24px;
        font-size: 0.875rem;
        border-bottom: 1px solid #f9fafb;
        color: #4b5563;
    }
    .sub-menu-link.top-link {
        background-color: #f9fafb;
        color: #2d9a8a;
        font-weight: 500;
    }
    .sub-menu-link.indent {
        padding-left: 32px;
    }
    footer .copy {
        width: calc(100% - 40px);
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* 背景の装飾テキスト */
.bg-decoration-text {
    font-family: 'Oswald', sans-serif;
    position: absolute;
    font-size: 18vw;
    line-height: 1;
    color: rgba(0, 157, 212, 0.04);
    z-index: 10;
    white-space: nowrap;
    font-weight: 700;
    pointer-events: none;
}
#sub-mv {
    position: relative;
    z-index: 1;
    padding: 250px 0 190px;
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden;
}
#sub-mv .bg-decoration-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* 幾何学模様のアクセント */
#sub-mv .mv-accent-circle {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 157, 212, 0.1);
    border-radius: 50%;
    z-index: 10;
}
#sub-mv .mv-accent-dots {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(0, 157, 212, 0.2) 1px, transparent 1px);
    background-size: 15px 15px;
    z-index: 10;
}
#sub-mv h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
#sub-mv .sub-title-en {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
}
#sub-mv .title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-teal));
    margin: 40px auto 0;
    border-radius: 2px;
}
@media screen and (max-width: 768px) {
    #sub-mv {
        padding: 125px 0 80px;
    }
    /* 幾何学模様のアクセント */
    #sub-mv .mv-accent-circle {
        width: 200px;
        height: 200px;
    }
    #sub-mv h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    #sub-mv .sub-title-en {
        font-size: 0.8rem;
    }
    #sub-mv .title-line {
        width: 60px;
        height: 3px;
        margin: 20px auto 0;
    }
    
}

#contact {
    background: linear-gradient(to left, #26B0B0, #3482C0);
    padding: 80px 0;
    text-align: center;
}
#contact h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 30px;
}
#contact p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 40px;
}
#contact .btns {
    display: flex;
    justify-content: center;
}
#contact .btns a {
    width: 320px;
    padding: 20px 0;
    border-radius: 5px;
    margin: 0 20px;
}
#contact .btns .email {
    background-color: #fff;
    color: #26B0B0;
}
#contact .btns .tel {
    border: 1px solid #fff;
    color: #fff;
}