
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP";
    color: #515a60;
    line-height: 2;
    letter-spacing: 0.1em;
    overflow-x: hidden; 
    background-image: url('img/back.jpg');
    background-size: cover;
    background-position: center; 
    background-attachment: fixed;
}
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
}

.text {
    margin: 16px 10%;
    font-size: 0.9rem;
    text-align: left;
}

h1,h2,h3 {
    font-family: "Yu Mincho";
    color: #5384ad;
    font-size: 2rem;
    padding: 60px 40px 30px;
}

h1 {
    padding: 80px 40px 30px;

}

h3 p {
    font-size: 0.9rem;
    font-family: "Noto Sans JP";
}


.lp-container {
    max-width: 640px;
    margin: 0 auto;
    background-color: #ffffff;
}


body {
    overflow-x: hidden;
}

.fixed-menu-wrap {
    position: fixed;   
    top: 0;
    left: 0;
    width: 100%;       
    z-index: 100;
    pointer-events: none; 
}

.fixed-menu-inner {
    max-width: 640px;  
    margin: 0 auto;    
    position: relative; 
    height: 100vh;
    overflow: hidden;
}

.hamburger {
    position: absolute;  
    top: 10px;
    right: 10px;         
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: auto; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 9999 !important;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg); 
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg); 
}

.sp-menu {
    position: absolute;  
    top: 0;
    right: -300px;       
    width: 250px;
    height: 100vh;
    background-color: rgba( 255, 255, 255, 0.65 );
    pointer-events: auto; 
    transition: all 0.3s;
    padding-top: 80px;
    z-index: 9000 !important;
}

.sp-menu.active {
    right: 0;
}

.sp-menu ul li a {
    display: block;
    padding: 20px 30px;
    color: #5384ad;
    border-bottom: 1px solid #f3f4f6;
}


.img-placeholder {
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}
.main-img { aspect-ratio: 3 / 4; margin-bottom: 20px; }
.sub-img { aspect-ratio: 3 / 4; margin-bottom: 10px; }

.btn-primary, .btn-secondary, .btn-contact {
    display: inline-block;
    text-align: center;
    border-radius: 50px;
    background-color: #87c2f4;
    color: #fff;
    padding: 12px 32px;
}
.btn-secondary {
    padding: 8px 16px;
    font-size: 0.85rem;
}
.btn-block {
    display: block;
    width: 80%;
    margin: 0 auto 16px;
    padding: 16px;
}

.hero-section {
    position: relative;
    z-index: 2;
}

.hero-image-placeholder {
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    background-color: #f8f9fc;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.intro-section {
    position: relative;
    z-index: 1;        
    margin-top: -150px;  
    padding-top: 180px;  
    text-align: center;
    padding-bottom: 100px; 
    background-image: url('img/bg.png'); 
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
}

.hero-text-box {
    position: absolute;
    top: 30%;
    right: 5%;
    text-align: right;
}
.hero-text-box .catch {
    writing-mode: vertical-rl;
    position: absolute;
    right: 0;
    top: -100px;
}
.hero-text-box .title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.intro-section h2 {
    margin-bottom: 24px;
}

.intro-text  {
    margin: 16px 10%;
    font-size: 0.9rem;
    text-align: left;
}

.nav-section {
    padding: 0 20px 100px;
    text-align: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.nav-item {
    display: block;
    background-color: #87c2f4;
    color: #fff;
    padding: 16px 0;
    border-radius: 4px;
}

.nav-section h2 {
    padding-top: 100px;
}


.feature-section {
    padding: 25px 0 100px;      
    position: relative;
    overflow: hidden;          
    z-index: 1;
}

.feature-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;               
    height: 600%;            
    background-color: #ffffff;
    border-radius: 9999px;        
    box-shadow: 0 -10px 40px -10px #e0f2ff;
}

.feature-header, .main-product, .sub-products {
    position: relative;
    z-index: 2;
}

.feature-header {
    text-align: center;
    padding: 0 20px 30px; 
}

.feature-header .desc {
    display: inline-block;
    text-align: left;
    font-size: 0.9rem;
    margin-top: 20px; 
}

.main-product {
    padding: 0 20px;
    text-align: center;
    margin-bottom: 40px;
}
.main-product .name { 
    font-size: 1rem;
    margin: 16px 20%;
}
.main-product .price { margin-bottom: 16px; }


.mySwiper {
    width: 100%;
    aspect-ratio: 3 / 4; 
    margin-bottom: 20px;
    position: relative;
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.mySwiper .swiper-pagination-bullet-active {
    background: #87c2f4 !important; 
}

.mySwiper .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
}


.sub-products {
    background: linear-gradient(to bottom, #ffffff 0%, #e8f5ff 80px, #e8f5ff calc(100% - 80px), #ffffff 100%);
    padding: 50px 20px; 
    text-align: center;
}

.sub-products h3 {
    margin-bottom: 20px;
}

.othersSwiper {
    width: 100%;
    padding-bottom: 60px; 
}

.product-item .name {
    font-size: 0.8rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item .price { 
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.othersSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.othersSwiper .swiper-pagination-bullet-active {
    background: #87c2f4 !important; 
}

/* --- フッター --- */
.footer-section {
    background-color: #f9fafb;
    padding: 40px 20px;
    text-align: center;
}
.contact { margin-bottom: 32px; }
.contact strong { font-size: 1.4rem; display: inline-block; margin-left: 8px; }
.contact .hours { font-size: 0.8rem; margin-bottom: 16px; color: #6b7280; }
.footer-nav { margin-bottom: 24px; }
.footer-nav li { margin-bottom: 8px; font-size: 0.85rem; }
.copyright { font-size: 0.75rem; color: #9ca3af; }

.bottom-links {
    padding: 0px 40px 80px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-active {
    opacity: 1;
    transform: translateY(0);
}


@media screen and (max-width: 640px) {

    body {
        font-size: 80%; 
    }

    h1, h2, h3 {
        font-size: 1.5rem;
        padding: 40px 20px 20px;
    }

    h1 {
        padding: 40px 20px 20px;
    }

   .name h4 {
    font-size: 0.5rem;
    }

    .hero-text-box .title {
        font-size: 1.8rem; 
    }

    .text, .intro-text {
        margin:  5% 10% 2%; 
    }

    .main-product .name {
        font-size: 0.85rem;
        margin: 16px 5%;
    }

    .btn-secondary {
        font-size: 0.7rem;
    }

    .hamburger {
    position: absolute;
    top: 5px;
    right: 5px;
}
}