/* =========================================================
  custom.css  ── クライアント・ページ固有スタイル
  ─────────────────────────────────────────────
========================================================= */


/* =========================================================
  ブランドカラー上書き（child.css の :root を上書きする場合）
  ─────────────────────────────────────────────
  child.css 側の --c-primary 等をここで再定義
  テンプレートを書き換えずにカラーを適用
========================================================= */

:root {
    --c-primary: #333333;
    --c-primary-dark: #D7B814;
    --c-accent: #D7B814;
    --c-bg-yellow: #FFFFF8;
    --c-yellow: #F9E54D;
    --c-green: #41CE00;
    --c-l-green: #D7FFDD;
    --c-bg-footer: #F6F6F6;
    --c-white: #FFFFFF;

    /* ブランドグラデーション */
    --grad-brand: linear-gradient(
        to right,
        #4B1D7A  0%,
        #2F0A63 18%,
        #0F023D 24%,
        #260B56 36%,
        #083D65 58%,
        #0A8F93 82%,
        #0C7F82 91%,
        #083D65 100%
    );

    --grad-brand-bt: linear-gradient(
        to bottom,
        #4B1D7A  0%,
        #2F0A63 18%,
        #0F023D 24%,
        #260B56 36%,
        #083D65 58%,
        #0A8F93 82%,
        #0C7F82 91%,
        #083D65 100%
    );

    /* グラデーションの主要カラー */
    --c-brand-purple: #4B1D7A;
    --c-brand-navy:   #083D65;
    --c-brand-teal:   #0A8F93;
}



/* =========================================================
  ページ共通カスタム
========================================================= */
.home h2 {
  font-size: var(--fz-28-48);
}

h3 {
  font-size: var(--fz-18-24);
}

.h_line::after {
  content: '';
  display: block;
  height: 3px;
  width: 180px;
  background: var(--grad-brand);
  margin: 20px auto 30px auto;
  left: calc(50% - 90px);
}

.h_line.left::after {
  margin: 20px auto 30px 0;
}

.h_line_right {
  display: inline-block;
  position: relative;
  padding: 0 2.5em 0 0;
  color: #333333;
  width: 100%;
  overflow: hidden;
}

.h_line_wh::after {
  content: '';
  display: block;
  height: 3px;
  width: 180px;
  background: var(--c-white);
  margin: 20px auto 30px auto;
  left: calc(50% - 90px)
}

.h_line_2border {
  border: 1px solid var(--c-primary);
  position: relative;
  padding: 10px 10px 10px 1em;
  background: var(--c-white);
}

.h_line_2border::after {
  content: '';
  border: 1px solid var(--c-primary);
  position: absolute;
  top: 5px;
  right: -5px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

ul.c-gnav li a span {
  border-right: 1px solid var(--c-white);
  padding-right: 1.5em;
}

ul.c-gnav li:nth-last-child(2) a span,
ul.c-gnav li:last-child a span {
  border-right: none;
  padding-right: 0;
}

ul.c-gnav__depth1 li a span {
  border-right: none;
}

.home li.menu-item-28 {
  border: 1px solid var(--c-white);
  padding: 5px 0.5em;
  margin-left: 1.5em;
}

html[data-scrolled="true"] .home li.menu-item-28{
  border: 1px solid var(--c-text);
  padding: 5px 0.5em;
  margin-left: 2em;
}

li.menu-item-28 {
  border: 1px solid var(--c-text);
  padding: 5px 0.5em;
  margin-left: 2em;
}

/* 親要素に位置の基準を設定 */
.mv_cov {
  position: relative;
}

/* 画像を囲う親要素いっぱいにグラデーションの膜を張る */
.mv_cov::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* 画像がグラデーションの下に隠れるようにする */
.mv_cov img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

/* =========================================================
  TOPページ
========================================================= */
.mv_cov > div {
  max-width: 1000px;
}

.mv_copy {
  font-size: var(--fz-mv-main);
  text-shadow: var(--txt-shadow1);
  font-weight: 700;
  line-height: 1.4;
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.mv_copy::after {
    content: '|';
    animation: tec-blink .8s step-end infinite;
}

.mv_copy.typing-done::after {
    display: none;
}

@keyframes tec-blink {
    50% { opacity: 0; }
}

.cont1_wrap {
  max-width: 1000px;
  height: 33vh;
  margin: 80px auto;
  background: url(/wp-content/uploads/2026/06/logo_bg1.webp) no-repeat right bottom;
  background-size: min(634px, 100%) auto;
}

@media (max-width:640px) {
  .cont1_wrap {
    height: auto;
  }  
}

.cont1_wrap h1 {
  font-size: var(--fz-lead);
}

.cont1_left_wrap {
  width: min(100%, 640px);
  padding-bottom: 20px;
}

.trans_wrap {
  position: relative;
  margin-top: 80px;
  padding: 80px var(--st-pad--container);
}

.trans_wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.07;
  z-index: 0;
}

.trans_wrap > * {
  position: relative;
  z-index: 1;
}

.trans_wrap_col {
  margin-bottom: 80px !important;
}

.trans_h {
  max-width: 720px;
  margin: 80px auto;
}

.trans_h p {
  font-size: var(--fz-16-20);
  font-weight: bold;
}

.trans_no {
  font-size: var(--fz-display-md);
  font-weight: 900;
  background: var(--grad-brand-bt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .2;
  min-width: 150px;
}


.trans_col {
  background: var(--c-white);
  box-shadow: var(--shadow3);
  padding: 60px var(--st-pad--container);
  margin-top: 50px !important;
  width: 720px;
  gap: 1rem !important;
}

.trans_wrap_box {
  z-index: 2;
}

.trans_wrap_box2 {
  z-index: 1;
}

.trans_wrap_box2 img{
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow5);
}


.trans_rev {
  flex-direction: row-reverse;
}

.trans_rev .trans_wrap_box {
  position: relative;
}

.trans_rev .trans_wrap_box .trans_col {
  position: absolute;
  right: 0;
}

.wp-block-button.c-btn-outline.btn_truck,
.wp-block-button.c-btn-outline.btn_mail {
  width: min(100%, 320px);
}

.wp-block-button.c-btn-outline.btn_truck a,
.wp-block-button.c-btn-outline.btn_mail a {
  background-color: var(--c-bg) !important;
  margin-top: 0;
}

.wp-block-button.c-btn-outline.btn_truck .wp-block-button__link::after {
    content: "\f4df";
    font-size: inherit;
}

.wp-block-button.c-btn-outline.btn_mail .wp-block-button__link::before {
    content: "\f0e0";
    font-size: inherit;
}

@media (max-width:1000px) {
    .trans_col {
      width: 600px;
    }
}

@media (max-width:781px) {
    .trans_wrap_col {
      padding-bottom: 260px;
    }

    .trans_wrap_col.parking {
      padding-bottom: 0;
      margin-bottom: 30px !important;
    }

    .trans_col {
      width: 100%;
      padding-top: 30px;
    }

    .trans_wrap_box2 {
      position: relative;
    }

    .trans_wrap_box2 figure {
      position: absolute;
      top: -150px;
      right: 1vw;
      margin-left: 1vw;
    }

    .trans_rev .trans_wrap_box .trans_col {
      position: inherit;
    }

    .trans_rev .trans_wrap_box2 figure {
      position: absolute;
      bottom: 150px;
    }
}

@media (max-width: 380px) {
    .wp-block-button.c-btn-outline.btn_truck .wp-block-button__link::after {
        display: block;
    }
}

.unsou_btn_cov {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.other_box {
  box-shadow: var(--shadow3);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.other_box:hover {
  transform: translateY(-6px);
  box-shadow: 2px 12px 40px rgba(0, 0, 0, 0.18);
}

.other_box .wp-block-button__link::after,
.other_box figure a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.other_box_text {
  padding: var(--st-pad--container-mid);
  padding-bottom: 30px;
}

.other_box_text h3 {
  font-size: var(--fz-16-20);
  text-align: center;
}

.news_wrap {
  max-width: 800px;
  margin: 150px auto 80px auto;
  padding-bottom: 60px;
  position: relative;
}

.news_wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-brand);
}

.h_line_right::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  width: min(100%, 600px);
  height: 3px;
  background: var(--grad-brand);
  margin-left: 1.5em;
}

/* リストのデフォルト装飾をリセット */
.news_wrap ul.wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
}

/* 各ニュース項目のレイアウト（Flexboxで縦並びにし、点線を引く） */
.news_wrap ul.wp-block-latest-posts li {
    display: flex;
    flex-direction: row;
    padding: 20px 0 !important;
    border-bottom: 1px dotted #cccccc !important;
    gap: 1.5em;
}

/* 最初の項目は上の余白を消し、最後の項目は下の余白と点線を消す */
.news_wrap ul.wp-block-latest-posts li:first-child {
    padding-top: 0;
}

.news_wrap ul.wp-block-latest-posts li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.news_wrap .wp-block-latest-posts__post-date {
    order: 1;
    color: var(--c-text);
    margin-bottom: 5px;
    font-size: 1em;
}

/* タイトルを下に表示する（order: 2） */
.news_wrap .wp-block-latest-posts__post-title {
    order: 2;
    font-size: 1em;
    color: var(--c-text);
    text-decoration: none;
    line-height: 1.5;
}

/* タイトルにホバーした時の挙動（少し薄くする等） */
.news_wrap .wp-block-latest-posts__post-title:hover {
    opacity: 0.7;
}

@media (max-width: 480px) {
  .news_wrap ul.wp-block-latest-posts li {
    flex-direction: column;
    gap: 1em;
  }
}

p.cta_tel {
  margin-top: 0 !important;
}

/* トラックSVGアニメーション */
.truck-wrap {
  width: 100%;
}

.truck-svg {
  display: block;
  width: 100%;
  height: auto;
}

p.cta_tel span {
  font-size: var(--fz-26-40);
}


.partner_wrap {
  background: #eaeff3;
  padding: var(--ark-pad--container);
}


/* =========================================================
  CF7 問い合わせフォーム
========================================================= */
.wpcf7 {
    border: 1px solid var(--c-border);
    padding: 2em 1.5em;
}

/* ステップバー */
.form-progress {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.progress-step {
    flex: 1;
    text-align: center;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: bold;
    color: var(--c-text-muted);
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s;
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--c-border);
    transition: background 0.3s;
}

.progress-step.is-active {
    color: var(--c-brand-navy);
}

.progress-step.is-active::after {
    background: var(--grad-brand);
}

/* 必須・任意ラベル */
.required,
.optional {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    color: var(--c-white);
    vertical-align: middle;
    font-weight: normal;
}

.required {
    background: var(--c-brand-purple);
}

.optional {
    background: var(--c-text-muted);
}

/* フォーム行 */
.form-row,
.confirm-row {
    margin-bottom: 24px;
}

.form-row dt,
.confirm-row dt {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: var(--fz-body);
}

.form-row dd input,
.form-row dd textarea {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: var(--fz-body);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--c-white);
}

.form-row dd input:focus,
.form-row dd textarea:focus {
    outline: none;
    border-color: var(--c-brand-teal);
    box-shadow: 0 0 0 3px rgba(10, 143, 147, 0.15);
}

.form-row dd textarea {
    min-height: 160px;
    resize: vertical;
}

/* 確認画面 */
.confirm-notice {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: var(--c-brand-navy);
}

.confirm-value {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 12px 16px;
    min-height: 1.5em;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: var(--fz-body);
}

/* ボタン配置 */
.form-btn-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 40px;
    flex-wrap: wrap;
}

.form-btn-wrap p {
    display: flex;
    gap: 10px;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip,
.wpcf7-not-valid-tip.custom-error-tip {
    display: block;
    color: #c62828;
    font-size: 0.85em;
    font-weight: bold;
    margin-top: 6px;
}

.wpcf7-not-valid {
    border-color: #c62828 !important;
    background: #fff8f8 !important;
}

/* 送信中スピナー非表示 */
.wpcf7-spinner {
    display: none !important;
}

