/* Font Face Declarations */
/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Regular.otf') format('opentype');*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Normal.otf') format('opentype');*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Light.otf') format('opentype');*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-ExtraLight.otf') format('opentype');*/
/*    font-weight: 200;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Medium.otf') format('opentype');*/
/*    font-weight: 500;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Bold.otf') format('opentype');*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'SourceHanSansJP';*/
/*    src: url('font/SourceHanSansJP-Heavy.otf') format('opentype');*/
/*    font-weight: 900;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    /*font-family: 'SourceHanSansJP', 'GenKakuGothic', 'Noto Sans JP', sans-serif;*/
    line-height: 1.6;
    color: #4D1900;
    background-color: #fff;
}

/* Animation-related styles moved to animations.css */

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: auto;
    max-height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #333;
    text-decoration: underline;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link span {
    display: inline-block;
}

.nav-icon {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.nav-link.active {
    color: #FF1C1D;
}

.nav-link:hover {
    color: #FF1C1D;
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-link-2025:hover {
    color: #333;
    opacity: 0.7;
}

.nav-link-2026:hover {
    color: #FF1C1D;
    opacity: 0.8;
}

.btn-inquiry {
    display: inline-block;
    text-decoration: none;
}

.btn-inquiry img {
    height: auto;
    display: block;
    max-height: 40px;
}

.last-area .btn-inquiry img {
    max-height: 55px;
}

.btn-inquiry:hover {
    opacity: 0.8;
}

/* Section Styles */
.section {
    width: 100%;
    padding-top: 60px;
    min-height: 300px;
    background-color: #FFFFFF;
}

.section .container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Section Title */
.section .container .title {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
    position: relative;
    background-color: #FFFFFF;
}

.section .container .title h2 {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 58px;
    
}
.section .container .title h2 p {
    color: #7CB342;
    text-align: center;
    font-size: 24px;
}
.section .container .title p span{
    color: #FF1C1D;
    text-align: center;
}
/* Section Image */
.section .container .image {
    width: 100%;
    /* margin-top: 60px; */
    background-color: #FFF9D7;
    /* background-image: url('bg-middle.png'); */
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
}

.section .container .image-group {
    width: 880px;
    max-width: 100%;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.section .container .image  {
    background:
    linear-gradient(
        to bottom,
        #fff 0%,
        #fff 30%,
        #FFF9D7 100%
      );
}
.section .container .image-group:last-child {
    margin-bottom: 0;
}

.section .container .image-group img {
    width: auto;
    height: auto;
    max-width: 415px;
    display: block;
    flex: 0 0 auto;
}

.section .container .image-group a {
    display: inline-block;
}
.btn-inquiry:hover {
    transform: scale(1.03);
    opacity: 0.7;
    
}

@media (min-width: 769px) {
    .section .container .image-group a:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }

    .section .container .image-group a:hover img {
        transform: scale(1.02);
    }

    .section .container .img-3 img {
        width: auto;
        height: auto;
        max-width: 280px;
        display: block;
        flex: 0 0 auto;
    }

    .section .container .img-3 a {
        display: inline-block;
    }

    .section .container .img-3 a:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

    .section .container .img-3 a:hover img {
        transform: scale(1.05);
    }

    .section1-button-area .image-group a:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* Section Main Text Styles */
.section .container .main-text {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 60px;
    background-color: #FFF9D7;
}

.section .container .main-text-list {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    background-color: #fff;
    border-radius: 20px;
    padding: 50px;
}

.section .container .main-text-list li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    color: #4D1900;
}

.section .container .main-text-list li:last-child {
    margin-bottom: 0;
}

.section .container .main-text-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-size: 16px;
}

/* Section Text Styles */
.section .container .text {
    width: 100%;
    padding-bottom: 120px;
    border-radius: 0;
    background-color: #FFF9D7;
}

.section .container .last-child {
    background: linear-gradient(
        to bottom,
        #FFF9D7 0%,
        #FFF9D7 calc(100% - 60px), /* 底部60px处开始渐变 */
        #fff 100%
      );
}

.section .container .text h3 {
    width: 880px;
    max-width: 100%;
    margin: 0 auto 20px auto;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.section .container .text p {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    color: #333;
}

/* Section 1 Styles */
.section1 {
    position: relative;
    padding: 0;
    overflow: visible;
    height: auto;
    display: block;
    background-color: #fff;
    background-image: url('../design/section1/main.png')
    , url('../design/section1/img_BG.png')
    , url('../design/section1/img_BG2.png')
    
    ;
    background-size: 
    contain,
    100%,           
    contain;       

    background-position: 
    top center,
    -80px 400px,
    0 400px;
    
    background-repeat: 
    no-repeat,
    no-repeat,
    no-repeat;
}

/* Full width collage wrapper - 100% width, directly after header */
.section1 .container {
    padding-bottom: 30px;
    /* background-color: #FEF33A !important; */
}
.section1-collage-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
}

.section1-collage {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

.section1-collage-wrapper picture {
    width: 100%;
    display: block;
}

.section1-collage-wrapper picture img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
}

/* Logo wrapper positioned at 80% of collage image */
.section1-logo-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: -100px;
    visibility: visible !important;
}
.section1-logo-wrapper picture {
    visibility: visible !important;
    display: block;
    width: auto;
    max-width: 720px;
    margin: 0 auto;
}
.section1-logo-wrapper picture img {
    visibility: visible !important;
    opacity: 1 !important;
    display: block;
    width: auto;
    max-width: 720px;
    height: auto;
    margin: 0 auto;
}
.section1-logo-wrapper img{
    max-width: 720px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    visibility: visible !important;
    opacity: 1 !important;
}
.section1-logo {
    width: auto;
    height: auto;
    display: block;
    max-width: 720px;
    visibility: visible !important;
    margin: 0 auto;
    /* Fixed size - adjust width/height as needed based on actual image dimensions */
    /* Example: if logo should be 600px wide, set width: 600px; */
}


/* Section 1 Text Content Styles */
#section1 .container {
    background: 
    linear-gradient(
        to bottom,
        rgba(255, 245, 108, 0) 0%,
        rgba(255, 245, 108, 0.25) 25%,
        rgba(255, 245, 108, 1) 50%,
        rgba(255, 245, 108, 1) 75%,
        rgba(255, 245, 108, 1) 100%
      );
      clip-path: ellipse(100% 100% at center top);
}
.section1-text-content {
    position: relative;
    z-index: 3;
    width: 880px;
    /*max-width: 90%;*/
    margin: 0 auto;
    padding: 40px 100px;
    background-color: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.section1-text-content.is-open {
    /* padding: 60px 100px; */
}

.section1-text-header {
    margin-bottom: 0;
    max-width: 680px;
    text-align: center;
}

#section1TextHeader {
    cursor: pointer; /* カーソルをポインターに */
    user-select: none; /* 文字が選択されないように */
    position: relative; /* 必要に応じて */
}

.section1-text-content.is-open .section1-text-header {
    margin-bottom: 30px;
}

.section1-text-header-top {
    margin-bottom: 0px;
}

.section1-text-subtitle {
    color: #E37E15;
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.section1-text-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.section1-text-content.is-open .section1-text-title-wrapper {
    margin-bottom: 30px;
}

.section1-text-title {
    font-size: 36px;
    font-weight: 700;
    color: #4D1900;
    margin: 0;
    flex: 1;
}

.section1-text-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 15px;
}

.section1-text-close:hover {
    background-color: #999;
}

.close-icon {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}
.section1-text-divider {
    height: 1px;
    background-color: #333;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.section1-text-content.is-open .section1-text-divider {
    opacity: 1;
    visibility: visible;
}

.section-text-divider {
    height: 1px;
    background-color: #333;
    width: 100%;
    opacity: 1;
    visibility: visible;
    margin-top: 20px;
    margin-bottom: 20px;
}

.section1-text-body {
    font-size: 18px;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
}

.section1-text-body.is-open {
    visibility: visible;
    opacity: 1;
    max-height: 2000px;
    margin-top: 20px;
}

.section1-text-toggle {
    cursor: pointer;
}

.section1-text-toggle:hover {
    transform: scale(1.1);
}

.section1-text-toggle .toggle-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.section .container .text p.section1-text-paragraph {
    line-height: 1.8;
    color: #4D1900;
    margin: 0 0 0 0;
    font-weight: 500;
}


.section1-text-paragraph:last-child {
    margin-bottom: 0;
}

/* Section 1 About Area Styles */
.section1-button-area {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding-bottom: 40px;
    margin-top: 20px;
    
}
.section1-button-area-title {
    max-width: 880px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.section1-button-area-title img {
    width: 100%;
    height: auto;
}
.section1 .container .image {
    /* background-color: #FEF33A !important; */
    background-image: none !important;
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    flex-wrap: wrap;
}
.section1 .container .image-group {
    margin: 0 auto;
}

.section1-button-area .image-group a {
    display: inline-block;
    margin-bottom: 20px;
}
.section1-button-area .image-group a:first-child {
    margin-right: 0px;
}




.section1-about-image {
    width: 880px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.section6 .container .text {
    background-color: #FFF9D7 !important; 
    background:
    linear-gradient(
        to bottom,
        #FFF9D7 0%,
        #FFF9D7 100%
      );
    padding-bottom: 90px;
}

@media (min-width: 768px) {
    .section6 .section1-text-title {
        margin-bottom: 10px;
    }
    .section6 .section-text-divider {
        margin: 30px 0;
    }
    .section6 .container .text:first-child {
        padding-bottom: 40px;
    }
    .section6 .container .text:last-child {
        padding-bottom: 60px;
    }
    .section6 .section1-text-content {
        padding: 80px 100px;
    }
}



.last-area {
    background-color: #FFF9D7 !important; 
    text-align: center;
    width: 100%;
    padding-bottom: 40px;
    margin: 0 auto;
    display: flex;
}

.last-area .nav {
    width: 880px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* Footer Styles */
.footer {
    background-color: #7CB342;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.footer svg {
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments for PC (1200px width) */
@media (max-width: 1240px) {
    .header-container,
    .container {
        padding: 0 20px;
    }
}

/* Mobile styles moved to mobile.css */