@charset "UTF-8";
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 100;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-ExtraLight.otf) format('opentype');
}
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 200;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-Light.otf) format('opentype');
}
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 400;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-Regular.otf) format('opentype');
 }
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 500;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-Medium.otf) format('opentype');
 }
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 600;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-SemiBold.otf) format('opentype');
 }
@font-face {
	 font-family: 'Noto Serif Japanese';
	 font-style: normal;
	 font-weight: 700;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-Bold.otf) format('opentype');
 }
@font-face {
	font-family: 'Noto Serif Japanese';
	font-style: normal;
	font-weight: 900;
	src: url(fonts/NotoSerifCJKjp/NotoSerifCJKjp-Black.otf) format('opentype');
 }
/*================================================
 *	CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}
html{
	overflow-y:scroll;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	background-color: #fff;
	color: #333;
}
main, .main-content {
	/* margin-topではなく、padding-topを使うことで背景画像などのズレを防ぎます */
	padding-top: 0; /* 【PC時】ヘッダーの高さ（100px）分の余白を上部に確保 */
	box-sizing: border-box;
}
.inner {
	clear:both;
	position:relative;
	width:1100px;
	margin:0 auto;
}
#contents {
	overflow:hidden;
	width:100%;
	margin:0px auto 0 auto;
}

#main {
	box-sizing:border-box;
	overflow:hidden;
	margin-top:0px;
	width:100%;
}
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
/* ==========================================================================
	 タブレット・スマートフォン向けのスタイル（画面幅 1024px 以下）
	 ========================================================================== */
@media (max-width: 1024px) {
	main, .main-content {
		padding-top: 0px; /* 【スマホ・タブレット時】ヘッダーの高さ（60px）分の余白に自動切り替え */
	}
}



/* フェードインと無効化をコントロール */
/* ===================================================
	 ベース設定
=================================================== */
/* 最初は透明にして下にずらす（通常時のみ適用） */
.anim-fade .fade-block {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 画面内に入ったら表示する */
.anim-fade .fade-block.is-active {
	opacity: 1;
	transform: translateY(0);
}

/* ===================================================
	 ★ 後から一括で「フェードイン」させたい場合
=================================================== */
/* JSを使わず、あとから特定のタイミングで一括表示させたい時は、
	 bodyに .is-ready などのクラスをつければ一斉に表示されます */
.anim-fade.is-ready .fade-block {
	opacity: 1;
	transform: translateY(0);
}

/* ===================================================
	 ★ アニメーションを一括で「無効化」したい場合
=================================================== */
/* bodyのクラスが .anim-none の時は、最初から100%表示（動きなし） */
.anim-none .fade-block {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@charset "UTF-8";

/* ==========================================================================
   1. ベースリセット
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
  background-color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ==========================================================================
   2. ヘッダー全体（横幅100%・最前面配置）
   ========================================================================== */
.site-header {
  width: 100%;
  height: 70px; /* 募集要項(53px)が綺麗に収まる高さ */
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200; /* ドロワーメニュー(150)より手前に配置して✕マークを常に表示 */
}

/* インナー幅を100%にし、左右に余裕を持たせる */
.header-inner {
  width: 100%;
  height: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左端ロゴ・右端メニューに配置 */
}

/* ==========================================================================
   3. ロゴエリア（297px × 52px 指定）
   ========================================================================== */
.header-logo {
  display: flex;
  align-items: center;
}
.header-logo a {
  display: flex;
  align-items: center;
}
.img-logo {
  width: 297px;
  height: 52px;
  display: block;
  object-fit: contain; /* 画像が歪むのを防ぐ */
}

/* ==========================================================================
   4. PC用メインナビゲーション
   ========================================================================== */
.header-nav-pc {
  display: flex;
  align-items: center;
  gap: 40px; /* メニューと右側ボタンの余白 */
}
.nav-links {
  display: flex;
  gap: 25px; /* 各メインメニュー同士の余白 */
}
.nav-links > li {
  position: relative; /* サブメニューの基準位置 */
  padding: 20px 0;    /* ホバー領域を広げてメニューが消えにくくする */
}
.nav-links > li > a {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

/* サブメニューがある項目に下矢印を表示 */
.nav-links > li.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-top: -3px;
}
.nav-links > li:hover > a {
  color: #3182ce;
}

/* --------------------------------------------------------------------------
   PC用サブメニュー（ドロップダウン）
   -------------------------------------------------------------------------- */
.nav-links .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  width: 140px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}
.nav-links li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #333;
  font-weight: normal;
  white-space: nowrap;
}
.nav-links .submenu a:hover {
  background-color: #f7fafc;
  color: #3182ce;
}

/* ==========================================================================
   5. PC用ボタンエリア（背景なし・純粋な画像リンク仕様）
   ========================================================================== */
.nav-buttons {
  display: flex;
  align-items: center; /* 高さが違っても中央に整列させる */
  gap: 15px;
}
.btn-company,
.btn-recruit {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.btn-company:hover,
.btn-recruit:hover {
  opacity: 0.8; /* ホバー時に少し透明にしてクリック感を出す */
}

/* 会社情報ボタン画像（110px × 33px） */
.btn-company img {
  width: 110px;
  height: 33px;
  display: block;
  object-fit: contain;
}
/* 募集要項ボタン画像（150px × 53px） */
.btn-recruit img {
  width: 150px;
  height: 53px;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   6. スマホ・タブレット用ハンバーガーボタン
   ========================================================================== */
.hamburger-btn {
  display: none; /* PCでは非表示 */
  background: none;
  border: none;
  outline: none;
  width: 30px;
  height: 24px;
  position: relative; /* 三本線の基準位置 */
  z-index: 210;       /* ヘッダーの枠線やロゴより確実に手前に出す */
  cursor: pointer;
}
/* 三本線の共通スタイル */
.hamburger-btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #002d62; /* 画像に合わせた濃紺 */
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
/* 通常時の三本線の配置位置 */
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 11px; }
.hamburger-btn span:nth-child(3) { top: 22px; }

/* --------------------------------------------------------------------------
   ★最優先適用：is-active クラスがついた時（✕マークへのアニメーション）
   -------------------------------------------------------------------------- */
.site-header .header-inner .hamburger-btn.is-active span:nth-child(1) {
  top: 11px !important;
  transform: rotate(45deg) !important;
}
.site-header .header-inner .hamburger-btn.is-active span:nth-child(2) {
  opacity: 0 !important;
}
.site-header .header-inner .hamburger-btn.is-active span:nth-child(3) {
  top: 11px !important;
  transform: rotate(-45deg) !important;
}

/* 非表示にするドロワーメニューの初期化 */
.drawer-menu {
  display: none;
}

/* ==========================================================================
   7. レスポンシブ対応（タブレット・スマホ：1023px以下）
   ========================================================================== */
@media (max-width: 1100px) {
  .header-inner {
    padding: 0 20px; /* 左右の余白を狭めて画面幅を確保 */
  }
  
  /* ロゴが大きすぎて画面を圧迫しないようタブレット用サイズに自動縮小 */
  .img-logo {
    max-width: 220px;
    height: auto;
  }

  .header-nav-pc {
    display: none; /* PC用横並びナビを非表示 */
  }
  .hamburger-btn {
    display: block !important; /* ハンバーガーボタンを表示 */
  }

  /* --------------------------------------------------------------------------
     スマホ版ドロワーメニュー（右からスライドイン）
     -------------------------------------------------------------------------- */
  .drawer-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は画面の右外側 */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 150; /* ヘッダー（200）の後ろに潜り込ませることでボタンの被りを防ぐ */
    padding: 90px 24px 40px; /* 上部にボタンと被らない余白を確保 */
    transition: right 0.3s ease;
    overflow-y: auto; /* メニューが縦に長い場合にスクロール可能にする */
  }
  .drawer-menu.is-open {
    right: 0; /* メニュー展開時 */
  }

  /* ドロワー内メインリンク */
  .drawer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
  }
  .drawer-links > li > a {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
  }
  
  /* スマホ用アコーディオンの右側矢印アイコン */
  .drawer-links .js-drawer-toggle::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
  }
  .drawer-links .js-drawer-toggle.is-active::after {
    transform: rotate(-135deg); /* 展開時に上矢印へ変更 */
  }

  /* スマホ用サブメニュー（アコーディオン） */
  .drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f7fafc;
    padding-left: 15px;
    border-radius: 4px;
  }
  
  /* 【ここを修正】最初から開いている（is-openがついている）時のスタイル */
  .drawer-submenu.is-open {
    max-height: 200px; /* しっかり中身が見える高さ */
    margin-top: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .drawer-submenu a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
  }

  /* --------------------------------------------------------------------------
     【修正】スマホドロワー内のボタン（テキスト＆CSSボタン仕様）
     -------------------------------------------------------------------------- */
  .drawer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  /* スマホ用ボタンの共通スタイル */
  .sp-btn-company, 
  .sp-btn-recruit,
  .sp-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    height: 46px; /* スマホでタップしやすい高さ */
    width: 100%;
    color: #fff;
    transition: opacity 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  .sp-btn-company:hover, 
  .sp-btn-contact:hover, 
  .sp-btn-recruit:hover {
    opacity: 0.85;
  }

  /* 会社情報（最初の濃紺ベース） */
  .sp-btn-company {
    background-color: #001f4d;
  }
  /* 会社情報（最初の濃紺ベース） */
  .sp-btn-contact {
    background-color: #ff0000;
  }

  /* 募集要項（最初の青ベース＋右矢印付き） */
  .sp-btn-recruit {
    background-color: #3182ce;
    position: relative;
  }
  .sp-btn-recruit::after {
    content: '>';
    position: absolute;
    right: 20px;
    font-size: 13px;
    font-weight: normal;
  }
}


/* ==========================================================================
   フッター全体設定（横幅100%・グラデーション背景）
   ========================================================================== */
.site-footer {
  width: 100%;
  background: linear-gradient(135deg, #3fa5e5 0%, #1d6cb7 50%, #155196 100%);
  color: #ffffff;
  padding: 60px 0 40px 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}

/* コンテンツの内側（幅1100px中央揃えの器） */
.footer-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   フッターナビゲーション（PC用：【修正】中央揃え）
   -------------------------------------------------------------------------- */
.footer-nav {
  display: flex;
  justify-content: center; /* メニュー全体を中央寄せ */
  align-items: flex-start;
  gap: 50px; /* 各メニュー同士の間隔 */
  margin-bottom: 50px;
  text-align: left; /* テキスト自体は左揃えにして綺麗に並べる */
}

.footer-nav-item {
  position: relative;
}

/* メインメニュー（親）リンク */
.footer-main-link {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  display: block;
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}
.footer-main-link:hover {
  color: #80ffff;
}

/* サブメニュー（子）リンクのリスト */
.footer-sub-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-sub-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  transition: color 0.3s ease;
}
.footer-sub-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 「輸送事業」「電気工事事業」の左側の白い点線を再現 */
.footer-nav-item.has-divider {
  padding-left: 18px;
}
.footer-nav-item.has-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  border-left: 1px dashed rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   中央の区切り線 ＆ SNSアイコンのエリア（【修正】線がアイコンに被らない仕様）
   -------------------------------------------------------------------------- */
.footer-line-wrapper {
  display: flex;
  align-items: center;          /* 線とアイコンの縦中心を揃える */
  justify-content: space-between; /* 線とアイコンを左右いっぱいに広げる */
  gap: 25px;                    /* ★線とSNSアイコンの間の隙間（お好みで調整可） */
  width: 100%;
  margin-bottom: 40px;
}

.footer-line {
  flex: 1;                      /* ★SNSアイコンの幅を除いた、残りの横幅いっぱいに線を引く */
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* 透過した白い直線 */
  margin: 0;
}

/* SNSアイコンエリア（背景なし・透過画像リンク仕様） */
.footer-sns {
  display: flex;
  align-items: center;
  gap: 15px;                    /* アイコン同士の間隔 */
  flex-shrink: 0;               /* 線に押されてアイコンが潰れるのを防ぐ */
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;      /* 背景を完全に透過 */
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-sns a:hover {
  opacity: 0.7;                 /* ホバー時に少し透明にしてクリック感を出す */
  transform: translateY(-2px);  /* ほんの少し上に浮かす上品な演出 */
}

/* SNSのロゴ画像自体のサイズ制限 */
.img-sns {
  width: 32px;                  /* カンプに合わせたサイズ */
  height: auto;
  display: block;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   5. 下部：会社情報エリア（1100px幅の中でのセンター揃え）
   ========================================================================== */
.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-info {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  text-align: left;
}

.footer-company-name {
  display: flex;
  align-items: center;
}
.footer-company-name img {
  width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-address-tel {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.footer-address {
  margin-bottom: 2px;
}
.footer-tel-fax {
  display: flex;
  gap: 15px;
}


/* ==========================================================================
   6. レスポンシブ対応（タブレット・スマホ：1023px以下）
   ========================================================================== */
@media (max-width: 1023px) {
  .site-footer {
    padding: 40px 0 30px 0;
  }
  
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-nav-item.has-divider {
    padding-left: 0;
  }
  .footer-nav-item.has-divider::before {
    display: none;
  }

  /* スマホ・タブレット時は横幅が狭いため、線の下にアイコンを中央配置するレイアウトに切り替え */
  .footer-line-wrapper {
    flex-direction: column;    /* 縦並びにする */
    gap: 0;
    margin-bottom: 30px;
  }
  .footer-line {
    width: 100%;               /* スマホ時は線は100%幅に */
  }
  .footer-sns {
    justify-content: center;
    margin-top: 20px;          /* 線のパーテーションの下に余白を作って配置 */
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
  }
  
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  
  .footer-company-name img {
    width: 220px;
  }
  
  .footer-tel-fax {
    flex-direction: column;
    gap: 5px;
  }
}

/* 小さなスマホ用（480px以下） */
@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
}


/* ==========================================================================
   Page Top (to-top) ボタン（フッター上部境界線への重ね配置）
   ========================================================================== */
/* ボタン全体の基準となるコンテナ（幅1100px中央寄せに連動） */
.totop-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  height: 0;
  /* 【修正】数値を 210 から 140 に下げます */
  z-index: 140; /* フッター背景(200)やドロワー(150)より後ろ、通常のコンテンツよりは前に配置 */
}

/* ひし形のボタン本体 */
.totop-btn {
  position: absolute;
  right: 20px; /* 1100pxの右端に配置（innerの余白に合わせる） */
  top: 0;
  transform: translateY(-50%) rotate(45deg); /* ★上に半分はみ出させ、45度回転してひし形にする */
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4daae8 0%, #2579c2 100%); /* カンプのボタン色グラデーション */
  border: 1px solid rgba(255, 255, 255, 0.6); /* 白い極細枠線 */
  border-radius: 8px; /* 角を少し丸めてカンプのニュアンスを再現 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* ホバー時に少し上に浮き上がる演出 */
.totop-btn:hover {
  transform: translateY(-56%) rotate(45deg); /* 少し上へスライド */
  opacity: 0.9;
}

/* 中の矢印テキスト（ひし形につられて傾かないように逆回転させる） */
.totop-arrow {
  display: block;
  transform: rotate(-45deg); /* ★逆回転させてまっすぐ上を向かせる */
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-top: -2px; /* 位置の微調整 */
}

/* --------------------------------------------------------------------------
   レスポンシブ（タブレット・スマホ対応：1023px以下）
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .totop-btn {
    right: 20px; /* スマホ画面の右端から適切な位置をキープ */
    width: 38px;  /* スマホ用に少しだけコンパクトに */
    height: 38px;
  }
  .totop-arrow {
    font-size: 16px;
  }
}


/* ==========================================================================
   柘運送を知る（MV）- レポンシブ対応版　共通
   ========================================================================== */

/* コンポーネント内のボックスサイズ共通化 */
.tg-mv,
.tg-mv * {
  box-sizing: border-box;
}

/* [PC] MV全体の設定 */
.tg-mv {
  margin-top:50px;
  width: 100%;
  height: 330px;
  background: linear-gradient(100deg, #4daae3 0%, #3083d2 45%, #2365bf 100%);
  overflow: hidden;
}

/* [PC] 中央揃えのコンテンツコンテナ（最大1100px） */
.tg-mv__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

/* ★左右逆転バージョン（PC時のみ並び順を逆転） */
.tg-mv--reverse .tg-mv__inner {
  flex-direction: row-reverse;
}

/* [PC] 左側：タイトルエリア */
.tg-mv__content {
  flex: 1;
}

/* ★左右逆転バージョン（PC時：右側になったタイトルの余白と「右寄せ」の調整） */
.tg-mv--reverse .tg-mv__content {
  padding-left: 40px;  /* 画像との間に適切な間隔を確保 */
  text-align: right;   /* タイトルエリアが右の時はテキストを右寄せにする */
}

/* [PC] 「よくある質問」タイトル */
.tg-mv__title {
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 2px 3px 4px rgba(16, 56, 119, 0.6); 
}

/* ★左右逆転バージョン（PC時：右寄せに合わせた影の方向調整） */
.tg-mv--reverse .tg-mv__title {
  text-shadow: -2px 3px 4px rgba(16, 56, 119, 0.6); /* 影が内側に綺麗に落ちるよう調整 */
}

/* [PC] 右側：画像エリア */
.tg-mv__image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ★左右逆転バージョン（PC時：左側になった画像エリアを「左寄せ」にする） */
.tg-mv--reverse .tg-mv__image {
  justify-content: flex-start; /* 右寄せ(flex-end)から左寄せに変更し、画像を左端に揃えます */
}

.tg-mv__image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* コンポーネント内のボックスサイズ共通化 */
.tg-mv-buttons,
.tg-mv-buttons * {
  box-sizing: border-box;
}

/* ボタン全体のコンテナ（PC時：最大1100px・中央揃え） */
.tg-mv-buttons {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px; /* MVのインナーの余白と合わせる */
  position: relative;
  z-index: 10; /* MVより前面に表示 */
}

/* ボタンを左右に並べるインナー（ネガティブマージンでMVの下部に重ねる） */
.tg-mv-buttons__inner {
  display: flex;
  justify-content: center; /* 中央寄せで並べる */
  gap: 24px; /* ボタン同士の間隔 */
  /* ボタンの高さのちょうど半分（約35px）だけMVのグラデーションに食い込ませる */
  margin-top: -35px; 
}

/* ボタンの共通ベーススタイル（カンプ完全再現） */
.tg-mv-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1; /* 2つのボタンを均等な幅にする */
  max-width: 320px; /* ボタンが広がりすぎないよう最大幅を設定 */
  height: 70px; /* カンプの厚みのある高さを再現 */
  background-color: #ffffff;
  border: 1px solid #2365bf; /* カンプの青い枠線 */
  border-radius: 4px; /* わずかな角丸 */
  text-decoration: none;
  position: relative;
  /* カンプ特有の、下にカチッと落ちる少し濃いめの綺麗な影（ドロップシャドウ） */
  box-shadow: 0 4px 10px rgba(16, 56, 119, 0.25);
  transition: all 0.3s ease;
}

/* ボタンテキスト */
.tg-mv-btn__text {
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2365bf; /* カンプのくっきりとした青文字 */
  letter-spacing: 0.05em;
}

/* 左側ボタン専用：細い矢印（アロー）の再現 */
.tg-mv-btn--arrow::after {
  content: "";
  position: absolute;
  right: 24px; /* 右端からの距離 */
  top: 50%; /* 上下中央寄せのベース */
  transform: translateY(-50%);
  /* カンプにあるような、右に向かって伸びる非常にシャープで細い矢印をCSSで描画 */
  width: 45px; /* 矢印の横棒の長さ */
  height: 1px;
  background-color: #2365bf;
}
/* 矢印の先端（斜めのハネ部分） */
.tg-mv-btn--arrow::before {
  content: "";
  position: absolute;
  right: 24px;
  top: calc(50% - 3px); /* 角度と位置の微調整 */
  width: 6px;
  height: 1px;
  background-color: #2365bf;
  transform: rotate(30deg); /* 斜め30度に傾ける */
  transform-origin: right top;
}

/* ホバー時のモダンなエフェクト（お好みで調整してください） */
.tg-mv-btn:hover {
  background-color: #f4f9ff;
  box-shadow: 0 2px 5px rgba(16, 56, 119, 0.2);
  transform: translateY(2px); /* 少し沈む沈み込み演出 */
}

/* ==========================================================================
   レスポンシブ対応（ブレイクポイント：768px以下）
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* スマホ時は高さを固定せず、上下パディングで綺麗な余白を確保 */
  .tg-mv {
    height: auto;
    padding: 50px 0 30px 0; /* ★下側の余白を少し狭く調整 */
  }

  /* 縦並び（column）にし、要素を中央揃えに配置 */
  .tg-mv__inner {
    flex-direction: column !important; /* ★逆転時も含め、スマホは確実に縦並び（上タイトル・下画像）に強制 */
    justify-content: center;
    text-align: center;
    gap: 32px; 
    padding: 0 24px; 
  }

  /* テキストエリアの横幅をいっぱいまで広げる */
  .tg-mv__content {
    width: 100%;
  }

  /* ★左右逆転バージョン（スマホ時：不要な左余白をリセット、文字は「中央揃え」に戻す） */
  .tg-mv--reverse .tg-mv__content {
    padding-left: 0;
    text-align: center; /* スマホでは通常版と同じく中央揃えに戻します */
  }

  /* スマホ画面に合わせて文字サイズを少し縮小、視認性を維持 */
  .tg-mv__title {
    font-size: 32px;
    letter-spacing: 0.06em;
    text-shadow: 1.5px 2px 3px rgba(16, 56, 119, 0.6);
  }

  /* ★左右逆転バージョン（スマホ時：影の方向も中央揃え用のデフォルトに戻す） */
  .tg-mv--reverse .tg-mv__title {
    text-shadow: 1.5px 2px 3px rgba(16, 56, 119, 0.6);
  }

  /* 画像エリアを中央寄せに変更 */
  .tg-mv__image {
    width: 60%;
    justify-content: center !important; /* ★逆転時も含め、スマホは中央寄せに強制 */
    margin: 0 auto;
  }

  /* イラストがスマホ画面を圧迫しないよう、最大幅をきれいに制限 */
  .tg-mv__image img {
    max-width: 220px;
  }
  
  /* [修正] ボタン全体を上に引き上げつつ、下のコンテンツとの衝突を防ぐ */
  .tg-mv-buttons {
    width: 80%;       
    padding: 0 24px;   
    position: relative;
    z-index: 10;
    /* ★ボタンの高さ(60px)の半分である「30px」だけ、マイナスマージンで上に引き上げます */
    margin-top: -30px; 
    /* ★上に引き上げた分、下の要素を押し下げて文字被りを防ぐための下部余白を追加 */
    margin-bottom: 30px; 
  }

  /* 縦並びの配置設定 */
  .tg-mv-buttons__inner {
    flex-direction: column; 
    align-items: center;
    gap: 16px; 
    margin-top: 0; /* ★正の余白は不要になったため0にリセット */
  }

  /* ボタンをスマホ幅いっぱいに広げ、高さを確実に固定 */
  .tg-mv-btn {
    display: flex !important;       
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;        
    min-height: 60px !important;    
    flex-shrink: 0 !important;      
  }

  .tg-mv-btn__text {
    font-size: 15px;
    line-height: 1;
  }

  /* 矢印の位置ズレ（50px%）を修正 */
  .tg-mv-btn--arrow::after {
    width: 30px;
    right: 20px;
    top: 50%;              
  }
  .tg-mv-btn--arrow::before {
    right: 20px;
    top: calc(50% - 3px);  
  }
}


/* ==========================================================================
   セクション共通タイトルエリア（カンプ再現）
   ========================================================================== */

/* コンポーネント内のボックスサイズ共通化 */
.section-title-area,
.section-title-area * {
  box-sizing: border-box;
}

/* 全体のコンテナ（PC時：最大1100px・中央揃え） */
.section-title-area {
  max-width: 1100px;
  width: 100%;
  margin: 80px auto 40px auto; /* 上下の余白（全体のデザインに合わせて調整してください） */
  padding: 0;
  text-align: center; /* すべての要素を完全にセンター揃えに */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* メインタイトル：「数字で見つめる」の太めの丸ゴシックを再現 */
.section-title-area__main {
  /* これまでのMVタイトルと統一感を持たせた、親しみやすい太めの丸ゴシック */
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 36px; /* カンプの存在感のあるサイズ */
  font-weight: 700;
  color: #3b7bc3; /* カンプの鮮やかで少し深みのある青色を忠実にトレース */
  margin: 0 0 12px 0; /* 下の英字サブタイトルとの絶妙な隙間 */
  line-height: 1.2;
  letter-spacing: 0.05em; /* 文字が詰まりすぎないよう調整 */
}

/* 英語サブタイトル：「By the Numbers」 */
.section-title-area__sub {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 14px; /* メインタイトルを引き立てるすっきりとしたサイズ */
  font-weight: 700;
  color: #4a6785; /* カンプの少しグレーがかった落ち着いたブルー */
  text-transform: none; /* 大文字小文字はHTMLの記述をそのまま活かす */
  letter-spacing: 0.12em; /* カンプのように英字の間隔をゆったりと広げて洗練された印象に */
  line-height: 1;
}

/* ==========================================================================
   レスポンシブ対応（スマホ幅：768px以下）
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* スマホ時は要件通り横幅90%でセンター揃え */
  .section-title-area {
    width: 90%;
    margin: 50px auto 30px auto; /* スマホ用に上下余白を少しコンパクトに */
  }

  /* スマホの画面幅に合わせて文字サイズを最適化 */
  .section-title-area__main {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .section-title-area__sub {
    font-size: 12px;
    letter-spacing: 0.1em; /* スマホでも読みやすい間隔に微調整 */
  }
}

@charset "UTF-8";

/* ==========================================================================
   リンクバナーセクション専用スタイル（PC3列サイズ統一・上段中央揃え / スマホ全同一サイズ2列化）
   ========================================================================== */

/* 全体コンテナ設定（コンテンツ幅1100px） */
.tg-banner-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* PC時の行（ブロック）の制御 */
.tg-banner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}
.tg-banner-row + .tg-banner-row {
  margin-top: 20px; /* 上段と下段の間の隙間 */
}

/* 【PC】上段：2つのバナーを下段と同じサイズ（33.3%幅）のまま中央に配置 */
.tg-row-top {
  justify-content: center;
}

/* 【PC】下段：3つのバナーを左から横並びにする */
.tg-row-bottom {
  justify-content: flex-start;
}

/* 共通カード設定 */
.tg-banner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 文字をカードの下部に配置 */
  
  /* ご指定の縦横比「43 : 23」を完全に維持 */
  aspect-ratio: 43 / 23; 
  min-height: 160px; /* 高さが0になって真っ白になるのを防ぐ安全ガード */
  
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  padding: 24px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  
  /* 背景画像の基本設定 */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* ホバー時に少し浮き上がる演出 */
.tg-banner-card:hover {
  transform: translateY(-4px);
}

/* 【PC時のカード横幅】5枚すべて同じ大きさ（33.333%ベース）に完全統一 */
.tg-banner-card.tg-col-33 {
  width: calc(33.333% - 13.333px);
}
/* 【PC時のカード横幅】下段用：4分割にして画像を切り取らず全体を表示 */
.tg-row-bottom .tg-banner-card {
  width: calc(25% - 15px);
  padding: 16px; /* 内側の余白を狭めて文字を収まりやすくする */
  
  /* ★ここを追加★ */
  background-size: contain;     /* 画像の全体を必ず枠内に収める（切れない設定） */
  background-position: center;   /* 画像を中央に配置 */
}

/* 下段タイトルのフォントサイズ調整（バナー縮小に伴う文字溢れ対策） */
.tg-row-bottom .tg-banner-title {
  font-size: 18px; 
}

/* テキスト・フォント設定 */
.tg-banner-lead {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  z-index: 2;
  font-family: sans-serif;
  color: #ffffff;
}

.tg-banner-title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.02em;
  z-index: 2;
  font-family: sans-serif;
  color: #ffffff;
  margin-bottom: 15px; 
}

/* -----------------------------------------
   各バナーの固有画像指定（../images/common/）
   ----------------------------------------- */
.tg-bg-transport { background-image: url('../images/common/b_1.webp'); }
.tg-bg-electric  { background-image: url('../images/common/b_2.webp'); }
.tg-bg-voice     { background-image: url('../images/common/b_3.webp'); }
.tg-bg-numbers   { background-image: url('../images/common/b_4.webp'); }
.tg-bg-faq       { background-image: url('../images/common/b_5.webp'); }
.tg-bg-contact   { background-image: url('../images/common/b_6.webp'); }
/* -----------------------------------------
   スマホ対応（画面幅768px以下：5枚すべて寸分違わぬサイズで2列左寄せ並び）
   ----------------------------------------- */
@media (max-width: 768px) {
  /* 
    親要素（行）の枠組みを入れ子解除（contents化）し、
    セクション直下の「1つの大きな2列グリッド」として5枚を再整列させます。
  */
  .tg-banner-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* スマホ時はカードの間隔を12pxに */
  }

  .tg-banner-row {
    display: contents; /* 行による幅の分断を無効化し、5枚すべてを対等に並べる */
  }
  
  /* スマホ時は5枚すべてのカードの幅を確実に「50%（2列）」で完全に統一 */
  .tg-banner-card.tg-col-33 {
    width: calc(50% - 6px);
    padding: 16px;
    min-height: 100px;
  }

  /* テキストのサイズをスマホ用に最適化 */
  .tg-banner-lead {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .tg-banner-title {
    font-size: 16px;
    margin-bottom: 5px; 
  }
	.tg-row-bottom .tg-banner-title {
	  font-size: 16px; 
	}
}
@media screen and (min-width: 769px) and (max-width: 1000px) {
  .tg-row-top,
  .tg-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tg-row-top .tg-banner-card,
  .tg-row-bottom .tg-banner-card {
    width: 100%;
  }
}