/*
Theme Name: 株式会社 A.K.CREW 採用サイト
Theme URI: https://recruit-a-k-crew.com/
Author: 株式会社 A.K.CREW
Author URI: https://recruit-a-k-crew.com/
Description: 株式会社A.K.CREWの採用情報サイトテーマ（軽鉄・ボード工／施工管理／営業などの募集情報を掲載）。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, recruitment, local-business
Text Domain: recruit-a-k-crew
*/

/*-------------------------*/
/*--------ヘッディング-------*/
/*-------------------------*/
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: #111;
    background: #fff;
}

.wrap {
    max-width: calc(100vw * (1200 / 1366));
    margin: 0 auto;
    padding: 0 calc(100vw * (20 / 1366));
}
@media(max-width:768px){
    .wrap {
        max-width: 100%;
    }
}

/* =========================
    HERO
========================= */
.hero_section{
    position: relative;
    height: 100vh;
    background:
        repeating-linear-gradient(
        -25deg,
        rgba(11,116,181,0.06) 0px,
        rgba(11,116,181,0.06) calc(100vw * (1 / 1366)),
        rgba(255,255,255,0) calc(100vw * (1 / 1366)),
        rgba(255,255,255,0) calc(100vw * (14 / 1366))
        ),
        radial-gradient(calc(100vw * (1200 / 1366)) calc(100vw * (700 / 1366)) at 50% 22%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 58%),
        linear-gradient(180deg,
        #FFFBF1 0%,
        #FFF6E6 28%,
        #FFEFC7 62%,
        #FFEDBB 100%
        );
    overflow: hidden;
}
.hero_section{
    position: relative;
    height: calc(100vw * (768 / 1366));
    overflow: hidden;
}

.hero_bg_arc{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
}

.hero_bg_arc::before{
    content:"";
    position:absolute;
    inset:0;
    left: calc(100vw * (-200 / 1366));
    background: linear-gradient(90deg, #29C2FF 0%, #198ebc 100%);
    -webkit-mask: radial-gradient(
        circle at 15% 41%,
        transparent 0 calc(100vw * (417 / 1366)),
        #000 calc(100vw * (417 / 1366)) calc(100vw * (650 / 1366)),
        transparent calc(100vw * (650 / 1366)) 100%
    );
            mask: radial-gradient(
        circle at 15% 41%,
        transparent 0 calc(100vw * (417 / 1366)),
        #000 calc(100vw * (417 / 1366)) calc(100vw * (650 / 1366)),
        transparent calc(100vw * (650 / 1366)) 100%
    );
}

.hero_wrap {
    position: relative;
    z-index: 1;
    height: 100%;
    padding-top: calc(100vw * (22 / 1366));
}

.hero_topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(100vw * (18 / 1366));
}

.hero_brand_kicker {
    font-weight: 800;
    font-size: calc(100vw * (14 / 1366));
    letter-spacing: 0.02em;
    margin: 0 0 calc(100vw * (10 / 1366)) 0;
}

.hero_logo {
    width: auto;
    display: block;
    position: absolute;
    top: calc(100vw * (10 / 1366));
}

.hero_logo img {
    width: calc(100vw * (280 / 1366));
}

.hero_actions {
    display: flex;
    gap: calc(100vw * (14 / 1366));
    align-items: center;
    position: relative;
    top: calc(100vw * (25 / 1366));
}

.hero_btn {
    display: inline-flex;
    align-items: center;
    gap: calc(100vw * (10 / 1366));
    padding: calc(100vw * (12 / 1366)) calc(100vw * (18 / 1366));
    border-radius: calc(100vw * (10 / 1366));
    font-weight: 900;
    font-size: calc(100vw * (18 / 1366));
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    min-width: calc(100vw * (200 / 1366));
    text-align: center;
    justify-content: center;
}

.hero_btn_icon {
    width: calc(100vw * (22 / 1366));
    height: calc(100vw * (22 / 1366));
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: invert(1);
}

.hero_btn_dark {
    background: #222;
    color: #fff;
}

.hero_btn_dark .hero_btn_icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 011 1V20a1 1 0 01-1 1C10.85 21 3 13.15 3 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.24.2 2.45.57 3.57a1 1 0 01-.25 1.02l-2.2 2.2z'/></svg>");
}

.hero_btn_blue {
    background: #0B74B5;
    color: #fff;
}

.hero_btn_blue .hero_btn_icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z'/><path d='M20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/></svg>");
}

.hero_copy {
    margin-top: calc(100vw * (125 / 1366));
    padding-left: calc(100vw * (300 / 1366));
    text-wrap-mode: nowrap;
}

.hero_kicker {
    margin: 0 0 calc(100vw * (12 / 1366)) 0;
    font-size: calc(100vw * (60 / 1366));
    font-weight: 900;
}

.hero_kicker span{
    font-size: calc(100vw * (100 / 1366));
}

.hero_title {
    margin: 0 0 calc(100vw * (14 / 1366)) 0;
    font-size: calc(100vw * (60 / 1366));
    font-weight: 1000;
    letter-spacing: 0.02em;
}

.hero_title span{
    font-size: calc(100vw * (80 / 1366));
}

.hero_sub {
    margin: 0;
    font-size: calc(100vw * (40 / 1366));
    font-weight: 900;
}

.hero_kicker,
.hero_title,
.hero_sub{
    color: #2e2e2e;
    text-shadow:
        calc(100vw * (-2 / 1366)) calc(100vw * (-2 / 1366)) 0 #fefefe,
        0   calc(100vw * (-2 / 1366)) 0 #fefefe,
        calc(100vw * (2 / 1366)) calc(100vw * (-2 / 1366)) 0 #fefefe,
        calc(100vw * (-2 / 1366))  0   0 #fefefe,
        calc(100vw * (2 / 1366))  0   0 #fefefe,
        calc(100vw * (-2 / 1366))  calc(100vw * (2 / 1366)) 0 #fefefe,
        0    calc(100vw * (2 / 1366)) 0 #fefefe,
        calc(100vw * (2 / 1366))  calc(100vw * (2 / 1366)) 0 #fefefe;
}

.hero_mascot{
    position: relative;
    top: calc(100vw * (140 / 1366));
    z-index: -1;
}

.hero_mascot img{
    position: absolute;
    width: calc(100vw * (375 / 1366));
}
@media (max-width: 768px){

  .hero_section{
    height: auto;
    min-height: auto;
    padding-bottom: calc(100vw * (28 / 768));
    padding-bottom: 100px;
  }

  .hero_wrap{
    position: relative;
    z-index: 1;
    height: auto;
    padding-top: calc(100vw * (16 / 768));
    padding-left: calc(100vw * (16 / 768));
    padding-right: calc(100vw * (16 / 768));
    display: flex;
    flex-direction: column;
  }

  .hero_topbar{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: calc(100vw * (12 / 768));
  }

  .hero_brand{
    display: flex;
    flex-direction: column;
    gap: calc(100vw * (6 / 768));
  }

  .hero_brand_kicker{
    font-size: calc(100vw * (20 / 768));
    margin: 0;
  }

  .hero_logo{
    position: static;
    width: calc(100vw * (320 / 768));
    height: auto;
    display: block;
  }

  .hero_actions{
    position: static;
    top: auto;
    width: 100%;
    display: flex;
    gap: calc(100vw * (10 / 768));
    align-items: stretch;
  }

  .hero_btn{
    flex: 1 1 0;
    min-width: 0;
    padding: calc(100vw * (22 / 768)) calc(100vw * (10 / 768));
    border-radius: calc(100vw * (12 / 768));
    font-size: 14px !important;
    line-height: 1;
  }

  .hero_btn_icon{
    width: calc(100vw * (25 / 768)) !important;
    height: calc(100vw * (25 / 768)) !important;
  }

  .hero_mascot{
    position: relative;
    top: auto;
    z-index: 0;
    margin-top: 50px;
    display: flex;
    justify-content: center;
  }

  .hero_mascot img{
    position: static;
    width: calc(100vw * (500 / 768));
    height: auto;
    display: block;
  }

  .hero_copy{
    margin-top: calc(100vw * (18 / 768));
    padding-left: 0;
    text-wrap-mode: normal;
    z-index: 2;
    text-align: left;
  }

  .hero_kicker{
    margin: 0 0 calc(100vw * (10 / 768)) 0;
    font-size: calc(100vw * (50 / 768));
    line-height: 1.15;
  }

  .hero_kicker span{
    font-size: calc(100vw * (80 / 768));
  }

  .hero_title{
    margin: 0 0 calc(100vw * (10 / 768)) 0;
    font-size: calc(100vw * (40 / 768));
    line-height: 1.18;
    letter-spacing: 0.01em;
  }

  .hero_title span{
    font-size: calc(100vw * (50 / 768));
  }

  .hero_sub{
    margin: 0;
    font-size: calc(100vw * (30 / 768));
    line-height: 1.5;
  }

  .hero_kicker,
  .hero_title,
  .hero_sub{
    text-shadow:
      calc(100vw * (-1 / 768)) calc(100vw * (-1 / 768)) 0 #ffffff,
      0 calc(100vw * (-1 / 768)) 0 #ffffff,
      calc(100vw * (1 / 768)) calc(100vw * (-1 / 768)) 0 #ffffff,
      calc(100vw * (-1 / 768)) 0 0 #ffffff,
      calc(100vw * (1 / 768)) 0 0 #ffffff,
      calc(100vw * (-1 / 768)) calc(100vw * (1 / 768)) 0 #ffffff,
      0 calc(100vw * (1 / 768)) 0 #ffffff,
      calc(100vw * (1 / 768)) calc(100vw * (1 / 768)) 0 #ffffff;
  }

  .hero_bg_arc::before{
    left: calc(100vw * (-240 / 768));
    -webkit-mask: radial-gradient(
      circle at 18% 30%,
      transparent 0 calc(100vw * (260 / 768)),
      #000 calc(100vw * (260 / 768)) calc(100vw * (480 / 768)),
      transparent calc(100vw * (480 / 768)) 100%
    );
            mask: radial-gradient(
      circle at 18% 30%,
      transparent 0 calc(100vw * (260 / 768)),
      #000 calc(100vw * (260 / 768)) calc(100vw * (480 / 768)),
      transparent calc(100vw * (480 / 768)) 100%
    );
  }
}


/* =========================
    INTERVIEW (Yellow)
========================= */
.interview_section {
    background: #F6C637;
    height: calc(100vw * (768 / 1366));
    padding: calc(100vw * (18 / 1366)) 0 calc(100vw * (26 / 1366));
}

.interview_head {
    background: #F4C130;
    color: #111;
    font-weight: 1000;
    text-align: center;
    padding: calc(100vw * (14 / 1366)) calc(100vw * (12 / 1366));
    border-radius: calc(100vw * (8 / 1366));
    margin: 0 auto calc(100vw * (16 / 1366));
    max-width: calc(100vw * (560 / 1366));
    letter-spacing: 0.06em;
    position: relative;
    margin-top: calc(100vw * (-75 / 1366));
    height: calc(100vw * (100 / 1366));
    line-height: calc(100vw * (15 / 1366));
    box-sizing: border-box;
}

.interview_head p{
    font-size: calc(100vw * (40 / 1366));
    line-height: 0;
}

.interview_cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(100vw * (10 / 1366));
    align-items: end;
    padding-top: calc(100vw * (40 / 1366));
    padding-bottom: calc(100vw * (40 / 1366));
    padding-left: calc(100vw * (16 / 1366));
    padding-right: calc(100vw * (16 / 1366));
    max-width: 100%;
    box-sizing: border-box;
}

.interview_card {
    background: #2A97D6;
    border-radius: calc(100vw * (6 / 1366));
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transform-origin: center;
    box-shadow:
        0 calc(100vw * (12 / 1366)) calc(100vw * (28 / 1366)) rgba(255, 204, 77, 0.45),
        0 calc(100vw * (4 / 1366)) calc(100vw * (10 / 1366)) rgba(255, 170, 0, 0.18);
}

.interview_card:nth-child(1) {
    transform: rotate(-2deg);
}

.interview_card:nth-child(2) {
    transform: rotate(2deg);
}

.interview_card:nth-child(3) {
    transform: rotate(-2deg);
}

.interview_card:nth-child(4) {
    transform: rotate(2deg);
}

.interview_card img {
    width: 100%;
    height: calc(100vw * (400 / 1366));
    object-fit: cover;
    display: block;
}

.interview_card_cap {
    padding: calc(100vw * (10 / 1366)) calc(100vw * (10 / 1366)) calc(100vw * (12 / 1366));
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    font-size: calc(100vw * (25 / 1366));
}
.intervie_more_btn{
    display: flex;
    justify-content: center;
    margin-top: calc(100vw * (18 / 1366));
    padding: 0 calc(100vw * (16 / 1366));
    box-sizing: border-box;
}

.intervie_more_btn a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(100vw * (10 / 1366));
    width: 100%;
    max-width: calc(100vw * (360 / 1366));
    padding: calc(100vw * (16 / 1366)) calc(100vw * (22 / 1366));
    border-radius: calc(100vw * (14 / 1366));
    background: linear-gradient(135deg, #0B74B5 0%, #2A97D6 52%, #0B74B5 100%);
    color: #fff;
    font-size: calc(100vw * (18 / 1366));
    font-weight: 1000;
    text-decoration: none;
    letter-spacing: 0.06em;
    box-shadow:
        0 calc(100vw * (14 / 1366)) calc(100vw * (28 / 1366)) rgba(11, 116, 181, 0.28),
        0 calc(100vw * (6 / 1366)) 0 rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.intervie_more_btn a::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(calc(100vw * (220 / 1366)) calc(100vw * (120 / 1366)) at 22% 18%, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.9;
    pointer-events: none;
}

.intervie_more_btn a::after{
    content: "";
    width: calc(100vw * (10 / 1366));
    height: calc(100vw * (10 / 1366));
    border-top: calc(100vw * (3 / 1366)) solid rgba(255,255,255,0.95);
    border-right: calc(100vw * (3 / 1366)) solid rgba(255,255,255,0.95);
    transform: rotate(45deg);
    margin-left: calc(100vw * (6 / 1366));
    flex: 0 0 auto;
}

.intervie_more_btn a:hover{
    transform: translateY(calc(100vw * (-2 / 1366)));
    box-shadow:
        0 calc(100vw * (18 / 1366)) calc(100vw * (34 / 1366)) rgba(11, 116, 181, 0.30),
        0 calc(100vw * (8 / 1366)) 0 rgba(0, 0, 0, 0.20);
    filter: brightness(1.02);
}

.intervie_more_btn a:active{
    transform: translateY(calc(100vw * (1 / 1366)));
    box-shadow:
        0 calc(100vw * (10 / 1366)) calc(100vw * (22 / 1366)) rgba(11, 116, 181, 0.22),
        0 calc(100vw * (4 / 1366)) 0 rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px){
    .intervie_more_btn{
        margin-top: 18px;
        padding: 0 16px;
    }

    .intervie_more_btn a{
        max-width: 360px;
        padding: 16px 22px;
        border-radius: 14px;
        font-size: 16px;
        box-shadow:
            0 14px 28px rgba(11, 116, 181, 0.26),
            0 6px 0 rgba(0, 0, 0, 0.18);
    }

    .intervie_more_btn a::after{
        width: 10px;
        height: 10px;
        border-top: 3px solid rgba(255,255,255,0.95);
        border-right: 3px solid rgba(255,255,255,0.95);
        margin-left: 6px;
    }
}
/* ===========================
   Interview：768px以下レスポンシブ（HTML変更なし）
   既存CSSの下に追記してください
=========================== */
@media (max-width: 768px){

  /* セクション：高さ固定が崩れの原因なので解除 */
  .interview_section{
    height: auto;
    padding: 18px 0 26px;
  }

  /* 見出し：負のmargin-topをスマホ用に調整（上に飛びすぎ防止） */
  .interview_head{
    max-width: 560px;
    margin: 0 auto 14px;
    margin-top: -46px;     /* ←PCの-75相当をスマホで安全に */
    height: auto;
    padding: 14px 12px;
    border-radius: 10px;
    line-height: 1.2;
  }

  .interview_head p{
    font-size: 22px;
    line-height: 1.1;
    margin: 0;
  }

  /* カード：4列→2列。余白はpxで安定させる */
  .interview_cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 22px 16px 18px;
  }

  /* 角丸/影：スマホで重くなりすぎない程度に */
  .interview_card{
    border-radius: 10px;
    box-shadow:
      0 12px 28px rgba(255, 204, 77, 0.38),
      0 4px 10px rgba(255, 170, 0, 0.14);
  }

  /* 画像：vw固定高だと端末で破綻しやすいので比率で固定 */
  .interview_card img{
    height: auto;
    aspect-ratio: 4 / 5;   /* 縦長カードの雰囲気を維持 */
    object-fit: cover;
  }

  /* キャプション：可読性優先 */
  .interview_card_cap{
    padding: 10px 10px 12px;
    font-size: 14px;
    line-height: 1.35;
  }

  /* 回転：スマホは揺れが強く見えるので弱める */
  .interview_card:nth-child(1){ transform: rotate(-1.2deg); }
  .interview_card:nth-child(2){ transform: rotate( 1.2deg); }
  .interview_card:nth-child(3){ transform: rotate(-1.0deg); }
  .interview_card:nth-child(4){ transform: rotate( 1.0deg); }

  /* 既に書いてあるmoreボタンの@mediaはOK。念のため幅を安定 */
  .intervie_more_btn a{
    width: 100%;
  }
}

/* さらに小さい端末：1列（カードが潰れるのを防ぐ） */
@media (max-width: 430px){

  .interview_head{
    margin-top: -42px;
    border-radius: 10px;
  }

  .interview_head p{
    font-size: 20px;
  }

  .interview_cards{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px 16px;
  }

  .interview_card{
    transform: none; /* 1列時は回転なしが綺麗 */
  }

  .interview_card img{
    aspect-ratio: 16 / 10; /* 1列時は横長で見やすく */
  }

  .interview_card_cap{
    font-size: 15px;
  }
}

/* =========================
    TALK (Blue)
========================= */
.talk_section {
    position: relative;
    background: linear-gradient(180deg, #031B3B 0%, #062B5A 38%, #0B3F86 72%, #0C62AA 100%);
    padding: calc(100vw * (22 / 1366)) 0 calc(100vw * (34 / 1366));
    padding-top: calc(100vw * (80 / 1366));
    padding-bottom: calc(100vw * (80 / 1366));
    overflow: hidden;
}

.talk_bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 35%, rgba(255,255,255,0.10) 0 calc(100vw * (2 / 1366)), transparent calc(100vw * (2 / 1366)) calc(100vw * (18 / 1366))),
        radial-gradient(circle at 60% 55%, rgba(255,255,255,0.10) 0 calc(100vw * (2 / 1366)), transparent calc(100vw * (2 / 1366)) calc(100vw * (18 / 1366))),
        radial-gradient(circle at 40% 75%, rgba(255,255,255,0.10) 0 calc(100vw * (2 / 1366)), transparent calc(100vw * (2 / 1366)) calc(100vw * (18 / 1366)));
    background-size: calc(100vw * (260 / 1366)) calc(100vw * (260 / 1366));
    opacity: 0.95;
}

.talk_wrap {
    position: relative;
    z-index: 1;
}

.talk_row {
    display: flex;
    align-items: center;
    gap: calc(100vw * (10 / 1366));
    margin: calc(100vw * (14 / 1366)) 0 calc(100vw * (12 / 1366));
    margin-top: calc(100vw * (60 / 1366));
}

.talk_row_left {
    justify-content: flex-start;
}

.talk_row_right {
    justify-content: flex-end;
}

.talk_avatar {
    width: calc(100vw * (180 / 1366));
    height: calc(100vw * (180 / 1366));
    border-radius: calc(100vw * (999 / 1366));
    overflow: hidden;
    flex: 0 0 auto;
    border: calc(100vw * (3 / 1366)) solid rgba(255,255,255,0.35);
}

.talk_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.talk_balloon {
    border-radius: calc(100vw * (12 / 1366));
    padding: calc(100vw * (20 / 1366)) calc(100vw * (25 / 1366));
    font-weight: 900;
    font-size: calc(100vw * (25 / 1366));
    line-height: 1.35;
    max-width: 78%;
    box-shadow: 0 calc(100vw * (6 / 1366)) 0 rgba(0,0,0,0.18);
}

.talk_balloon_blue {
    background: linear-gradient(135deg, #0D1C4D 0%, #143B9B 36%, #2F78FF 100%);
    color: #fff;
}

.talk_balloon_yellow {
    background: linear-gradient(180deg, #FFF2A6 0%, #F7E05B 100%);
    color: #111;
}

.talk_box {
    background: #FFF3CF;
    border-radius: calc(100vw * (10 / 1366));
    padding: calc(100vw * (20 / 1366)) calc(100vw * (25 / 1366));
    margin: calc(100vw * (10 / 1366)) auto calc(100vw * (16 / 1366));
    max-width: calc(100vw * (860 / 1366));
    color: #111;
    box-shadow: 0 calc(100vw * (8 / 1366)) 0 rgba(0,0,0,0.12);
}

.talk_box_left{
    margin-left: calc(100vw * (90 / 1366));
    margin-top: calc(100vw * (40 / 1366));
}

.talk_box_right{
    margin-right: calc(100vw * (90 / 1366));
    margin-top: calc(100vw * (40 / 1366));
}

.talk_box p {
    margin: 0 0 calc(100vw * (6 / 1366)) 0;
    font-size: calc(100vw * (25 / 1366));
    font-weight: 700;
    line-height: 1.6;
}

.talk_box p:last-child {
    margin-bottom: 0;
}
/* ===========================
   Talk：768px以下レスポンシブ（HTML変更なし）
   既存CSSの下に追記してください
=========================== */
@media (max-width: 768px){

  /* 余白：vw固定をやめて安定させる */
  .talk_section{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .talk_bg{
    background-size: 220px 220px;
    opacity: 0.9;
  }

  /* 行：左右寄せは維持しつつ、間隔を詰める */
  .talk_row{
    gap: 10px;
    margin: 18px 0 10px;
    margin-top: 34px;
  }

  /* アイコン：端末で大きすぎるので固定pxへ */
  .talk_avatar{
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.35);
  }

  /* 吹き出し：可読性と折返しを安定 */
  .talk_balloon{
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 15px;
    line-height: 1.35;
    max-width: calc(100% - 82px); /* 72 + gap10 を確保 */
    box-shadow: 0 6px 0 rgba(0,0,0,0.18);
  }

  /* 本文ボックス：左右のオフセットを解除して中央に */
  .talk_box{
    max-width: 100%;
    margin: 10px 16px 18px;
    border-radius: 12px;
    padding: 14px 14px;
    box-shadow: 0 8px 0 rgba(0,0,0,0.12);
  }

  .talk_box_left,
  .talk_box_right{
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 14px;
  }

  .talk_box p{
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 6px 0;
  }
}

/* さらに小さい端末：横幅が足りない時の安全策 */
@media (max-width: 420px){

  .talk_section{
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .talk_row{
    gap: 8px;
    margin-top: 28px;
  }

  .talk_avatar{
    width: 64px;
    height: 64px;
  }

  .talk_balloon{
    font-size: 14px;
    padding: 12px 12px;
    max-width: calc(100% - 72px); /* 64 + gap8 */
  }

  .talk_box{
    margin-left: 14px;
    margin-right: 14px;
    padding: 12px 12px;
  }

  .talk_box p{
    font-size: 13px;
  }
}


/* =========================
    ORANGE INFO
========================= */
.info_section {
    background: #F49A1A;
    padding: calc(100vw * (28 / 1366)) 0 calc(100vw * (32 / 1366));
    padding-top: calc(100vw * (80 / 1366));
    padding-bottom: calc(100vw * (80 / 1366));
    overflow: hidden;
}

.info_card {
    background: #FFF6DB;
    border-radius: calc(100vw * (10 / 1366));
    padding: calc(100vw * (16 / 1366)) calc(100vw * (16 / 1366));
    box-shadow: 0 calc(100vw * (10 / 1366)) 0 rgba(0,0,0,0.10);
}

.info_item {
    display: flex;
    align-items: center;
    gap: calc(100vw * (40 / 1366));
    padding: calc(100vw * (10 / 1366)) 0;
    border-bottom: calc(100vw * (2 / 1366)) solid rgba(0,0,0,0.10);
}

.info_item:last-child {
    border-bottom: none;
}

.info_icon {
    width: calc(100vw * (100 / 1366));
    height: calc(100vw * (100 / 1366));
    border-radius: calc(100vw * (999 / 1366));
    display: grid;
    place-items: center;
    font-weight: 1000;
    color: #fff;
    background: #F49A1A;
    flex: 0 0 auto;
}

.info_line {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 800;
    line-height: 1.55;
}

@media screen and (max-width: 768px) {

    .info_section {
        padding: 48px 0 40px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .info_card {
        border-radius: 10px;
        padding: 16px 16px;
        box-shadow: 0 10px 0 rgba(0,0,0,0.10);
        margin: 0 16px;
    }

    .info_item {
        gap: 14px;
        padding: 12px 0;
        border-bottom: 2px solid rgba(0,0,0,0.10);
    }

    .info_icon {
        width: 64px;
        height: 64px;
        border-radius: 999px;
        font-size: 16px;
    }

    .info_line {
        font-size: 16px;
        line-height: 1.6;
    }

}

/* ===========================
   Info + CTA2：768px以下レスポンシブ（HTML変更なし）
   ※既存の@media(<=768)より「下」に追記して上書きしてください
=========================== */
@media (max-width: 768px){

  /* セクション余白：既存はOKだが左右の安全余白を確保 */
  .info_section{
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* カード：スマホは左右に余白必須（wrap内でも効くように） */
  .info_card{
    margin: 0 16px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 0 rgba(0,0,0,0.10);
  }

  .info_item{
    align-items: flex-start; /* 文章が複数行でも上揃えで綺麗 */
    gap: 14px;
    padding: 12px 0;
  }

  /* アイコン：中のimgがはみ出さないサイズ管理 */
  .info_icon{
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .info_icon img{
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
  }

  /* テキスト：長文（給与の行）があるので折り返し制御 */
  .info_text{
    min-width: 0; /* flexのはみ出し対策 */
    flex: 1 1 auto;
  }

  .info_line{
    font-size: 16px;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* ===== CTA2（2つのボタン） ===== */
  .cta2{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .cta2_btn{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    box-sizing: border-box;
  }

  .cta2_icon{
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    display: grid;
    place-items: center;
  }

  .cta2_icon img{
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    display: block;
  }

  .cta2_text{
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .cta2_label{
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    word-break: break-word;
  }

  .cta2_sub{
    font-size: 14px !important;
    line-height: 1.25;
    opacity: 0.95;
  }

  .cta2_arrow{
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
  }
}

/* さらに小さい端末：横幅が足りない時の崩れ防止 */
@media (max-width: 420px){

  .info_card{
    margin: 0 14px;
    padding: 14px;
  }

  .info_icon{
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .info_icon img{
    width: 32px;
    height: 32px;
  }

  .info_line{
    font-size: 15px;
  }

  .cta2{
    padding: 0 14px;
  }

  .cta2_btn{
    padding: 13px 12px;
    border-radius: 14px;
  }

  .cta2_icon{
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .cta2_label{
    font-size: 14px;
  }

  .cta2_sub{
    font-size: 20px;
  }

  .cta2_arrow{
    font-size: 17px;
  }
}

/* =========================
    4 PANELS
========================= */
.panel_section {
    background: #F5EAC4;
    padding: calc(100vw * (22 / 1366)) 0 0;
    padding-top: calc(100vw * (80 / 1366));
    padding-bottom: calc(100vw * (80 / 1366));
    overflow: hidden;
}

.panel_wrap {
    padding-bottom: 0;
}

.panel_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(100vw * (14 / 1366));
    margin-bottom: calc(100vw * (22 / 1366));
}

.panel {
    background: #fff;
    border-radius: calc(100vw * (10 / 1366));
    overflow: hidden;
    border: calc(100vw * (2 / 1366)) solid rgba(0,0,0,0.06);
    padding-top: calc(100vw * (20 / 1366));
    padding-bottom: calc(100vw * (20 / 1366));
    box-shadow: 0 calc(100vw * (10 / 1366)) 0 rgba(0,0,0,0.10);
}

.panel_head {
    display: flex;
    align-items: center;
    gap: calc(100vw * (10 / 1366));
    padding: calc(100vw * (12 / 1366)) calc(100vw * (12 / 1366));
}

.panel_head_icon {
    border-radius: calc(100vw * (8 / 1366));
    display: grid;
    place-items: center;
    font-size: calc(100vw * (16 / 1366));
}

.panel_head_title {
    font-weight: 1000;
    letter-spacing: 0.06em;
    color: #199FD4;
    font-size: calc(100vw * (30 / 1366));
}

.panel_body {
    padding: calc(100vw * (12 / 1366)) calc(100vw * (12 / 1366)) calc(100vw * (14 / 1366));
}

.panel_label {
    font-weight: 1000;
    margin-bottom: calc(100vw * (6 / 1366));
    color: #199FD4;
    font-size: calc(100vw * (25 / 1366));
}

.panel_text {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 700;
    line-height: 1.6;
    color: #222;
    margin-bottom: calc(100vw * (8 / 1366));
}

.panel_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vw * (40 / 1366));
    border-radius: calc(100vw * (10 / 1366));
    background: #1687C7;
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.panel_btn_blue {
    background: #0B74B5;
}

.panel_brand {
    display: grid;
    place-items: center;
    padding: calc(100vw * (18 / 1366)) 0 calc(100vw * (10 / 1366));
    padding-top: calc(100vw * (100 / 1366));
    padding-bottom: calc(100vw * (100 / 1366));
    background: linear-gradient(180deg, #FFFBF1 0%, #FFEDBB 100%);
}

.panel_brand img {
    width: calc(100vw * (500 / 1366));
    width: auto;
    display: block;
    opacity: 0.9;
    max-width: 100%;
}

.copyright {
    text-align: center;
    font-size: calc(100vw * (16 / 1366));
    font-weight: 700;
    padding: calc(100vw * (10 / 1366)) 0 calc(100vw * (14 / 1366));
    background-color: #06466e;
    padding-top: calc(100vw * (5 / 1366));
    padding-bottom: calc(100vw * (5 / 1366));
    position: relative;
}
.copyright p{
    color: #ffffff !important;
}
.panel{
    display:flex;
    align-items:stretch;
    gap: calc(100vw * (20 / 1366));
}

.panel01{
    flex: 0 0 30%;
    width: 30%;
}

.panel02{
    flex: 0 0 60%;
    width: 60%;
}

.panel01{
    display:flex;
    align-items:center;
    justify-content:center;
}

.panel_head_icon img{
    width: 100%;
    height: calc(100vw * (200 / 1366));
    height:auto;
    display:block;
}

.cta2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(100vw * (18 / 1366));
    width: 80%;
    margin: 0 auto;
    margin-top: calc(100vw * (40 / 1366));
}

.cta2_btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: calc(100vw * (14 / 1366));
    padding: calc(100vw * (18 / 1366)) calc(100vw * (18 / 1366));
    border-radius: calc(100vw * (18 / 1366));
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
    border: calc(100vw * (1 / 1366)) solid rgba(0,0,0,0.08);
    box-shadow: 0 calc(100vw * (18 / 1366)) calc(100vw * (40 / 1366)) rgba(0,0,0,0.12);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    overflow: hidden;
}

.cta2_btn::before {
    content: "";
    position: absolute;
    inset: calc(100vw * (-2 / 1366));
    background: radial-gradient(calc(100vw * (800 / 1366)) calc(100vw * (220 / 1366)) at 10% 0%, rgba(0,138,130,0.22), transparent 55%),
                radial-gradient(calc(100vw * (700 / 1366)) calc(100vw * (240 / 1366)) at 90% 110%, rgba(0,0,0,0.10), transparent 60%);
    pointer-events: none;
}

.cta2_btn:hover {
    transform: translateY(calc(100vw * (-3 / 1366)));
    border-color: rgba(0,0,0,0.14);
    box-shadow: 0 calc(100vw * (22 / 1366)) calc(100vw * (60 / 1366)) rgba(0,0,0,0.16);
}

.cta2_btn:active {
    transform: translateY(calc(100vw * (-1 / 1366)));
}

.cta2_icon {
    position: relative;
    width: calc(100vw * (52 / 1366));
    height: calc(100vw * (52 / 1366));
    flex: 0 0 calc(100vw * (52 / 1366));
    display: grid;
    place-items: center;
    border-radius: calc(100vw * (16 / 1366));
    background: rgba(0,138,130,0.10);
    border: calc(100vw * (1 / 1366)) solid rgba(0,138,130,0.18);
}

.cta2_icon img {
    width: calc(100vw * (28 / 1366));
    height: calc(100vw * (28 / 1366));
    display: block;
    filter: brightness(0) saturate(100%) invert(24%) sepia(27%) saturate(1914%) hue-rotate(137deg) brightness(94%) contrast(95%);
}

.cta2_text {
    position: relative;
    display: grid;
    gap: calc(100vw * (4 / 1366));
    min-width: 0;
}

.cta2_label {
    font-weight: 800;
    font-size: calc(100vw * (18 / 1366));
    letter-spacing: 0.02em;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta2_sub {
    font-size: calc(100vw * (13 / 1366));
    color: rgba(0,0,0,0.62);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta2_arrow {
    position: relative;
    margin-left: auto;
    font-size: calc(100vw * (18 / 1366));
    font-weight: 800;
    color: rgba(0,0,0,0.70);
    transition: transform 220ms ease;
}

.cta2_btn:hover .cta2_arrow {
    transform: translateX(calc(100vw * (4 / 1366)));
}

.cta2_btn.is_worker::before {
    background: radial-gradient(calc(100vw * (800 / 1366)) calc(100vw * (220 / 1366)) at 10% 0%, rgba(35,35,35,0.16), transparent 55%),
                radial-gradient(calc(100vw * (700 / 1366)) calc(100vw * (240 / 1366)) at 90% 110%, rgba(0,138,130,0.18), transparent 60%);
}

.cta2_btn.is_worker .cta2_icon {
    background: rgba(0,0,0,0.06);
    border: calc(100vw * (1 / 1366)) solid rgba(0,0,0,0.10);
}

.cta2_btn.is_worker .cta2_icon img {
    filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(900%) hue-rotate(180deg) brightness(95%) contrast(95%);
}

/* スマホ */
@media (max-width: 768px) {
    .cta2 {
        grid-template-columns: 1fr;
        gap: 12px;
        width: calc(100% - 32px);
    }

    .cta2_btn {
        border-radius: 16px;
        padding: 16px 16px;
    }

    .cta2_label {
        font-size: 16px;
    }
}
/* ===========================
   Panel：768px以下レスポンシブ（HTML変更なし）
   ※既存CSSの一番下に追記（同じ@mediaがあっても下が勝ち）
=========================== */
@media (max-width: 768px){

  .panel_section{
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .panel_wrap{
    padding-bottom: 0;
  }

  /* 2列 → 1列（カードの可読性優先） */
  .panel_grid{
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
    padding: 0 16px;          /* wrap内でも左右の安全余白 */
    box-sizing: border-box;
  }

  .panel{
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.06);
    padding-top: 16px;
    padding-bottom: 16px;
    box-shadow: 0 10px 0 rgba(0,0,0,0.10);

    /* ここが崩れやすい：flex割合をスマホ用に固定 */
    display: flex;
    align-items: stretch;
    gap: 12px;
  }

  .panel01{
    flex: 0 0 92px;
    width: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .panel02{
    flex: 1 1 auto;
    width: auto;
    min-width: 0; /* 長文で横にはみ出す対策 */
  }

  /* アイコン：height:calc(...) が崩れの元なので上書き */
  .panel_head_icon{
    border-radius: 10px;
  }

  .panel_head_icon img{
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
  }

  .panel_head{
    gap: 10px;
    padding: 10px 10px;
  }

  .panel_head_title{
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .panel_body{
    padding: 10px 10px 12px;
  }

  .panel_label{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .panel_text{
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .panel_btn{
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
  }
}

/* さらに小さい端末（320〜375px） */
@media (max-width: 420px){

  .panel_grid{
    padding: 0 14px;
  }

  .panel{
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .panel01{
    flex: 0 0 84px;
    width: 84px;
  }

  .panel_head_icon img{
    width: 66px;
    height: 66px;
  }

  .panel_head_title{
    font-size: 17px;
  }

  .panel_label{
    font-size: 15px;
  }

  .panel_text{
    font-size: 13px;
  }

  .panel_btn{
    height: 40px;
  }
}


/* =========================
    Responsive (スマホ寄せ)
========================= */
@media (max-width: 900px) {
    /*
    .hero_copy {
        margin-top: 120px;
    }
    */

    .interview_cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel_grid {
        grid-template-columns: 1fr;
    }
}