/* --- SPのスタイル (〜767px) --- */
.head_pc{display:none;}
.head_sp div{
    width:40%;
}

.header div a > img{
    width:100%;
}

.main_visual_pc {display:none;}
.main_visual_sp {
    display:block;
    position:relative;
    line-height: 0;
    margin-bottom:10%;
}
.main_human {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 70%;
}
.main_text {
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 55%;
    margin: auto 0;
}
.news div{
    width: 95%;
    padding: 2.5vw 3.5vw;
    margin: 2.5%;
    height: 300px;
}

.customer_voice {
    background: #f5fbff;
    padding: 60px 0 40px;
    background-image: url("../new_img/sec3_bg_pc.jpg");
}
.customer_voice .section_inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}
.customer_voice h2 {
    text-align: center;
    font-size: 2.2em;
    color: #005aae;
    margin-bottom: 30px;
}
.voice_cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 18px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.voice_cards::-webkit-scrollbar {
    display: none;
}
.voice_card {
    min-width: 240px;
    background: #fff;
    border: 1px solid #bde5ff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    flex: 0 0 auto;
}
.voice_place {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 8px;
}
.voice_place span {
    color: #1c8dd8;
    font-size: 0.9rem;
    margin-left: 8px;
}
.voice_stars {
    color: #10cd02;
    margin: 8px 0;
}
.voice_text {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
}
.voice_nav {
    text-align: center;
    margin-top: 12px;
    font-size: 1.2rem;
}
.voice_nav span {
    color: #b8d7f5;
    margin: 0 4px;
}
.voice_nav .current {
    color: #005aae;
}
.voice_more {
    text-align: center;
    margin-top: 20px;
}
.voice_more a {
    display: inline-block;
    border: 2px solid #005aae;
    border-radius: 999px;
    padding: 10px 28px;
    color: #005aae;
    font-weight: bold;
    text-decoration: none;
}

.sales_point h2{
    color:#005aae;
    text-align: center;
    padding:5% 0 2%;
}

.business-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media screen and (min-width: 768px) {
    .business-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .business-image {
        flex: 1;
        max-width: 50%;
    }

    .company-text {
        flex: 1;
        max-width: 50%;
    }
}

.business-image img {
    width: 100%;
}

.company-text {
    width: 100%;
    max-width: 600px;
}

.company-text h3 {
    color: #005aae;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.company-description {
    background: #ffffff;
    border: 2px solid #005aae;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 90, 174, 0.1);
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.services-list h4 {
    color: #005aae;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.services-list li:before {
    content: '✓';
    color: #005aae;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.commitment-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 20px;
    font-weight: 500;
}

.voice_card {
    width: 85%;
    flex: none;
    min-width: auto;
}

.sponsor_space ul li{
    width:50%;
}

/* --- PCのスタイル (768px〜) --- */
@media screen and (min-width: 768px) {
    .head_sp{display:none;}
    .head_pc{
        display: flex;
        justify-content:center;
        align-items:center;        
    }
    .head_pc > div:nth-child(odd){
        width:20%;
    }
    .head_pc > div >img{
        width:90%;
        min-width: 120px;
        max-width: 200px;
    }
    .head_pc > div:nth-child(even){
        width:65%;
    }
    .head_pc > div > ul{
        display: flex;
        padding:0;
        justify-content: flex-end;
        list-style-image: url("../new_img/ico_nav_pc.png");
    }

    .head_pc > div > ul > li{
        width:17%;
        font-size:.8em;
    }
    .head_pc > div > ul > li > a{
        text-decoration:none;
        color:#000;
    }
    .main_visual_sp {display:none;}
    .main_visual_pc {
        display:block;
        position:relative;
        line-height: 0;
    }
    .main_human {
        position: absolute;
        bottom: 0;
        right: 5%;
        width: 30%;
    }
    .main_text {
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 30%;
        top: 0;
        margin: auto 0;
    }
    .voice_cards {
        width: 100%;
        margin: 0 auto;
    }
    .voice_card {
        flex: 0 0 calc((100% - 24px) / 3);
    }

    .news{
        display: flex;
    }

    .news div{
        width: 40%;
    }
    .news div:nth-child(odd){
        padding: 1.25%;
        margin: 0 1% 0 9%;
    }
    .news div:nth-child(even){
        padding: 1.25%;
        margin: 0 9% 0 1%;
    }

    .sales_point h2{
        padding:5% 0 2%;
    }

    .google_space{
        display: flex;
        justify-content:center;
        align-items:center;
    }
    .google_space > div:nth-child(odd){
        width:30%;
    }
    .google_space > div:nth-child(even){
        width:70%;
    }
    .google_space > div > img{
        width:100%;
    }

    .contact div{
        padding: 2.5%;
        background: #fff;
        border-radius: 10px;
        width: 75%;
        margin: 0 auto;
    }
    .sponsor_space ul li{
        width:25%;
    }
}

/* --- 共通のスタイル --- */
.main_visual_pc > img.main_bk{
    width:100%;
}

.main_visual_sp > img.main_bk{
    width:95%;
}

.news{
    padding:5% .5%;
    background: url('../new_img/sec1_bg_pc.jpg');
    background-size:100%;
}

.news div{
    box-sizing: border-box;
    background: white;
    border-top: 2px solid rgb(85, 95, 182);
    margin-top: 30px;
}

.news ul{
    list-style:none;
    margin:0;
    padding:0;
}

.news ul li{
    padding:2.5% 0;
}

.news ul dt{
    color:rgb(55, 132, 219);
}

.news ul dd{
    margin:0;
    text-decoration: underline;
}

footer {
    background: #005aae;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-weight: 300;
}

.sales_point{
    margin: 3% 0 10%;
}

.contact{
    padding:2.5%;
    background: linear-gradient(
        to bottom,
        #031D74,
        #4071A2
    );
}

.contact h2{
    text-align: center;
    color:#fff;
}

.contact div{
    padding:2.5%;
    background:#fff;
    border-radius: 10px;
}

.contact ul{
    list-style:none;
    margin:0;
    padding:0;    
}

.contact ul li{
    margin:5% 0;
}

.contact dt{
    margin-top:5%;
}

.contact dd{
    margin-top:5%;
    margin-left:0;
}

.contact input[type="text"]{
    width: 100%;
    padding: 1.5%;
    box-sizing: border-box;
    border-radius: 5px;
    border-color: #ddd;
}

.mast_label{
    background: red;
    color: white;
    font-weight: bold;
    padding: 0 2px; 
    font-size:0.8em;
}

.send_button{
    background: linear-gradient( to bottom, #031D74, #4071A2 );
    text-align: center;
    padding: 2.5%;
    display: block;
    width: 50%;
    margin: 5.5% auto 1.5%;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
}

.sponsor_space{
    margin-top:5%;
}

.sponsor_space ul{
    list-style:none;
    margin:0;
    padding:0;
    display: flex;
}

.sponsor_space ul li img{
    width:100%;
}

/*ハンバーガーメニュー*/
.header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 5px 5% 5%;
    box-sizing: border-box;
}
.header ul {
    overflow: hidden;
    transition: .3s;
    list-style: none;
    background: #fff;
    margin: 0 5%;
    border-radius: 15px;
    list-style-image: url("../new_img/ico_nav_pc.png");
}

.header ul li{
    margin:5% 0;
}

.header li a{
    padding: 8px;
    font-size: 16px;
    color: #464646;
    display: block;
    text-align: left;
    text-decoration: none;
}
.header .hamburger {
    position: fixed;
    top: 1%;
    right: 5%;
    cursor: pointer;
    width: 32px;
    height: 30px;
    z-index: 10000;
}
.header .hamburger span {
    /*3本の線を作る*/
    transition: all .3s;
    position: absolute;
    height: 2px;
    background-color: #333;
    width:100%;
    z-index: 10;
}
.header .hamburger span:nth-of-type(1) {
    /*上の線の位置*/
    top: 4px;
}
.header .hamburger span:nth-of-type(2) {
    /*真ん中の線の位置*/
    top: 12px;
}
.header .hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    top: 20px;
}
.header .hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 10px;
    transform: translateY(6px) rotate(-33deg);
}
.header .hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
}
.header .hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 22px;
    transform: translateY(-6px) rotate(33deg);
}

/* --- スマホ表示時の会社紹介文デザイン --- */
@media screen and (max-width: 767px) {
    .company-description {
        padding: 20px 15px;
    }

    .company-text h3 {
        font-size: 1.3rem;
    }

    .intro-text, .commitment-text {
        font-size: 0.95rem;
    }

    .services-list h4 {
        font-size: 1rem;
    }
}