/*!
Theme Name: miyaworks-child
Template: miyaworks
Author: miya
Description: Description
Version: 1.0.0
*/
/**PCとスマホの表示切り替え**/
@media screen and (min-width: 768px) {
  /* Tablet, PC */
  .sp {
    display: none !important;
  }
  .br-sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  /* スマホ */
  .pc {
    display: none !important;
  }
  .br-pc {
    display: none;
  }
}
/**** 共通 ****/
html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
}
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
.error-404 {
  min-height: 300px; /* 内容に応じて調整 */
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}


.center {
  text-align: center;
}
.entry-header,.entry-footer {
	display: none;
}
section {
  padding: 80px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
h2 {
	font-size: 32px;
	letter-spacing: 0.2em;
	font-weight: bold;
}
h3 {
	font-size: 21px;
	letter-spacing: 0.2em;
	font-weight: bold;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	body {
		font-size: 13px;
	}
	h2 {
	font-size: 24px;
	}
}
/**** header ****/
.site-header {
  position: fixed; /* ← 固定に変更！ */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  color: #fff;
	transition: background-color 0.3s, color 0.3s;
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: auto;
    width: 46px;
	margin-right: 8px;
}
.logo-text {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
	font-family: "ヒラギノ明朝 ProN W6", "Hiragino Mincho ProN", "游明朝体", "Yu Mincho", serif;
	font-weight: 600;
	line-height: 2; /* 高さが揃いやすくなる */
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center; /* ← これが重要！垂直中央に揃える */
}
.site-nav .contact-btn {
  display: flex;
  align-items: center; /* ボタンも中央に揃える */
}

/* ボタン */
.contact-btn {
	background: linear-gradient(to right, #2dc7d2, #21b96e);
	border-radius: 40px;
	padding: 10px 44px;
}
.btn {
  color: #fff;
  font-size: 18px;
	font-weight: bold;
  display: inline-block;
  text-decoration: none;
}
.btn:hover {
  opacity: 0.8;
}
.btn-left {
	margin-left: 10px;
}
.li-right {
	margin-right: 20px;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
	font-weight: bold;
}
.site-nav ul li + li {
  border-left: 1px solid rgba(255,255,255,0.5);
  padding-left: 1.5rem;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 0 2rem;
  text-align: left;
	max-width: 1200px;
	margin: auto;
  top: 50%;
  transform: translateY(-50%);
}
.hero-text h2 {
  line-height: 1.4;
}
.hero-text p {
  font-size: 15px;
  margin-top: 1rem;
}
/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
/* ハンバーガーを×に変化 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 固定ページ */
.hero-sub {
  position: relative;
  width: 100%;
  height: 46vh;
  overflow: hidden;
}
.hero-sub-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-sub-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 0 2rem;
  text-align: center;
	margin: auto;
  top: 60%;
  transform: translateY(-50%);
}
.hero-sub-text h2 {
  line-height: 1.4;
	font-weight: bold;
	letter-spacing: 0.2rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.hero-text {
		margin-left: 0%;
		text-align: left;
	}
  .hero-text h2 {
    font-size: 24px;
  }
	.contact-btn {
	border-radius: 40px;
	padding: 10px 24px;
	}
  .btn {
    width: 100%;
    text-align: center;
  }
	.btn-left {
		margin-left: 14px;
	}
	.li-right {
	margin-right: 0px;
	}
	.site-nav {
    position: relative;
  }
	.site-nav a {
    font-size: 15px;
	}
  .site-nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    border-radius: 8px;
    z-index: 1000;
    width: 200px;
  }
  .site-nav ul.active {
    display: flex;
  }
	.hamburger {
    display: flex;
  }
	.site-nav ul li + li {
    border-left: none;
    padding-left: 0;
  }
	.header-inner {
		padding: 0.5rem 1rem;
	}
}

/* スクロール時に追加されるクラス */
.site-header.scrolled {
  background-color: #fff;
	background-color: rgba(255, 255, 255, 0.9);
  color: #000;
}

.site-header.scrolled .logo-text {
  color: #000;
}
/* メニューリンクの文字色 */
.site-header.scrolled .site-nav a {
  color: #000;
}
.site-header.scrolled .hamburger span {
  background: #000;
}
.site-header.scrolled .mail-icon path {
  fill: #000;
}

.site-header.scrolled .site-nav ul li + li {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
}
.site-nav ul li.contact-btn {
  border-left: none !important;
}

/* 通常時：白 */
.mail-icon {
  color: #fff;
  transition: color 0.3s ease;
}

/* スクロール時：黒 */
.site-header.scrolled .mail-icon {
  fill: #000;
}

/* スマホ時にnav-list部分の色を固定（白文字）に戻す */
@media screen and (max-width: 768px) {
  .site-header.scrolled #nav-list a {
    color: #fff !important;
  }
  .site-header.scrolled #nav-list .mail-icon path {
    fill: #fff !important;
  }
}

/* お問い合わせページだけ、最初からヘッダーを黒背景＆黒文字にする */
body.page-id-11 .site-header,
body.page-id-11 .site-header .site-nav a,
body.page-id-11 .site-header .logo-text,
body.page-id-11 .hamburger span,
body.page-id-11 .mail-icon {
  color: #000;
  fill: #000; /* SVG用 */
}
/* お問い合わせページだけハンバーガーメニューを黒に */
body.page-id-11 .hamburger span {
  background-color: #000;
}
/* li区切り線も黒に */
body.page-id-11 .site-header .site-nav ul li + li {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
}
/*　お問い合わせページ用 スマホ時にnav-list部分の色を固定（白文字）に戻す */
@media screen and (max-width: 768px) {
  body.page-id-11 #nav-list a {
    color: #fff !important;
  }

  body.page-id-11 #nav-list .mail-icon path {
    fill: #fff !important;
  }
}



/**** footer ****/
.site-footer {
  background-color: #c7c7c7;
	font-weight: bold;
	margin: 0;
  padding: 0;
	background: url('https://bankengumi.co.jp/wp-content/uploads/2025/06/アセット-1@4x.png') repeat;
  background-size: contain;
}
.site-footer p {
	letter-spacing: 0.1rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid #c3d2d6;
}

.footer-left {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  flex: 1 1 60%;
}

.footer-logo {
    width: 110px;
    height: auto;
    margin-top: 10px;
}

.footer-info p {
  margin: 2px 0;
  line-height: 1.5;
}
.footer-tel {
	padding-top: 15px;
}
.footer-right {
  flex: 1 1 30%;
  text-align: left;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 25px 0 0 0;
}

.footer-nav li {
  margin-bottom: 0px;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
	letter-spacing: 0.1rem;
}

.footer-bottom {
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: #555;
}
.company-name-wrap {
	font-family: "ヒラギノ明朝 ProN W6", "Hiragino Mincho ProN", "游明朝体", "Yu Mincho", serif;
	font-size: 18px;
}
.company-name {
	font-size: 24px;
	vertical-align: -2px; /* ←ベースライン調整 */
}
/* スマホ対応 */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
	  gap: 0px;
  }

  .footer-logo {
    margin-bottom: 12px;
  }

  .footer-info p {
    line-height: 1.8;
  }

  .footer-right {
    margin-top: 20px;
  }
	.company-name {
    font-size: 21px;
	}
	.company-name-wrap {
    font-size: 15px;
	}
	.footer-nav li {
    margin-bottom: 10px;
	}
}

/**** main ****/
/**** ホーム ****/
.mission {
  background: url("https://bankengumi.co.jp/wp-content/uploads/2025/06/1.jpg") no-repeat center center/cover;
  padding: 100px 20px;
  text-align: center;
  color: #000;
  position: relative;
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mission-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
}
.mission-title {
  font-weight: bold;
  margin-bottom: 2rem;
}
.mission-title span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  margin-top: 0;
  letter-spacing: 1px;
}
.mission-text {
  line-height: 2.2;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.mission {
		padding: 70px 20px;
	}
	.mission-text {
		line-height: 1.6;
	}
}
/* 事業内容 */
.business-section {
  background-color: #fff;
  padding: 100px 20px;
  text-align: center;
}
.business-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-weight: bold;
  margin-bottom: 2rem;
}
.section-title span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  margin-top: 0;
  letter-spacing: 1px;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列固定 */
  column-gap: 24px;
  row-gap: 80px;
  margin-top: 3rem;
	margin-bottom: 5rem;
}
.business-item {
  text-decoration: none;
  color: #000;
}
.business-item img {
  width: 100%;
  height: auto;
  display: block;
}
.business-item p {
  margin-top: 16px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
/* ボタン（再利用） */
.business-btn {
  margin-top: 2rem;
}
.btn2 {
	background: linear-gradient(to right, #2dc7d2, #21b96e);
    border-radius: 40px;
	padding: 17px 40px;
}
@media screen and (max-width: 768px) {
	.business-section {
		padding: 70px 20px;
	}
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
	  column-gap: 16px;
	  row-gap: 16px;
  }
	.business-item p {
    margin-top: 8px;
    font-size: 13px;
	}
}
/* 板建組の強み */
.strength-section {
  background-color: #fff;
  padding: 100px 0;
}
.strength-inner {
  margin: 0 auto;
	padding: 0 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.strength-left {
  flex: 0 0 45%;
  position: relative;
  z-index: 2;
}
.strength-bg img {
  width: 100%;
  height: auto;
  display: block;
}
.strength-text-box {
  position: absolute;
  top: 50%;
  right: -35px; /* ← ここを調整して画像側へ重ねる */
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  max-width: 473px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	z-index: 3;
}
.strength-text-box h3 {
  margin-bottom: 1rem;
	text-align: center;
}
.strength-text-box p {
    letter-spacing: 0.03em;
}
.strength-right {
  flex: 0 0 55%;
  position: relative;
  z-index: 1;
}
.strength-right img {
  width: 97%;
  height: auto;
  display: block;
}
/* スマホ用調整 */
@media screen and (max-width: 768px) {
  .strength-inner {
    flex-direction: column;
	  padding: 0 20px 70px;
  }
  .strength-text-box {
    position: static;
    transform: none;
    margin: 1rem 0;
	  padding: 2rem;
  }
	.strength-bg {
		display: none;
	}
	.strength-section {
		padding: 0;
	}
	.strength-right img {
		width: 100%;
	}
}
/* ３つの心得 */
.principles-section {
  background: linear-gradient(to right, #c2cde6 0%, #c2cde6 60%, #acd7ad 100%);
  padding: 100px 20px 60px;
  text-align: center;
}
.section-title {
  font-weight: bold;
  margin-bottom: 40px;
}
.section-title .en {
  display: block;
  font-size: 12px;
  margin-top: 0;
}
.principles-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
	margin: 50px 0;
}
.principle-card {
	background-color: #fff;
  width: 370px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.principle-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}
.principle-card h3 {
  font-size: 18px;
  margin: 0;
}
.principle-card p {
  text-align: left;
	padding: 15px;
}


.principle-title-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 150px;
}

.line {
  position: absolute;
    width: 225px;
    height: 3px;
    background: #000;
    margin-top: 128px;
}
.line02 {
  position: absolute;
    width: 115px;
    height: 3px;
    background: #000;
    margin-top: 77px;
}

.line-left {
  top: 100%;
  left: 25%;
  transform: rotate(-30deg);
  transform-origin: left center;
}

.line-center {
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center top;
  height: 3px;
}

.line-right {
  top: 100%;
  right: 25%;
  transform: rotate(30deg);
  transform-origin: right center;
}


/* スマホ対応 */
@media screen and (max-width: 768px) {
	.principles-section {
		padding: 70px 30px;
	}
  .principles-grid {
    flex-direction: column;
    align-items: center;
  }
  .principle-card {
    width: 100%;
    max-width: 320px;
  }
	.principle-title-wrap {
		margin-bottom: 60px;
	}
}
@media screen and (max-width: 1237px) {
	.line {
    display: none;
  }
	.line02 {
    display: none;
  }
}
/* 現場写真スクロール */
.loop-carousel-section {
  overflow: hidden;
  background: #f9f9f9;
  padding: 0 0 70px;
}

.loop-carousel {
  width: 100%;
  overflow: hidden;
}

.loop-track {
  display: flex;
  gap: 2rem;
  animation: scrollLoop 40s linear infinite;
  width: max-content; /* ←これがないと無限ループが崩れます！ */
}

.slide {
  flex: 0 0 auto;
  width: 550px;
}

.slide img {
  width: 100%;
  display: block;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
.slide {
    width: 312px;
}
	.loop-track {
    animation: scrollLoop 20s linear infinite;
	}
}
/* 施工事例 */
.works-section {
  background: url('https://bankengumi.co.jp/wp-content/uploads/2025/06/bg2.jpg') no-repeat top center / cover;
  padding: 80px 20px;
  color: #000;
}
.works-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.works-left {
  flex: 1 1 60%;
}
.works-right {
  flex: 1 1 35%;
  text-align: right;
}
.works-title {
  text-align: right;
}
.works-title .en {
  font-size: 13px;
  display: block;
  font-weight: normal;
  margin-top: 0;
	margin-right: 40px;
}
.works-description {
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .works-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .works-left, .works-right {
    flex: 1 1 100%;
  }
  .works-title {
    text-align: center;
    margin-bottom: 1em;
  }
  .works-description {
    text-align: center;
  }
	.works-title .en {
	margin-right: 40px;
	}
}
/* お問い合わせ */
.contact-section {
  background: url('https://bankengumi.co.jp/wp-content/uploads/2025/06/bg.jpg') no-repeat center center / cover;
  color: #fff;
  padding: 100px 20px 160px;
  text-align: center;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
	margin-top: 90px;
}
.contact-title .en {
	font-size: 13px;
    display: block;
    font-weight: normal;
    margin-top: 0;
	color: #fff;
}
.contact-tel {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
}
.tel-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
	font-size: 38px;
}
.tel-hours {
  font-size: 14px;
  margin-top: 8px;
	text-align: center;
	letter-spacing: 0.1rem;
}
.tel-number {
	letter-spacing: 0.2rem;
}
.btn-contact {
  background: linear-gradient(to right, #2dc7d2, #21b96e);
  color: #fff;
  padding: 16px 50px;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  border-radius: 0; /* ← 四角に修正 */
}
.btn-contact .arrow {
  font-size: 18px;
}
.btn-contact:hover {
  opacity: 0.85;
}
/* 通常はリンクを無効化（PC用） */
.tel-link {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
/* スマホ対応 */
@media (max-width: 768px) {
	.contact-section {
		padding: 80px 20px 80px;
	}
  .contact-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
	  margin-top: 50px;
  }
  .tel-flex {
    justify-content: center;
	  font-size: 30px;
  }
  .contact-tel {
    font-size: 20px;
    text-align: center;
  }
  .btn-contact {
    font-size: 14px;
    padding: 14px 24px;
  }
	/* スマホでは有効化 */
  .tel-link {
    pointer-events: auto;
  }
}

/**** 事業内容-business ****/
.businesspage-section {
  padding: 120px 0 0;
  background: #fff;
}

.businesspage-inner {
  display: flex;
  justify-content: flex-end; /* 右寄り配置 */
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
}

.businesspage-inner.reverse {
  flex-direction: row-reverse;
}

.businesspage-image {
  flex: 1 1 60%;
  position: relative;
  z-index: 0;
}

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

.businesspage-text {
  flex: 1 1 40%;
  background-color: rgba(235, 248, 255, 0.8); /* #ebf8ff + 80%不透明 */
  padding: 30px;
  position: relative;
  left: 60px; /* 画像に重ねる */
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  font-size: 13px;
  line-height: 1.6;
  box-sizing: border-box;
}
.businesspage-text p {
	letter-spacing: 0.1rem;
}
.businesspage-text-02 p {
	letter-spacing: 0.1rem;
}
.businesspage-text-02 {
	background-color: rgba(233, 249, 228, 0.8); /* #e9f9e4 + 80%不透明 */
	left: -60px; /* 画像に重ねる */
	flex: 1 1 40%;
  padding: 30px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  font-size: 13px;
  line-height: 1.6;
  box-sizing: border-box;
}

.businesspage-text h3 {
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: bold;
	text-align: center;
}
.businesspage-text-02 h3 {
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: bold;
	text-align: center;
}
.businesspage-text h4 {
  font-size: 17px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}
.businesspage-text-02 h4 {
  font-size: 17px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}
.feature-points {
	margin-top: 20px;
}
.feature-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-points li {
  position: relative;
  padding-left: 1rem;
	padding-bottom: 0.1rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: bold;
}

.feature-points li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #333;
}
.businesspage-section-last {
	padding-bottom: 120px;
}
/* スマホ対応 */
@media (max-width: 768px) {
	.businesspage-section {
		padding: 80px 25px 0;
	}
	.businesspage-section-last {
	padding-bottom: 80px;
	}
  .businesspage-inner {
    flex-direction: column;
    align-items: center;
  }

  .businesspage-inner.reverse {
    flex-direction: column;
  }

  .businesspage-text {
    position: static;
    left: 0;
    margin-top: 0;
    width: 100%;
  }
	.businesspage-text-02 {
    position: static;
    left: 0;
    margin-top: 0;
    width: 100%;
  }
}

/**** 会社概要-company****/
/* 代表挨拶 */
.ceo-message {
  background: url('https://bankengumi.co.jp/wp-content/uploads/2025/06/cp_2.jpg') no-repeat center center / cover;
  padding: 100px 0;
}

.ceo-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.ceo-title {
  margin-bottom: 30px;
}

.ceo-subtitle {
  font-size: 13px;
  color: #333;
	letter-spacing: 1px;
}
.ceo-box {
	background-color: rgba(255, 255, 255, 0.85);
    max-width: 1200px;
    margin: 50px auto 0;
	padding: 60px 218px 10px;
}
.ceo-box p {
  line-height: 2;
  margin-bottom: 1.5em;
}
.ceo-box-text {
	text-align: center;
}
.ceo-sign {
  text-align: right;
  margin-top: 2em;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .ceo-container {
    padding: 40px 20px;
  }
	.ceo-box {
    padding: 30px 15px 10px;
		margin: 30px auto 0;
	}
  .ceo-box p {
    font-size: 13px;
        line-height: 1.5;
  }
  .ceo-title {
    font-size: 21px;
  }
	.ceo-message {
    padding: 10px 0;
	}
	.ceo-sign {
		
	}
	.ceo-box-text {
		text-align: left;
	}
}

/* 会社概要テーブル */
.company-profile {
  background: url('https://bankengumi.co.jp/wp-content/uploads/2025/06/背景.png') no-repeat center top / cover;
  padding: 100px 20px;
}

.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 8px;
  text-align: center;
}

.section-title {
  margin-bottom: 10px;
}

.section-title .en {
  font-size: 13px;
}

.profile-table {
  margin-top: 70px;
  text-align: left;
}

.profile-table div {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 20px 40px;
  justify-content: space-between;
}

.profile-table dt {
  font-weight: bold;
  width: 25%;
}

.profile-table dd {
  width: 70%;
  margin: 0;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  .profile-container {
    padding: 40px 20px;
  }

  .profile-table div {
        padding: 10px;
	  align-items: center;
  }

  .profile-table dt {
    margin-bottom: 5px;
  }
	.company-profile {
		padding: 30px 20px;
	}
	.profile-table {
  margin-top: 30px;
	}
}


/**** お問い合わせ-contact****/
.contact-form-wrap {
	background: #f8f8f8;
	padding: 150px 20px 70px;
}
.contact-ttl-wrap {
	text-align: center;
}
.contact-form {
  max-width: 690px;
  margin: 0 auto;
  padding: 2rem 1rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.required {
  color: red;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form-btn {
	text-align: center;
}
.btn-confirm {
	background: #2dc7d2;
  color: white;
  font-weight: bold;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit,
.btn-back {
  background: #2dc7d2;
  color: white;
  font-weight: bold;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
	margin: 0 10px;
}

.btn-submit:hover,
.btn-back:hover {
  background: #24b0c4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.kannryo {
	text-align: center;
    padding: 40px;
    background: #add8e6;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 700px;
}
.kannryo h2 {
	font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}