*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: "MS PGothic", "MS Pゴシック", sans-serif; /* kiwi maru フォントは個別 */
}
html{
    scroll-behavior: smooth;
    background-color: #a29564;
}
html, body{
    overflow-x: clip;
}

h1{
    margin: 0;
    text-align: center;
}
ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}
a:link{
    text-decoration: none;
    color: #fff;
}
a:visited{
    text-decoration: none;
    color: #fff;
}
a:hover{
    text-decoration: none;
}
a:active{
    text-decoration: none;
}

.sectionfooter-kobe{
    margin-top: auto;
}
.sectionfooter-kobe img{
    width: 730px;
    display: block;
    margin-left: 150px;
}
.section-bar-intro2, .section-bar-concerns, .section-bar-service, .section-bar-case,
.section-bar-flow, .section-bar-contact{ /*背景画像を入れるｐの高さや中央ぞろえ、太さ、フォントなどを変更*/
    height: 90px;
    padding: 23px 0 26px;
    text-align: center;
    align-items: center;
    margin: 0;
    font-family: "Kiwi maru", "游ゴシック", sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    background-size: auto 100%;
    background-repeat: repeat-x
}
.section-bar-intro2{ /*それぞれの背景画像（バーの色）*/
    background-image: url(../images/section-0.png);
}
.section-bar-concerns{
    background-image: url(../images/section-1.png);
}
.section-bar-service{
    background-image: url(../images/section-2.png);
}
.section-bar-case{
    background-image: url(../images/section-3.png);
}
.section-bar-flow{
    background-image: url(../images/section-4.png);
}
.section-bar-contact{
    background-image: url(../images/section-5.png);
    color: #3c2a21;
    margin-bottom: 30px;
}


.header {/*固定ナビゲーションPC用*/
    position: relative;
}
.pc-nav{/*PCのL字固定ナビゲーション*/
    display: block;
    position: fixed;
    bottom: 200px;
    left: 0;
    z-index: 30;
}
.mobile-nav,.hamburger-menu{
    display: none;
}

.renga{/*左右レンガの装飾*/
    position: relative;
    padding-bottom: 5px;
}
.renga::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        url(../images/renga_left.png),url(../images/renga_right.png);
    background-size: 70px;
    background-repeat: repeat-y, repeat-y;
    background-position: left top, right top;
    z-index: 10;
}
.header-bar{
    background-image: url(../images/nav-bar-repeat.png);
    background-repeat: repeat-x;
    height: 220px;
    z-index: 90;
    position: fixed;
    left: 0;
    bottom: 0;
}
.header-bar>img{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 100;
    height: 200px;
    z-index: 95;
}
.header-bar-iconbox{
    position: fixed;

    left: 50%;
    transform: translateX(-50%);
    
    bottom: 10px;
    width: 100%;
    max-width: 1600px;
    z-index: 100;
}
.header-bar-icon{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}
.header-icon-strengths1, .header-icon-strengths2{
    margin-left: 35px;
}
.header-bar-icon img{
    height: 70px;
}

header .pc-nav ul li{
    margin-bottom: 15px;   
}
header .pc-nav ul li a img{
    width: 115px;
}
.pc-gotop img{
    width: 115px;
    position: fixed;
    left: 0;
    bottom: 93px;
}
.header-bar{
    width: 100vw;
    pointer-events: none;
}
.header-mobile-fixed-bar{
    display: none;
}

/*footer-----------------------------------*/
footer{
    background-color: #827448;
    color: #fff;
    position: relative;
    z-index: 20;
    padding-bottom: 90px;
}
footer li a{
    font-size: 13px;
}
.footer-message{
    width: 400px;
    font-family: serif;
    font-size: 16px;
    margin-right: 40px;
}
.footer-message img{
    width: 400px;
    margin: 20px 0 14px;
}
.footer-message p{
    font-family: "游明朝体", "ヒラギノ明朝ProN", serif;
    margin: 10px 0;
}
.footer-representative{/*大五郎の署名*/
    font-family: sans-serif;
    font-size: 13px;
}
.footer-flex{/*大枠の横並び*/
    display: flex;
    justify-content: left;
    gap: 40px;
    
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-flex>div{
    width: 400px;
}
.footer-nav {/*中央部分の二列配置*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    margin-right: 80px;
}
.footer-nav h4, .footer-nav a, .footer-nav p, .footer-nav span{
    font-family: "游ゴシック", sans-serif;
}
.footer-nav>div{
    width: 350px;
}
.footer-nav h4{
    margin-bottom: 0;
    padding-bottom: 13px;
}
.footer-nav h4, .footer-nav li{
    font-weight: 300;
}
.footer-investigation{
    margin-left: 0px;
}
.footer-investigation h4{
    background-image: url(../images/footer-kazari-1.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
.footer-office-info h4{
    background-image: url(../images/footer-kazari-2.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
.footer-contact{
    margin-left: 0px;
}
.footer-contact h4{
    background-image: url(../images/footer-kazari-3.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    margin-top: 35px;
}
.footer-contact p{
    margin-top: 0;
}
.footer-contact p, .footer-contact div{
    display: flex;
}
.footer-contact h4+p{/*電話・フリーダイヤル*/
    font-weight: 100;
    font-size: 10px;
    align-items: baseline;
}
.footer-contact h4+p a{/*電話番号*/
    font-weight: 200;
    font-size: 18px;
    padding: 0 4px 0 10px;
}
.footer-contact>div{/*お問い合わせボタンの横並び*/
    display: flex;
    justify-content: left;
    gap: 20px;
}
.footer-contact>div>a{/*お問い合わせボタンの装飾*/
    background-color: #af833b;
    border-radius: 3px;
}
.footer-contact-button{/*「お問い合わせフォーム」のボタン*/
    padding: 5px 10px;
    font-weight: 500;
}
.footer-mail-button{/*「メール」のボタン*/
    padding: 5px 4px;
    font-weight: 500;
}
.footer-ashiato{/*右側あしらいの部分*/
    position: absolute;
    bottom: 150px;
    right: 200px;
    width: 180px;
    height: 263px;

    margin-top: 20px;
    background-image: url(../images/footer-ashiato.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
} 
.footer-mushimegane-decoration{
    position: absolute;
    bottom: 140px;
    right: 40px;
    height: 200px;
}
footer>p{/*コピーライト*/
    font-family: "游明朝体", "ヒラギノ明朝ProN", serif;
    text-align: center;
    margin: 0;
    padding: 10px 0 15px;
}
.footer-mobile{
    display: none;
}



/* ここから下に担当部分のCSSを記入してください */
/*--------------------------------------------------------------------------*/
/*ファーストビュー（intro）---------------------------------------------------*/
.intro{
    height: calc(100vh - 50px);/*!!この数値をカーテンにも適用*/
    background-color: #baab80;
}
.hero{/* LP本体 */
    z-index: 1;
}
.intro-hero{
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央揃えにする */
    overflow: hidden;
    width: 100%;
}

.hero-logo{

    height: 100px;
    width: auto;

    margin: 0 auto 15px;
    z-index: 1;
}
.hero-logo-repeat{
    height: 100px;
    width: 100%;
    background-image: url(../images/sign-board-backgroundimage.png);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: contain;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.hero-top{
    width: 60%;/*二人の画像の幅感調整する*/
    max-width: 75%;
    margin-bottom: 20px;    /* キャッチコピーとの間隔 */
}
.hero-slogan{
    width: 70%;
    max-width: 550px;
}

/* 固定カーテン左側 */
.curtain-side-left,.curtain-side-left-mb{
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100vh - 50px);
    width: auto;
    z-index: 3;
    pointer-events: none;
}
/* 固定カーテン右側 */
.curtain-side-right,.curtain-side-right-mb{
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100vh - 50px);
    width: auto;
    z-index: 3;
    pointer-events: none;
}

.curtain-moving{/* 開く幕全体 */
    position: absolute;
    inset: 0;
    z-index: 2;
}
.curtain-left, .curtain-right{/* 左右の開く幕 */
    position: absolute;
    top: 0;
    width: 50%;
    height: calc(100vh - 50px);
    object-fit: cover;
    display: block;
}
.curtain-left{
    left: 0;
    transform-origin: left center;
    animation: open-left 1.8s ease-in 0.6s forwards;
}
.curtain-right{
    right: 0;
    transform-origin: right center;
    animation: open-right 1.8s ease-in 0.6s forwards;
}
.curtain-side-left-mb,.curtain-side-right-mb{
    display: none;
}

/* 左の幕 */
@keyframes open-left{
    0%{
        transform: scaleX(1);
    }
    100%{
        transform: scaleX(0);
    }
}

/* 右の幕 */
@keyframes open-right{
    0%{
        transform: scaleX(1);
    }
    100%{
        transform: scaleX(0);
    }
}
.hero-logo-mb,.hero-top-mb{
    display: none;
}
/*当事業所紹介---------------------------------------------------------------*/
.intro2{
    background-color: #baab80;
    position: relative;
    height: 1050px;
    display: flex;/*重要*/
    flex-direction: column;/*重要*/
}
.intro2-kabe{
    position: absolute;
    top: 90px;
    left: 0;
}
.intro2-renga-kabe{
    display: block;
    width: auto;
    height: 1010px;
    z-index: 1;
}
.intro2-uekomi{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.intro2-uekomi img{
    display: block;
    width: auto;
    height: 450px;
}

.intro2-kanban{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-57%);
    z-index: 2;
    width: 80vw;
    max-width: 1200px;
 
    text-align: center;
}
.intro2-kanban img{
    display: block;
    max-width: 100%;
    height: auto;
}
.intro2-mobile{
    display: none;
}


/*こんなお困りありませんか？--------------------------------------------------*/
.concerns{
    position: relative;
    height: 900px;
    background-color: #454c68;
    display: flex;/*重要*/
    flex-direction: column;/*重要*/

    background-image: url(../images/okomari-stars.png);/*星*/
    background-repeat: repeat-x;
    background-position: top;
}
.concerns-okomari-pc>div>p{
    width: 600px;
    padding: 25px 15px;
    margin: 35px auto 30px 20%;
    font-size: 19px;
    font-weight: 500;
    background-color: #fff;
    color: #644626;
    border-radius: 15px;
    position: relative;
    z-index: 10;text-align: center;
}
.okomari-girl-img{/*おこまりガールの画像*/
    position: absolute;
    bottom: 0;
    right: 0;
    height: 800px;
    z-index: 5;
}
.okomari-moon-img{
    position: absolute;
    left: 150px;
    top: 200px;
    width: 100px;
    z-index: 5;
}
.concerns-okomari-words{
    margin-top: 150px;
    margin-left: 25%;
    position: relative;
    z-index: 10;
}
.concerns-okomari-words img{
    max-width: 480px;
}
.concerns-okomari-mobile{
    display: none;
}


/*探偵のお仕事について--------------------------------------------------------*/
.service {
    display: flex;
    flex-direction: column;
    color: #fff;
    background: linear-gradient(/* グラデーションのコード */
        to bottom, 
        #04122a 3%,   
        #26486d 25%,  
        #d9a875 55%,  
        #dbb375 100%  
    );
}
.service-about {/* 「探偵とは？」 */
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.service-about h3, .service-research h3{
    font-family: "Kiwi Maru";
}
.service-section-title {/* タイトルの共通設定 */
    font-size: 20px;
    margin-bottom: 50px; /*「探偵とは、」の説明パートの上部のスペースを調整 */
    display: flex;            
    align-items: center;      
    justify-content: center;
}

.service-section-icon{/* 虫眼鏡のアイコン*/
    width: 20px;              
    height: auto;   
    margin-right: 10px;
    margin-top: 3px;
}
.service-about-text {/* 「探偵とは、」の説明 */
    font-family: "游ゴシック", sans-serif;
    background-color: #7f9ea3;
    padding: 30px 60px;            
    border-radius: 10px;       
    display: inline-block;
    max-width: 600px;          
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;/*「探偵とは、」の説明の背景の縦幅の調整*/      
    margin: 0;
    text-shadow: #26486d 1px 1px;
}
.service-about-mobile{
    display: none;
}
.service-research .service-section-title {/* 「調査内容」*/
   margin-bottom: 30px; 
   transform: translateX(-15px);  /* 🔍のバランス的に少し左にずらしてます*/
}
.service-card-grid {/* カードを並べるグリッドレイアウト */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 40px;          
    width: 90%;
    max-width: 800px;
    margin: 0 auto 60px;          
}
.service-card {/* カード1枚ごとのスタイル */
    width: auto/*240px*/; /* カードの横幅240以上にするときは、グリッドレイアウトのwidth：800も大きくすること */
}
.service-card-img {/* カード内の画像スタイル */
    width: 100%; 
    height: auto;
    display: block;
}


/*ページめくり------------------------------------------*/
.case-pc{/*手帳の表示*/
    display: block;
}/**/
.slider-area{/*ファイルの表示*/
    display: none;
}
.case-pc{/*本の横にページめくりボタンを配置*/
    display: flex;
    justify-content: center;
    gap: 40px;
}
.case-bookbuutton{
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-bookbuutton img{
    width: 80px;
}
.case-bookbuutton button{
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}
.case-left-page img, .case-right-side img{
    width: 400px;
    height: 534px;
}
.case-scene{
    width: 800px;
    height: 535px;
    margin: 100px 0 20px;
    perspective: 2500px;
    perspective-origin: center bottom;
}

.case-book-wrap{
    position: relative;
    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
}
.case-book-base{
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-48.5%);/*48.5％はページに本ベースを合わせる微調整*/
}
.case-book-base img{
    width: 810px;
    height: auto;
}
.case-book{
    display: flex;
    width: 100%;
    height: 100%;

    z-index: 2;

    transform-style: preserve-3d;
}
.case-left-page,
.case-right-side{
    width: 50%;
    height: 100%;
    position: relative;
}
.case-right-side{
    transform-style: preserve-3d;
}
.case-page{
    position: absolute;
    inset: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
}
.case-front,
.case-back{
    position: absolute;
    inset: 0;

    backface-visibility: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}
.case-front{
    transform: translateZ(2px);
}
.case-back{
    transform: rotateY(180deg) translateZ(2px);
}
.case-page-angle{
    width: 100%;

    transform-style: preserve-3d;
}
.case-page.is-flipped{
    animation: pageFlip 1.5s linear forwards;
}
.case-page.is-returning{
    animation: pageFlipBack 1.5s linear forwards;
}
@keyframes pageFlip{
    0% {
        transform:
            translateZ(0)
            rotateY(0deg);
    }
    50% {
        transform:
            translateZ(0px)
            rotateY(-90deg);
    }
    100% {
        transform:
            translateZ(0)
            rotateY(-180deg);
    }
}
@keyframes pageFlipBack{
    0% {
        transform:
            translateZ(0)
            rotateY(-180deg);
    }
    50% {
        transform:
            translateZ(0px)
            rotateY(-90deg);
    }
    100% {
        transform:
            translateZ(0)
            rotateY(0deg);
    }
}
.case{
    display: flex;/*重要*/
    flex-direction: column;/*重要*/
    height: 980px;
    /* padding-top: 0px; */
    background: linear-gradient(to bottom, #dbb375 0%, #cebe73 100%)
}

/*ご依頼の流れ-------------------------------------------------------------*/
.flow{
    height: 155vw;
    max-height: 1100px;
    width: auto;
    background-color: #cfc278;
    background-image: url(../images/flow-ashiato.png);
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: left 80px  bottom 90px;
    margin: 0 auto;
    position: relative;
    display: flex;/*重要*/
    flex-direction: column;/*重要*/
}
.flow-hexagon-box, .flow-price-details-box{
    display: flex;
    justify-content: center;
}
.flow-hexagon{
    margin-top: 50px;
    width: min(70%, 650px);
    text-align: center;
}
.flow-price-details{
    width: 400px;
    position: absolute;
    right: 10vw;
    bottom: 10vw
}
/*お問い合わせ-------------------------------------------------------------*/
        .contact {
            font-family: 'Times New Roman', Times, serif;
            background-color: #f5efcc;
            color: #3c2a21;
            line-height: 1.6;
        }       
        .form-contact{
            font-size: 25px;
            text-align: center;
            margin-top: 0;
            margin-bottom: 30px;
            color: #fff;
            background-image: url(../images/section-5.png) ;
            background-size: cover;
            background-position: center bottom;
            width: 100%;
            height: 8vh;
        }
        /* 1. 画像の親要素（フォーム全体を囲む枠）の設定 */
.form-container {
    position: relative; /* 子要素（画像）の配置基準にするために必須 */
    width: 100%;        /* 必要に応じて元のデザインに合わせて調整してください */
    max-width: 900px;   /* フォームの最大幅に合わせて調整 */
    margin: 0 auto;
    padding-bottom: 50px; /* 下部に羽ペンが被る場合の余白調整 */
}

/* 2. 羽ペン画像の位置とサイズの設定 */
.contact{
    position: relative;
}
.feather-pen-img {
    display: block;
    position: absolute;
    left: 10%;          /* 左端からの位置（％やpxで微調整してください） */
    bottom: 13%;        /* 下端からの位置（％やpxで微調整してください） */
    width: 180px;       /* 羽ペン画像の横幅（見栄えに合わせて調整） */
    height: auto;       /* 縦横比を維持 */
    z-index: 1;         /* フォームの入力項目と重なった場合に下に隠れないようにする数値 */
    pointer-events: none; /* 画像をクリックしても後ろの要素を触れるようにする設定 */
}   
        .center-img{
            display: block;
            margin-left: auto;   
            margin-right: auto;
            width: 95%;
            max-width: 650px;
        }
        
        
        .form-container1, .form-container2{
            max-width: 650px;
            margin: 0 auto;
            border-radius: 8px;
        }
        .form-container1{
            padding: 30px 60px 0 0;
        }
        .form-container2{
            padding: 0 30px 60px;
        }
       
        /* 横並びのレイアウト設定 */
        input::placeholder, 
        textarea::placeholder,select option {
            color: #695837;
            opacity: 1;    /* Firefox対策：標準の透明度をリセット */
        }
        .form-group {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .form-label {
            width: 180px;
            padding-top: 8px;
            font-weight: bold;
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .form-input {
            flex-grow: 1;
        }
        /* 入力項目のスタイル */

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select {
            width: 54%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1rem;
            font-family: 'Times New Roman', Times, serif;
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1rem;
            font-family: 'Times New Roman', Times, serif;
        }
       /*ご相談内容、その他*/
        .form-input-taxt{
            width: 100%;
            padding: 0;
            border: 0px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1rem;
        }

.form-input-taxt{
    position: relative;
}
.form-input-taxt::before{
   position: absolute;
    content: url('../images/toiawase-kazari-left-long.png'); /* 画像のパスを指定 */
    vertical-align: middle;
    
    transform: scale(0.7);
    transform-origin:  left top;
    left: -17px;
   
}

.form-input-taxt::after{
    position: absolute;
    content: url('../images/toiawase-kazari-right-long.png'); /* 画像のパスを指定 */
    vertical-align: middle;

    transform: scale(0.7);
   /* transform-origin: ;*/
    right: -21px;
    top: -25px;
}

.form-input{
    position: relative;
}

  .form-input::before{
    position: absolute;
    content: url('../images/toiawase-staff-kazari-left.png'); /* 画像のパスを指定 */
    vertical-align: middle;
    
    transform: scale(0.8);
    transform-origin:  left top;
    left: -20px;
   
}
.form-input::after{
    position: absolute;
    content: url('../images/toiawase-staff-kazari-right.png'); /* 画像のパスを指定 */
    vertical-align: middle;

    transform: scale(0.8);
  /*  transform-origin:  ;
    right: ;*/
    top: -5.5px;
}

        textarea {
            height: 120px;
            resize: unset;
            /*resize: vertical;*/
        }
    

        /* プライバシーポリシー */
        .policy-container {
            margin-top: 30px;
            padding-top: 20px;
           
        }

/* 1. クリックできる範囲（summary）の調整 */
.accordion-title { 
  display: block;        /* 横幅いっぱいに広げる */
  padding: 10px;         /* 内側に余白を作って、クリックできる面積を大きくする */
  background-color: #d4c68e; /* ボタンらしい背景色をつける */
  cursor: pointer;       /* マウスカーソルを「指マーク（ポインタ）」にする */
  font-weight: bold;
  color: #4b3c0c;
  text-align: center;
  border: 1px solid #ccc;
  user-select: none;     /* 文字の誤選択を防ぐ */
  
 /* width: 75%;
  max-width: 100%;*/      /*プライバシーポリシーの幅*/
  margin: 0 auto; 
}

/* 2. マウスを乗せたとき（ホバー時）のリアクション */
.accordion-title:hover {
  background-color: #7f6513; /* 背景色を少し暗くして、ボタン感を出す */
  color: #fff;
}

/* 3. アコーディオンが開いているときの見出しのスタイル（必要に応じて） */
.accordion-item[open] .accordion-title {
  background-color: #7f6513; /* 開いたときに色を変える */
  color: #fff;
}

/* 中身の余白調整 */
.accordion-content {
  padding: 16px;
  border: 1px solid #ccc;
  border-top: none; /* 見出しの枠線と重ならないようにする */
  background-color: #fff;
  max-height: 150px;
  overflow-y: auto;
}

        .policy-text {
            height: 100px;
            overflow-y: scroll;
            background: #fff;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.85rem;
            margin-bottom: 15px;
        }
        /* チェックボックス */
        .checkbox-group {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
            margin-bottom: 30px;
            cursor: pointer;
            accent-color: #524628;
        }
        .checkbox-group input {
            transform: scale(1.2);
            cursor: pointer;
        }
        /* 送信ボタン */
        .submit-container {
            text-align: center;
        }
        .submit-btn {
            background-color: #7f6513;
            color: #fff;
            border: none;
            padding: 12px 20px;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            font-family: 'Times New Roman', Times, serif;
        }
        .submit-btn:hover {
            background-color: #d4c68e;
        }


/*会社概要等-------------------------------------------------------------*/
/*  1.セクション全体の背景・共通設定 */
.company-section, 
.recruit-section {
  background-color: #a29564; 
  text-align: center;
  padding-top: 5px; /* アコーディオン上の余白調整用 */
}

.company-section-title:hover {
  opacity: 0.9; /* アコーディオンに気づかせるためのホバー設定です。 */
}


details:not([open]) summary {/*虫眼鏡飛ばす*/
    cursor: url("../images/tsuiseki-megane.png") 20 20, pointer;
}
 

/*   2. タイトル部分（横長帯状の背景画像の部分）*/
.company-section-title {
    text-align: left;


  font-family: "Kiwi Maru", serif; 
  background-image: url('../images/section-6-7-8.png');
  background-size: 100% 100%;
  background-position: center; 
  color: #ffffff; 
  font-size: 18px; 
  font-weight: 500; 
  padding: 30px 0 30px 45%;  
  width: 100%; 
  margin-bottom: 0px; 
}

/*   3. 会社概要エリア */
.company-content {
  max-width: 850px; 
  margin: 0 auto 30px; 
  box-sizing: border-box; 
  display: flex; 
  justify-content: center; 
}
.company-fictitious-address a:link{
    border-bottom: 1px dotted #fff;
}
.company-fictitious-address a:visited{
    border-bottom: 1px dotted #fff;
}
/* .company-fictitious-address a:hover{
    color: #a29564;
}
.company-fictitious-address a:active{
    color: #FFF;
} */

.company-table {
  width: auto;            
  border-collapse: collapse; 
  text-align: left; 
}

.company-table th,
.company-table td {
  font-size: 13px; 
  color: #fcf8e5; 
  vertical-align: middle; 
}

.company-table td {
  padding: 16px 20px 16px 30px; 
    font-family: "游ゴシック", sans-serif;
}

.company-table th {
    font-family: "游ゴシック", sans-serif;
    width: 105px;            
    background-color: #7d734c; 
    text-align: justify;       
    text-align-last: justify;  
    font-weight: bold; 
    border-right: 2px solid #8c835c; 
    box-sizing: border-box; 
    padding: 12px 25px;       
}

.company-fictitious-address a:link{
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  color: #FFF;
}
.company-fictitious-address a:visited{
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  color: #FFF;
}
.company-fictitious-address a:hover{
  color: #FFF;
  font-weight: 500;
}
.company-fictitious-address a:active{
  color: #FFF;
  font-weight: 500;
}

/* 会社概要のすぐ下に挿入してる理念部分 */
.company-banner-img {
  max-width: 650px; 
  margin: 30px auto 0 auto; 
  box-sizing: border-box; 
  padding: 0 30px 10px; 
}

.company-banner-img img {
  width: 100%; 
  height: auto; 
  display: block; 
  border-radius: 4px; 
}

/*   4. スタッフ紹介エリアの白い紙部分  */
.company-sub-paper {
  background-image: url('../images/staff-base.png'); 
  background-size: 100% 100%;  
  background-position: center; 
  background-repeat: no-repeat; 
  max-width: 850px;        
  margin: 25px auto; 
  padding: 55px 120px; 
  box-shadow: none; 
  text-align: center; 
  box-sizing: border-box; 
}

.company-staff-title-area {
  display: flex; 
  align-items: flex-start; 
  margin-bottom: 18px;     
} /* ←修正：ここに閉じ括弧を追加しました */

.company-staff-title-area .staff-icon {
  width: 25px; 
  height: auto; 
  vertical-align: middle; 
  margin-right: 6px; 
  margin-top: -2px; 
}
.staff-icon{
    display: block;
}
/* サブタイトル部分 */
.company-sub-title {
  font-family: "Kiwi Maru", serif; 
  font-size: 20px;          
  color: #524628; 
  text-align: left; 
  padding-left: 5px; 
  display: block; 
  margin-top: 10px;        
  margin-bottom: 35px;      
}

/*   5. スタッフ紹介のレイアウト */
.company-staff-row {
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  border-bottom: none; 
  padding-bottom: 0; 
  margin-bottom: 40px;       
  text-align: left; 
}

.company-staff-row:last-child {
  margin-bottom: 10px; /* 最後のスタッフ行だけ下部マージンを10pxにしてます */
}

.company-staff-info {
  display: flex; 
  flex-direction: column; 
}

.company-staff-position {
  font-size: 10px; 
  color: #3c2a21; 
  display: block; 
  margin-bottom: 8px;     
}

.company-staff-name {
  font-size: 13.5px; 
  font-weight: bold; 
  color: #3c2a21; 
  margin: 0; 
}

.company-staff-ruby {
  font-size: 10px; 
  font-weight: normal; 
  color: #3c2a21; 
}

.company-staff-desc {
    font-family: "游ゴシック", sans-serif;
  font-size: 11px;
  color: #3c2a21; 
  line-height: 2.0; 
  margin-top: 0; 
}

.company-staff-photo-bg{
  flex-shrink: 0; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-top: -10px;
}

.company-staff-img {
  object-fit: cover; 
  display: block; 
  height: 95%; 
}

/* スタッフごとの写真サイズ・位置調整 */
.staff-1 { width: 150px; height: 200px; padding-right: 15px; } /* 1番目のスタッフ写真の幅・高さ・右パディングを指定してます。 */
.staff-2 { width: 150px; height: 200px; padding-right: 15px;} /* 2番目のスタッフ写真の幅・高さ・右パディングを指定してます。 */
.staff-3 { width: 110px; height: 150px; padding-right: 50px; margin-top: -5px; } /* 3番目のスタッフ写真のサイズと位置を個別に調整してます。 */
.staff-4 { width: 110px; height: 150px; padding-right: 50px; margin-top: -15px; } /* 4番目のスタッフ写真のサイズと位置を個別に調整してます。*/
.company-staff-ruby-br{
    display: none;
}
/*   6. 採用情報部分 */

/* 採用情報の白い紙部分（募集要項の裏） */
.recruit-paper {
  background-image: url('../images/recruit-base.png'); 
  background-size: 100% 100%;      
  background-position: center; 
  background-repeat: no-repeat; 
  max-width: 870px;              
  margin: 0 auto 30px auto;      
  padding: 70px 60px 55px 60px;  
  box-shadow: none; 
  text-align: center; 
  box-sizing: border-box;
  position: relative; 
}

/* 募集要項の茶色いタイトル見出し */
.recruit-sub-title {
  font-family: "Kiwi Maru", serif;
  background-image: none; 
  background-color: #524628; 
  color: #FFF; 
  font-size: 18px; 
  font-weight: 450; 
  padding: 15px 20px; 
  width: 420px;             
  max-width: none; 
  position: absolute; 
  left: 50%; 
  transform: translateX(-50%); 
  box-sizing: border-box; 
  z-index: 5; 
  text-align: center; 
  border-radius: 2px; 
  top: -42px;  
  margin-bottom: 0; 
}

.recruit-table {
  width: 88%;                  
  margin: 15px auto 20px auto;  
  border-collapse: collapse; 
  text-align: left;    
}

.recruit-table th, 
.recruit-table td {
    font-family: "游ゴシック", sans-serif;
  border-bottom: 1px dotted #524628; 
  font-size: 13px; 
  color: #524628;                   
  padding: 10px 10px;         
}

.recruit-table th {
  width: 28%; 
  font-weight: bold; 
  color: #524628;                    
  padding-left: 15px;     
}

.recruit-note {
  font-size: 11px; 
  color: #524628;                    
  text-align: right; 
  width: 88%;                 
  margin: 0 auto;       
}

/*   6-2. 採用情報・応募フォームのスタイル */
.recruit-form-wrap {
  max-width: 870px;          
  margin: 35px auto; 
  padding: 40px 50px;        
  background-color: #bfb597; 
  border-radius: 4px; 
  text-align: left; 
  box-sizing: border-box; 
}

/* ハローワーク等の外部求人バナーを囲むボックス */
.recruit-external-box {
  background-color: #e8e2d0; 
  border: 1px solid #c7bc9e; 
  border-radius: 4px; 
  padding: 20px; 
  text-align: center; 
  margin: 0 auto 30px auto; 
  max-width: 520px;          
  box-sizing: border-box; 
}

.recruit-external-lead {
  font-size: 13px; 
  color: #3c2a21; 
  font-weight: bold; 
  margin-top: 0; 
  margin-bottom: 12px; 
}

.recruit-external-btns {
  display: inline-flex;
  gap: 60px; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.recruit-ext-btn {
  background-color: #303651; 
  color: #ffffff; 
  padding: 13px 20px; 
  text-decoration: none; 
  font-weight: bold;
  font-size: 12px;
  border-radius: 2px; 
  transition: opacity 0.2s; 
}

.recruit-ext-btn:hover {
  opacity: 0.7; 
}

/* フォーム全体の配置幅*/
.recruit-form-lead,
.recruit-form-group,
.recruit-form-privacy-area,
.recruit-form-submit-area {
  max-width: 520px; 
  margin-left: auto; 
  margin-right: auto; 
}

.recruit-form-lead {
    font-family: "游ゴシック", sans-serif;
  font-size: 13px; 
  color: #3c2a21; 
  line-height: 1.6; 
  margin-bottom: 30px; 
  text-align: center; 
}
.recruit-forl-lead-br{
    display: none;
}

.recruit-form-group {
  margin-bottom: 25px; 
}

.recruit-form-label {
  display: block; 
  font-size: 12px; 
  font-weight: bold; 
  color: #3c2a21; 
  margin-bottom: 8px; 
  text-align: left; 
}

.recruit-form-row-inputs {
  display: flex; 
  gap: 15px; 
}

.recruit-form-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background-color:#FFF;
  border: none;
  padding: 0;
  box-sizing: border-box;
}

.recruit-form-input {
  width: 100%; 
  border: none; 
  outline: none; 
  font-size: 13px; 
  color: #333333; 
  background: transparent; 
  padding: 6px 0; 
  font-family: inherit;
}

.recruit-form-input::placeholder{
  font-family: "游ゴシック", sans-serif;
}

.recruit-form-input-label {
  font-size: 11px; 
  color: #524628; 
  padding-left: 8px;
  border-left: 1px solid #dddddd; 
  white-space: nowrap; 
}

.recruit-form-input-full,
.recruit-form-textarea {
  width: 100%; 
  background-color: #ffffff; 
  border: 1px solid #dcd6ce; 
  border-radius: 2px; 
  padding: 10px 12px; 
  font-size: 13px; 
  color: #333333; 
  box-sizing: border-box; 
  font-family: inherit; 
}

.recruit-form-select {
  width: 100%; 
  background-color: #ffffff; 
  border: 1px solid #dcd6ce; 
  border-radius: 2px; 
  padding: 10px 12px; 
  font-size: 13px; 
  color: #333333; 
  box-sizing: border-box; 
  font-family: inherit; 
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23524628' d='M0 0l5 6 5-6z'/></svg>"); 
  background-repeat: no-repeat; 
  background-position: right 12px center; 
  padding-right: 30px; 
}

select[name="gender"] {
  max-width: 130px; 
}

.recruit-form-row-birth {
  display: flex; 
  align-items: center; 
  gap: 8px; 
  width: 100%; 
  color: #524628; 
  font-size: 11px; 
}

.recruit-form-row-birth span {
  white-space: nowrap; 
} /* ←修正：ここに閉じ括弧を追加しました */

.recruit-form-select-birth {
  flex: 1; 
  background-color: #ffffff;
  border: 1px solid #dcd6ce; 
  border-radius: 2px; 
  padding: 10px 12px; 
  font-size: 13px;
  color: #333333; 
  box-sizing: border-box; 
  font-family: inherit; 
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23524628' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center; 
  padding-right: 25px; 
}

.recruit-form-textarea {
  resize: vertical;
}

/* プライバシーポリシーエリアのレイアウト */
.recruit-form-privacy-area {
  margin: 35px auto 25px auto; 
  text-align: center; 
}

.recruit-privacy-details {
  display: block; 
  width: 100%;
  max-width: 600px; 
  text-align: center; 
  margin: 0 auto; 
}

.recruit-privacy-details summary {
  cursor: pointer; 
  outline: none; 
}

.recruit-privacy-content-box {
  background-color: #ffffff; 
  color: #333333;
  text-align: left;
  padding: 15px 20px; 
  margin-top: 0px;
  margin-bottom: 8px;
  border-radius: 4px; 
  font-size: 12px; 
  line-height: 1.6;
  max-height: 200px; 
  overflow-y: auto; 
  box-sizing: border-box; 
}

.recruit-privacy-link {
  display: block;                  
  width: 100%; 
  box-sizing: border-box; 
  background-color: #806f4a; 
  color: #ffffff; 
  font-size: 12px; 
  padding: 10px 20px; 
  text-decoration: none; 
  border-radius: 2px; 
  margin-bottom: 8px; 
  text-align: center; 
  transition: opacity 0.2s; 
  border-radius: 0%;
}

.recruit-privacy-link:hover {
  opacity: 0.6;             
}

.privacy-check-label {

  gap: 10px; 
  font-size: 13px; 
  color: #3c2a21; 
  cursor: pointer; 
  margin-top: 5px; 
}

.recruit-checkbox {
  display: inline-flex; 
  align-items: center; 
  flex-direction: row-reverse; 
  margin: auto 0 0 15px;
  transform: scale(1.4);
  accent-color: #524628; 
  cursor: pointer;
}

/* 送信ボタンのスタイル */
.recruit-form-submit-area {
  text-align: center; 
  margin-top: 30px; 
}

.recruit-form-submit-btn {
  background-color: #524628; 
  color: #ffffff;
  font-size: 14px; 
  font-weight: bold; 
  border: none; 
  border-radius: 2px; 
  padding: 12px 30px;             
  cursor: pointer; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
  transition: opacity 0.2s; 
  font-family: inherit; 
}

.recruit-form-submit-btn:hover {
  opacity: 0.6;                 
}



/*●●メディアクエリ●●------------------------------------------------------*/



/*footer--フッターの834pxまでの見た目安定化---------------------*/
@media(max-width:1440px){
    .footer-message{
        margin-left: 100px;
    }
    .footer-flex{/*大枠の横並び*/
        display: flex;
    }
    .footer-nav {/*中央部分の二列配置*/
        display: block;
        gap: 0 30px;
        margin-right: 80px;
    }
    .footer-investigation{
        margin-left: 0px;
    }
    .footer-mushimegane{/*右側あしらいの部分*/
        margin-top: 20px;
        background-image: none;/*足跡無くす*/
        display: flex;/*虫眼鏡右配置*/
        justify-content: flex-end;
        align-items: center;
        margin-right: 20px;
    }
    .footer-mushimegane img{/*虫眼鏡の大きさ*/
        width: auto;
        height: 180px;
    }
    footer>p{/*コピーライト*/
        text-align: left;
        margin-left: 10%;
    }
}
@media(max-width:1400px){/*お問い合わせの羽ペン消す*/
    .feather-pen-img{
        display: none;
    }
    .renga::before{
        display: none;
    }
}

@media(max-width:1270px){
    .footer-flex{
        display: block;
    }
    .footer-message{
        margin-left: 15%;
    }
    .footer-mushimegane{
        display: none;
    }
    .footer-nav{
        margin-left: 200px;
    }
    .header-bar-icon{
        gap: 2%;
    }
}

@media(max-width:950px){
    .footer-ashiato{
        display: none;
    }
}

@media(max-width:895px){
    .header-icon-strengths1, .header-icon-strengths2{
        padding-left: 5px;
        margin-left: 0;
    }
    .header-mobile-bar-iconbox{
        display: flex;
    }
}

/*--全体のメディアクエリ-------------------------------------------------------------*/
@media(max-width:834px) {

    .section-bar-intro2, .section-bar-concerns, .section-bar-service, .section-bar-case,
    .section-bar-flow, .section-bar-contact{ /*背景画像を入れるセクションバーの高さや中央ぞろえ、太さ、フォントなどを変更*/
        height: 60px;
        padding-top: 10px;
        font-size: 24px;
        font-weight: 500;
    }
/* ハンバーガーボタン */
.header-mobile-ham button{
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #513417;
    padding: 5px;
    border-radius: 3px;
}
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 40px;
    height: 35px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 8px;
    z-index: 1010;
}

/* ナビゲーションメニュー */
.mobile-nav {
    /* 非表示時も display: block のままにしてアニメーションを有効化 */
    display: block; 
    
    /* 画面全体を基準に右固定 */
    position: fixed;
    top: 0px;
    right: 0;
    width: 250px; /* メニューの横幅 */
    height: 100vh;
    background-color: #513417;
    border-left: 1px solid #3f1f00;
    opacity: 0.95;

    /* 【初期状態】メニュー幅分だけ右（画面外）へ押し出す */
    transform: translateX(100%);

    /* スライド移動を滑らかにする設定 */
    transition: transform 0.3s ease;
    z-index: 1000;
}

.mobile-nav h4, .mobile-nav a{
    font-family: "游ゴシック", sans-serif;
}

  

/* --- 三本線アニメーション用の基本設定 --- */
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #f1e1b3;
    border-radius: 2px;
        /* 変化を滑らかにする設定 */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- 開いた状態（×ボタンへの変形） --- */

/* 真ん中の線を消す */
.hamburger-menu[aria-expanded="true"] span:nth-child(2) {
    visibility: hidden;
}

/* 上の線をななめ右下に回転（真ん中に寄せるためにY軸移動） */
.hamburger-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

/* 下の線をななめ右上に回転（真ん中に寄せるためにY軸移動） */
.hamburger-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav>div{
    margin-top: 50px;
}
.mobile-nav li {
    margin: 0 0 0 20px;
    padding-bottom: 15px;
    background-image: url(../images/footer-kazari-1.png);
    background-position: left bottom;
    background-repeat: no-repeat;
}

.mobile-nav li a{
    font-size: 16px;
}

.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav-otoiawase{ 
    padding-left: 30px;
    color: #ddcfac;
    font-size: 14px;
}

.mobile-nav a {
    display: block;
    font-size: 12px;
    padding: 8px 10px;
    color: #ddcfac;
    text-decoration: none;
}

.mobile-nav a:hover {
    background-color: #847246;
}

/* メニュー表示時 */
.mobile-nav.is-active {
    /* 【開いた状態】元の位置（画面内）に戻す */
    transform: translateX(0);
}


.mobile-nav-contact>div>a{/*お問い合わせボタンの装飾*/
    color: #fff;
    background-color: #3f1f00;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 15px;
}

.ham-nav-button a{
    margin-left: auto;
}
.mobile-nav .mobile-nav-contact .mobile-nav-contact-button,
.mobile-nav .mobile-nav-contact .mobile-nav-mail-button{
    width: fit-content;
    font-weight: 500;
    margin-right: 20px;
}
.mobile-nav .mobile-nav-contact .mobile-nav-contact-button{/*「お問い合わせフォーム」のボタン*/
    padding: 10px 30px;
}
.mobile-nav .mobile-nav-contact .mobile-nav-mail-button{/*「LINE」のボタン*/
    padding: 10px 30px;

}


    .header-mobile-fixed-bar{
        display: block;
    }
    .header-mobile-bar>img{
        position: fixed;
        left: 0;
        bottom: 0;
        height: 140px;
        z-index: 100;
    }
    .header-mobile-bar-iconbox{
        position: fixed;
        bottom: 10px;
        width: 100%;
        z-index: 110;
    }
    .header-mobile-bar-iconbox{
        display: flex;
        justify-content: center;
        gap: 3%;
        width: 100%
    }
    .header-mobile-bar-strength-box{
        display: flex;
    }
    .header-mobile-bar-strength-box img{
        max-width: 50px;
    }
    .header-mobile-mailbtn{
        margin-top: 3.5px;
    }
    .header-mobile-mailbtn img{
        max-width: 180px;
    }
    .header-mobile-tel-top{
        display: flex;
        gap: 10%;
    }
    .header-mobile-tel-top img{
        height: 40px;
        margin-top: 5px;
        vertical-align: baseline;
    }


    .case-scene, .case-bookbuutton{/*事例紹介の表示非表示*/
        display: none;
    }
    .slider-area{
        display: block;
    }
    body main{
        margin: 0 auto;
    }
    

    
    .sectionfooter-kobe img{
        width: 80%;
        margin: 0 auto;
    }


    /*footer---------------------------------------------------------*/
    footer{
        padding-bottom: 55px;
    }
    .footer-nav, .footer-mushimegane-decoration, .ashiato{
        display: none;
    }
    .pc-fixed-nav{/*固定ナビゲーションモバイル表示*/
        display: none;
    }
    .footer-message{
        text-align: center;
        margin: 0 auto;
    }
    .footer-message img{
        width: 80%;
    }
    .footer-message p{
        font-size: 12px;
    }
    footer>p{
        text-align: center;
        padding: 20px 0 80px;
        margin-left: auto;
        font-size: 10px;
    }
    
    /*ファーストビュー幕開け--------------------------------------*/
    .hero-logo,.hero-top,.curtain-side-left,.curtain-side-right,.curtain-moving ,.hero-logo-repeat{
        display: none;
    }
    .curtain-side-left-mb,.curtain-side-right-mb{
        display: block;
        height: 350px;
        z-index: 1;
    }
    .hero-logo-mb,.hero-top-mb{
        display: block;
    }
    .intro{
        height: auto;
        position: relative;
    }
    .intro div{
        height: 350px;
    }
    .intro-hero div{
        position: absolute;
        overflow: hidden;
        width: 100%;
    }
    .hero-logo-mb{
        width: auto/*834px*/;
        height: 80px;
        position: absolute;
        max-width: none;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero .hero-top-mb{
        height: 100%;
    }
    .hero-slogan{
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        width: 86%;
    }

    /*intro2　事業所紹介------------------------------------------------*/

    .intro2{
        position: static;
        height: auto;
    }
    .intro2-content{
        display: none;
    }
    .intro2-mobile{
        display: block;
    }
    .intro2-mobile img{
        width: 90%;
        margin-left: 5%;
        margin-bottom: 20px;
    }
    /*こんなお困りありませんか？-----------------------------------------*/
    .concerns{
        height: fit-content;
        display: flex;
        flex-direction: column;
        background-image: none;
    }
    .concerns-okomari-pc{
        display: none;
    }
    .concerns-okomari-mobile{
        display: block;
    }
    .concerns-mobile-color{
        position: relative;
    }
    .concerns-mobile-color::after{
        content: "";
        display: block;
        width: 80%;
    }
    .concerns-okomari-mobile-image img{
        display: block;
        width: 100%;
        transform: translateX(3.5%);
        height: auto;
        z-index: 5;
    }
    .concerns-okomari-words-mobile{
        position: absolute;
        top: 0;
        left: 6%;
        z-index: 20;
    }
    .concerns-okomari-words-mobile p{
        display: block;
        width: fit-content;
        color: #644626;
        font-size: clamp(12px,2vw, 16px);/*最小-動かし-最大*/
        padding: clamp(10px, 1.5vw, 14px) clamp(15px, 1vw, 20px);
        margin-block: clamp(15px, 3vw, 30px);
        border-radius: 5px;
        font-weight: 400;    
    }
    
    .concerns-okomari-words-mobile p:nth-of-type(odd){
        background-color: #ede5c8;
    }
    .concerns-okomari-words-mobile p:nth-of-type(even){
        background-color: #d2c7a2;
    }

    .kaimei-word{
        font-family: "游ゴシック", sans-serif;
        width: 100%;
        padding: 15px 0 10px;
        background-color: #fff;
        color: #644626;
        font-weight: 600;
        text-align: center;
    }
    .kaimei-word p{
        display: inline-block;
    }
    .naname-span{
        font-size: 30px;
    }
    .concerns .sectionfooter-kobe{
        margin-top: auto;
        z-index: 10;
        background-color: #fff;
    }


    /*探偵のお仕事について-------------------------------------------------*/
    .service-section-title {/* タイトルの共通設定 */
        font-size: 20px;
        margin: 0 0 25px; /*「探偵とは、」の説明パートの上部のスペースを調整 */
        display: flex;            
        align-items: center;      
        justify-content: center;
    }
    .service-research .service-section-title {
        margin: 0;
    }
    .service-card-grid {/* カードを並べるグリッドレイアウト */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;          
        width: 90%;
        margin-bottom: 40px;
    }
    .service-about-mobile{
        display: block;
    }

    /*事例紹介------------------------------------------------------------*/
    .case{
        height: auto;
    }
    /*スワイパーの仕様------------*/
    .swiper{
        width: 100%;

    }
    .swiper img{
        width: 100%;
        display: block;
    }
    .swiperbox{
        width: 1400px;
        margin: 0 auto;
    }
    .slider-area .swiper-pagination{/* ページネーション */
        position: static;
        margin-top: 5px;
        text-align: center;
    }
    .swiper-navigation{/* 矢印を横並びにする */
        display: flex;
        justify-content: space-between;/*矢印の幅*/
    }
    .slider-area .swiper-button-prev,
    .slider-area .swiper-button-next{/*左右ボタン*/
        width: 50px;
        height: 100px;
        color:#ffffffad ;
        background-color: rgba(225, 225, 225, 0);
    }
    .slider-area .swiper-navigation-icon{
        width: 30px;
        height: 30px;
    }
    .slider-area{
        height: auto;
        margin-top: 25px;
    }
    .slider-area .swiper-pagination-bullet{/*ページネーションの色*/
        background-color: #aaa;
        opacity: 1;
    }
    .slider-area .swiper-pagination-bullet-active{/*ページネーションがアクティブになった時の色*/
        background-color: #ffffffc5;
    }
    .slide img, .access_item img, iframe{
        width: 100%;
    }

    .swiperbox{
        width: 100%;
    }
    .slider-area .swiper-pagination{
        position: static;
        margin-top: 2px;
        text-align: center;
    }
    .slider-area .swiper-navigation-icon{
        width: 50px;
        height: 50px;
        font-weight: 900;
    }

    .swiper-button-prev,
    .swiper-button-next{/*左右ボタンがスワイパーの上下中央に配置されるようにする*/
        top: 0;
        transform: translateY(-200px);
    }
    /*ご依頼の流れ------------------------------------------------------------*/
    .flow{
        background-image: none;
        height: auto;
        max-height: none;
    }
    .flow-price-details{
        width: 87%;
        position: static;
        margin: 5vw auto ;
    }
    .flow-hexagon{
        margin-top: 25px;
        width: 90%;
        height: auto;
        text-align: center;
    }
    /*お問い合わせ------------------------------------------------------------*/
    .center-img{
        width: 95%;
    }
    .form-container1{
        padding: 15px 30px 0 5px;
    }
    .form-container2{
        padding: 0 30px 30px;       
    }
    .accordion-content{
        width: 95%;
        margin: 0 auto;
    }
    .accordion-title{
        font-size: 13px;
    }
    .policy-container{
        padding-top: 0;
        margin-top: 0;
    }
    .form-label{
        width: 160px;
    }
    input[type="text"], input[type="email"], input[type="tel"], select{
        width: 100%;
    }

    /*会社概要など------------------------------------------------------------*/
    .company-section-title{
        text-align: left;
        height: 60px;
          padding: 10px 0 30px 32%;
        font-size: 24px;
        font-weight: 500;
    }
    .company-staff-position, .company-staff-name, .company-staff-ruby{
        font-family: "游ゴシック", sans-serif;
    }
    .company-staff-desc {
        line-height: 1.7; 
    }
    .company-sub-title{
        margin-bottom: 10px;
    }
    .company-staff-img{
        width: 95%;
    }

    .staff-icon{
        display: none;
    }
    .company-staff-title-area{
        margin-bottom: 5px;
    }

    /* スタッフごとの写真サイズ・位置調整 */
    .staff-1, .staff-2, .staff-3 { width: 130px; height: auto; padding-left: 15px; padding-right: 0;
        margin-bottom: 15px;}
    .staff-4{ width: 130px; height: auto; padding-left: 15px; padding-right: 0;
        margin-bottom: 45px;}
    .company-staff-ruby-br{
        display: block;
    }

    
    /*   4. スタッフ紹介エリアの白い紙部分  */
    .company-sub-paper {
        background-image: url('../images/staff-base-mobile.png'); 
        background-size: 98% 100%;
        background-position: center;
        padding: 5% 10% 0; 
    }

    .recruit-sub-title{
        width: fit-content;
        padding: 10px 50px;
    }
    /* スマホ表示時に採用情報の薄茶色背景をなくし、上下に約30〜50pxのパディングを持たせる調整をしてます。 */
    .recruit-form-wrap {
        background-color: transparent; 
        padding: 30px 20px 40px; 
        margin-top: 15px;
        margin-bottom: 0;
    }
    .recruit-forl-lead-br{
        display: block;
    }
    .recruit-external-btns{
        display: flex;
        flex-direction: column;
        width: 120px;
        height: fit-content;
        margin: 0 auto;
        row-gap: 10px;
        padding-left: 0;
        padding-right: 0;
    }
    .recruit-external-box{
        width: 350px;
    }

    .recruit-paper {
        margin: 0 auto 30px auto;      
        padding: 35px 25px 55px;  
    }
    .recruit-table {
        width: 90%;                  
    }
    .recruit-table th, .recruit-table td {
        padding: 10px 10px;         
    }
    .recruit-table th {/**/
        width: 28%;
        font-family: "游ゴシック", sans-serif;
        font-weight: bold; 
        color: #524628;                    
        padding-left: 15px;     
    }
    .recruit-note {/**/
        font-size: 11px; 
        color: #524628;                    
        text-align: right; 
        width: 88%;                 
        margin: 0 auto;       
    }

    .accordion-title{
        width: 95%;
    }

    /* スマホ時にプライバシーポリシーがぐずれるのを直す調整をしてます。 */
    .recruit-form-privacy-area {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .recruit-privacy-details {
        max-width: 100%; 
    }
    .privacy-check-label {
        flex-direction: row; 
        margin-top: 15px; 
        justify-content: center; 
    }

    .form-container1, .form-container2{
        max-width: 95%;
    }

}
/*モバイル版の下部固定バーのマークをちゃんとバーの中に入れるためのクエリ---------------------------------*/
@media(max-width:400px){
    .header-mobile-bar-iconbox{
        gap: 1%;
    }
    .header-mobile-telmark img{
        height: 35px;
        margin-top: 8px;
    }
}
@media(max-width:374px){
    .header-mobile-topbutton{
        position: fixed;
        right: 10px;
        bottom: 90px;
        z-index: 120;
    }
    .header-mobile-topbutton img{
        height: 45px;
        width: auto;
    }
}