/*
Theme Name: custom
Description: 
Version: 1.0
*/

/*-------------------------------------------
共通部分
-------------------------------------------*/
:root {
	--main-color: rgb(0, 114, 159);
	--bg-c: #fff;
 }
* {
	margin: 0;
	padding: 0;
 }
 html {
    scroll-behavior: smooth;
   }
body { font-family:Arial,sans-serif; 
		line-height: 2.4; font-size:14px; width:100%; position:relative; -webkit-font-smoothing:antialiased; }
 li {
	list-style: none;
 }
 a {
	display: inline-block;
	transition: all 0.3s;
 }
 a:hover {
	opacity: 0.8;
	transition: color 0.3s ease;
 }
 .section__title {
	font-size: 1.6em;
	font-weight:bold;
	margin-bottom: 10px;
 }

 img {
	width: 100%;
	height: auto;
	display: block;
 }
.text__right {
	text-align:right;
}

/*-------------------------------------------
pc・spレスポンシブ
-------------------------------------------*/
 .pc-only {
	 display: block;
 }
 .sp-only {
	 display: none;
 }
 .pc-only_1200 {
	 display: block;
 }
 .sp-only_1200 {
	 display: none;
 }

@media screen and (max-width: 768px) {
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
}

@media screen and (max-width: 1200px) {
	.pc-only_1200 {
		display: none;
	}
	.sp-only_1200 {
		display: block;
	}
}
/*-------------------------------------------
全てに適応される記述
-------------------------------------------*/
.inner {
	width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 15px;
}
/* header高さがpc80px sp60pxのための調整*/
main.front-page { margin-top: -80px;}

.search-results__inner { margin-top: 80px;}
@media screen and (max-width: 1200px) {
	main.front-page {margin-top: -60px;}

}
/*-------------------------------------------
フェードイン
-------------------------------------------*/
.fade-in {
    opacity: 0;
    transform: translateY(50px); /* 50px下から開始 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 遅延用クラス */
.fade-in-delay.visible {
  transition-delay: 1s; /* 0.5秒遅らせる例 */
}

/*-------------------------------------------
header
-------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background-color: transparent;
}

.header::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
/*     background-color: rgba(255, 255, 255, 0.95); */
	background-color: #fff;
    transition: top 0.6s ease;
    z-index: -1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); 
}

.header.isFixed::before {
    top: 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-right: 50px;
    margin: 0 auto;
    box-sizing: border-box;
}

.header__logo img {
    max-height: 60px;
    width: auto;
	display: block;
}

.header__logo a {
	display: block;
}
.header__logo-wrap {
	height: inherit;
	background-color: var(--main-color);
	    display: flex;
    align-items: center;
    justify-content: center;
	width: fit-content;
}

@media screen and (max-width: 1200px) {
    .header { height: 60px; }
    .header__logo img { max-height: 50px; }
	.header::before {height: 60px;}
	.header__inner { padding-right: 20px;}
}
/*-------------------------------------------
PCナビ
-------------------------------------------*/
.pc-nav {
	margin-inline: auto;
	padding-right: 120px;
}
.pc-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}
.pc-nav .nav__link {
 color: #fff;
}
.pc-nav .nav__link:hover{
 color: var(--main-color) !important;
}
.header.isFixed .pc-nav .nav__link {
 color: #000;
}
.nav__link {
	height: inherit;
	display: block;
}
/*-------------------------------------------
モバイルハンバーガー
-------------------------------------------*/
.hamburger-icon {
    display: inline-block;
    width: 30px;
    height: 16px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.header.isFixed .hamburger-icon span {
    background-color: #000;
}
.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 10px; }
.hamburger-icon span:nth-child(3) { top: 20px; }

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(40deg);
    top: 10px;
}
.hamburger-icon.active span:nth-child(2) { opacity: 0; }
.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-40deg);
    top: 10px;
}
.header.isFixed .hamburger-icon.active span {
    background-color: #fff; /* 開いた時は白 */
}
.hamburger-icon.active {
    display: none;       /* 見えなくする */
    pointer-events: none; /* クリックを無効にする */
}
/*-------------------------------------------
モバイルナビ
-------------------------------------------*/
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
	color: #fff;
    background-color: #000;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 1001;
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav ul li {
border-bottom: 1px solid #444;
    width: 100%;
	padding: 16px 20px;
}
@media screen and (max-width: 500px) {
.mobile-nav { width: 80%; }
}


/*-------------------------------------------
footer
-------------------------------------------*/
.footer {
	padding-top: 50px;
}
.footer__nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.footer__nav ul {
	height: inherit;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 46px;
	flex-wrap:wrap;
    border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
    width: 100%;
	padding: 10px 20px;
}
@media screen and (max-width: 1200px) {
.footer__nav ul {
	gap: 30px;
}
}
.footer__nav ul li{
	height: inherit;
	display: flex;
	justify-content: center;
	align-items: center;
	height: inherit;
}

.footer__logo {
	width: 250px;
	margin-inline: auto;
	padding-block: 40px;
}
.footer__copy {
	padding-block: 30px;
	text-align: center;
}
.icon-flex {
	display: flex;
	align-items: center;
}
.icon-flex span {
	padding-right: 5px; 
}
@media screen and (max-width: 600px) {
.footer__nav ul {
	gap: 18px;
}
}
/*-------------------------------------------
ボタン
-------------------------------------------*/

.btn {
    color: #fff;
    background-color: var(--main-color);
/*     border-radius: 20px; */
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 200px;
    text-align: center;
    margin-inline: auto;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
    position: relative;
	padding-block: 12px;
}

/*-------------------------------------------
TOPへ戻る pc
-------------------------------------------*/
@media screen and (min-width: 1999px) {
#return_top-pc {
	  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;

}
#return_top-pc a {
    height: inherit;
    width: 100%;
    display: flex;
    align-items: center;
}
#return_top-pc a span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #000; /* 右線 */
  border-top: 2px solid #000;   /* 上線 */
  transform: rotate(-45deg);    /* 上向き矢印 */
	    margin-inline: auto;
}
#return_top-pc a:hover {
    background-color: #fafafa;
}
}
/*-------------------------------------------
TOPへ戻る sp
-------------------------------------------*/
@media screen and (max-width: 1200px) {
#return_top {
  position: fixed;
  bottom: 0;      
  right: 0;  
  width: 60px;
  height: 60px;
  background-color: var(--main-color);
  text-align: center;
  line-height: 50px;
  cursor: pointer;
/*   z-index: 1000; */
  display: none;      /* 初期は非表示 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}
#return_top a {
  color: #fff; padding: 24px;
}
#return_top a span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff; /* 右線 */
  border-top: 2px solid #fff;   /* 上線 */
  transform: rotate(-45deg);    /* 上向き矢印 */
}
#return_top.active {
  display: block;
}
}
/*-------------------------------------------
フェードイン
-------------------------------------------*/
.fade-in {
    opacity: 0;
    transform: translateY(50px); /* 50px下から開始 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 遅延用クラス */
.fade-in-delay.visible {
  transition-delay: 1s; /* 0.5秒遅らせる例 */
}
/*-------------------------------------------
mainview
-------------------------------------------*/
.mainview__title {
	font-size: 2.6em;
	font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	margin-bottom: 20px;
	line-height: 1.8;
}
@media (max-width: 1201px) {
 .mainview__title {
	font-size: 1.6em;
}
}

/* ---------------------------------------
   スライダー共通
--------------------------------------- */
.slider {
  position: relative;
}
.mainview {
  position: relative;
}

/* スライダー内オーバーレイ */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 5;
}

/* キャプションをオーバーレイより前面に */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  width: 100%;
  opacity: 0; /* 初期は非表示 */
}
.caption.active { opacity: 1; }
@media (max-width: 768px) {
.caption {
	top: 55%;
}
}
/*-------------------------------------------
スライダー
-------------------------------------------*/
/* 基本の矢印ボタンのスタイル */
.slide-arrow {
	position: absolute;
    bottom: -49px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	cursor: pointer;
	z-index: 10;
	background: none; /* 背景を消す */
	border-color: transparent;
  }

  /* ボタンのデフォルトスタイルを無効化 */
  button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	padding: 0;
	border: none;
	background: none;
  }
 
.slider .slick-dots {
  bottom: 26px;
  display: none !important;
}
@media screen and (max-width: 1200px) {
  .slider .slick-dots {
    display: block !important;
  }
}
.slick-dotted.slick-slider {
	margin-bottom: 0;
}
/* Slick スライダーのドット */
.slick-dots li {
    width: 14px;
    height: 14px;
    margin: 0 5px;
    padding: 0;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 14px;
    height: 14px;
    padding: 0; /* ←余白を消す */
    cursor: pointer;
    border: 0;
    outline: none;
    background: none;
}

/* ドットの基本形（白枠） */
.slick-dots li button:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    margin: 0 auto; /* 中央揃え */
}

/* アクティブ時のドット（白丸） */
.slick-dots li.slick-active button:before {
    background: #fff;
    border-color: #fff;
}
/* ---------------------------------------
   動画1（1枚目用）一文字ずつ（右から）
--------------------------------------- */
.caption.char-anim .animate_item span {
  display: inline-block;
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInRight 0.6s forwards;
}

/* 右からのフェードイン */
@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ---------------------------------------
   動画2以降 見出し・テキストフェードアップ
--------------------------------------- */
.caption.text-anim h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}
.caption.text-anim p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.caption p {
  padding: 10px;
}
/* ---------------------------------------
   動画調整
--------------------------------------- */
.slider_video {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider_video video {
  display: block;
}
.video-responsive {
  width: 100%;
  height: 800px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .video-responsive {
  	height: 680px;
  }
}


/*-------------------------------------------
検索
-------------------------------------------*/
input[type="search"], input[type="text"] {
  border: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  background-color: white;
  color: #333;
}
.search-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.search-count {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.search-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--mainDark-c);
  padding-bottom: 1rem;
}

.search-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 10px
}

.search-thumb img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.search-content {
  flex: 1;
}

.search-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.search-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
}

.search-not-found {
  font-size: 1.1rem;
  margin-top: 2rem;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-field {
  padding: 6px 10px;
  font-size: 1rem;
  border: 1px solid var(--mainDark-c);
  border-radius: 4px;
  width: 300px;
}
@media screen and (max-width: 500px) {
.search-field { width: 200px;}
}
.search-submit {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 24px;
  display: flex;
  align-items: center;
}

/*-------------------------------------------
about
-------------------------------------------*/
.about {
	background-image: url(images/bg/background_pc01.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 30% top;
	z-index: -10;
	opacity: .6;
	pointer-events: none;  /* ← これを追加 */
	color: #fff;
}
.about__inner {
	padding: 100px 140px 140px;
}
.about .section__title {
	text-align: center;
}
@media screen and (max-width: 768px) {
.about__inner {
	padding: 74px 14px 120px
}
}
/*-------------------------------------------
service
-------------------------------------------*/
.service {
	margin-top: -50px;
}
@media (max-width: 600px) {
.service {
	margin-top: -42px;
}
}
.service__title {
	 color: var(--main-color);
}

/* ---------------------------------
   タブコンテンツの横並び / SP縦並び
--------------------------------- */
.tab__content {
  display: none; /* JSで切り替えるので初期は非表示 */
}

.tab__wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
}
@media (max-width: 768px) {
.tab__wrap { gap: 36px;}
}
.tab__txt {
	width: 50%;
}
/* 画像部分 */
.tab__image {
	width: 50%;
}

.tab__image img {
    width: 80%;
    margin-inline: auto;
}
.tab__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.tab__btn {
	background-color: rgba(255, 255, 255, 0.3);
	border: none;
	color: #fff;
	    padding: 10px 34px 17px;
/*     border-radius: 6px; */
	 border-top-left-radius: 6px;   /* 左上 */
  border-top-right-radius: 6px;  /* 右上 */
  border-bottom-left-radius: 0;  /* 下は丸くしない */
  border-bottom-right-radius: 0; /* 下は丸くしない */
}
.tab__btn.active {
		background-color: rgba(255, 255, 255, 1);
		background-color: var(--bg-c);
	 color: var(--main-color);
}
/* SP用（768px以下） */
@media screen and (max-width: 768px) {
  .tab__wrap {
    flex-direction: column; /* 縦並び */
  }
.tab__btn {
	    padding: 10px 20px 17px;
}
.tab__txt {
	width: 100%;
}
/* 画像部分 */
.tab__image {
	width: 100%;
}
}
@media screen and (max-width: 600px) {
.tab__buttons {
    gap: 6px;
	font-size:0.88em;
}
.tab__btn {
	    padding: 8px 6px 10px;
}
}

/*-------------------------------------------
固定ページ page.php用
-------------------------------------------*/

.page__inner { 
	max-width: 850px;
	margin-top: 50px;
}

.page__title-wrapper {
    position: relative;
    overflow: hidden;
	width: 100%;
    text-align: center;
}
.page__title-bg {
  color: #fff;
  height: 500px;
}
.page__title {
    position: relative;
    z-index: 1; 
	  color: #fff;
	position: absolute;
    top: 48%;
	width: 100%;
}

.page-content p {
	margin-bottom: 2em;
}

@media (max-width: 768px) {
.page__title-bg {
color: #fff;
  height: 350px;
}
}
/*-------------------------------------------
各固定ページtop背景画像
-------------------------------------------*/
.page-id-8 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv02_pc.webp) no-repeat 30% top / cover;
}
.page-id-17 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv04_pc.webp) no-repeat 30% top / cover;
}
.page-id-19 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv03_pc.webp) no-repeat 30% top / cover;
}
.page-id-21 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv01_pc.webp) no-repeat 30% top / cover;
}
/* 事業紹介 */
.page-id-44 .page__title-bg,
.page-id-56 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv05_pc.webp) no-repeat 30% top / cover;
}
.page-id-54 .page__title-bg,
.page-id-59 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv06_pc.webp) no-repeat 30% top / cover;
}

.page-id-61 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv05_pc.webp) no-repeat 30% top / cover;
}
@media screen and (max-width: 768px) {
.page-id-8 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv02_sp.webp) no-repeat 30% top / cover;
}
.page-id-17 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv04_sp.webp) no-repeat 30% top / cover;
}
.page-id-19 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv03_sp.webp) no-repeat 30% top / cover;
}
.page-id-21 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv01_sp.webp) no-repeat 30% top / cover;
}
/* 事業紹介 */
.page-id-44 .page__title-bg,
.page-id-56 .page__title-bg  {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv05_sp.webp) no-repeat 30% top / cover;
}
.page-id-54 .page__title-bg,
.page-id-59 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv06_sp.webp) no-repeat 30% top / cover;
}
.page-id-61 .page__title-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* ← 暗くするレイヤー */
    url(images/bg/sub_fv05_sp.webp) no-repeat 30% top / cover;
}
}

.service__image {
	width: 80%;
	margin-inline: auto;
}
/* 個人情報保護方針はTOP背景画像なし */
#post-3 {
	margin-top: 60px;
}
.page-id-3 .page__title-bg {
	display: none;
}
.page-id-3 .hamburger-icon span {
    background-color: #000;
}
/*-------------------------------------------
Q&A
-------------------------------------------*/
.qa-heading {
  background-color: var(--main-color);
  color: #fff;
  padding: 10px 15px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.qa-box {
  border: 1px solid var(--main-color);
  margin-bottom: 20px;
}

p.qa-question {
  background-color: var(--main-color);
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  margin: 0;
}

p.qa-answer {
  padding: 15px;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}

.qa-answer .qa-a {
  color: red;
  font-weight: bold;
  margin-right: 5px;
}


/*-------------------------------------------
会社概要 
-------------------------------------------*/
.company-profile {
  margin: 40px 0;
}

.company-profile__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.company-profile__list {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.company-profile__item {
  display: table-row;
}

.company-profile__term,
.company-profile__desc {
  display: table-cell;
  padding: 12px 15px;
  border: 1px solid #ccc;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 項目名の見た目 */
.company-profile__term {
  width: 25%;
  font-weight: bold;
  background: #f8f8f8;
}

/* 内容部分 */
.company-profile__desc {
  width: 75%;
}

/* 事業内容リスト */
.company-profile__business {
  margin: 0;
}

.company-profile__business li {
  margin-bottom: 0.5em;
}

.company-map_title {
	font-size: 1.6em;
	font-weight: bold;
}
@media screen and (max-width: 768px) {
.company-map_title { font-size: 1.2em; }
}
/*-------------------------------------------
お問い合わせ
-------------------------------------------*/
/* フォーム全体 */
.contact-form {
  border: 1px solid #ccc;
  padding: 30px;
  margin: 20px 0;
  background: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
}

/* 各行 */
.form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
/*   flex-wrap: wrap; */
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 680px) {
.form-row {
 flex-wrap: wrap;
}
	.form-row label {
    text-align: left !important;
}
}
/* 必須・任意ラベル */
.form-label {
  display: inline-block;
  width: 50px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  padding: 4px 6px;
  margin-right: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.form-label.required {
  background: #d9534f; /* 赤 */
}

.form-label.optional {
  background: #337ab7; /* 青 */
}

/* ラベル（日本語 + 英語） */
.form-row label {
  font-size: 14px;
  margin-right: 30px;
  flex: 0 0 150px; /* 日本語・英語の幅を固定 */
	 text-align: right;
}

.form-row label .en {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 2px;
	    color: #3377ff;
}

/* 入力欄 */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  flex: 1;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  min-width: 180px;
	background: #fafafa;
}
.form-row.form-postal input[type="text"]{
  width: 80px;
}
/* テキストエリア */
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

/* 郵便番号ボタン */
.btn-postal {
  margin-left: 10px;
  padding: 7px 12px;
  font-size: 0.8em;
  background: #5bc0de;
  color: #fff;
  border: none;
/*   border-radius: 3px; */
  cursor: pointer;
}

/* チェックボックス */
.form-row .wpcf7-list-item {
  margin-right: 15px;
  display: inline-block;
}

/* 送信ボタン */
.submit-row {
  text-align: center;
}
@media (max-width: 640px) {
.submit-row {
  text-align: left;
}
}
.submit-row input[type="submit"] {
  background: #5cb85c;
  color: #fff;
  border: none;
  padding: 5px 41px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.submit-row input[type="submit"]:hover {
  background: #4cae4c;
}


/* チェックボックスを縦並びに */
.form-row .wpcf7-list-item {
  display: block;   /* ブロック要素にすることで縦並び */
  margin-bottom: 5px; /* チェックボックス間の余白 */
}

/* 最後の要素の余白をなくす場合 */
.form-row .wpcf7-list-item.last {
  margin-bottom: 0;
}
/* 送信ボタン スピナー位置調整 */
.wpcf7-spinner {
    position: absolute; /* 親のボタンからは独立 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0;
}

.btn__wrap.top {
	margin-top: 50px;
}

/* 個人情報保護方針 */
.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-title {
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.privacy-item {
  margin-bottom: 24px;
}

.privacy-item strong {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.05em;
  color: #222;
}

.privacy-item ul {
  margin: 8px 0 8px 20px;
  list-style-type: disc;
}

.privacy-item ul li {
  margin-bottom: 4px;
}

.privacy-item li {
  list-style: disc; 
}

.privacy-item a {
  color: #006699;
  text-decoration: underline;
}

.privacy-item a:hover {
  text-decoration: none;
}

.privacy-item address {
  font-style: normal;
  margin-top: 14px;
  line-height: 1.6;
}

.page-content .privacy-policy p {
	margin-bottom: 0;
}

.privacy-number {
	margin-bottom: 10px;
}

.privacy-item address a {
  display: inline-block;
  margin-top: 10px; 
}

.company-name {
	margin-bottom: 0;
}