@font-face {
    font-family: 'Zen Maru Gothic';
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ZenMaruGothic-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Zen Maru Gothic';
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ZenMaruGothic-Bold.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
}

/* 共通仕様 */

body, p, h1, h2, h3, a, span {
    letter-spacing: 0.1em;
}

body{
    font-weight: 500;
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

}

:root {
    --m-color: #fd9ac3;
    --s-color:#feeaf5;
    --t-color:#666;
    --b-color:#f9f9f9;
    --y-color:#feeaba;
    --shadow-soft: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
    --shadow-strong: 1rem 1rem 0.4rem rgba(0, 0, 0, 0.3);
}

section,
article{
    padding: calc(70 / 1400 * 100%) 0px; 
    width: 100%;
}

.footer_c br{
    display: none;
}

.section_wrapper {
    max-width: 1140px;
    margin: 0 auto;
    height: auto;
    box-sizing: border-box;
}

h1{
    color: #fff;
    text-shadow: 0.2rem 0.2rem 0.3rem rgba(0, 0, 0, 0.8);
    font-size: 3rem;
}

h2{
    font-size: 2rem;
    color: var(--t-color);
    text-align: center;
    position: relative;
    display: block;
    padding-bottom: 0.4em;
    margin-bottom: 3rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.3rem;
    background: linear-gradient(to right, var(--m-color), #ffe7a6);
    border-radius: 2px;
}

.section_content,
.section_content_last_text{
    margin-bottom: 3rem;
}

.section_content p,
.section_content_last_text{
    text-align: center;
    color: var(--t-color);
    font-size: 1.2rem;
    line-height: 2em;
}



.all_contact{
    background-color: var(--b-color);
}

.all_contact_line{
    display: none;
}

.all_contact_box{
    display: flex;
    width: 100%;
    box-shadow: var(--shadow-soft);
    padding: 2rem 0;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #fff;

}

.all_contact_tel{
    border-right: solid 1px #b0b0b0;
}

.all_contact_tel,
.all_contact_mail,
.all_contact_line{
    width: 50%;
    box-sizing: border-box;
    text-align: center;
    color: var(--t-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

.all_contact_tel_img_wrapper,
.all_contact_mail_img_wrapper,
.all_contact_line_img_wrapper{
    width: 70px;
    height: 70px;
    border-radius: 100px;
    margin: 0 auto;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.all_contact_number{
    font-size: 1.8rem;
}

.all_contact_tel_img_wrapper img,
.all_contact_mail_img_wrapper img,
.all_contact_line_img_wrapper img{
    width: 60%;
    height: auto;
}

.all_contact_tel_img_wrapper{
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
}

.all_contact_line_img_wrapper{
    background: linear-gradient(to right, #22c234, #a6d247);
}

.all_contact_mail_img_wrapper{
    background: linear-gradient(to right, #0d5873, #3c6fa4);
        margin-bottom: 2rem;
}

.bold{
    font-weight: 700;
}


/* 各ボタン */
.move_btn,
.back_btn{
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    color: #fff;
    max-width: 600px;
}

.kv_button a{
    position: relative;
    display: inline-block; /* ← これが重要！ transformが効くようになる */
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border-radius: 100px;
    box-shadow: var(--shadow-soft);;
}

.move_btn,
.back_btn{
    position: relative;
    display: inline-block; /* ← これが重要！ transformが効くようになる */
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border-radius: 100px;
    box-shadow: var(--shadow-soft);;
    border: 2px solid transparent; /* ← これで通常は透明 */
    transition: border-color 0.3s ease;
}

.move_btn::after,
.p_404_btn::after{
    content: "→";
    display: inline-block; 
    margin-left: 0.1em;
    transition: transform 0.3s ease;
    
}


.kv_button a::after{
    content: "→";
    display: inline-block; 
    margin-left: 0.1em;
    transition: transform 0.3s ease;
    position: absolute;
    right: 15px;
    color: #fff;
}

.kv_button a:hover::after,
.move_btn:hover::after,
.p_404_btn:hover::after{
    transform: translateX(8px);   /* hoverで右にスッと動く */
}

.kv_button .kv_link1:hover::after{
    color: var(--m-color);
}

.kv_button .kv_link2:hover::after,
.move_btn.staff_btn:hover::after{
    color: #0d5873;
}

.kv_button .kv_link2:hover,
.move_btn.staff_btn:hover{
    color: #0d5873;
    border: 2px solid #0d5873;
    background: #fff !important;
}

.kv_button .kv_link1:hover,
.move_btn:hover,
.p_404_btn:hover,
.back_btn:hover{
    color: var(--m-color);
    border: 2px solid var(--m-color);
    background: #fff !important;
}


.back_btn::before{
    content: "←";
    display: inline-block;        /* ← 疑似要素にもtransformを効かせる */
    margin-left: 0.1em;
    transition: transform 0.3s ease;
}

.back_btn:hover::before{
    transform: translateX(-8px);   
}


.move_btn_wrapper{
    text-align: center;
}

.h3_wrapper h3{
    color: #fff;
    font-size: 1.5rem;
}

.h3_wrapper{
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    padding: 0.8rem 2.2rem;
    border-radius: 10px;
    position: relative;
}

.h3_wrapper h3::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem; /* 線の太さ */
    height: 1.3em; /* 線の高さ（文字と同じぐらい） */
    background-color: var(--s-color);
    border-radius: 5px; 
}

/* SPボタン、ハンバーガー、デフォルトは非表示 */
.fixed_button,
.hamburger,
.sp_menu,
.sp_header_tel,
.sp_insta_link_header{
    display: none; 
}

.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}


/* 各ページ共通 */
.breadcrumb{
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: calc(70 / 1400 * 100%);
    font-size: 0.9rem;
    color: var(--t-color) ;
}

.breadcrumb a:not(:first-child),
.breadcrumb span:not(:first-child) {
    margin-left: 0.5em;  /* ＞の右側（＝次要素の左） */
    color: var(--t-color) ;
}

.breadcrumb a{
    margin-right: 0.5em; /* ＞の左側（＝直前要素の右） */
    display: inline-block;
    color: var(--t-color) ;
    text-decoration: none;
}

.p_title{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/PC/p_title_bg.webp);
    width: 95%;
    aspect-ratio: 14 / 3;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
    max-height: 300px;
    margin: 30px auto;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}


.line_icon_sp{
    display: none;
}


.line_icon{
    position: fixed;
    right: 0;
    bottom: 15%;
    width: 60px;
    padding: 10px 0;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    writing-mode: vertical-rl; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: #22c234;
}

.line_icon p{
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}

.line_icon img{
    width: 60%;
    height: auto;
}

.line_icon_sp,
.fixed_button {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* 見えてない時に操作できないように */

}

.line_icon_sp.show,
.fixed_button.show {
    opacity: 1;
    pointer-events: auto;
    padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}



/* 以下、ヘッダー */

.sp_hamburger_line{
    display: none;
}

header{
    width: 100%;
    height: 100px;
    padding: 0 1.2rem;
    padding-right: unset;
    box-sizing: border-box;
    display: flex;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff; /* 背景透過を防ぐ */
    z-index: 979; /* 前面に表示 */
    align-items: center; 
    transition: box-shadow 0.5s ease;
}

header.scrolled {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); 
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body{
    padding-top: 7rem;
}

header a {
    position: relative;
    text-decoration: none; /* 既存の下線は消す */
    color: inherit;
    font-weight: 700;
}

.header_logo{
    width: 15rem;
    aspect-ratio: 7 / 2;
    margin-right: 1.2rem;
    display: flex;
}

.header_logo img{
    width: 100%;
    height: auto;
}

/* 案１ 下から*/

.logo_heart {
    opacity: 0;
    transform: translateY(15px) translateZ(0); /* ← GPUレイヤー化でカクつき防止 */
    will-change: opacity, transform;           /* ← 事前に描画準備しておく */
}

/* アクティブ時にアニメーションを開始する */
.logo_heart.active {
    animation: fadeUp 2s ease-out forwards;
}

/* フェードアップの定義 */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
    }



/* 擬似要素で下線を自作 */
.pc_menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 100px; 
    background: currentColor; /* 文字色を利用 */
    transform: scaleX(0); /* ← 非表示状態 */
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* hover時に下線を表示 */
.pc_menu a:hover::after {
    transform: scaleX(1); /* ← 伸びる */
    transform-origin: left;
}

.header_contact::after {
    content: '';
    position: absolute;
    left: 50%;                /* ← 中央起点 */
    bottom: 1.1rem;
    width: 82%;
    height: 2px;
    border-radius: 100px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0); /* ← 中央揃え＋非表示 */
    transform-origin: center;              /* ← 中央を基準に伸縮 */
    transition: transform 0.3s ease;
}

/* hover時に下線を表示 */
.header_contact:hover::after {
transform: translateX(-50%) scaleX(1); /
}


.pc_menu{
    width: 33.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.pc_menu a{
    height: 30%;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #666;
}

.pc_menu a.current{
    color: var(--m-color);
}

.header_contact_menu{
    margin-left: auto;
    display: flex;
    text-align: center;
    align-items: center;
}

.header_contact{
    display: flex;
    flex-direction: column; 
    align-items: center;
    height: 100px;
    background: linear-gradient(to bottom, var(--m-color), #fd9f9f);
    padding: 0 0.6rem;
    justify-content: center;
    color: #fff;
}

.header_contact a{
    color: white;
}

.header_contact_img{
    width: 3rem;
    height: 3rem;
}

.header_contact img{
    width: 100%;
    height: auto;
}

.header_tel{
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, var(--m-color), #fd9f9f);
    width: 3rem;
    height: 3rem;
    border-radius: 50px;
    margin-right: 0.6rem;
    justify-content: center;
}

.header_tel img{
    width: 2rem;
    height: auto;
}

.tel_guide{
    margin-right: 0.6rem;
}

.tel_number{
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--t-color);
    line-height: 1.1em;
}

.tel_number_bottom{
    font-size: 0.8rem;
    color: var(--t-color);
}



/* kvセクション */
.kv {
    position: relative;
    aspect-ratio: 3 / 2;
    width: 100%;
    display: flex;
    z-index: 0;
    max-height: 1000px;
    box-sizing: border-box;
    padding: unset;
}



.kv_box{
    background-image:url(../img/PC/kv.webp);
    background-position: center;
    background-size: cover;
    width: 88%;
    aspect-ratio: 1550 / 800;
    box-sizing: border-box;
    position: relative;
    max-width: 2000px;
    margin-left: auto;
    border-radius: 40px 0 0 40px;
}



.kv_text_1{
    margin-bottom: 10px;
}


.kv_text{
    margin-bottom: 2rem;
    display: block;
    position: absolute;
    left: -7%;
    top: 30%;
}

.kv_text_1,
.kv_text_2{
    color: var(--t-color);
    font-size: clamp(20px, 3vw, 40px) ;
    letter-spacing: 0.2em;
    background-color: #fff;
    display: block;
    width: fit-content; 
    padding: 7px 3px;
}

.kv_button{
    position: absolute;
    left: -7%;
    bottom: 20%;
}

.kv_button a{
    padding: 15px 0;
    font-size: 16px;
    width: 260px;
    text-align: center;
    position: relative;
    border: 2px solid #fff;
    display: block;
    box-sizing: border-box;
}

.kv_link1{
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    color: #fff;
    font-size: clamp(13px, 1.14vw, 16px) ;
    margin-bottom: 10px;
}

.kv_link2{
    background: linear-gradient(to right, #0d5873, #3c6fa4);
    color: #fff;
    font-size: clamp(13px, 1.14vw, 16px) ;
}

.kv_text p.show {
    opacity: 1;
    transform: translateY(0);
}

.pink_font{
    color: var(--m-color);
}


/* 概要セクション */

.overview{
    background: url("../img/PC/bg1.png") center/cover no-repeat;
}

.overview_box > p{
    margin-bottom: unset;
}



/* 対象となる方セクション */
.subject{
    background: linear-gradient(to right, rgba(253, 154, 195, 0.3), rgba(254, 234, 186, 0.3));
}


.subject_box > p{
    margin-bottom: 4rem;
}

.subject_list{
    border: 2px solid var(--m-color);
    background-color: #fff;
    border-radius: 0 20px 20px 20px;
    position: relative;
    padding: 0.7rem 1rem;;
    box-sizing: border-box;
}

.subject_list p{
    text-align: left;
}


.subject_list_title{
    position: absolute;
    background-color: var(--m-color);
    color: #fff !important;
    border-radius: 20px 20px 0 0;
    padding: 0.6rem 2rem;
    top: -3rem;
    left: -0.12rem;
}

.subject_text_box{
    margin-bottom: 4rem;
}


/* 弊社の強みセクション */


.strengths_content_wrapper{
    margin-bottom: 3rem;
}

.strengths_content{
    display: flex;
    padding: 1.5rem;
    justify-content: space-between;
    min-height: 180px;
}

.strengths_img {
    position: relative;
    display: inline-block;
    width: 40%;
    text-align: center;
}

.strengths_img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid #fd9f9f;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0.5rem 0.5rem 0 #fd9f9f;

}

.strengths_content_wrapper:nth-of-type(2) .strengths_content,
.strengths_content_wrapper:nth-of-type(4) .strengths_content{
    flex-direction: row-reverse;
}

.strengths_content_wrapper:nth-of-type(2) .strengths_text,
.strengths_content_wrapper:nth-of-type(4) .strengths_text{
    width: 58%;
}

.strengths_text{
    width: 55%;
}

.strengths_text p{
    text-align: left;
}




/* ご訪問エリアセクション */
.area{
    background: url("../img/PC/area_bg.webp") center/cover no-repeat;
}


.area_content{
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(to right, rgba(253, 154, 195, 0.5), /* 左のピンク */ rgba(255, 231, 166, 0.6) /* 右の黄色 */);
    padding: 1rem ;
    box-sizing: border-box;

}

.area_content p{
    color: var(--t-color);
    font-size: 1.2rem;
    text-align: left;
}

.area_content_text{
    width: 35%;
    justify-content: center;
    display: flex;
    flex-direction: column;

}

.area_name{
    background-color: var(--s-color);
    border-radius: 0 0 20px 20px;
    padding: 10px 0;
}

.area_name p {
    line-height: 2.3em;
}

.area_content_container{
    border-radius: 20px;
    padding: 1rem;
    width: 100%;
    background-color: #fff;
    display: flex;
    box-sizing: border-box;
    justify-content: center;
}

.area_content_img {
    width: 60%;
}

.area_content_img img{
    width: 100%;
    height: auto;
    display: block;
}

.area_content_text .area_main_text{
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 20px 20px 0 0;
    background-color: var(--m-color) !important;
}


.area_main_text p{
    color: #fff !important;
    text-align: center;
}

.area_content_text p{
    text-align: center;
}

.area_name .area_note{
    font-size: 0.8rem;
}

.sp_dot{
    display: none;
}


/* スタッフ紹介セクション */

.staff{
    background-image: url(../img/PC/404_bg.webp);
    background-position: top;
    background-size: cover;
}






/* お知らせセクション */
.news{
    background-image: url(../img/PC/staff.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news_box{
    background-color: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 2rem 3rem;
    box-shadow: var(--shadow-soft);
    
}

.news_box li{
    list-style: none;   /* ← これで点を消す */
    padding: 0;         /* ← 左の余白もリセット */
    margin: 0;
    padding: 1.5rem 2rem;
    border-top: 2px var(--s-color) dashed;
}

.news_box li:last-child{
    border-bottom: 2px var(--s-color) dashed;
}

.news_box li a{
    text-decoration: none;
}

.news_box li a span{
    text-decoration: none;
    color:  var(--t-color);

}

.news_category_wrap{
    margin-right: unset !important;
}

.news_meta{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.news_title{
    line-height: 2rem;
    margin-right: unset !important;
}

.news_date{
    margin-right: 1rem;
    font-size: 1.1rem;
}

.news_category{
    padding: 0.2rem 1rem;
    color: #fff !important;
    background-color: var(--m-color);
    border-radius: 100px;
    font-size: 0.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}





.staff_all_photo{
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--m-color);
}

.staff_all_photo img{
    width: 100%;
    height: auto;
    display: block;
    
}





/* フッターデザイン */
footer{

    padding: 2.5rem 0;
}

footer a,
footer p{
    color: var(--t-color) !important;
}

.footer_content{
    margin-bottom: 2rem;
}

.footer_top{
    display: flex;
    max-width: 38rem;
    margin: 0 auto 2rem auto;
    justify-content: space-between;

}

.footer_text{
    display: flex;
    flex-direction: column; /* 縦並びにする */
    justify-content: center; /* ← 縦方向中央 */
}

.footer_logo{
    display: block;
    width: 18.75rem;
}

.footer_logo img{
    width: 100%;
    height: auto;
    display: block;
}

.insta_link{
    width: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.insta_link img{
    width: 100%;
    height: auto;
}

.footer_link{
    margin: 0 auto;
    display: block;
    text-align: center;
}

.footer_link a{
    text-decoration: none;
    position: relative;
    margin-right: 20px;
}

.footer_link 

.footer_link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 100px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer_link a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


.footer_c{
    text-align: center;
}

.footer_logo_insta{
    display: flex;
    gap: 10px;
}

.footer_address br{
    display: none;
}


.footer_link a:last-child {
    margin: unset;
}


/* 各ページ */

/* サービスページ */

.p_service_nav_item{
    text-decoration: none;
}

.p_service_nav{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    padding-left: calc(70 / 1400 * 100%);
    padding-right: calc(70 / 1400 * 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.p_service_nav_block{
    display: flex;
    width: 50%;
    justify-content: space-between
}

.p_service_nav_item{
    width: 50%;
    text-align: center;
    border-right: 1px  dashed var(--t-color);
    margin: 10px 0;
    transition: all 0.4s ease;
    color: var(--t-color);
    background-color: #fff;
    box-sizing: border-box;
    padding: 0 1rem;
}

.p_service_nav_icon {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.p_service_nav_item:hover .p_service_nav_icon {
  transform: translateY(3px); /* 下に3px動く */
}

.p_service_nav_item:hover p{
    color: #fff;
}


.p_service_nav_item:hover{
    background-color: var(--t-color);
    color: #fff;
}

.p_service_nav4{
    border-right: unset;
}

.p_service_nav_title{
    font-size: 1.2rem;
    font-weight: 700;
}

.p_service_nav.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 10;
    border-top: 2px solid var(--t-color);
}

.p_service_content p{
    color: var(--t-color);
}

.p_service_summary{
    background-color: var(--b-color);
}

.p_service_content{
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.p_service_content .section_content_last_text{
    text-align: left;
}

.p_service1_strengths .section_content_last_text{
    margin-bottom: 4rem;
}

.page-slug-service .h3_wrapper{
    border-radius: 10px 10px 0 0;
}

.service1_top,
.subject_top{
    display: flex;
    margin-bottom: 3rem;
    align-items: center;
    justify-content: space-between;
}

.subject_top{
    margin-bottom: 5rem;
}

.service1_top p,
.subject_top p{
    width: 63%;
    margin-bottom: unset;
}

.subject_top p{
    width: 55%;
}

.service1_top_img,
.subject_top_img{
    width: 35%;
    box-sizing: border-box;
}

.subject_top_img{
    width: 43%;
    margin-bottom: auto;
}

.service1_top_img img,
.subject_top_img img{ 
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
        box-shadow: 0.5rem 0.5rem 0 #fd9f9f;
}

.subject_top_img img{ 
    width: 98%;
}

.service_grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列 */
    gap: 40px 20px;

}

.service_grid_item{
    border: 1px solid var(--m-color);
    border-radius: 20px;
    box-sizing: border-box;
    padding: 1.3rem;
}

.service_grid_top{
    display: flex;
    border-bottom: 1px dashed var(--m-color);
    padding: 0 0 1rem 0;
    align-items: center;
}

.service_grid_img{
    width: 15%;
    margin-right: 10px;
}

.service_grid_img img{
    width: 100%;
    height: auto;
    display: block;
}


.service_grid_bottom{
    padding: 1rem 0;
}

.strengths_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列 */
    gap: 80px 30px;
}

.strength_grid_img{
    position: relative;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    
}


.strength_grid_img img{
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #fd9f9f;
    border-radius: 15px;
    
    box-sizing: border-box;

}

.strength_grid_title{
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    background-color: #fd9f9f;
    padding: 10px;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    white-space: nowrap;  
    width: 70%;
}

.strength_grid_title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -7px; /* ↓ タイトルからの距離（調整可） */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;  /* 三角の左右 */
    border-right: 8px solid transparent;
    border-top: 8px solid #fd9f9f;        /* 三角の色（上辺） */
}

.strength_grid_text,
.service_grid_bottom p{
    line-height: 1.8em;
}

.p_service1_subject .subject_list_title{
    font-size: 1.17rem;
}

.p_service_subject_text{
    font-size: 1.1rem;
    line-height: 2em;
}

.p_service_area_box{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCでは3列 */
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.service_time_box1,
.service_time_box2{
    border-radius: 8px;
    overflow: hidden;
        background-color: var(--b-color);
}

.service_time_title{
    background-color: var(--t-color);
    padding: 0.5rem 0;

}

.service_time_title h4{
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.service_time_text{
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1.8em;
}

.area_main_text p{
    line-height: 2em;
}

.service_light_font{
    font-weight: 700;
    font-size: 0.9rem;
}

.p_service_plan{
    background-image: url(../img/PC/overview_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}





.p_service_flow{
    background-image: url(../img/PC/contact_tel_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.p_service_flow .p_service_content{
    border-radius: 10px;
}


.p_service_qa{
    background-image: url(../img/PC/service_qa.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.qa_section_content{
    background-color: #fff;
    width: 100%;
    padding: 4% 5%;
    box-sizing: border-box;
    border-radius: 20px;
}

.qa_box{
    width: 100%;
}

.qa_box div{
    text-align: left;
}

.q_box,
.a_box{
    display: flex;
    position: relative;
}

.q_box{
    margin-bottom: 1.5rem;
}

.qa_box{
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--t-color);
    margin-bottom: 2.5rem;
}

.qa_box:last-of-type{
    border-bottom: unset;
    margin-bottom: unset;
    padding-bottom: unset;
}

.qa_q1,
.qa_a1{
    position: absolute;
    align-items: center;
    justify-content: center;
    display: flex;
    letter-spacing: 0;
    top: 0;
    left: 0;
}

.qa_q2,
.qa_a2{
    padding-left: 50px;
    min-height: 40px;
    display: flex;
    align-items: center;
    color: var(--t-color);
}

.qa_q1 p{
    background-color: var(--m-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    aspect-ratio: 1 / 1;
    font-size: 1.2rem;
    border-radius: 50%;
    letter-spacing: 0;
}

.qa_a1 p{
    background-color: #fee09c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    aspect-ratio: 1 / 1;
    font-size: 1.2rem;
    border-radius: 50%;
    letter-spacing: 0;
}

/* お知らせ一覧、詳細ページ */
.news_archive,
.news_article{
        background-image: url(../img/PC/overview_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news_list > li:last-of-type {
    border-bottom: 2px dashed var(--s-color);
}

.nav-links{
    text-align: center;
    margin: 1rem 0;
}

.nav-links span{
    border: 1px solid var(--t-color);
    color: var(--t-color);
    border-radius: 100px;
    display: inline-flex; /* ← これに変更 */
    justify-content: center; /* 横中央 */
    align-items: center; /* 縦中央 */
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
}

.nav-links a{
    color: #fff;
    text-decoration: none;
    background-color: var(--m-color);
    border-radius: 100px;
    display: inline-flex; /* ← これに変更 */
    justify-content: center; /* 横中央 */
    align-items: center; /* 縦中央 */
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
}

.page-numbers{
    padding-left: 0.1rem;
    padding-bottom: 0.1rem;
}

.news_content_container{
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}

.news_content{
    margin-bottom: 1rem;
}

.single_news_box{
    margin-bottom: 2.5rem;
}

.news_date,
.news_content{
    color: var(--t-color);
}

.screen-reader-text{
    display: none;
}

.news_content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.news_content iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 1em auto;
}


/* スタッフ紹介ページ */
.p_staff{
    background-image: url(../img/PC/bg1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.p_staff_content{
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start; 
    width: 100%;
    border-radius: 40px;
    padding: 2rem;
    background-color: #fff;
    margin-bottom: 40px;
    box-shadow: var(--t-color) 5px 5px 0px;
    box-sizing: border-box;
    border: 2px solid var(--t-color);
}

.p_staff_text_wrapper ,
.p_staff_text_wrapper h3{
    color: var(--t-color);
}

.p_staff_text_wrapper h3{
    font-size: 2rem;
    margin-bottom: 1rem;
}

.p_staff_img_wrapper{
    border-radius: 20px;
    overflow: hidden;
    width: 270px;
    height: 270px;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.p_staff_img_wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover; 

}

.p_staff_text_wrapper{
    display: flex;
    flex-direction: column; /* 縦並び */
    max-width: 750px; 
}

.p_staff_job{
    display: flex;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.p_staff_job p{
    padding: 0.3rem 1rem;
    background-color: var(--m-color);
    color: #fff;
    border-radius: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.name_kana{
    font-size: 0.9rem;
}

.p_staff_item{
    margin-bottom: 1rem;
}


/* 法人概要ページ */
.p_company_greeting{
    background-color: var(--b-color);
}

.greeting_box{
    background-color: #fff;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 15px;
}

.greeting_top{
    display: flex;
    margin-bottom: 4rem;
}

.greeting_img{
    width: 44%;
    box-sizing: border-box;
}

.greeting_img img{
    display: block;
    width: 90%;
    height: auto;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--m-color) 9px 9px 0px;
}

.greeting_lead{
    width: 56%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.greeting_lead p{
    line-height: 2em;
    letter-spacing: 0.15em;
    font-size: clamp(20px, 2.5vw, 33px);
    text-align: center;
    font-weight: 700;
    background: linear-gradient(to right, #fd9ac3, #FEEABA);
    -webkit-background-clip: text;
    color: transparent;
}

.greeting_bottom p{
    color: var(--t-color);
    font-size: 1.2rem;
    line-height: 1.8em;
    margin-bottom: 1.2em;
}

.greeting_bottom_img{
    padding-top: 30px;
    width: 280px;
    margin-left: auto;
}

.greeting_bottom_img img{
    width: 100%;
    height: auto;
}

.p_company_mvv{
    background-image: url(../img/PC/contact_tel_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--t-color);
}

.mvv_content{
    background-color: #fff;
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 3rem;
    position: relative;
}

.mvv_content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #F596CA, #FEEABA);
    border-radius: 10px 10px 0 0;
}

.mvv_content h3{
    font-size: 1.7rem;
    margin-bottom: 2rem;
    display: inline-block;
    border-left: 5px solid #f8b3ca;
    padding-left: 1rem;
}

.mvv_box h4{
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    border-bottom: 2px  solid rgba(247, 172, 207, 0.5);
}

.mvv_text{
    font-size: 1.1rem;
}

.mvv_mission_first{
    margin-bottom: 1.3rem;
}

.mvv_box:last-of-type{
    margin-bottom: unset;
}

.value_list dt {
    font-weight: bold;
    position: relative;
    padding-left: 0.8em;
    margin-bottom: 0.2em;
    font-size: 1.2rem;
}

.value_list dt::before {
    content: "•";
    position: absolute;
    color: var(--m-color);

    left: 0;
    top: 0;
}

.value_list dd {
    margin: 0 0 1.2em 1.2em; /* インデント */
}



.p_company_table table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    color: var(--t-color);
    border: 2px solid var(--s-color);
    font-size: 1.2rem;
}

.p_company_table th{
    padding: 30px 0;
    font-weight: 700;
    width: 30%;
    background-color: var(--s-color);
    border-bottom: 2px solid #fff;
}

.p_company_table tr:last-child th,
.p_company_table tr:last-child td{
    border-bottom: unset;
}

.p_company_table td{
    width: 70%;
    padding: 30px 25px;
    border-bottom: 2px solid var(--s-color);
}

.p_company_table td a{
    color: var(--m-color);
}

.p_company_access{
    background-image: url(../img/PC/area_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.access_box{
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;

}

.access_map{
    width: 100%;
    aspect-ratio: 2 / 1;
    padding: 1rem;
    box-sizing: border-box;
}
.access_text{
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.access_map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access_text{
    color: var(--t-color);
    font-size: 1.2rem;
}

.access_text p{
    text-align: center;
}

.access_text .access_route{
    border-bottom: unset;
}



/* 採用ページ */
.p_recruit_table{
    background-image: url(../img/PC/p_recruit.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.recruit_table{
    background-color: #fff;
    color: var(--t-color);
    font-size: 1.2rem;
    width: 100%;
    border: 1px solid var(--m-color);
    box-sizing: border-box;
}

.recruit_row{
    display: flex;
}

.recruit_label{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    width: 30%;
    background-color: var(--s-color);
    border-bottom: 1px solid var(--m-color);
        border-right:1px solid var(--m-color);
}

.recruit_content{
    width: 70%;
    padding: 30px 25px;
    border-bottom: 1px solid var(--m-color);
}

.recruit_row:last-child .recruit_label,
.recruit_row:last-child .recruit_content {
    border-bottom: none;
}

.recruit_table{
    margin-bottom: 5rem;
}

.p_recruit_table .h3_wrapper{
    margin-bottom: 2rem;
}

.p_recruit_movie{
    background-image: url(../img/PC/contact_tel_bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.interview_video_wrapper{
    margin-bottom: 2rem;
}

.video_inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* ← 16:9の比率（9 ÷ 16 = 0.5625） */
    height: 0;
    }

.video_inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.recruit_btn_box{
    width: 100%;
    display: flex;
    justify-content: center;
}

.recruit_btn_box a{
    text-align: center;
    width: 30%;
}

.recruit_btn_box a:first-child{
    margin-right: 40px;
}

.recruit_btn_box .move_btn.staff_btn{
    background: linear-gradient(to right, #0d5873, #3c6fa4);
}



/* お問い合わせページ */
.p_contact_tel{
    background-image: url(../img/PC/404_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



.p_contact_tel_box{
    background-image: url(../img/PC/contact_tel_bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 70%;
    border-radius: 40px;
    padding: 1rem;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    margin-bottom: 3rem;
}


.p_contact_tel_inner{
    background-color: #fff;
    border-radius: 30px;
    width: 100%;
    display: flex;
    padding: 1rem 0;
    box-sizing: border-box;
    justify-content: center;
}

.p_contact_tel_box_img{
    width: 10%;
    aspect-ratio: 1/ 1;
    border-radius: 100px;
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    align-self: center;
}

.p_contact_line{
    background-image: url(../img/PC/bg1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.p_contact_line_img{

    width: 60%;
    margin: 0 auto;
    display: block;
}

.p_contact_line_img img{
    width: 100%;
    height: auto;

}

.p_contact_tel_box_img img{
    width: 70%;
    height: auto;
}

.p_contact_tel_box_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--t-color);
    font-weight: 700;       
}

.p_contact_tel_text,
.p_contact_tel_time{
    font-size: 1.4rem;
}

.p_contact_tel_number{
    text-decoration: none;
    color: var(--m-color);
    font-size: 3rem;
}

.p_contact_form{
    background-image: url(../img/PC/contact_tel_bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.p_contact_form_box{
    background-color: #fff;
    border-radius: 20px;
    width: 80%;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.p_contact_form_box form{
    width: 100%;
}

.form_block {
    width: 100%;
    color: var(--t-color);
    margin-bottom: 2rem;
}


.wpcf7-list-item{
    display: block;
    margin-left: unset;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.wpcf7-list-item.last{
    margin-bottom: unset;
}

.form_radio{
    background-color: var(--s-color);
    padding: 0.5rem 0 0.5rem 1rem;
    border-radius: 10px;
}


.form_input input{
    padding: 15px;
    border-radius: 10px;
    border: unset;
}

.form_input input,
.form_input textarea{
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2rem;
    color: var(--t-color);
    background-color: var(--s-color);
}

.form_input textarea{
    padding: 10px;
    border-radius: 10px;
    border: unset;
}

.form_label{
    display: flex;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    align-items: center;
}

.contact_must{
    font-size: 0.9rem;
    background-color: var(--m-color);
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 10px;
    line-height: 1;
    position: relative;
        top: 2px;
}

.contact_or,
.contact_notice{
    color: var(--m-color);
    font-size: 1rem;
}

.contact_or{
    display: block;
}

.contact_notice{
    margin-bottom: 0.7rem;
}

.form_submit input{
    border: unset;
    width: 40%;
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    padding: 1rem 0;
    color: #fff;
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
    border-radius: 100px;
    display: block;
    cursor: pointer;
    font-size: 1.3rem;
}

.wpcf7-spinner {
    display: none !important;
}

.form_policy,
.form_check{
    color: var(--t-color);
    text-align: center;
        margin-bottom: 2rem;
}


.wpcf7 input[type="tel"]::placeholder {
  font-size: 0.9rem;  /* ← 好きなサイズに変更 */
}
.wpcf7 input[type="tel"]::-webkit-input-placeholder { font-size: 0.9rem; }
.wpcf7 input[type="tel"]::-moz-placeholder { font-size: 0.9rem; }
.wpcf7 input[type="tel"]:-ms-input-placeholder { font-size: 0.9rem; }
.wpcf7 input[type="tel"]::placeholder { font-size: 0.9rem; }

/* サンクスページ */
.p_thanks_top{
    display: block !important;
}

.p_thanks_top .p_thanks_img_wrapper{
    margin: 0 auto;
    width: 23%;
    min-width: 150px;
}

.p_thanks_bottom .p_thanks_bottom_notice{
    font-size: 0.9rem;
    color: var(--m-color);
    margin-top: 1rem;
}

.thanks_title br{
    display: none;
}


/* プライバシーポリシー */
.p_privacy_box{
    margin-bottom: 3.5rem;
    padding: 0 20px 3.5rem 20px;
    border-bottom: 1px solid var(--t-color);
}

.p_privacy_box h2{
    margin-bottom: 2.5rem;
    padding-bottom: 0.6em;
    font-size: 1.5rem;
}

.p_privacy_box ul{
    margin: 10px 0;
}

.p_privacy_box li{
    margin-left: 1.5em;
    color: var(--t-color);
}

.p_privacy_box p,
.p_privacy_date{
    font-size: 1.2rem;
    color: var(--t-color);
}




/* dxページ */
.dx_info{
    color: var(--t-color);
}

.dx_info p,
.dx_info strong{
    font-size: 1.2rem;
}



.dx_box_bottom ol{
    margin-left: 10px;
}

.dx_box_bottom li{
    margin-bottom: 2rem;
}

.dx_h1 br,
.dx_h2 br{
    display: none;
}



/* 404ページ */
.p_404{
    background-image: url(../img/PC/404_bg.webp);
}

.p_404 .section_wrapper{
    background-color: #fff;
    border-radius: 20px;
    width: 80%;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.p_404_top h1{
    color: var(--t-color);
    text-shadow: unset;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.p_404_top{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.p_404_img_wrapper{
    width: 20%;
    margin-right: 20px;
}

.p_404_img_wrapper img{
    width: 100%;
    height: auto;
}

.p_404_bottom{
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.p_404_bottom p{
    color: var(--t-color);
    font-size: 1.3rem;
}

.p_404_small{
    font-size: 1.7rem;
}

.p_404_btn{
    background: linear-gradient(to right, var(--m-color), #fd9f9f);
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
    line-height: 3rem;
    font-size: 1rem;
    width: 35%;
    min-width: 220px;
    display: inline-block;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    box-sizing: border-box;
}



/* レスポンシブ */
@media screen and (min-width: 1401px) {

    .kv_button{
        display: flex;
    }

    .kv_text_1,
    .kv_text_2{
        font-size: clamp(40px, 3.7vw, 50px);;
    }

    .kv_link1{
        margin-right: 20px;
        margin-bottom: unset;
    }
}

@media (max-width: 1240px) {
    html{
        font-size: 15px;
    }
    .section_wrapper {
        padding: 0 calc(20 / 375 *100%);
    }
    header,
    .header_contact{
        height: 90px;
    }


}

@media (max-width: 1160px) {
    html{
        font-size: 14px;
    }
    header,
    .header_contact{
        height: 85px;
    }

}

@media (max-width: 1090px) {
    /* ヘッダー */
    header{
        padding: 0 1.2rem;
    }

    .sp_insta_link_header{
        display: block;
        height: 70%;
        aspect-ratio: 1 / 1;
        max-height: 55px;
    }

    .sp_insta_link_header img{
        height: 100%;
        width: auto;
    }

        .hamburger{
        margin-left: 25px;
    }


    /* ハンバーガー */
    .pc_menu,
    .header_contact_menu{
        display: none;
    }

    .hamburger,
    .sp_menu.active,
    .sp_header_tel{
        display: block;
    }

    .sp_header_tel{
        margin-left: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-right: 1rem;
    }

    .sp_header_tel .tel_number_bottom{
        font-weight: 500;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        cursor: pointer;
        z-index: 1001;
        width: 2.8rem;
    }

    .hamburger span {
        width: 100%;
        background: var(--t-color);
        height: 0.15rem;
        border-radius: 2px;
        transition: 0.3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hamburger_label {
        color: var(--t-color);
        text-align: center;
        line-height: 1em;
        font-size: 1rem;
        font-weight: 700;
    }

    .sp_menu {
        display: none; /* 初期は非表示 */
        flex-direction: column;
        color: var(--t-color);
        gap: 1em;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        overflow-y: auto;
        background-image: url(../img/PC/overview_bg.webp);
        background-position: center;
        background-size: cover;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        font-size: 1.2rem;
        padding: 2rem 4rem;
        box-sizing: border-box;
    }
    
    .hamburger_logo{
        width: 60%;
        margin: 0 auto;
        margin-bottom: 2rem;
        max-width: 340px;
    }

    .sp_menu > a {
        border-top: 3px dashed var(--s-color);
        font-size: 1.6rem;
        line-height: 4.5rem;
        padding-left: 2rem;
    }

    .sp_menu > a:first-of-type {
        border-top: none;
        padding-left: unset;
    }

    .hamburger_logo img{
        width: 100%;
        height: auto;
        display: block;
    }

    .sp_menu a{
        display: block;
    }

    .hamburger_contact_menu{
        display: flex;
        justify-content: space-between;
    }

    .sp_hamburger_tel{
        width: 48%;
        background: linear-gradient(to right, var(--m-color), #fd9f9f);
        border-radius: 20px;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        color: #fff;
        margin-top: 1rem;
    }

    .sp_hamburger_contact{
        width: 48%;
        background: linear-gradient(to right, #0d5873, #3c6fa4);
        border-radius: 20px;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        color: #fff;
        margin-top: 1rem;
    }

    .sp_hamburger_line{
        background: linear-gradient(to right, #22c234, #a6d247);
        border-radius: 20px;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        color: #fff;
        margin-top: 1rem;
    }

    .hamburger_bottom_text_line{
        color: #22c234;
        line-height: 2em
    }

    .hamburger_img_wrapper{
        width: 15%;
        aspect-ratio: 1 / 1;
        border-radius: 100px;
        overflow: hidden;
        margin-right: 1rem;
        background-color: #fff;
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hamburger_img_wrapper img{
        width: 70%;
        height: auto;

    }

    .hamburger_top{
        display: block;
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .hamburger_top_text{
        display: flex;
        flex-direction: column; /* 縦並び */
        justify-content: center;
    }

    .hamburger_bottom_wrapper a{
        display: flex;
        justify-content: center;
        width: 90%;
        padding: 1rem 1.5rem;
        box-sizing: border-box;
        background-color: #fff;
        border-radius: 100px;
        align-items: center;
        margin: 0 auto;
        box-shadow: var(--shadow-soft);
    }

    .hamburger_bottom_img_wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 9%;
        aspect-ratio: 1 / 1;
        margin-right: 1rem;
    }

    .hamburger_bottom_img_wrapper img{
        width: 100%;
        height: auto;
    }

    .hamburger_bottom_text_tel{
        color: var(--m-color);
        line-height: 1.4em;
        text-align: center;
    }

    .hamburger_bottom_text_contact{
        color: #0d5873;
        line-height: 2em;
    }

    
    .strengths_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 30px;
    }

    .service_grid{
        grid-template-columns: repeat(2, 1fr); /* PCでは3列 */
        gap: 30px 30px;
    }
}

@media (max-width: 900px) {


    .h3_wrapper h3{
        font-size: 1.3rem;
    }

    .section_content p {
        font-size: 1.1rem;
    }


    .footer_link a {
        margin-right: 14px;
    }

    .p_thanks .section_wrapper{
        width: 90% !important;
        padding: 30px 15px !important;
    }

    .access_map{
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: 20px;
    }

    .p_staff_img_wrapper {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 860px) {
    .sp_menu{
        padding: 2rem 1.5rem;
    }
        .kv_button a {
        width: 220px;
        padding: 10px 0;
    }
    .area_content_container {
        padding: 1rem 0;
    }

    .kv_button {
        bottom: 15%;
    }
}


/* スマホ用レイアウト */
@media screen and (max-width: 768px) {
    /* 共通 */


    section,
    article{
        padding: 3rem 0;
    }

    h1{
        font-size: 2.5rem;
    }

    h2{
        font-size: 1.5rem;
        padding-bottom: 0.4em;
        margin-bottom: 3rem;
    }

    .line_icon{
        display: none;
    }

    .line_icon_sp{
        position: fixed;
        right: 20px;
        bottom: 100px;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        overflow: hidden;
        background: linear-gradient(to right, #22c234, #a6d247);
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        box-shadow: var(--shadow-soft);
        z-index: 9;
        border: 2px solid #fff;
    }

    .line_icon_sp img{
        width: 70%;
        height: auto;
    }
    

/* kv */
    .kv{
        aspect-ratio: 1 / 1;
    }
    

    .kv_button a{
        width: 220px;
    }

    .kv_text_1, .kv_text_2 {
        font-size: clamp(16px, 4vw, 28px);
    }

    .kv_text {
        margin-bottom: 50px;
    }



/* 各ページ共通 */
    .breadcrumb{
        padding: 0 20px;
        margin-bottom: 3rem;
        font-size: 1.1rem;
    }

    .p_title{
        aspect-ratio: 3 / 1;
        max-height: 200px;
        margin: 20px auto;
        border-radius: 20px;
    }

    .h3_wrapper {
        padding: 0.6rem 0 0.6rem 2rem;
        border-radius: 8px;
    }


    .all_contact_box {
        display: block;
    }

    .all_contact_line{
        padding: 1.5rem 0;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        width: 80%;
        border-bottom: 1px solid #b0b0b0;
    }

    .all_contact_tel{
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding-bottom: 1.5rem;
        border-right: unset;
        border-bottom: 1px solid #b0b0b0;
        width: 80%;
    }

    .all_contact_mail{
        padding-top: 1.5rem;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        width: 80%;
    }


/* 各ボタン */
    .move_btn,
    .back_btn{
        width: 330px;
        box-sizing: border-box;
    }

    .fixed_button{
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 950;
        height: 80px;

    }
    
    .sp_fixed_box{
        width: 100%;
        height: 100%;
    }

    .sp_fixed_tel{
        width: 50%;
        background: linear-gradient(to right, var(--m-color), #fd9f9f);
        color: var(--m-color);
        text-decoration: none;
        padding: 9px 0 5px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.3);
        border-radius: 15px 15px 0 0;
    }

    .sp_fixed_contact{
        width: 50%;
        background: linear-gradient(to right, #0d5873, #3c6fa4);
        color: #0d5873;
        text-decoration: none;
        padding: 9px 0 5px 0;
        box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.3);
        border-radius: 15px 15px 0 0;
    }


    .sp_cta_top_wrapper{
        display: flex;
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 10px;
        background-color: #fff;
        justify-content: center;
        align-items: center;
        height: 60%;
        box-shadow: var(--shadow-soft);
        margin-bottom: 5px;
    }

    .sp_cta_top_wrapper p{
        text-align: center;
        line-height: 1em;
    }

    .sp_cta_top_wrapper img{
        width: 22px;
        margin-right: 5px;
        height: auto;
    }


    .sp_sta_bottom{
        color: #fff;
        text-align: center;
    }

/* ヘッダー */
    header{
        height: 80px;
    }

    body{
        padding-top: 6rem;
    }

    
    .header_logo{
        width: 14rem;
    }

    .sp_header_tel{
        display: none;
    }

    .sp_insta_link_header{
        margin-left: auto;
    }



/* ハンバーガー */
    .sp_hamburger_line{
        display: block;
    }
    .hamburger_contact_menu {
        display: block;
    }

    .sp_hamburger_tel,
    .sp_hamburger_contact,
    .sp_hamburger_line{
        width: 100%;
    }

    .hamburger_bottom_wrapper a{
        width: 290px;
    }


/* 強みセクション */
    .strengths_content{
        display: block;
        padding: 1rem 0;
        min-height: unset;
    }

    .strengths_img {
        width: 98%;
        display: block;
        margin-bottom: 30px;
    }

    .strengths_text,
    .strengths_content_wrapper:nth-of-type(2) .strengths_text,
    .strengths_content_wrapper:nth-of-type(4) .strengths_text {
        width: 100%;
    }



/* 訪問エリアセクション */
    .area_content_container {
        flex-direction: column-reverse; 
        padding: 1rem;
        border-radius: 15px;
    }

    .area_content_text,
    .area_content_img{
        width: 100%;
        margin: 0 auto;
    }

    .area_content_img{
        margin-bottom: 30px;
    }

    .area_name br{
        display: none;
    }

    .area_name{
        padding: 0.5rem 1rem;
    }

    .area_name p{
        text-align: left;
    }

    .sp_dot{
        display: inline;
    }


/* スタッフ紹介セクション */
    .staff_img {
        border-radius: 15px;
    }

/* お知らせセクション */
    .news_box {
        padding: 1.5rem 2rem;
        border-radius: 10px;
    }

    .news_box li {
        padding: 1rem;
    }

    .news_title{
        display: -webkit-box;          /* ← これと下2行のセットで2行制限 */
        -webkit-line-clamp: 2;         /* 表示する最大行数 */
        -webkit-box-orient: vertical;
        overflow: hidden;              /* はみ出し非表示 */
        text-overflow: ellipsis;       
    }


/* フッター */
    .footer_top{
        display: block;
        margin: unset;
        margin: 0 20px 0 auto;
    }

    .footer_logo{
        width: 160px;
    }

    .footer_link{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
        margin: unset;
        margin-right: auto;
    }

    .insta_link{
        display: none;
    }

    .footer_link a{
        margin: unset;
        margin-bottom: 10px;
    }

    .footer_logo_insta{
        margin-bottom: 15px;
    }

    .footer_content{
        display: flex;
        max-width: 500px;
        margin: 0 auto;
        margin-bottom: 40px;
        justify-content: space-between;
        padding: 0 20px;
    }

    .cta_space{
        height: 80px;
    }


/* 各ページ */
/* サービスページ */
    .p_service_nav{
        display: block;
        padding: unset;
        padding: 0 5px;
    }

    .p_service_nav_block{
        width: 100%;
    }

    .p_service_nav_item{
        border: unset;
        width: 50%;
        margin: 3px 5px;
        padding: 0 1rem;
        border-bottom: 1px solid var(--t-color);
        border-right: 1px solid var(--t-color);
    }

    .p_service_nav_title{
        font-size: 1.2rem;
        font-weight: 700;
    }


    @media (hover: none) {
        .p_service_nav_item:hover {
            background-color: unset !important;
            color: var(--t-color) !important;
        }
        .p_service_nav_item:hover p {
            color: var(--t-color) !important;
        }
        .p_service_nav_item:hover .p_service_nav_icon {
            transform: none !important;
            
        }

        /* ▼ active（タップ中）だけ反応させる。直後に元の色へ戻る */
        .p_service_nav_item:active {
            background-color: var(--t-color) !important;
            color: #fff !important;
        }
        .p_service_nav_item:active p {
            color: #fff !important;
        }
        .p_service_nav_item:active .p_service_nav_icon {
            transform: translateY(3px) !important;
        }
    }

    .service1_top,
    .subject_top{
        display: block;
    }

    .service1_top p,
    .subject_top p{
        width: 100%;
        margin-bottom: 2rem;
    }

    .subject_top p{
        width: 100%;
    }

    .service1_top_img,
    .subject_top_img{
    width: 100%;
    }

    .p_service_area_box {
        grid-template-columns: repeat(1, 1fr);
    }


/* 法人概要ページ */
    .greeting_top{
        display: block;
        margin-bottom: 2rem;
    }

    .greeting_box {
        padding: 1.5rem 1rem;
    }

    .greeting_img{
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .greeting_img img{
        box-shadow: var(--m-color) 4px 4px 0px;
        width: 70%;
    }

    .greeting_lead{
        width: 100%;
    }

    .greeting_lead p{
        letter-spacing: 0.1em;
        font-size: clamp(18px, 4vw, 25px);
    }


    .p_company_table table {
        font-size: 1.1rem;
    }

    .p_company_table td{
        width: 73%;
        padding: 25px 15px;
    }

    .p_company_table th {
        padding: 25px 0;
        width: 27%;
    }


/* スタッフ紹介ページ */
    .p_staff{
        background-image: url(../img/SP/bg1_sp.png);
    }

    .p_staff_content{
        display: block;
        max-width: 500px;
        border-radius: 20px;
    }

    .p_staff_img_wrapper {
        margin: 0 auto;
        margin-bottom: 1rem;
        width: 280px;
        height: 280px;
    }


/* 採用ページ */

    .recruit_row:last-child .recruit_label {
        border-bottom: 1px solid var(--m-color)
    }
    .recruit_row {
        display: block;
    }

    .recruit_table{
        font-size: 1.1rem;
    }

    .recruit_label{
        width: 100%;
        box-sizing: border-box;
        border-right: unset;
        padding: 10px 0;
    }

    .recruit_content{
        width: 100%;
        box-sizing: border-box;
        padding: 15px 10px;
    }

    .recruit_btn_box a {
        width: 47%;
    }

    .recruit_btn_box {
        justify-content: space-between;
    }

/* dxページ */
    .dx_h1 br{
        display: block;
    }
    .dx_h1{
        text-align: center;
    }
/* 法規共通 */
    .p_privacy_box {
        padding: 0 0 3.5rem 0;
    }

/* 問い合わせページ */
    .p_contact_tel_box ,
    .p_contact_form_box,
    .form_submit input{
        width: 100%;
    }

    .p_contact_tel_box_img{
        width: 55px;
        margin-right: 10px;
    }

    




/* 404ページ */
    .p_404 .section_wrapper {
        width: 90%;
        padding: 30px;
    }

    .p_404_img_wrapper{
        width: 15%;
        min-width: 80px;
        margin-right: 10px;
    }

    .p_404_bottom{
        margin-bottom: 40px;
    }

    .p_404_bottom p{
        font-size: 1rem;
    }

    .p_404_small{
        font-size: 1.3rem;
    }





}


@media screen and (max-width: 700px){
/* 強みセクション */
    .strengths_content{
        display: block;
        padding: 1rem 0;
        min-height: unset;
    }

    .strengths_img {
        width: 98%;
        display: block;
        margin-bottom: 30px;
    }

    .strengths_text,
    .strengths_content_wrapper:nth-of-type(2) .strengths_text,
    .strengths_content_wrapper:nth-of-type(4) .strengths_text {
        width: 100%;
    }

/* サービスページ */
    .strengths_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 80px 30px;
    }

    .p_service_content {
        padding: 1rem;
    }

    .service_grid{
        grid-template-columns: repeat(1, 1fr); /* PCでは3列 */
        gap: 20px 20px;
    }

    .service_grid_img {
        width: 45px;
        margin-right: 15px;
    }

}


@media screen and (max-width: 660px){
    .kv_button a {
        font-size: 13px;
        width: 200px;
    }
    }

@media screen and (max-width: 600px){
/* 各ボタン */
    .move_btn,
    .back_btn{
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

/* 共通 */

/* kv */

    .kv_button a {
        width: 180px;
        padding: 9px 0;
    }
    .kv_button a::after {
        right: 10px;
    }


/* 強みセクション */
    .strengths_img {
        width: 97%;
    }

/* スタッフセクション */
    .staff_list_wrapper{
        display: block;
    }

    .staff_list {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }


/* 各ページ */
/* サービスページ */
    .p_service_nav_item{
        margin: 5px 5px;
        padding: 0.3rem 0.5rem;
    }

    .p_service_nav_title{
        font-size: 1rem;
    }

    .p_service_nav_icon{
        font-size: 0.7rem;
    }

    .p_service_content .area_content{
        padding: 0.5rem;
    }

/* 法人概要ページ */
    .greeting_bottom_img {
        padding-top: 20px;
        width: 220px;
        max-width: 55%;
    }


/* 採用ページ */
    .recruit_btn_box a {
        width: 100%;
    }

    .recruit_btn_box {
        display: block;
    }

    .recruit_btn_box a:first-child {
        margin-right: unset;
        margin-bottom: 1.5rem;
    }


/* 問い合わせページ */
    .p_contact_tel_text, .p_contact_tel_time {
        font-size: 1.1rem;
    }

    .p_contact_tel_number {
        font-size: 2.5rem;
    }

    .p_contact_tel_box{
        border-radius: 30px;
    }

    .p_contact_tel_inner {
        border-radius: 20px;
    }


/* サンクスページ */
    .p_thanks .thanks_title{
        font-size: 1.6rem !important;
    }
    .p_thanks_top{
        margin-bottom: 20px !important;
    }


} 



@media screen and (max-width: 550px){


    .p_404 .section_wrapper {
        padding: 30px 20px;
    }
    .p_404_small {
        font-size: 1.1rem;
    }

    .line_icon_sp{
        bottom: 90px;
        right: 10px;
        width: 80px;
        height: 80px;
    }

    .p_contact_line_img {
        width: 80%;
    }

}

@media screen and (max-width: 450px){

    html{
        font-size: 13px;
    }
/* ヘッダー */
    body{
        padding-top: 5rem;
    }
    
    header{
        height: 5rem;
    }
    .header_logo{
        width: 13rem;
    }

    .sp_insta_link_header {
        height: 60%;
    }


/* 各ボタン */
    .move_btn,
    .news_btn,
    .back_btn{
        padding: 0.8rem 1.3rem;
        width: 100%;
        box-sizing: border-box;
    }

    .fixed_button{
        height: 70px;
    }

/* 共通 */
    h1{
        font-size: 2rem;
    }

    .p_title{
        margin: 10px auto;
        border-radius: 15px;
    }

    .line_icon_sp{
        bottom: 80px;
        right: 10px;
        width: 70px;
        height: 70px;
    }

    .line_icon_sp img{
        width: 70%;
        height: auto;
    }

/* ハンバーガー */
    .hamburger {
        gap: 0.5rem;
        width: 2.5rem;
        margin-left: 20px;
    }

    .hamburger_label {
        font-size: 0.9rem;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

/* kv */

    .kv_text_1, .kv_text_2 {
        letter-spacing: 0.1em;
        font-size: clamp(18px, 4.2vw, 20px);
    }
    .kv {
        aspect-ratio: 7 / 9;
    }
    .kv_button a {
        width: 155px;
        padding: 8px 0;
        font-size: 11px;
        border: 1px solid #fff;
    }
    .kv_button .kv_link1{
        text-align: left;
        box-sizing: border-box;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .kv_link2{
        box-sizing: border-box;
    }


/* 対象者セクション */
    .subject_list_title {
        border-radius: 10px 10px 0 0;
        padding: 0.5rem 1.5rem;
        left: -0.13rem;
        top: -2.8rem;
    }

    .subject_list {
        border-radius: 0 10px 10px 10px;
        padding: 0.8rem 1rem;
    }

/* サービスページ */
    .p_service_nav_title {
        line-height: 0.9em;
    }

    .p_service_nav1,
    .p_service_nav2{
        margin-bottom: unset;
    }

    /* フッター */
    .footer_c br{
        display: block;
    }

    .footer_address br{
        display: block;
    }

    .cta_space{
        height: 70px;
    }


/* 会社概要ページ */
    .access_map {
        aspect-ratio: 4 / 5;
    }

    .p_company_table td{
        padding: 20px 10px;
    }

    .p_company_table th {
        padding: 20px 0;
    }


/* 問い合わせページ */
    .p_contact_tel_box {
        padding: 10px;
    }

    .p_contact_tel_box_img {
        width: 35px;
        margin-right: 5px;
    }

    .wpcf7-list-item {
        font-size: 1rem;
    }

    .contact_or, .contact_notice {
        font-size: 0.9rem;
    }

    .p_contact_form_box {
        border-radius: 20px;
        padding: 1rem;
    }

    .p_contact_line_img {
        width: 90%;
    }


/* dxページ */
    .dx_h2 br{
        display: block;
    }
    .dx_h2{
        text-align: center;
    }


}





html {
  scrollbar-gutter: stable;
}