/*
Theme Name: blankslate Child
Version: 1.6
Template: blankslate
*/

/* 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size:16px;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.flexbox {
    display: flex;
    justify-content: space-between;
	align-items: stretch;
}

main {
    margin-top: 80px;
}

section {
    padding: 60px 40px;
    text-align: center;
}

section div.container {
    max-width:1240px;
    width:100%;
    margin:0 auto;
}

section div{
    text-align:left;
}

.m30{margin-bottom:30px;}

/* ボタン */
.btn {
  position: relative; /* 矢印の位置基準 */
  display: block;
  width: 280px;
  margin: 40px auto;
  padding: 12px 0;
  background-color: #2b5597;
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

/* 右端に矢印を追加 */
.btn::after {
  content: "→";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.btn:hover {
  background-color: #1e3d6e;
}

/* ヘッダー */
header {
    width: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    background-color:#ffffff;
    z-index:100;
}

header h1 img {
    height: 40px;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav a {
    font-weight: bold;
    font-size: 1.2em;
	color:#333;
    padding-bottom:0.5em;
    border-bottom:2px solid #666;
	text-decoration:none;
}

header nav a:hover{
    color:#2F5CA5;
    border-bottom:2px solid #2F5CA5;
}

/* メインビジュアル (FV) */

.fv {
    height: 600px;
    background: url('/wp-content/uploads/2026/09/main-bg.jpg') no-repeat center center / cover;
    display: flex;
    justify-content: center;
    align-items: top;
    padding-top:60px;
}

.fv p {
    font-size: 2.4em;
    font-weight: bold;
    letter-spacing: 0.1em;
    color:#2F5CA5;
}

/* SNSセクション */
section.sns {
    max-width: auto;
    padding: 15px 0;
    background-color:#EEEEEE;
}

div.sns-area {
    max-width: 1000px;
    margin: 30px auto;
    background-color:#ffffff;
    padding: 30px;
    border: 1px solid #004488;
    border-radius: 8px;
    justify-content: space-around;
    align-items: center;
}

div.sns-area div{
    text-align:center;
    padding: 0 40px;
}

div.sns-area div.midashi{
    border-right:1px solid #999;
}
div.sns-area div.midashi p{
    margin-top:20px;
}


/* 共通見出し */

main h2 {
    text-align: center;
    color: #004488;
    font-size: 1.8em;
    font-weight:500;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    padding: 0 70px;
    margin: 0 auto 40px auto;
}

main h2:before,
main h2:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #666;
}

main h2:before {
    left: 0;
}

main h2:after {
    right: 0;
}
/* About Us */
.about {
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

.about p.midashi {
    font-size: 2.2em;
    font-weight:600;
    margin-bottom: 60px;
}

.about article {
    margin-bottom: 40px;
    gap: 40px;
}

.about article:nth-child(even) {
    flex-direction: row-reverse;
}

.about article .bicycle,
.about article .shop {
    flex: 1;
}

.about article img {
    width: 45%;
    border-radius: 4px;
    object-fit: cover;
}

.about h3 {
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.about div.bicycle h3:before {
    content: ""; 
    display: inline-block; 
    width: 160px; 
    height: 100px; 
    background-image: url('/wp-content/uploads/2026/09/about-bicycle.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; 
    margin-right: 20px; 
    margin-bottom: 15px;
}

.about div.tire h3:before {
    content: ""; 
    display: inline-block; 
    width: 160px; 
    height: 90px; 
    background-image: url('/wp-content/uploads/2026/09/about-tire.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; 
    margin-right: 20px;
    margin-bottom: 15px;
}

.about div.fukushi h3:before {
    content: ""; 
    display: inline-block; 
    width: 160px; 
    height: 123px; 
    background-image: url('/wp-content/uploads/2026/09/about-fukushi.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; 
    margin-right: 20px; 
    margin-bottom: 15px;
}

.about div.shop h3:before {
    content: ""; 
    display: inline-block; 
    width: 118px; 
    height: 104px; 
    background-image: url('/wp-content/uploads/2026/09/about-shop.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; 
    margin-right: 20px; 
    margin-bottom: 15px;
}

.shop .box.gray {
    background: #f5f5f5;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
}

.shop .box.gray div{
    background: #ffffff;
    padding: 70px;
    border-radius: 8px;
    text-align: center;
}

.shop .box.gray ul {
    display: flex;
    margin: 20px 0;
    gap: 15px;
}

.shop .box.gray ul li {
    background: #fff;
    padding: 30px 15px;
    flex: 1;
    border: 1px solid #e0e0e0;
    box-shadow:2px 2px 0px #ccc;
}

.shop .box.gray ul li p{
    height:40px;
    width:auto;
    margin-bottom: 15px;
}

.shop .box.gray ul li p img{
    height:100%;
    width:auto;
}
.shop .box.gray ul li p img.yahoo{
	height:30px;
    width:auto;
}

.shop .box.gray p img{
    height:110px;
    width:auto;
}

.shop p.text{
    margin-top: 40px;
}

/* Services */
.services {
    background: #f8f9fa;
    text-align: center;
}

.services h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.services > p {
    margin-bottom: 40px;
}

.services ul {
    margin: 0 auto;
    gap: 20px;
    align-items: stretch;
}

.services li {
    background: #fff;
    flex: 1;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
}

.services li img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 15px;
}

.services li div{
    padding: 20px 15px 40px 15px;
    text-align: left;
}

.services li h4{
    height: 80px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    text-align: center;
}


/* Recruit */
.recruit {
    background: linear-gradient(rgba(0, 34, 90, 0.60)), url('/wp-content/uploads/2026/09/recruit-bg.jpg') center/cover;
    color: #fff;
    text-align: center;
}

main.top .recruit h2 {
    color: #fff;
}

main.top .recruit h2:before,
main.top .recruit h2:after {
    background-color: #fff;
}

.recruit h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.recruit > p {
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
    line-height: 1.8;
}

.recruit .box.white {
    background: linear-gradient(rgba(255, 255, 255, 0.80));
    box-shadow: 0 6px 6px rgba(0,0,0,0.05);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    color:#000;
}

.recruit .box.white p.midashi{
    font-size:2em;
    font-weight:700;
    color:#2F5CA5;
    margin-bottom:30px;
}

/* h4タイトルのデザイン */
.recruit h4 {
    font-size: 2em;
    font-weight: bold;
    text-align: left;
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

/* タイトル左側の青い長方形（太線） */
.recruit h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 6px;
    background-color: #2b5597;
}

/* 親要素の横並び設定 */
.recruit .flexbox {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}

.recruit .flexbox > div {
  flex: 1;
}

/* カード本体（aタグ）のデザイン */
.recruit .flexbox a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 24px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #333333;
  box-sizing: border-box;
}

/* 見出し（h5） */
.recruit .flexbox h5 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: bold;
  color: #2b579a; /* 青色テキスト */
  line-height: 1.4;
  border-bottom: 1px solid #e0e0e0; /* 下区切り線 */
  padding-bottom: 16px;
}

/* 見出しの先頭記号（＞） */
.recruit .flexbox h5::before {
  content: "＞";
  margin-right: 6px;
  font-weight: bold;
}

/* 説明文（span） */
.recruit .flexbox span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 24px;
}

/* ボタン（p.btn）をカード下部に固定する設定 */
.recruit .flexbox .btn {
  margin-top: auto; /* 下部に押されるように設定 */
  background-color: #2b579a; /* 青色背景 */
  color: #ffffff;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: bold;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

/* ホバー時の効果 */
.recruit .flexbox a:hover .btn {
  background-color: #1e3e70; /* 少し濃い青色へ */
}


/* Contact */
.contact {
    text-align: center;
    margin: 0 auto;
}

.contact h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.contact div{
    text-align: center;
}

/* 全体のリセットと共通設定 */
.contact ul.flexbox {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 30px auto 0 auto;
}

/* 3列のレイアウト */
.contact ul.flexbox > li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 1列目と2列目の右側に区切り線を追加 */
.contact ul.flexbox > li:not(:last-child) {
  border-right: 1px solid #e5e5e5;
}

.contact ul.flexbox li div {
  display: flex;
  height: 100px;
  text-align: center;
  align-items: flex-end;
  margin-bottom:20px;
}

/* 上部アイコン画像のエリア高さを固定して見出しの位置を統一 */
.contact ul.flexbox img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
}
.contact ul.flexbox img.mail {
  height: 60px;
}

/* 「〇〇はこちら」の見出しラベル */
.contact ul.flexbox h4 {
  width: 100%;
  max-width: 240px;
  background-color: #ededed;
  color: #000000;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 0;
  border-radius: 6px;
  margin: 0 0 20px 0;
}

/* 電話番号・お問い合わせフォーム（青字） */
.contact ul.flexbox p,
.contact ul.flexbox p a {
  color: #315292!important;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 0 0;
  line-height: 1.2;
  height: 30px; /* 高さを固定して開始位置を統一 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 説明文エリア（全列で高さを固定して頭合わせ・底合わせを統一） */
.contact ul.flexbox span {
  display: block; /* フレックス解除でテキストの1行目を最上部に固定 */
  font-size: 13px;
  color: #333333;
  line-height: 1.6;
  min-height: 65px; /* 一番テキスト量の多い中央列に合わせた高さ確保 */
  margin: 20px 0;
}

.contact ul.flexbox a {
  color: #333;
text-decoration:none;
}

/* FAX列のPDFダウンロードリンク */
.contact ul.flexbox a.arrow {
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 右矢印アイコン（>） */
.contact ul.flexbox a.arrow::after {
  content: "＞";
  color: #315292;
  font-size: 14px;
  font-weight: bold;
}

.contact ul.flexbox a.arrow:hover {
  opacity: 0.7;
}



/* Profile & Map */
.profile {
    background: #f8f9fa;
}

.profile h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

/* 親要素：全体幅・背景色・重なり順の基準 */
.profile-area {
  position: relative;
  display: flex;
  justify-content: flex-end; /* 画像を右側に寄せる */
  align-items: center;
  padding: 60px 40px;      /* 上下左右の余白（調整可能） */
  max-width: 1000px;        /* 設置場所に合わせた最大幅 */
  margin: 0 auto;
}

/* 白背景のテキストブロック（画像の上に重ねる） */
.profile-area > div {
  position: absolute;
  left: 60px;               /* 左からの位置 */
  z-index: 2;               /* 画像より前面に表示 */
  background-color: rgba(255, 255, 255, 0.9);   /* テキストボックスの白背景 */
  padding: 40px;            /* 内側の余白 */
  width: 450px;             /* テキストボックスの幅 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* ほんのり影（お好みで） */
}

/* 画像（右側に配置） */
.profile-area img {
  width: 60%;               /* 全体に対しての画像幅 */
  height: auto;
  display: block;
  z-index: 1;
}

/* --- テキスト装飾 --- */
.profile-area h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.profile-area p span {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 25px;
}

.profile-area p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

/* 「詳しくはこちら >」リンク */
.profile-area .arrow {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.profile-area .arrow::after {
  content: " ＞";
  font-size: 14px;
  color: #1a4a84; /* 矢印の色 */
}

.map-container{
  margin: 0;
}

/* フッター */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}


/* 下層ページ */

/* 全体共通・見出し */

/* 共通設定：ヘッダーの下に余白を作り、背景画像を高さ350pxで上部に固定 */
/* 共通設定：ヘッダーの下に余白を作り、背景画像を高さ350pxで上部に固定 */
main.basic {
	margin-bottom:60px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

/* ページごとのクラス指定 */
.profile-bg {
    background-image: 
        url("/wp-content/uploads/2026/09/main-bg-profile.png");
}

.recruit-bg {
    background-image: 
        url("/wp-content/uploads/2026/09/main-bg-recruit.png");
}

.contact-bg {
    background-image: 
        url("/wp-content/uploads/2026/09/main-bg-contact.png");
}

/* 白枠コンテンツエリアの位置調整 */
.contents-area {
    width: 1240px;
	max-width: 100%;
    margin: 0 auto;
    background-color: #fff; /* 白背景 */
    position: relative;
    top: 60px; /* 背景画像の上部に少し引っかかるように配置 */
    border-radius: 4px; /* 必要に応じて角丸 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 軽い影を付けて立体感 */
}

.basic h4.midashi {
    font-size: 2em;
    font-weight: bold;
    text-align: left;
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.basic h4.midashi::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 6px;
    background-color: #2b5597;
}

.basic .profile {
    background: #ffffff;
}
.basic .recruit {
    background: none;
    color: #333;
}

/* 会社概要 */
.profile-overview {
  margin: 0 30px 80px 30px;
}

.overview-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.info-list {
    width: 58%;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

.info-list dt {
    width: 25%;
    font-weight: bold;
    padding: 10px 0;
}

.info-list dd {
    width: 75%;
    padding: 10px 0;
    margin: 0;
}

.info-list dd ol {
    padding-left: 20px;
    margin: 5px 0 0 0;
}

.overview-photos {
    width: 40%;
}

.overview-photos img {
    width: 100%;
    height: auto;
    display: block;
}

/* 社長挨拶・社是・スローガン */
.introduction h5 {
    font-size: 1.5em;
    color: #2b5597;
    margin-bottom: 20px;
    font-weight: bold;
	text-align:center;
}

.introduction p {
    text-align: center;
    margin-bottom: 40px;
}

.philosophy-flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    margin-top: 50px;
}

.shaze, .slogan {
	width: 45%;
	padding: 20px;
    font-weight: bold;
    line-height: 2;
	border-radius:10px;
	border: 1px solid #ccc;
}



/* 親要素：通常通り横に並べる */
.slogan .vertical-text {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 25px;            /* 各列（情熱・信頼・挑戦）の間隔 */
	margin-top: 50px;
}

/* 子要素：文字を縦書きにする */
.slogan .vertical-text span {
	writing-mode: vertical-rl;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 0.5em; /* 縦方向の文字間隔 */
}

/* 組織図 */
.profile-orgchart {
  margin: 0 30px 80px 30px;
}

.orgchart-img img {
    max-width: 100%;
    height: auto;
}

/* 沿革 */
.profile-history {
  margin: 0 30px 80px 30px;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    background-color: #f7f7f7;
}

.history-list dt {
    width: 20%;
    background-color: #2b5597;
    color: #fff;
    padding: 12px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
    font-weight: bold;
}

.history-list dd {
    width: 80%;
    padding: 12px 20px;
    margin: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #e0e0e0;
}

.history-list dt:last-of-type,
.history-list dd:last-of-type {
    border-bottom: none;
}

/* ブランド一覧 */
.profile-brand{
  margin: 0 30px 80px 30px;
}

h5.sub-midashi {
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
    margin: 30px 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.brand-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 15px 10px;
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
}

.brand-list li {
    width: calc(14.28% - 10px);
    box-sizing: border-box;
}

.brand-list li img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}

/* ==========================================================================
   Recruit Section Styles
   ========================================================================== */

.recruit .catch {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #111111;
}

.recruit .flexbox img {
  width: calc(50% - 7.5px);
  object-fit: cover;
}

/* 募集要項・取組内容（定義リスト） */

.recruit dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #cccccc;
  margin:30px 0;
}

.recruit dt {
  width: 20%;
  padding: 12px 15px;
  background-color: #f2f2f2;
  border-bottom: 1px solid #cccccc;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.recruit dd {
  width: 80%;
  margin: 0;
  padding: 12px 15px;
  background-color: #f2f2f2;
  border-bottom: 1px solid #cccccc;
  line-height: 1.7;
}

/* 偶数行（2行目、4行目...）のdtとddを背景色白にする */
.recruit dl > dt:nth-of-type(even),
.recruit dl > dd:nth-of-type(even) {
  background-color: #ffffff;
}

.recruit .recruit-outline dt {
  width: 20%;
  padding: 12px 15px;
  background-color: #fff;
  border-bottom: 1px solid #cccccc;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.recruit .recruit-outline dd {
  width: 80%;
  margin: 0;
  padding: 12px 15px;
  background-color: #fff;
  border-bottom: 1px solid #cccccc;
  line-height: 1.7;
}

/* 小見出し・テキスト */
.recruit h5 {
   font-size: 1.2em;
  color: #2b5597;
  margin: 25px 0 10px;
  font-weight: bold;
}

.recruit .recruit-initiatives p {
  font-weight: bold;
  margin: 5px 0 10px;
}

.recruit .recruit-initiatives span {
  display: block;
  line-height: 1.7;
  margin-bottom: 20px;
}


.recruit .entry-form {
border-radius:10px;
border:1px solid #ccc;
padding:30px;
}


.contact .text {
	text-align:center;
	margin:30px auto;
}

/* ---------------------------------------------
   共通フォームスタイル (.entry-form)
--------------------------------------------- */
.entry-form .form-list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #e0e0e0;
  margin: 0 30px 30px 30px;
	text-align:left;
}

.entry-form .form-list dt {
  width: 30%;
  padding: 20px 15px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  font-weight: bold;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.entry-form .form-list dd {
  width: 70%;
  margin: 0;
  padding: 15px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;
}

/* ラベル内のテキストと「※」を横並びにする */
.entry-form .form-list dt label {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* テキストと※の間の余白 */
}

/* 必須マーク（※）のスタイル調整 */
.entry-form .required {
  color: #e53935;
  font-size: 0.8em;
  line-height: 1;
  margin-left: 4px;
}

/* Contact Form 7 の自動wrapによる意図しない改行を防止 */
.entry-form .form-list dd .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 入力フィールド */
.entry-form .form-list input[type="text"],
.entry-form .form-list input[type="email"],
.entry-form .form-list input[type="tel"],
.entry-form .form-list textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-size: 14px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
}

.entry-form .form-list textarea {
  height: 180px;
  resize: vertical;
}

.entry-form .form-list input::placeholder,
.entry-form .form-list textarea::placeholder {
  color: #aaaaaa;
}

/* ラジオボタン */
.entry-form .form-list .wpcf7-radio {
  display: flex;
  gap: 20px;
}

.entry-form .form-list .wpcf7-list-item {
  margin: 0;
}

.entry-form .form-list .wpcf7-list-item label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 送信ボタン */
.entry-form .submit-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.entry-form .submit-btn-wrap input[type="submit"] {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  padding: 14px 0;
  background-color: #3366a6;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.entry-form .submit-btn-wrap input[type="submit"]:hover {
  background-color: #254b7d;
}

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

body {
    font-size:14px;
}

section {
    padding: 30px 1em;
}

section div.container {
    max-width:100%;
    width:100%;
}

/* メインビジュアル (FV) */

.fv p {
    font-size: 2em;
}

/* SNSセクション */
div.sns-area {
    max-width: 100%;
    margin: 30px 1em;
    flex-direction: column;
}

div.sns-area div{
    padding: 10px 0;
}

div.sns-area div img{
   width: 80%;
}

div.sns-area div.midashi{
    border:none;
}

/* About Us */
.about {
    width: 100%;
    max-width: 100%;
}

.about p.midashi {
    font-size: 1.8em;
    font-weight:600;
    margin-bottom: 60px;
}

.about article {
  flex-direction:column;
}

.about article:nth-child(even) {
    flex-direction: column;
}

.about article img {
    width: 100%;
}

.about h3 {
    font-size: 1.6em;
}

.about div.bicycle h3:before {
    width: 106px; 
    height: 66px; 
    margin-right: 5px; 
}

.about div.tire h3:before {
    width: 106px; 
    height: 60px; 
    margin-right: 5px; 
}

.about div.fukushi h3:before {
    width: 106px; 
    height: 82px; 
    margin-right: 5px; 
}

.about div.shop h3:before {
    width: 106px; 
    height: 70px; 
    margin-right: 5px; 
}

.shop .box.gray {
    padding: 1em;
}

.shop .box.gray div{
    padding: 20px;
}

.shop .box.gray ul {
    flex-direction: column;
}

.shop .box.gray ul li {
	width:100%;
    padding: 15px;
}

.shop .box.gray ul li p{
    height:35px;
}

.shop .box.gray p img{
    height:60px;
}

.shop p.text{
    margin-top: 20px;
}

/* Services */

.services h3 {
    font-size: 2em;
}

.services ul {
    flex-direction: column;
    margin: 0 auto;
    gap: 20px;
    align-items: stretch;
}

.services li div{
    padding: 20px 15px;
    text-align: left;
}

.services li h4{
    height: auto;
    margin-bottom: 15px;
}

/* Recruit */

.recruit h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.recruit > p {
    max-width: 100%;
}

.recruit .box.white {
    padding: 1em;
}

.recruit .box.white p.midashi{
    font-size:1.8em;
    margin-bottom:15px;
}

.recruit h4 {
  font-size: 1.6em;
  margin: 20px 0;
}

.recruit .flexbox {
  display: flex;
  flex-direction:column;
  gap: 20px;
  margin: 0 auto;
}

.recruit .flexbox a {
  padding: 1.5em;
}

.recruit .flexbox .btn {
  margin-bottom: 0; /* 下部に押されるように設定 */
}

/* Contact */

.contact h3 {
    font-size: 2em;
}

.contact ul.flexbox {
  flex-direction:column;
}

.contact ul.flexbox > li {
    width: 100%;
}

.contact ul.flexbox > li:not(:last-child) {
  border-right: none;
  border-bottom: 1px solid #e5e5e5;
}

.contact ul.flexbox h4 {
  width: 100%;
  max-width: 100%;
}

/* Profile & Map */

.profile h3 {
    font-size: 2em;
}

.profile-area {
  position: static;
  padding: 1em;      /* 上下左右の余白（調整可能） */
  max-width: 100%;        /* 設置場所に合わせた最大幅 */
  flex-direction:column;
}

.profile-area > div {
  position: static;
  padding: 1em;            /* 内側の余白 */
  width: 100%;             /* テキストボックスの幅 */
}

.profile-area img {
  width: 100%;               /* 全体に対しての画像幅 */
	margin-top:20px;
}

/* 下層ページ */
/* 白枠コンテンツエリアの位置調整 */
.contents-area {
    width: 100%;
    margin: 0;
}

.basic h4.midashi {
    font-size: 1.8em;
}

/* 会社概要 */
.profile-overview {
  margin: 0 1em 60px 1em;
}

.overview-flex {
  flex-direction:column;
}

.info-list {
    width: 100%;
}

.overview-photos {
    width: 100%;
    margin: 10px 0 0 0;
}
/* 社長挨拶・社是・スローガン */
.philosophy-flex {
  flex-direction:column;
    gap: 30px;
    margin-top: 30px;
}

.shaze, .slogan {
	width: 100%;
}

.slogan .vertical-text {
	margin-top: 20px;
}

.brand-list li {
    width: calc(30.28% - 10px);
    box-sizing: border-box;
}

/* 組織図 */
.profile-orgchart {
  margin: 0 1em 60px 1em;
}

/* 沿革 */
.profile-history {
  margin: 0 1em 60px 1em;
}

/* ブランド一覧 */
.profile-brand{
  margin: 0 1em 60px 1em;
}
/* ==========================================================================
   Recruit Section Styles
   ========================================================================== */

.recruit .flexbox img {
  width: 100%;
  object-fit: cover;
}

.recruit dl {
  flex-direction:column;
    width: 100%;
}
.recruit dt,
.recruit dd {
    width: 100%!important;
}

.recruit .entry-form {
padding:1em;
}

/* ---------------------------------------------
   共通フォームスタイル (.entry-form)
--------------------------------------------- */
.entry-form .form-list {
  flex-direction:column;
	text-align:left;
}

  .entry-form .form-list dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 5px;
  }

  .entry-form .form-list dd {
    width: 100%;
    padding-top: 0;
  }
}

/* SPメニュー */
/* ==========================================
   スマホ用ハンバーガーメニュー追記
   ========================================== */

/* ハンバーガーボタン基本スタイル（PCでは非表示） */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001; /* メニューの上に配置 */
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #000;
  position: absolute;
  left: 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 10px; }
.hamburger-btn span:nth-child(3) { top: 20px; }

/* ボタン開閉時（✕印に変形） */
.hamburger-btn.is-active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* スマホ表示時の設定 (画面幅768px以下) */
@media screen and (max-width: 768px) {
  /* ロゴの配置調整 */
  header {
    position: fixed;
  }

  header .container.flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header h1 {
    position: relative;
    z-index: 1001; /* メニューが開いた時もロゴを前面に出す */
  }

  /* ハンバーガーボタン表示 */
  .hamburger-btn {
    display: block;
  }

  /* メニュー画面（全画面表示） */
  header nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
	align-items: start;
    z-index: 1000;
    
    /* 初期状態は非表示（透明） */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  /* メニューが開いた時の表示 */
  header nav.is-active {
    opacity: 1;
    visibility: visible;
  }

  /* メニューリストのレイアウト・デザイン */
  header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
	flex-direction: column;
  }

  header nav ul li {
    margin: 30px 0;
  }

  header nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 2px solid #2a64a0; /* 画像に合わせた青色の下線 */
  }
}

/*　フォーム追記  */
/* ラジオボタンとテキストの位置ズレを強力リセット */
.entry-form .wpcf7-list-item {
  display: inline-flex !important;
  align-items: center !important; /* 縦方向の中央に強制揃え */
  justify-content: flex-start !important;
  margin: 0 !important;
  height: auto !important;
}

/* ラジオボタン自体の位置指定を初期化 */
.entry-form .wpcf7-list-item input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 0 !important;
}

/* ラベルテキストの位置と高さを強制修正 */
.entry-form .wpcf7-list-item-label {
  display: inline-block !important;
font-weight:normal !important;
  line-height: 1.2 !important; /* 行高の干渉を防止 */
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 0 !important;
}

/* --------------------------------------------------
 * 配置（横並び / 縦並び）の指定
 * -------------------------------------------------- */
/* ご希望の回答方法（横並び） */
span[data-name="radio-reply"] .wpcf7-radio {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px !important;
}

/* ご応募内容を選択（縦並び） */
span[data-name="radio-recruit"] .wpcf7-radio {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}