@charset "utf-8";


body{
    font-family: "Noto Sans JP", serif;
}

p{
    font-size: 13px;
}

h1{
    font-size: 16px;
}

/* header */
header{
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.head_banner{
    width: 100%;
    height: 20px;
}

.head_banner img{
    width: 100%;
    height: 100%;
}

.head_info{
    width: 100%;
    margin: 20px auto 50px;
}

.head_info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.head_info h1 a img{
    width: 200px;
    margin-left: 20px;
}

.head_info .contact_area{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.head_button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    width: 150px;
    justify-content: center;
}
.recruit {
    margin: 10px;
    background-color: #FFEB3B;
}
.contact {
    margin: 10px;
    background-color: #6BA4A3;
    color: white;
}
.head_button img {
    width: 20px;
    height: 20px;
}
/* ホバー時の色反転 */
.recruit:hover {
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
}
.contact:hover {
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
}

header ul{
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    text-align: center;
}

.sv_1{
    color: #C6E2C0;
}
.sv_2{
    color: #83BCE6;
}
.sv_3{
    color: #CFDE67;
}
.sv_4{
    color: #F5BAAD;
}
.sv_5{
    color: #E69F50;
}
.sv_6{
    color: #F9D416;
}

header ul li p img{
    height: 30px;
    width: 3px;
}

header ul li a h1{
    margin-bottom: 10px;
}

header ul li a{
    height: 100%;
    display: inline-block; 
    transition: transform 0.2s ease-in-out; 
}

header ul li a:hover {
    transform: scale(1.1);
}
/* ===== ハンバーガーメニューのスタイル ===== */
.hamburger-menu {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

/* ハンバーガーアイコン */
.menu-icon {
    display: none;
    flex-direction: column;
    width: 40px;
    height: 30px;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s;
}


#menu-toggle{
    display: none;
}



/* section　共通 */
section{
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

/* top section */
section.top {
    margin-top: 50px;
    background-image: url(../img/head_bg.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 100vh; 
    position: relative;
}

.title{
    position: absolute;
    right: 100px;
    top:100px;
    display: flex; 
    align-items: flex-start; 
}

.title img{
    width: 50px;
    height: auto;
    margin: 10px ;
}


/* service section */

.service{
    margin-top: 50px;
}
.service ul{
    display: flex;
    list-style-type: none;
    text-align: center;
    flex-wrap: wrap;
    justify-content: space-around;
    
}

.service ul li{
    width: 20%;
    margin: auto 5%;
    height: 450px;
}

.service ul li .sv_logo{
    width: 25px;
}

.sv_numb{
    width: 50%;
}

.service ul li p:nth-child(1){
    height: 50px;
}
.service ul li p:nth-child(2){
    height: 50px;
}
.service ul li p:nth-child(4){
    height: 20px;
    margin: 10px auto 30px;
}
.service ul li p:nth-child(5){
    height: 100px;
    line-height: 1.3;
    margin-bottom:30px;
    text-align: left;
}

.custom-button {
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 50px; /* 角丸 */
    padding: 10px 30px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* 軽い影 */
  }
  
  
  /* ホバー時にバウンドアニメーション */
  .custom-button:hover {
    animation: bounce 0.4s ease infinite alternate;
  }
  
  /* バウンドするアニメーション */
  @keyframes bounce {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-5px); /* 少し跳ねる */
    }
  }

    .sv_btn_1{
        background-color: #C6E2C0;
    }
    .sv_btn_2{
        background-color: #83BCE6;
    }
    .sv_btn_3{
        background-color: #CFDE67;
    }
    .sv_btn_4{
        background-color: #F5BAAD;
    }
    .sv_btn_5{
        background-color: #E69F50;
    }
    .sv_btn_6{
        background-color: #F9D416;
    }

/* about soyokaze section */
.about_soyokaze{
    margin-top: 50px;
    background-image: url(../img/about_bg.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 100vh; 
    position: relative;
    text-align: center;
}

.about_soyokaze img.tree{
    width: 200px;
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translatex(-50%);
}

.about_soyokaze img.left_photo{
    position: absolute;
    width: 300px;
    left: 0;
    bottom: 50px;
}

.about_soyokaze img.right_photo{
    position: absolute;
    width: 200px;
    right: 0;
    bottom: 20px;
}


.about_soyokaze h2{
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translatex(-50%);
    font-size: 16px;
}

.about_soyokaze h2{
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translatex(-50%);
    font-size: 16px;
}

.about_soyokaze p:nth-child(5){
    position: absolute;
    left: 50%;
    top: 200px;
    transform: translatex(-50%);
    line-height: 1.3;
}

.about_soyokaze a{
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translatex(-50%);
}

.about_btn {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    width: 300px;
    justify-content: center;
    margin: 10px;
    background-color: white;
    border: 1px solid #CFDE67;
}

.about_btn:hover{
    background-color:#CFDE67;
}

/* company section */
.company{
    margin-top: 100px;

}

.company h2{
    text-align: center;
}

.company h2 img{
    width: 300px;
}

.company table{
    margin: 100px auto 200px;
}

.company table tr{
    border-bottom:2px dotted #E1FFD0 ;
}

.company table td.dotted{
    border-right:2px dotted #E1FFD0 ;
    text-align:justify;
}

.company table td{
    padding: 10px 20px;
    line-height: 1.5;
}

/* footer */
footer{
    background-image: url(../img/foot_bg.png);
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center; 
    height: 90vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

footer ul{
    list-style-type: none;
}

.link_l{
    width: 25%;
    margin-top: 80px;
    margin-left: 5%;
}

.link_l h3 img{
    width: 50%;
    margin-bottom: 50px;
}

.link_l ul li{
    margin-bottom: 20px;
}

.link_l ul li h1{
    font-size: 13px;
}

.link_l ul li p{
    font-size: 10px;
    margin-top: 10px;
}

.link_r {
    width: 70%;
    display: flex;
    align-items: flex-end;
}

.link_r ul{
    display: flex;
    align-items: baseline;
    margin-bottom: 50px;
    justify-content: center;
}

.link_r ul li{
    width: 25%;
    margin: 10px;
}

.link_r ul li img.link_image{
    width: 100%;
}

.link_r ul li img.link_icon{
    height: 10px;
    width: 10px;
}

.link_l ul li:hover {
    transform: scale(1.1);
    transition: .2s;
}

.link_r ul li:hover{
    transform: scale(1.1);
    transition: .2s;
}

.top_privacy{
    text-align: center;
    font-size: 9px;
}


/* hagukumi page*/
/* top section */
section.sub_page_top{
    margin-top: 50px;
    background-image: url(../img/hagukumi_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left{
    width: 70%;
}

.abp_left h3{
    font-size: 18px;
}

.abp_left h3::before{
    content: "";
    background-image: url(../img/hagukumi.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left p:nth-child(2){
    color: #C6E2C0;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}


.work{
    background-color: #F8F4ED;
    border-radius: 50px;
}

.work h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #C6E2C0;
    font-size: 18px;
}

.work h3::after{
    content: "";
    background-image: url(../img/hagukumi_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work h3::before{
    content: "";
    background-image: url(../img/hagukumi_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}


.work_container {
    width: 80%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
}
.service-item {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.service-item:last-child {
    border-bottom: none;
}
.service-title {
    flex: 1;
    font-weight: bold;
    background-color: white;
    padding: 15px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.service-description {
    flex: 3;
    padding: 15px;
    text-align: left;
    line-height: 1.5;
}


.work ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work ul li{
    width: 15%;
}

.work ul li img{
    width: 100%;
}

.sub_page_company{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company p:nth-child(1) img{
    width: 40px;
}

.sub_page_company h4{
    text-align: center;
    color: #C6E2C0;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company p:nth-child(3){
    text-align: center;
}

.info-container {
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    line-height: 1.5;
}

.info-title {
    background-color: #C6E2C0;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}


/* tsunagari */

section.sub_page_top2{
    margin-top: 50px;
    background-image: url(../img/tsunagari_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top2 img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top2 h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left2{
    width: 70%;
}

.abp_left2 h3{
    font-size: 18px;
}

.abp_left2 h3::before{
    content: "";
    background-image: url(../img/tsunagari.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left2 p:nth-child(2){
    color: #83BCE6;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left2 p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}

.work2{
    background-color: #F8F4ED;
    border-radius: 50px;
}


.work2 h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #83BCE6;
    font-size: 18px;
}

.work2 h3::after{
    content: "";
    background-image: url(../img/tsunagari_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work2 h3::before{
    content: "";
    background-image: url(../img/tsunagari_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}

.work2 ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work2 ul li{
    width: 15%;
}

.work2 ul li img{
    width: 100%;
}

.sub_page_company2{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company2 p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company2 p:nth-child(1) img{
    width: 40px;
}

.sub_page_company2 h4{
    text-align: center;
    color: #83BCE6;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company2 p:nth-child(3){
    text-align: center;
}


.info-title2 {
    background-color: #83BCE6;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

/* houju1 */

section.sub_page_top3{
    margin-top: 50px;
    background-image: url(../img/houju1_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top3 img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top3 h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page3{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left3{
    width: 70%;
}

.abp_left3 h3{
    font-size: 18px;
}

.abp_left3 h3::before{
    content: "";
    background-image: url(../img/houju1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left3 p:nth-child(2){
    color: #CFDE67;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left3 p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}

.work3{
    background-color: #F8F4ED;
    border-radius: 50px;
}


.work3 h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #CFDE67;
    font-size: 18px;
}

.work3 h3::after{
    content: "";
    background-image: url(../img/houju1_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work3 h3::before{
    content: "";
    background-image: url(../img/houju1_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}

.work3 ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work3 ul li{
    width: 15%;
}

.work3 ul li img{
    width: 100%;
}

.sub_page_company3{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company3 p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company3 p:nth-child(1) img{
    width: 40px;
}

.sub_page_company3 h4{
    text-align: center;
    color: #CFDE67;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company3 p:nth-child(3){
    text-align: center;
}


.info-title3 {
    background-color: #CFDE67;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

.work3 .service-description span{
    background-color: #CFDE67;
    padding: 3px 10px;
    color: white;
    border-radius: 10px;
}

.service-description p{
    margin: 15px 0;
}


/* houju2 */

section.sub_page_top4{
    margin-top: 50px;
    background-image: url(../img/houju2_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top4 img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top4 h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page4{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left4{
    width: 70%;
}

.abp_left4 h3{
    font-size: 18px;
}

.abp_left4 h3::before{
    content: "";
    background-image: url(../img/houju2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left4 p:nth-child(2){
    color: #F5BAAD;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left4 p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}

.work4{
    background-color: #F8F4ED;
    border-radius: 50px;
}


.work4 h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #F5BAAD;
    font-size: 18px;
}

.work4 h3::after{
    content: "";
    background-image: url(../img/houju2_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work4 h3::before{
    content: "";
    background-image: url(../img/houju2_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}

.work4 ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work4 ul li{
    width: 15%;
}

.work4 ul li img{
    width: 100%;
}

.sub_page_company4{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company4 p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company4 p:nth-child(1) img{
    width: 40px;
}

.sub_page_company4 h4{
    text-align: center;
    color: #F5BAAD;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company4 p:nth-child(3){
    text-align: center;
}


.info-title4 {
    background-color: #F5BAAD;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

.service-description span{
    background-color: #F5BAAD;
    padding: 3px 10px;
    color: white;
    border-radius: 10px;
}

.service-description p{
    margin: 15px 0;
}



/* takumi */

section.sub_page_top5{
    margin-top: 50px;
    background-image: url(../img/takumi_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top5 img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top5 h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page5{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left5{
    width: 70%;
}

.abp_left5 h3{
    font-size: 18px;
}

.abp_left5 h3::before{
    content: "";
    background-image: url(../img/takumi.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left5 p:nth-child(2){
    color: #E69F50;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left5 p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}

.work5{
    background-color: #F8F4ED;
    border-radius: 50px;
}


.work5 h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #E69F50;
    font-size: 18px;
}

.work5 h3::after{
    content: "";
    background-image: url(../img/takumi_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work5 h3::before{
    content: "";
    background-image: url(../img/takumi_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}

.work5 ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work5 ul li{
    width: 15%;
}

.work5 ul li img{
    width: 100%;
}

.sub_page_company5{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company5 p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company5 p:nth-child(1) img{
    width: 40px;
}

.sub_page_company5 h4{
    text-align: center;
    color: #E69F50;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company5 p:nth-child(3){
    text-align: center;
}


.info-title4 {
    background-color: #F5BAAD;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

.info-title5 {
    background-color:#E69F50;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

.service-description span{
    background-color: #F5BAAD;
    padding: 3px 10px;
    color: white;
    border-radius: 10px;
}

.service-description p{
    margin: 15px 0;
}




.instagram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    padding: 12px 20px;
    border: 2px solid #E69F50;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 50px auto 0;
}

.instagram-button:hover {
    background-color: #E69F50;
    color: white;
  
}

/* きらんエフェクト */
.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
    transform: skewX(-30deg);
    transition: left 0.6s ease-in-out;
}

.instagram-button:hover .shine {
    left: 100%;
}

.icon {
    width: 24px;
    height: 24px;
}

.highlight {
    font-weight: bold;
}



/* nagomi */

section.sub_page_top6{
    margin-top: 50px;
    background-image: url(../img/nagomi_top.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: 100%;
    height: 60vh; 
    position: relative;
}

.sub_page_top6 img{
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.sub_page_top6 h3{
    color: white;
    position: absolute;
    bottom: 80px;
    right: 50px;
    font-size: 20px;
    line-height: 1.5;
}

.about_sub_page6{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.abp_left6{
    width: 70%;
}

.abp_left6 h3{
    font-size: 18px;
}

.abp_left6 h3::before{
    content: "";
    background-image: url(../img/nagomi.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: -50px;
}

.abp_left6 p:nth-child(2){
    color: #F9D416;
    margin-top: 10px;
    margin-bottom: 20px;
}

.abp_left6 p:nth-child(3){
    line-height: 1.5;
}

img.about_sub_page_img{
    width: 20%;
}

.work6{
    background-color: #F8F4ED;
    border-radius: 50px;
}


.work6 h3{
    text-align: center;
    padding-top: 100px;
    margin: 100px auto;
    color: #F9D416;
    font-size: 18px;
}

.work6 h3::after{
    content: "";
    background-image: url(../img/nagomi_line_r.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 30px;
}

.work6 h3::before{
    content: "";
    background-image: url(../img/nagomi_line_l.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 30px;
}

.work6 ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    justify-content: space-around;
    margin: 50px auto;
    padding-bottom: 50px;
}

.work6 ul li{
    width: 15%;
}

.work6 ul li img{
    width: 100%;
}

.sub_page_company6{
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 200px;
}

.sub_page_company6 p:nth-child(1){
    text-align: center;
    padding-top: 30px;
}

.sub_page_company6 p:nth-child(1) img{
    width: 40px;
}

.sub_page_company6 h4{
    text-align: center;
    color: #F9D416;
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
}

.sub_page_company6 p:nth-child(3){
    text-align: center;
}


.info-title6 {
    background-color: #F9D416;
    color: white;
    padding: 8px 12px;
    width: 120px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}

.service-description span{
    background-color: #F5BAAD;
    padding: 3px 10px;
    color: white;
    border-radius: 10px;
}

.service-description p{
    margin: 15px 0;
}



/* ===== スマホ用レイアウトの調整 ===== */
@media screen and (max-width: 768px) {
    
/* メニューのスタイル（スマホ時のみ表示） */
    header ul {
        flex-direction: column;
        position: fixed;
        top: 20px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: 100vh;
        opacity: 0;
        overflow: hidden;
        transition: height 0.5s ease-out, opacity 0.5s ease-out;
        z-index: 999;
    }
    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 30px;
        right: 20px;
    }

    .menu-icon {
        display: flex;
    }

 
    header ul li {
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid #ddd;
        
    }

    header ul li:nth-child(even) {
     display: none;
    }
    

    header ul li a {
        font-size: 20px;
        display: block;
    }

    /* チェックボックスでメニューを開閉 */
    #menu-toggle:checked + .menu-icon + ul {
        display: flex;
    }

    /* ハンバーガーアイコンのアニメーション */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    #menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    .head_info h1 a img {
        width: 150px;
        margin-left: 20px;
    }
    .head_info {
        width: 100%;
        margin: 10px auto 50px;
    }
    .head_info .contact_area {
        display: flex;
        justify-content: center;
        margin: 20px auto;
        width: 100%;
    }

    section.top {
        margin-top: 0px;
        background-image: url(../img/head_bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 100%;
        height: 30vh;
        position: relative;
    }

    .head_button {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        text-decoration: none;
        color: black;
        transition: all 0.3s ease;
        width: 30%;
        justify-content: center;
    }

    .title {
        position: absolute;
        right: 40px;
        top: -35px;
        display: flex
    ;
        align-items: flex-start;
    }

    .title img {
        width: 35px;
        height: auto;
        margin: 10px;
    }

    section {
        max-width: 90%;
        width: 90%;
        margin: auto;
    }

    .service ul li {
        width: 40%;
        margin: auto 5%;
        height: 450px;
    }
    h1 {
        font-size: 13px;
        font-weight: bold;
    }
    p{
        font-size: 12px;
    }
    .service ul li p:nth-child(1) {
        height: 40px;
    }

    .sv_numb {
        width: 80%;
    }
    .service ul li p:nth-child(4) {
        height: 35px;
        margin: 10px auto 15px;
        letter-spacing: -1px;
    }

.custom-button {
    color: white;
    font-size: 10px;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.service ul li p:nth-child(5) {
    height: 136px;
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: left;
}

.about_soyokaze img.tree {
    width: 125px;
    position: absolute;
    left: 50%;
    top: -26px;
    transform: translatex(-50%);
}
.about_soyokaze p:nth-child(5) {
    position: absolute;
    left: 50%;
    top: 160px;
    transform: translatex(-50%);
    line-height: 1.5;
    width: 80%;
}

.about_soyokaze p:nth-child(5) br{
    display: none;
}
.about_soyokaze {
    margin-top: 50px;
    background-image: url(../img/about_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    position: relative;
    text-align: center;
}
.about_soyokaze img.left_photo {
    position: absolute;
    width: 92px;
    left: 0;
    bottom: -75px;
}
.about_soyokaze img.right_photo {
    position: absolute;
    width: 70px;
    right: 0;
    bottom: -35px;
}
.about_btn {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    width: 220px;
    justify-content: center;
    margin: 10px;
    background-color: white;
    border: 1px solid #CFDE67;
}

.company h2 img {
    width: 220px;
}

.company table {
    margin: 50px auto 100px;
    font-size: 12px;
}

.company table td.dotted {
    border-right: 2px dotted #E1FFD0;
    text-align: justify;
    width: 30%;
}

.link_l {
    width: 100%;
    margin-top: 80px;
    margin-left: 5%;
}


.link_l h3 img {
    width: 35%;
    margin-bottom: 50px;
    margin-top: 70px;
}

footer ul {
    list-style-type: none;
    width: 90%;
    margin: auto;
}

.link_r {
    width: 90%;
    display: flex;
    align-items: flex-end;
}

.link_r ul li {
    width: 100%;
    margin: 10px 0;
}

.link_r ul {
    display: flex;
    align-items: baseline;
    margin-bottom: 50px;
    justify-content: center;
    flex-direction: column;
}

footer {
    background-image: url(../img/foot_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.link_r ul li img.link_image {
    width: 75%;
}
section.sub_page_top,
section.sub_page_top2,
section.sub_page_top3,
section.sub_page_top4,
section.sub_page_top5,
section.sub_page_top6 {
    margin-top: 50px;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 20vh;
    position: relative;
}

.sub_page_top img,
.sub_page_top2 img,
.sub_page_top3 img,
.sub_page_top4 img,
.sub_page_top5 img,
.sub_page_top6 img {
    width: 220px;
    height: auto;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
}

.sub_page_top h3,
.sub_page_top2 h3,
.sub_page_top3 h3,
.sub_page_top4 h3,
.sub_page_top5 h3,
.sub_page_top6 h3 {
    color: white;
    position: absolute;
    bottom: 10px;
    right: auto;
    left: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.abp_left,
.abp_left2,
.abp_left3,
.abp_left4,
.abp_left5,
.abp_left6
 {
    width: 100%;
    position: relative;
    margin-top: 90px;
}

.abp_left h3::before,
.abp_left2 h3::before,
.abp_left3 h3::before,
.abp_left4 h3::before,
.abp_left5 h3::before,
.abp_left6 h3::before {
    background-size: contain;
    width: 35px;
    height: 35px;
    display: inline-block;
    position: absolute;
    left: 45px;
    top: -40px;
}
img.about_sub_page_img {
    width: 50%;
    margin: 20px 0 0 auto;
}

.work h3 {
    text-align: center;
    padding-top: 50px;
    margin: 50px auto 20px;
    color: #C6E2C0;
    font-size: 13px;
}

.work h3,
.work2 h3,
.work3 h3,
.work4 h3,
.work5 h3,
.work6 h3
 {
    text-align: center;
    padding-top: 50px;
    margin: 50px auto 20px;
    font-size: 13px;
}


.work h3::before,
.work2 h3::before,
.work3 h3::before,
.work4 h3::before,
.work5 h3::before,
.work6 h3::before {
    width: 20px;
    height: 20px;
}

.work h3::after,
.work2 h3::after,
.work3 h3::after,
.work4 h3::after,
.work5 h3::after,
.work6 h3::after {
    width: 20px;
    height: 20px;
}

.work_container {
    width: 90%;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    font-size: 10px;
}

.work_container br{
    display: none;
}

.service-title {
    font-weight: bold;
    background-color: white;
    padding: 10px;
    margin-right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}
.service-description {
    padding: 10px;
    text-align: left;
    line-height: 1.5;
}
.service-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.work ul li,
.work2 ul li,
.work3 ul li,
.work4 ul li,
.work5 ul li,
.work6 ul li
 {
    width: 30%;
}
.work ul,
.work2 ul,
.work3 ul,
.work4 ul,
.work5 ul,
.work6 ul {
    display: flex;
    list-style-type: none;
    width: 100%;
    justify-content: space-around;
    margin: 20px auto 50px;
    padding-bottom: 50px;
    flex-wrap: wrap;
}

.sub_page_company h4,
.sub_page_company2 h4,
.sub_page_company3 h4,
.sub_page_company4 h4,
.sub_page_company5 h4,
.sub_page_company6 h4{
    text-align: center;
    margin: 10px auto;
    font-size: 13px;
    font-weight: normal;
}

.info-container {
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
}
.info-title,
.info-title2,
.info-title3,
.info-title4,
.info-title5,
.info-title6 {
    color: white;
    padding: 8px 12px;
    width: 55px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    font-size: 13px;
}
.sub_page_company,
.sub_page_company2,
.sub_page_company3,
.sub_page_company4,
.sub_page_company5,
.sub_page_company6 {
    background-color: #F8F8EE;
    padding-bottom: 20px;
    margin-bottom: 50px;
}
.service-description span {
    padding: 3px 10px;
    color: white;
    border-radius: 10px;
    display: block;
    width: 50px;
    text-align: center;
}
.work3 .service-description p {
    margin: 15px 0;
    font-size: 10px;}

    .instagram-button {
        display: flex
    ;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        font-size: 13px;
        color: #333;
        padding: 12px 20px;
        border: 2px solid #E69F50;
        border-radius: 30px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        margin: 50px auto 0;
    }

    .about_soyokaze a {
        position: absolute;
        left: 50%;
        bottom: 50px;
        transform: translatex(-50%);
    }

}

.insta-text {
    position: fixed;
    right: -50px; /* 最初は画面の外 */
    top: 200px;
    transform: translateY(-50%);
    writing-mode: vertical-rl; /* 縦書き */
    font-size: 13px;
    font-weight: bold;
    background-color: #C6E2C0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0; /* 最初は非表示 */
    height: 200px;
    z-index: 998;
}

.insta-text img{
    width: 10px;
    margin-bottom: 20px;
}

/* フェードインする要素 */
.fade-in {
    opacity: 0; /* 初期状態では見えない */
    transform: translateY(30px); /* 下から浮かび上がる */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 画面に入ったときに適用 */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
