
:root {
    --primary-green: #2e8b57;
    --light-green: #8fc31f; /* ボタン等の明るい緑 */
    --bg-green-pale: #dcedc8; /* 背景の薄い緑 */
    --bg-gray: #f7f6f5;
    --text-main: #333333;
    --accent-orange: #f37021;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.m0{
    margin: 0!important;
}

.container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通セクションタイトル */
.section-title {
    text-align: center;
    color: var(--primary-green);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 2px;
    position: relative;
    -webkit-text-stroke: 6px white;
paint-order: stroke;
}
/* タイトル下の点々装飾 */
.section-title::after {
    content: '●●●●●●●●●●';
    display: block;
    font-size: 10px;
    color: var(--light-green);
    margin-top: 5px;
    letter-spacing: 8px;
    -webkit-text-stroke:0px;
}

/* =========================================
    Header
========================================= */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo-img {
    /* max-width: 252px; */
    max-width: 152px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    /* imgタグに差し替えてください */
}

.header-site-name {
    /* font-size: 18px; */
    color: #666;
}

.header-nav {
    margin: 20px 0 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-link {
    display: block;
    font-size: 15px;
    padding: 5px 16px;
    border: 2px solid #99cc66;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #99cc66;
    color: #fff;
}

.btn-contact-head {
    margin-left: auto;
}
.btn-contact-head a {
    display: block;
    background-color: var(--accent-orange);
    background-image: url(../img/icon_mail.svg);
    background-size: 15px auto;
    background-position: 15px center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 10px 20px 10px 40px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}
.btn-contact-head a:hover{
    opacity: 0.5;
}

/* =========================================
    Hero Section
========================================= */
.hero {
    /* 背景画像がある場合はここに設定 */
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    /* padding: 60px 0; */
    overflow: hidden;
}

.hero-inner {
    background-image: url(../img/kv_bg.png);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 45px 0 41px;
}
.hero-inner img{
    max-width: 1016px;
}


.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* マーカー風の装飾 */
.highlight {
    background: linear-gradient(transparent 60%, #fffacd 60%);
    display: inline-block;
}

.hero-sub-links {
    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}
.hero-sub-links a {
    display: block;
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--light-green);
    text-underline-offset: 4px;
}

.hero-image {
    width: 40%;
    text-align: right;
    /* ダミー設定 */
    height: 200px;
    background-color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* =========================================
    事業概要 (Overview)
========================================= */
.overview {
    padding: 80px 0;
    background-color: #fff;
}

.box {
    /* background-color: #fff; */
    border: 3px solid #9ad579;
    border-left-width: 8px;
    margin-bottom: 30px;
    padding: 30px 30px 60px;
    position: relative;
}
.box::before{
    content: "";
    width: 31px;
    height: 31px;
    position: absolute;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    top: -3.5px;
    right: -3.5px;
}
.box::after{
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background-color: #9ad579;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    top: -3px;
    right: -3px;
}

/* 箱の左上の緑の装飾（リボン風） */
.box-title {
    font-size: 27px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 13px;
        
}
.box-title::before {
    content: '';
    display: block;
    width: 7px;
    height: 36px;
    background-image: url(../img/three_dots.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    justify-content: center;
    font-size: 8px;
    letter-spacing: 6px;
    line-height: 1;
    color:var(--light-green);
    /* background-color: var(--light-green); */
    writing-mode: vertical-rl;
    text-box: trim-both cap alphabetic;
}

.box-text {
    /* font-size: 14px; */
    padding-left: 21px;
}
.box p{
    margin: 0 0 20px;
}
.content-sub-title-wrap{
    position: relative;
    margin-top: 25px;
    margin-bottom: 20px;
    
}
.content-sub-title-wrap::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #d1e3b6;
}
.content-sub-title {
    font-size: 18px;
    display: inline-block;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 3px solid #77c06a;
    position: relative;
    z-index: 2;
}


.list-numbered {
    padding-left: 20px;
}
.list-numbered > li {
    list-style-type: decimal;
    margin-bottom: 10px;
    /* font-size: 14px; */
}
.list-alpha {
    padding-left: 28px;
    margin-top: 5px;
    margin-bottom: 10px;
}
.list-alpha > li {
    list-style-type: katakana; /* カスタムにする場合はア・イを手動で入れるかtype指定 */
    position: relative;
    margin-bottom: 5px;
}
.note {
    font-size: 14px;
    /* color: #666; */
    padding-left: 1em;
    text-indent: -1em;
}

.diagram-placeholder{
    width: 733px;
    max-width: 100%;
    margin: 0 auto;
}

/* =========================================
    お知らせ (News) ※デザイン上は「事業概要」表記ですが内容的に
========================================= */
.news-section {
    background-color: #d1e4c3; /* デザインに合わせた背景色 */
    padding: 80px 0;
}

.news-section .section-title {
    color: #fff; /* 背景が濃い場合は白抜きに調整が必要かも */
}
.news-section .section-title::after {
    color: #fff;
}

.news-list-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid #9ad579;
}

.news-item {
    display: flex;
    gap: 27px;
    /* border-bottom: 1px solid #eee; */
    margin: 0 0 35px;
}
.news-item:last-child {
    margin-bottom: 0;
}
.news-date {
    /* color: #666; */
    /* width: 100px; */
    font-size: 14px;
    border-bottom: 3px solid #77c06a; 
    padding-bottom: 15px;
}
.news-text{
    flex: 1;
    border-bottom: 3px solid #d1e3b6; 
    padding-bottom: 15px;
}

/* =========================================
    事業要項 (Guidelines)
========================================= */
.guidelines {
    background-color: var(--bg-gray);
    padding: 80px 0;
    text-align: center;
}

.guidelines-desc {
    margin-bottom: 20px;
}

.anchor-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}
.anchor-links a {
    padding-bottom: 5px;
    padding-right: 25px;
    padding-left: 2px;
        border-bottom: 3px solid #5ba265; 
    background-image: url(../img/icon_d_g.svg);
    background-repeat: no-repeat;
    background-size: 14px auto;
    background-position: right center;
}
.anchor-links._inner {
    margin: 30px 0 30px;
    justify-content: flex-start;
}
.cards-wrapper {
    width: 780px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 6%;
}

.card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    width: 47%;
    box-shadow: 0px 0px 13px 3px #c6e3b1;
}


.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    transition: opacity 0.3s;
    background-image: url(../img/icon_arrow_g.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 25px) center;
    background-size: 10px auto;
}
.btn:last-child{
    margin: 0;
}
.btn.btn_blank{
    background-image: url(../img/icon_blank.svg);
    background-size: 18px auto;
    background-position: calc(100% - 18px) center;
}
.btn.btn_dl{
    background-image: url(../img/icon_d_w.svg);
    background-size: 18px auto;
    background-position: calc(100% - 18px) center;
}
.btn.btn-outline.btn_dl{
    background-image:url(../img/icon_d_g.svg);
}
.btn:hover {
    opacity: 0.5;
}

.btn-outline {
    border: 2px solid #99cc66;
    color: var(--text-main);
    background-color: #fff;
}

.btn-solid {
    background-color: #99cc66;

    border: none;
}

/* =========================================
    Contact
========================================= */
.contact {
    margin: 160px 0 80px;
    position: relative;
    /* overflow: hidden; */
    text-align: center;
}

.contact-bg-text {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: -1;
    line-height: 1;
    letter-spacing: 5px;
    width: 455px;
    max-width: 100%;
}

.contact-box {
    background-color: #d1e3b6;
    border-radius: 10px;
    padding: 20px 40px;
    gap: 40px;
    text-align: left;
    max-width: 792px;
    margin: 0 auto;
    position: relative;
}
.contact-info-inner{
    padding-left: 110px;
}

.contact-img {
    position: absolute;
    width: 165px;
    left: -40px;
    bottom: 10px;
}

.contact-info h3 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.tel-wrap {
    /* display: flex; */
    margin-bottom: 15px;
}

.tel-number {
    font-size: 40px;
    font-weight: 700;
    color: #1a5276; /* 濃い青系の色 */
    line-height: 1;
}

.tel-time {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    display: block;
    /* margin-top: -15px; */
}

.contact-period {
    font-size: 20px;
    line-height: 1.6;
    color: #26466d;
}
.mail{
    margin: 20px 0 0 ;
    color: #26466d;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
}
.mail a{
    background-image: url(../img/mail_blue.svg);
    background-repeat: no-repeat;
    padding-left: 60px;
    background-size: 40px auto;
    background-position: left center;
}
.contact-sub {
    font-size: 15px;
    margin-top: 20px;
}

.link{
background-color: var(--bg-gray);
    padding: 80px 0;
}
.link-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.link-list li{
    flex: 0 1 calc(33% - 5px);
}
.link-list li a{
        background-color: #FFF;
    border: 1px solid #4d4d4d;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.link-list li a:hover{
    opacity: 0.5;
}

/* =========================================
    Footer
========================================= */
footer {
    border-top: 2px solid var(--primary-green);
    padding: 30px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 18px;
    max-width: 245px;
}

.footer-link a {
    font-size: 14px;
    color: #1976d2; /* リンク色 */
    text-decoration: underline;
}

.copyright {
    text-align: center;
}
/* --------------------------------------------------------------- */

.hero-text{
    background-image: url(../img/hero_bg.png);
    background-size: cover;
    background-position: center;
    padding: 15px 0 75px;
    position: relative;
}
.hero-text h1{
    text-align: center;
    -webkit-text-stroke: 6px white;
    paint-order: stroke;
    color: #5b9a6c;
    font-size: 48px;
    font-weight: bold;
    padding: 45px 40px 0;
    letter-spacing: 0.1em;
}
.breadcrumb{
    /* position: absolute; */
    left: 0;
    top: 15px;
    background-color: #fff;
    padding: 12px 40px 12px 30px;
    border-radius: 0 50px 50px 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumb li a:hover{
    text-decoration: underline;
}

.box-inner{
    padding: 0 20px;
}
.box-title-h4{
    margin: 25px 0 10px;
}
.box-title-h4 h4{
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    background-image: url(../img/h4_line.svg);
    background-position: center bottom;
    background-size: auto 7px;
    background-repeat: repeat-x;
    padding: 0 0 8px;
}
.box-text-large{
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #5b9a6c;
}

.section-lead{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 85px;
}

.gray-box{
    background-color: #f7f6f5;
    border-radius: 10px;
    padding: 25px 20px 20px;
}
.btn_3col{
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 20px 0 0;
}
.btn_3col>div{
    flex: 1 1 calc(33% - 5px);
}
.btn_3col>div>h5{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 12px;
}

.step-box{
    display: flex;
    gap: 35px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}
.step-box:not(:last-child){
    margin: 0 0 50px;
}
.step-box:not(:last-child)::after{
    content: "";
    display: block;
    position: absolute;
    bottom: -50px;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    background-image: url(../img/step_arrow.svg);
    background-size: auto 100%;
    background-position: top center;
    background-repeat: no-repeat;
}
.step-box-img{
    width: 130px;
    text-align: center;
}
.step-num{
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    color: #000;
}
.step-num span{
    font-size: 15px;
    width: 20px;
    height: 20px;
    background-color: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Impact, sans-serif;
    /* letter-spacing: 0.05em; */
    font-weight: normal;
}
.step-box-text{
    flex: 1;
}
.step-box-hl{
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 10px;
}
.step-box-point{
    margin: 30px 0 0;
    position: relative;

}
.step-box-point-hl{
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, -50%);
    background-color: #5b9a6c;
    border-radius: 0 10px 0 0;
    color: #fff;
    font-weight: bold;
    padding: 7px 20px;
}
.step-box-point-text{
    background-color: #d1e3b6;
    padding: 25px 10px 10px;
    text-align: center;
}
.step-address{
    text-indent: -4em;
    padding-left: 4em;
    margin: 10px 0 0;
}

.sample-box{
    text-align: center;
}
.sample{
    max-width: 832px;
}
.img-col3{
    display: flex;
    justify-content: space-between;
    /* align-items: flex-end; */
    gap: 21px;
    margin: 40px 0 0;
}
.img-col3>div{
    flex: 1 1 calc(33% - 14px);
    display: flex;
    flex-direction: column;
}
.img-col3>div>div{
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
.img-col3>div>img{
    margin-top: auto;
}
.note-center{
    text-align: center;
    margin: 35px 0 65px;
}

.form-box{
    text-align: center;
    padding: 55px 20px 50px;
    background-color: #f7f6f5;
    border-radius: 10px;
}
.form-box-title{
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 50px;
}
.form-box-btn{
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
}
.form-box-btn .btn{
    font-size: 26px;
    border-radius: 50px;
}

/* PC only--------------------------------------------------
-------------------------------------------------- */
@media (width > 767px) {
    .sp{
     display: none!important;   
    }
}
/* PC only--------------------------------------------------
-------------------------------------------------- */

/* タブレット */
/* @media (767px < width <=1100px ) {
  header .btn-inner{
    font-size: 16px;
  }
} */
/* タブレット */

/* SP--------------------------------------------------
-------------------------------------------------- */
@media (width <= 767px) {
    html, body{
        font-size: 14px;
    }
    .pc{
        display: none!important;
    }
    .header-logo{
        display: block;
    }
    .header-logo-img{
        width: 150px;
    }
    .header-nav{
        display: none;
        padding: 0;
    }
    .header-site-name{
        margin: 10px 0 0;
        font-size: 16px;
    }
    .nav-link{
        font-size: 14px;
        margin:  0 0 10px;
    }
    
    /* ボタン全体のベース（背景を透明にしてリセット） */
    .hamburger-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 27px;          /* メニュー全体の横幅 */
    height: 22px;         /* メニュー全体の高さ */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    }

    /* 3本のバーの共通設定（特徴的な角丸カプセル型） */
    .hamburger-btn .bar {
    display: block;
    background-color: #9ad579;
    width: 100%;
    height: 5px;          /* 線の太さ（画像に合わせて少し太め） */
    border-radius: 100px; /* 完全に両端を丸める */
    transition: transform 0.3s ease, opacity 0.3s ease; /* アニメーション用 */
    }

    /* --- 画像通りの配色 --- */
    /* .bar-red {
    background-color: #ff0000;
    }
    .bar-yellow {
    background-color: #ffc224;
    }
    .bar-blue {
    background-color: #3399ff;
    } */

    /* --- クリックされてアクティブ（✕）になった時の動き --- */
    /* 赤い線（上）を斜め下に回転 */
    .hamburger-btn.is-open .bar-red {
    transform: translateY(8.5px) rotate(45deg);
    }

    /* 黄色い線（真ん中）をフェードアウト */
    .hamburger-btn.is-open .bar-yellow {
    opacity: 0;
    }

    /* 青い線（下）を斜め上に回転 */
    .hamburger-btn.is-open .bar-blue {
    transform: translateY(-8.5px) rotate(-45deg);
    }

    .hero-inner {
        padding: 40px 20px 40px;
    }


    .overview{
        padding: 40px 0;
    }
    .section-title{
        font-size: 24px;
        margin-bottom: 25px;
    }
    .box{
        padding: 20px;
        margin-bottom: 20px;
    }
    .box:last-child{
        margin: 0;
    }
    .box-text{
        padding: 0;
    }
    .box-title{
        font-size: 20px;
    }


    .news-section{
        padding: 40px 0;
    }
    .news-list-box{
        padding: 20px;
    }
    .news-item{
        align-items: flex-end;
        gap: 15px;
        margin: 0 0 20px;
    }


    .guidelines{
        padding: 40px 0;
    }
    .cards-wrapper{
        display: block;
    }
    .card{
        width: auto;
        margin: 0 0 40px;
    }
    .card:last-child {
        margin: 0;
    }
    .card-title{
        font-size: 20px;
    }


    .contact{
        margin: 80px 0 40px;
    }
    .contact-bg-text{
        width: 80%;
    }
    .contact-box{
        padding: 20px;
    }
    .contact-info-inner{
        padding: 0;
    }
    .contact-period{
        padding-left: 35px;
    }
    .contact-period-note{
        padding-left: 50px;
    }
    .contact-sub{
        padding-left: 80px;
        margin-top: 35px;
    }
    .contact-img{
        width: 130px;
    }
    .mail{
        padding-left: 40px;
        font-size: 20px;
    }
    .mail a{
            padding-left: 40px;
    background-size: 30px auto;
    }

    .footer-inner{
        display: block;
    }
    .footer-logo{
        margin: 0 auto;
        max-width: 200px;
    }
    .footer-link{
        text-align: center;
        margin: 20px 0;
    }
    .footer-inner{
        margin: 0 0 20px;
    }
    
    .link{
        padding: 40px 0;
    }
    .link-list{
        display: block;
    }
    .link-list li{
        margin: 0 0 20px;
    }


    .box-text-large{
        font-size: 24px;
    }

    .box-inner{
        padding: 0 10px;
    }

    .btn_3col{
        display: block;
        
    }
    .btn_3col>div:not(:last-child){
        margin: 0 0 20px;
    }
    .gray-box{
        padding: 20px 15px;
    }

    .step-box{
        display: block;
        padding: 20px 15px;
    }
    .step-box:not(:last-child){
        margin: 0 0 40px;
    }
    .step-box:not(:last-child)::after{
        height: 40px;
        bottom: -40px;
    }
    .step-box-img{
        width: auto;
        margin: 0 0 20px;
    }
    .step-box-img img{
        width: 150px;
    }
    .step-address{
        text-indent: 0;
        padding: 0;
    }
    .step-box-point-hl{
        padding: 7px 10px;
    }

    .anchor-links._inner{
        gap: 30px;
    }

    .hero-text{
        padding: 15px 0 40px;
    }
    .hero-text h1{
        font-size: 32px;
        padding: 20px 20px 0;
    }

    .breadcrumb{
        padding: 8px 30px 8px 20px;
    }

    .img-col3{
        gap: 12px;
    }
    .img-col3>div{
        flex: 1 1 calc(33% - 4px);
    }
    .note-center{
        margin: 30px 0 40px;
    }
    .form-box{
        padding: 30px 20px 30px;
    }
    .form-box-title{
        font-size: 18px;
        margin: 0 0 20px;
    }
    .form-box-btn .btn{
        font-size: 18px;
    }
}