/* ========================================
   リセット & 基本設定
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ========================================
    メディアクエリによる表示／非表示
   ======================================== */

.pc { display: block; }
.sp { display: none; }

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

/* ========================================
   共通クラス
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c5aa0;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2c5aa0, #5b9bd5);
}

.contact-2 {
  margin-top: 30px;
  text-align: center;
  background-color: #BF1733;
  border-radius: 3px;
  padding: 0.8rem 2rem;
  color: #fff;
  font-weight: bold;
}

.contact-2 img {
  width: 30px;
}

.contact-2 a:hover {
  opacity: 0.85;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #BF1733;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #d13650;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(44, 90, 160, 0.3);
}

/* マーカー */
.a-marker,
p.a-marker {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #ffea00;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}

/* 文字の上に点 */
.dots {
  background-image: radial-gradient(circle at center, #BF1733 20%, transparent 20%); /* 点の色とサイズ調整 */
  background-position: top right; /* 点の位置 */
  background-repeat: repeat-x; /* 横方向に繰り返し */
  background-size: 1em 0.3em; /* 点の間隔とサイズ調整 */
  padding-top: .25em; /* 縦方向の位置調整 */
}

/* 文字の色 */
.a-red {
  color: #BF1733;
}

.a-strong {
  font-size: 1.4em;
  font-weight: bold;
}

.a-point,.a-point2 {
  text-align: center;
  margin: 32px 0;
}

.a-point img,.a-point2 img {
  width: 40px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  .a-point,.a-point2 {
    font-size: 1.1em;
    margin: 24px 0;
  }  
  .a-point img,.a-point2 img {
    width: 25px;
  }
  .a-strong {
    font-size: 1.2em;
  }
}

/* スマートフォン */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   ヘッダー
   ======================================== */

/* 全体レイアウト */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #BF1733;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* 左側ロゴ */
.logo img {
  width: 80%; /* 適宜変更 */
  height: auto;
  margin: 10px 10px;
}

/* 右側エリアを縦2段に */
.header-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 上段（電話番号＋お問い合わせ） */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 10px;
  margin-bottom: 5px;
  background-color: #BF1733;
  color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.since {
  font-weight: bold;
  font-family: din;
}

.txt {
  margin-left: 20px;
  font-size: 13px;
}

.header-top .tel {
  font-size: 14px;
  font-weight: bold;
}

.header-top .contact {
  background-color: #79c90f;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.header-top .tel img {
  max-width: 180px;
}

.header-top .contact img {
  width: 35px;
}

.contact-pc {
  display: inline-block;
}

@media (max-width: 768px) {
  .header-top {
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    justify-content: end;
    width: 100%; 
    margin-bottom: 0;
  }
  .header-contact {
    text-align: left;
  }
  .tel {
    font-size: 1.2rem;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-info {
    margin-top: 30px;
    margin-left: 10px;
    text-align: left;
    line-height: 1.2;
    font-size: 0.9em;
  }
  .logo {
    display: flex;
  }
  .logo img {
    width: 100px;
  }
  .header-right {
    align-items: flex-start;
    width: 100%;
  }
  .header-top .contact {
    margin-right: 20px;
  }
  .header-top .tel {
    padding-left: 20px;
  }
 .contact-pc {
    display: none;
  }
}

/* 下段（ナビゲーションメニュー） */
.main-nav {
  padding: 0;
  width: 100%;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 5px;
}

.main-nav li {
  flex: 0 1 auto;
  text-align: center;
  line-height: 1.25em;
}

.main-nav li span {
  font-size: 12px;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1.2rem 0;
  color: #333;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #BF1733;
  border-bottom-color: #79c90f;
}

/* レスポンシブ　ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #BF1733;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.active {
    right: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }
  .main-nav a {
    padding: 1rem;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.2rem;
  }
}

/* ドロップダウンメニュー */
.has-submenu {
  position: relative;
}

/* 基本は非表示 */
.main-nav .has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0.5rem 0;
}

.submenu li {
  width: 100%;
  border-bottom: 1px solid #fff;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu a {
  padding: 0.8rem 1.5rem;
  display: block;
  font-size: 0.9rem;
  border-bottom: none !important;
  line-height: 1.4;
}

.submenu a:hover {
  background-color: #f7d5da;
  color: #BF1733;
}

/* PC版:ホバーで表示 */
@media (min-width: 769px) {
  .main-nav .has-submenu:hover .submenu {
    display: block;
  }
}

/* スマホ版:常に表示 */
@media (max-width: 768px) {
  /* サブメニューを常に表示 */
  .main-nav .has-submenu .submenu {
    display: block !important;  /* 常に表示 */
    position: static;
    box-shadow: none;
    background-color: #f7d5da;
    padding-left: 1.5rem;
  }
  .has-submenu > a::after {
    content: none;
  }
}

/* ========================================
   メインコンテンツ
   ======================================== */
.main-content {
  min-height: calc(100vh - 400px);
}

/* パンくずリスト */
.breadcrumb {
  background-color: #BF1733;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.3em 0;
}

.breadcrumb .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb span {
  color: #fff;
}

/* ========================================
   メインビジュアルスライダー
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: fadeInUp 0.8s ease-out;
}

.slide-caption p {
  font-size: 1.3rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スライダーコントロールボタン */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(191, 23, 51, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* インジケーター */
.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background-color: #fff;
  border-color: #BF1733;
  transform: scale(1.3);
}

@media (max-width: 945px) {
  .hero-slider {
    height: 400px;
  }
  .slide-caption {
    bottom: 60px;
  }
  .slide-caption h2 {
    font-size: 1.8rem;
  }
  .slide-caption p {
    font-size: 1rem;
  }
  .slider-prev,
  .slider-next {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 300px;
  }
  .slide-caption {
    bottom: 40px;
  }
  .slide-caption h2 {
    font-size: 1.4rem;
  }
  .slide-caption p {
    font-size: 0.9rem;
  }
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  .indicator {
    width: 10px;
    height: 10px;
  }
  .slider-indicators {
    bottom: 20px;
    gap: 10px;
  }
}

/* ========================================
   TOPページサービス一覧
   ======================================== */
.services {
  padding: 40px 0;
  background-color: #fff;
}

.services-title-img {
  margin: 0 auto 40px;
  width: 300px;
}

.movie-grid {
  max-width: 907px;
  margin: 0 auto 60px;
}

.service-movie {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9の比率 */
  height: 0;
}

.service-movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.services-grid {
  max-width: 907px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 65px;
}

.service-card {
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.3rem;
  color: #fff;
  max-width: 420px;
  margin: auto;
}

.service-card img {
}

.service-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(19, 19, 19, 0.7);
  font-size: 1.5rem;
  color: #fff;
  text-align: left;
  padding: 5px 20px 5px;
}

@media (max-width: 945px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card h3 {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    padding-left: 0;
  }
}

@media (max-width: 599px) {
  .services {
    padding: 2rem 0;
  }
  .services-title-img {
    margin-bottom: 20px;
    width: 200px;
　}
  .service-card h3 {
    font-size: 1.1rem;
  }
}

/* 保育園・幼稚園施工例 */
.hoiku-section {
  text-align: center;
  background: #fff;
  margin: 5em 1em;
}

.hoiku-bg {
  max-width: 907px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hoiku-section {
    margin: 2em 1em;
  }
}

/* 最新情報 */
.news {
  margin: 40px 0;
  background-color: #fff;
}

.news-title-img {
  text-align: center;
  margin: 0 auto 40px;
  width: 130px;
  font-size: 1em;
}

.news-title-img img {
  margin-bottom: 10px;
}

.news-box {
  max-width: 907px;
  text-align: center;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #b1a759;
  padding: .5em 10px;
  margin: 60px auto;
}

@media (max-width: 599px) {
  .news {
    margin: 20px 0;
  }
  .news-title-img {
    margin-bottom: 20px;
    width: 100px;
    font-size: 1em;
  }
  .news-box {
    font-size: 1em;
    margin: 30px auto;
  }
}

/* 社会貢献活動 */
.csr {
  margin: 80px 0;
  background-color: #fff;
}

.csr-title-img {
  text-align: center;
  margin: 0 auto 40px;
  font-size: 1em;
}

.csr-title-img img {
  margin-bottom: 10px;
}

.csr-grid {
  max-width: 907px;
  display: flex;
  justify-content: space-around;
  margin: 60px auto;
}

.csr-item {
  border: 2px solid #79c90f;
  padding: 24px 40px;
  text-align: center;
}

.csr-item img {
  margin-bottom: 10px;
}

.csr-item h3 {
  font-weight: bold;
  font-size: 1.5em;
  color: #79c90f;
}

@media (max-width: 768px) {
  .csr {
    margin: 40px 0 24px;
  }
  .csr-title-img {
    margin-bottom: 20px;
    font-size: 1em;
  }
  .csr-title-img img {
    width: 65px;    
  }
  .csr-grid {
    flex-direction: column;  
    margin: 24px auto;
  }
  .csr-item {
    padding: 24px 20px;
    margin: 0 auto 24px;
  }
  .csr-item img {
    width: 40px;
  }
  .csr-item h3 {
    font-size: 1.3em;
  }
}

/* ========================================
   金グコング
   ======================================== */

.king {
  text-align: center;
  font-weight: bold;
  font-size: 1.35em;
  letter-spacing: .05em;
}

.king img {
  width: 60px;
  margin: 0 15px;
}

.king-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.king-line {
  border-bottom: 1px solid #BF1733;
}

@media (max-width: 768px) {
  .king {
    font-size: 1.15em;
  }
  .king-flex {
    flex-direction: column;
  }
}

/* ========================================
   サブフッター
   ======================================== */

.sub-footer {
  margin: 32px auto;
}

.sub-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
  gap: 20px;
}

.sub-footer-item {
  color: #79c90f;

}

.sub-footer-item p {
  letter-spacing: 1.6;
}

.sub-footer-item strong {
  font-size: 1.4em;
}

.sub-footer-item .contact {
  background-color: #79c90f;
  color: #fff;
  padding: 12px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
}

.sub-footer-item .contact img {
  width: 35px;
}

@media (max-width: 768px) {
  .sub-footer-grid {  
    flex-direction: column;
  }
  .sub-footer-item {
    text-align: center;
  }
  .sub-footer-img {
    width: 150px;
  }
  .sub-footer-item strong {
    font-size: 1.2em;
  }
  .sub-footer-item .contact {
    padding: 12px 12px;
    font-size: 1.2em;
  }
}

/* ========================================
   フッター
   ======================================== */

.footer {
  background-color: #BF1733;
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 2rem;
}

.footer-info {
  justify-items: end;
  text-align: right;
  margin-top: 150px;
}

.footer-info img {
  width: 460px;
}

.footer-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.footer-nav h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #79c90f;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    padding: 1rem 0 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 1rem;
  }
  .footer-info {
    margin-top: 0;
  }  
}

/* ========================================
   会社のご案内
   ======================================== */

.about-top {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 700px;
  background-image: url("img/about-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
}

.about-title {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.5;
  text-align: center;
  padding-top: 100px;
  font-family: "Noto Serif JP","游明朝体";
}

.about-img {
  margin: 40px auto;
  width: 40px;
  display: block;
  text-align: center;
}

.about-head {
  width: 100%;
  background-color: #BF1733;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

.about-head h2 {
  font-size: 2rem;
}

.about {
  max-width: 960px;
  margin: 40px auto;
}

.about-h3 {
  text-align: center;
  font-weight: bold;
  font-size: 1.35rem;
  letter-spacing: .05em;
}

.king-txt {
  text-align: left;
  margin-left: 40px;
  font-size: 2rem;
}

.timeline {
  width: 100%;
  background-image: url("img/bg-img-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 60px 0;
  padding-bottom: 1px;
  text-align: center;
}

.timeline-title {
  display: inline-block;
  margin: 40px auto 0;
  text-align: center;
  background: #BF1733;
  color: #fff;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 3px;
}

.timeline-content0 {
  max-width: 960px;
  display: flex;
  margin: 40px auto;
  padding-right: 20px;
  gap: 40px;
}

.timeline-section {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #c41e3a 0%, #e85d75 100%);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 5px;
  width: 24px;
  height: 24px;
  background: #c41e3a;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px #c41e3a;
}

.timeline-date {
  color: #c41e3a;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.timeline-date::before {
  content: '●';
  margin-right: 8px;
  font-size: 0.8em;
}

.timeline-content {
  background: #fff;
  text-align: left;
  padding: 10px 20px;
  border-radius: 12px;
  border-left: 4px solid #c41e3a;
  line-height: 1.8;
}

.timeline-content p {
  margin-bottom: 8px;
  color: #333;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

.img-section {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.img-card {
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.future-section {
  color: #BF1733;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: left;
  padding-left: 60px;
}

.about-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 40px;
}

.about-link2 {
  display: flex;
  flex-direction: column;
}

.about-map {
  margin: 10px auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-map iframe {
  max-width: 100%;
  display: block;
}

.message {
  margin: 60px 0;
}

.message-grid {
  display: flex;
  gap: 40px;
}

.message img {
  max-width: 200px;
}

.message-txt h4 {
  text-align: right;
}

.about-info {
  max-width: 900px;
  margin: 40px auto 60px;
  border-top: 1px solid #BF1733;
  font-size: 1rem;
  line-height: 1.7;
}

.about-row {
  display: flex;
  border-bottom: 1px solid #BF1733;
  padding: 1em 0;
}

.about-label {
  width: 200px; /* 左の固定幅 */
  font-weight: 600;
  flex-shrink: 0; /* 幅を固定 */
  color: #333;
}

.about-content {
  flex: 1;
  color: #222;
  word-break: break-word; /* 長文で折り返し */
}

.about-conten-ul {
  list-style: disc;
  padding-left: 20px;
}

.about-news p {
  text-align: center;
}

.about-news-img {
  margin: 20px auto;
  text-align: center;
}

@media (max-width: 768px) {
  .about-top {
    min-height: 400px;
  }
  .about-title {
    font-size: 1.35rem;
    padding: 60px 10px 0;
  }
  .about-img {
    margin: 20px auto;
    width: 30px;
  }
  .about-head {
    padding: 20px;
  }
  .about-head h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    padding-bottom: 5px;
  }
  .about-head p {
    text-align: left;
  }
  .about {
    max-width: 960px;
    margin: 20px auto;
  }
  .about-h3 {
    font-size: 1.2rem;
  }
  .about .king-flex {
    flex-direction: column;
    margin: 10px 0 0;
  }
  .king-txt {
    text-align: left;
    margin: 20px 0 0;
    font-size: 1.4rem;
  }
  .timeline {
    margin: 20px 0;
  }
  .timeline-title {
    margin: 20px 20px 0;
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  .timeline-item {
    padding-left: 40px;
  }
  .timeline-line {
    left: 10px;
  }
  .timeline-dot {
    left: 0;
  }
  .timeline-content0 {
    flex-direction: column;    
    padding: 0 20px;
    margin: 20px auto;
  }
  .img-section {
    gap: 20px;
    margin: 0 auto;
    max-width: 300px;
  }
  .about-link {
    flex-direction: column;
    text-align: center;
  }
  .about-map iframe {
    width: 100%;
    height: 250px;
  }
  .message {
    margin: 40px 0;
  }
  .message-grid {
    flex-direction: column;
    gap: 20px;
  }
  .message-img {
    text-align: center;
  }
  .message img {
    max-width: 150px;
  }
  .message-txt h4 {
    text-align: left;
  }
  .about-info {
    margin: 20px auto 40px;
  }
  .about-row {
    flex-direction: column;
    padding: 0.8em 0;
  }
  .about-label {
    width: 100%;
    margin-bottom: 0.3em;
    font-weight: bold;
  }
  .about-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about-news .about-h3 {
    font-size: 1rem;
  }
  .about-news p {
    text-align: left;
  }
}

/* ========================================
   事業のご案内
   ======================================== */

.introduction-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/introduction-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* テキストを左寄せ */
  padding: 0 5%;
}

.introduction-title {
  color: #fff;
  font-size: 4rem;
  padding-left: 100px;
  line-height: 1.2;
}

.introduction-title span {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0.3em;
}

.introduction {
  margin: 40px auto;
}

@media (max-width: 768px) {
  .introduction-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .introduction-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .introduction-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .introduction {
  margin: 40px auto;
  }
  .introduction .king-flex {
    flex-direction: column;
  }
}

/* ========================================
   一部共通事項
   ======================================== */

/* 事例案内 */

.box {
  border: 1px solid #BF1733;
  padding: 20px;
  margin-bottom: 40px;
}

.box h3 {
  text-align: center;
  margin-bottom: 8px;
}

.box-ul {
  font-weight: bold;
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.example {
  width: 100%;
  background-image: url("img/bg-img-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 60px 0;
  padding-bottom: 40px;
}

.example h3 {
  text-align: center;
  padding: 40px 0 20px;
}

.example-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.example-item {
  background: #fff;
  border: 1px solid #ccc;
  width: 45%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 16px;
}

.example-item2 {
  display: flex;
  margin-bottom: 8px;
}

.example-img {
  position: relative;
  width: 60%;
  margin: 0 auto;
  height: ;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkmark {
  width: 23px;
  margin-right: 5px;
}


.example-txt {
  margin-top: 8px;
}

.example-txt h4 {
  font-size: 1.3rem;
  color: #333;
}

.lead {
  font-style: italic;
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.next-area {
  text-align: center;
}

.next {
  display: inline-block;
  background: #BF1733;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 3px;
  margin-top: 10px;
}

.next:hover {
  opacity: 0.85;
}

/* 2パターン目共通デザイン */
.example2 {
  background-image: url("img/bg-img-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 60px 0 40px;
  padding-bottom: 20px;
}

.example2-h3 {
  text-align: center;
  padding: 40px 20px 0;
}

.example2-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 20px;
}

.example2-item {
  flex: 0 0 50%;
  padding: 20px;
  box-sizing: border-box;
}

.example2-img {
  position: relative;
}

.example2-point {
  background-color: #BF1733;
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 5px 30px;
  max-width: 150px;
  position: absolute;
  top: -10px;
  left: -10px;
}

.example2-txt h3 {
  margin: 8px 0;
}

.example2-p {
  padding: 0 20px;
}

/* 下の赤帯ボタン */
.example-more {
  margin: 40px auto 0;
  text-align: center;
}

.example-more a {
  display: inline-block;
  background: #BF1733;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.example-more a:hover {
  opacity: 0.85;
}

/* 外部リンク */
.link {
  max-width: 1200px;
  background-color: #717071;
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 40px auto;
  border-radius: 3px;
}

.link a {
  padding: 10px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link a:hover {
  background: #8d8c8d;
}

.button-text {
  color: white;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

/* 矢印円形ボタン */
.chevron-button {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid white;
  flex-shrink: 0;
}

.chevron-button::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
  margin-left: -2px;
}

@media (max-width: 768px) {
  .box {
    margin-bottom: 20px;
  }
  .box h3 {
    text-align: left;
  }
  .example {
    margin:30px 0;
    padding-bottom: 24px;
  }
  .example-item {
    width: 100%;
    margin: 0 20px;
    padding: 20px;
  }
  .example-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .example h3 {
    padding: 24px 0 24px;
  }
  .example-more {
    margin: 0 auto;
  }
  .example2 {
    margin: 30px 0;
  }
  .example2-h3 {
    padding: 20px 10px 0;
  }
  .example2-grid {
    flex-direction: column;
    padding: 0;
  }
  .link a {
    padding: 10px 20px;
  }
  .button-text {
    font-size: 16px;
  }
}

/* ========================================
   各種建築
   ======================================== */

.building-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/building-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* テキストを左寄せ */
  padding: 0 5%;
}

.building-title {
  color: #fff;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.building-title span {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0.3em;
}

.building {
  max-width: 907px;
  margin: 40px auto;
}

.building-2-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  background-image: url("img/bg-img-2.jpg");
  padding: 32px;
  gap: 24px;
}

.building-2-txt {
  flex: 1;
}

.building-2-num {
  display: flex;
}

.building-2-num p {
  background-color: #BF1733;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
  text-align: center;
  padding: 5px 25px 0;
}

.building-2-num strong {
  display: inline-block;
  font-size: 2em;
  text-align: center;
  margin-top: -10px;
}

.building-2-num h3 {
  color: #BF1733;
  font-size: 1.2rem;
  margin-left: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.building-2-desc {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
}

.building-2-img {
  text-align: right;
}

.building-2-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

@media (max-width: 768px) {
  .building-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .building-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .building-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .building {
  margin: 40px auto;
  }
  .building .king-flex {
    flex-direction: column;
  }
  .building-2-item {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    margin-bottom: 40px;
  }
  .building-2-img {
    text-align: center;
    margin-top: 15px;
  }
  .building-2-img img {
    max-width: 100%;
  }  
}

@media (max-width: 480px) {
  .building-2-num p {
    font-size: 0.8em;
    padding: 5px 20px 0;
  }
  .building-2-num strong {
    font-size: 1.8em;
    margin-top: -5px;
  }
  .building-2-num h3 {
    font-size: 1.1em;
    margin-left: 16px;
  }
}

/* ========================================
   リフォーム
   ======================================== */

.reform-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/reform-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* テキストを左寄せ */
  padding: 0 5%;
}

.reform-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.reform-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.reform {
  max-width: 907px;
  margin: 40px auto;
}

.reform-fig {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.reform-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.reform-item {
  flex: 1;
}

.reform-txt h3 {
  margin: 8px 0;
}

@media (max-width: 768px) {
  .reform-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .reform-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .reform-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .reform {
  margin: 40px auto;
  }
  .reform-grid {
    flex-direction: column;
  }
  .reform-txt h3 {
    text-align: center;
  }
}

/* ========================================
   ペットと暮らす
   ======================================== */

.pets-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/pets-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.pets-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.pets-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.pets {
  max-width: 907px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .pets-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .pets-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .pets-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .pets {
  margin: 40px auto;
  }
}

/* ========================================
   バリアフリー
   ======================================== */

.barrier-free-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/barrier-free-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.barrier-free-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.barrier-free-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.barrier-free {
  max-width: 907px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .barrier-free-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .barrier-free-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .barrier-free-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .barrier-free {
  margin: 40px auto;
  }
}

/* ========================================
   インテリア
   ======================================== */

.interior-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/interior-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.interior-title {
  color: #fff;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.interior-title span {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0.3em;
}

.interior {
  max-width: 907px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .interior-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .interior-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .interior-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .interior {
  margin: 40px auto;
  }
}

/* ========================================
   エクステリア
   ======================================== */

.exterior-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/exterior-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.exterior-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.exterior-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.exterior {
  max-width: 907px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .exterior-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .exterior-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .exterior-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .exterior {
  margin: 40px auto;
  }
}

/* ========================================
   カーテン
   ======================================== */

.curtain-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/curtain-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.curtain-title {
  color: #BF1733;
  font-size: 4rem;
  line-height: 1.2;
  padding-left: 50px;
}

.curtain-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.curtain {
  max-width: 907px;
  margin: 40px auto;
}

.curtain2 {
  width: 100%;
  background-image: url("img/bg-img-3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 60px 0;
  padding-bottom: 40px;
  text-align: center;
}

.curtain2-more {
  display: inline-block;
  margin: 40px auto 20px;
  text-align: center;
  background: #BF1733;
  color: #fff;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 3px;
}

.curtain2-item {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px 40px;
  margin: 20px 40px;
}

.curtain2-item:last-child {
  margin-bottom: 0;
}

.curtain2-checkmark {
  width: 23px;
  margin-right: 5px;
}

.curtain2-txt {
}

.curtain2-txt h4 {
  text-align: center;
  font-size: 1.4rem;
  padding-bottom: 8px;
  border-bottom: 2px dotted #BF1733;
}

.curtain2-txt p {
  padding-top: 8px;
  text-align: left;
}

.curtain3-grid {
  display: flex;
  gap: 20px;
}

.curtain3-item {
  margin-top: 20px;
  flex: 1;
}

.curtain3-color {
  background-color: #eee4d7;
  padding: 10px 0;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.curtain3-color2 {
  background-color: #BF1733;
  color: #fff;
  padding: 10px 0;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.curtain3-color3 {
  background-color: #79c90f;
  color: #fff;
  padding: 10px 0;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.curtain3-txt {
  text-align: left;
}

@media (max-width: 768px) {
  .curtain-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .curtain-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .curtain-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .curtain {
  margin: 40px auto;
  }
  .curtain2 {
    margin: 20px 0;
    padding:0 20px 20px;
  }
  .curtain2-more {
    margin: 20px auto 0;
    padding: 10px;
    font-size: 1.1rem;
  }
  .curtain2-item {
    padding: 20px;
    margin: 20px 0;
  }
  .curtain2-txt h4 {
    font-size: 1.2rem;
  }
  .curtain3-grid {
    flex-direction: column;
  }
  .curtain3-item {
    margin-top: 0;
  }
  .curtain3-item:first-child {
    margin-top: 20px;
  }
}

/* ========================================
   ペイント
   ======================================== */

.paint-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/paint-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.paint-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;
  line-height: 1.2;
}

.paint-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.paint {
  max-width: 907px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .paint-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .paint-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .paint-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .paint {
  margin: 40px auto;
  }
}

/* ========================================
   ご契約の流れ
   ======================================== */

.offer-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/offer-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* テキストを左寄せ */
  padding: 0 5%;
}

.offer-title {
  color: #BF1733;
  font-size: 4rem;
  padding-left: 50px;  
  line-height: 1.2;
}

.offer-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.offer {
  max-width: 907px;
  margin: 40px auto;
}

.step-item {
  margin-bottom: 16px;
  position: relative;
}

.step-label {
  font-size: 28px;
  font-weight: bold;
  color: #BF1733;
}

.step-box {
  background-color: white;
  border: 2px solid #333;
  padding: 30px;
  position: relative;
}

.step-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.step-description {
  line-height: 1.8;
  color: #666;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 8px;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #333;
  margin: 0 auto;
}

.final-message {
  background-color: #BF1733;
  color: white;
  padding: 20px 30px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 40px auto;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .offer-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .offer-title {
    font-size: 2rem;
    padding-left: 0;
  }
  .offer-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .offer {
  margin: 40px auto;
  }
  .step-label {
    font-size: 20px;
  }  
  .step-box {
    padding: 20px;
  }
  .step-title {
    font-size: 20px;
  }
  .step-description {
    text-align: left;
  }
  .final-message {
    font-size: 1em;
    padding: 18px 20px;
  }
}

/* ========================================
   コンタクト
   ======================================== */

.contact_us-top {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  background-image: url("img/contact_us-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* テキストを右寄せ */
  padding: 0 5%;
}

.contact_us-title {
  color: #BF1733;
  font-size: 4rem;
  text-align: right;
  padding-right: 50px;  
  line-height: 1.2;
}

.contact_us-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.contact_us {
  max-width: 907px;
  margin: 40px auto;
}

.contact_us p:not(:last-child) {
  margin-bottom: 1em;
}

.contact_us-box {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  padding: 80px;
  border-radius: 8px;
  border: 1px solid #BF1733;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.simple-form-group {
  margin-bottom: 30px;
}

.simple-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.simple-form-group .required {
  color: #c33;
  font-size: 12px;
  margin-left: 8px;
}

.simple-form-group input[type="text"],
.simple-form-group input[type="email"],
.simple-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.simple-form-group input[type="text"]:focus,
.simple-form-group input[type="email"]:focus,
.simple-form-group textarea:focus {
  outline: none;
  border-color: #666;
}

.simple-form-group input[type="text"]::placeholder,
.simple-form-group input[type="email"]::placeholder,
.simple-form-group textarea::placeholder {
  color: #999;
}

.simple-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.simple-radio-option {
  display: flex;
  align-items: center;
}

.simple-radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
}

.simple-radio-option label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.simple-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.simple-submit-btn {
  width: 200px;
  display: block;
  margin: 30px auto 0;
  padding: 12px 24px;
  background-color: #BF1733;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.simple-submit-btn:hover {
  background-color: #79c90f;
}

.simple-submit-btn:active {
  background-color: #79c90f;
}

.form-status {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  display: none;
}

.form-status.sending {
  color: #666;
  display: block;
}

.form-status.error {
  color: #c33;
  display: block;
}

.form-status.success {
  color: #2a7;
  display: block;
}

@media (max-width: 768px) {
  .contact_us-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .contact_us-title {
    font-size: 2rem;
    padding-right: 0;    
  }
  .contact_us-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
  .contact_us {
  margin: 40px 20px;
  }
  .contact_us-box {
    margin: 40px auto;
    padding: 32px;
  }
}

/* ========================================
   採用情報
   ======================================== */

.recruit-top {
  position: relative;
  width: 100%;
  height: 50vh; /* 高さは画面の60%に */
  min-height: 300px;
  background-image: url("img/recruit-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* テキストを右寄せ */
  padding: 0 5%;
}

.recruit-title {
  color: #BF1733;
  font-size: 4rem;
  text-align: right;
  line-height: 1.2;
  padding-right: 50px;  
}

.recruit-title span {
  font-size: 1.5rem;
  color: #BF1733;
  margin-top: 0.3em;
}

.recruit {
  max-width: 907px;
  margin: 40px auto;
}

.recruit-info {
  max-width: 900px;
  margin: 40px auto;
  border-top: 1px solid #ddd;
  font-size: 1rem;
  line-height: 1.7;
}

.recruit-row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}

.recruit-label {
  width: 200px; /* 左の固定幅 */
  font-weight: 600;
  flex-shrink: 0; /* 幅を固定 */
  color: #333;
}

.recruit-content {
  flex: 1;
  color: #222;
  word-break: break-word; /* 長文で折り返し */
}

.recruit-box {
  border: 1px solid #BF1733;
  padding: 20px;
  text-align: center;
}

.recruit-tel {
  background-color: #BF1733;
  padding: 1em;
  margin: 10px auto;
  max-width: 350px;
}

@media (max-width: 768px) {
  .recruit-top {
    height: 40vh;
    justify-content: center; /* スマホでは中央寄せ */
    text-align: center;
    padding: 0 2rem;
  }
  .recruit-title {
    font-size: 2rem;
    padding-right: 0;
  }
  .recruit-title span {
    display: block;
    font-size: 1rem;
    text-align: center;    
  }
  .recruit {
  margin: 40px auto;
  }
  .recruit-row {
    flex-direction: column;
    padding: 0.8em 0;
  }
  .recruit-label {
    width: 100%;
    margin-bottom: 0.3em;
    font-weight: bold;
    color: #b50011;
  }
  .recruit-content {
    width: 100%;
  }
}

/* ========================================
   プライバシーポリシー
   ======================================== */

  .privacy {
    max-width: 907px;
    margin: 80px auto;
    line-height: 1.7;
  }

  .privacy h1 {
    text-align: left;
    font-size: 2em;
    border-bottom: 1px solid #BF1733;
    margin-bottom: 40px;
  }

  .privacy h2 {
    margin-top: 1.2em;
  }

  .privacy ul {
    list-style-type: disc;
    padding-left: 20px;
  }

  .privacy ol {
    list-style-type: decimal;
    padding-left: 20px;    
  }

  @media (max-width: 768px) {
    .privacy {
      margin: 40px 0;
    }
    .privacy h1 {
      font-size: 1.5em;
    }
    .privacy h2 {
      margin-top: 16px;
      font-size: 1.1em;
    }
  }