﻿@charset "utf-8";
/* CSS Document */

body {
	margin: 0px;
	padding: 0px;
	font-family: 'Noto Sans Japanese', sans-serif;
	clip: rect(auto,auto,auto,auto);
	color: #333333;
	min-width: 1024px;
}
h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-weight: normal;
}


img {
  max-width: 100%;   /* 親要素の幅を超えない */
  height: auto;      /* 縦横比を保持して縮小 */
  display: block;    /* 画像下の余白を消す */
  border: none;      /* 枠線を消す（1行でOK） */
}

.clear_both {
	clear: both;
	margin: 0px;
	padding: 0px;
}
p, ul, ol, li {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/*--------------------------------------
 ヘッダー共通・配置調整
--------------------------------------*/
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	z-index: 999;
	margin-top: 100px;
	height: 80px;
	transition: top 0.65s ease-in;
	background: rgba(0,0,0,0.85);
}

#top-head .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#top-head .logo {
	margin: 0;
	padding-top: 20px;
	width: 246px;
	padding-left: 20px;
}
#top-head .logo2 { display: none; }

/*--------------------------------------
 PCメニュー・SNS
--------------------------------------*/
#global-nav { display: flex; align-items: center; margin-left: auto; margin-right: 30px; }
#global-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
#global-nav ul li {
	position: relative;
	padding-top: 16px;
}
#global-nav ul li a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	position: relative;
	padding-top: 15px;
	padding-right: 3px;
	padding-bottom: 10px;
	padding-left: 3px;
}
#global-nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #DE0112;
	transform: scaleX(0);
	transition: all .3s ease;
}
#global-nav ul li a:hover::after { transform: scaleX(1); }

/* サブメニュー */
#global-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  min-width: 200px;
  z-index: 1000;
}
#global-nav ul li:hover > .sub-menu { display: block; }
#global-nav ul li .sub-menu li { border-bottom: 1px solid #eee; }
#global-nav ul li .sub-menu li:last-child { border-bottom: none; }
#global-nav ul li .sub-menu li a { padding: 8px 12px; font-size: 13px; color: #333; white-space: nowrap; }


/*--------------------------------------
 ハンバーガー
--------------------------------------*/
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 40px; height: 28px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 40px; height: 1px; background: #0068B7; border-radius: 1px; transition: all 0.4s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(10px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(11px, -9px); }



/*--------------------------------------
 固定ヘッダー
--------------------------------------*/
#top-head.fixed { position: fixed; top: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; height: 80px; background: rgba(0,0,0,0.85); transition: top 0.65s ease-in; }
#top-head.fixed .logo { display: none; }
#top-head.fixed .logo2 { display: block; margin-left: 20px; padding-top: 20px; width: 246px; }
#top-head.fixed #global-nav ul li a {
	color: #FFF;
	padding: 0 3px 10px 3px;
}
#top-head.fixed #global-nav ul li a::after { background-color: #DE0112; }
#top-head.fixed .sns { display: none; }
#top-head.fixed .sns2 { display: flex; align-items: center; gap: 15px; margin-right: 30px; margin-top: 25px; }


/*--------------------------------------
 PCではMENU文字を非表示
--------------------------------------*/
@media (min-width: 1025px) {
  .menu-text {
    display: none;
  }
}
/*--------------------------------------
 メディアクエリ
--------------------------------------*/
@media (max-width: 1024px) {
  #global-nav, .sns { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  #top-head .inner { justify-content: space-between; padding: 0 15px; height: 100%; }
  #top-head .logo {
	margin: 0;
	padding-top: 10px;
	width: 240px;
	padding-left: 2px;
}
}
@media (max-width: 768px) {
#top-head .logo {
	margin: 0;
	padding-top: 10px;
	width: 200px;
	padding-left: 0px;
}
}

/*--------------------------------------
 購入するボタン（PC）
--------------------------------------*/
.buy-area {
  display: flex;
  align-items: center;
  margin-right: 10px;
  margin-top: 16px;
}

.buy-btn {
	display: inline-block;
	background: #BA010D; /* 赤系 */
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 26px;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 2px solid #BA010D;
	letter-spacing: 0.1em;
}

.buy-btn:hover {
	color: #FFFFFF;
	background-color: #DE0112;
}

/*--------------------------------------
 モバイル版 購入するボタン
--------------------------------------*/
.buy-btn-mobile {
  display: inline-block;
  background: #BA010D;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 40px;
  border-radius: 50px;
  margin-top: 20px;
  transition: background 0.3s;
}
.buy-btn-mobile:hover {
  background: #BA010D;
}

/*--------------------------------------
 モバイル版でお問い合わせ削除
--------------------------------------*/
@media (max-width: 1024px) {
  .mobile-menu .custom-btn3 {
    display: none !important;
  }
  .buy-area {
    display: none; /* PC専用なので非表示 */
  }
}




/*--------------------------------------
 モバイルメニュー（右スライド・半画面）
--------------------------------------*/
.mobile-menu {
	position: fixed;
	top: 0;
	right: -50%;      /* 初期は右側外へ隠す */
	width: 50%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* 内部は左揃えでOK */
	justify-content: flex-start;
	padding: 80px 30px 40px;
	box-sizing: border-box;
	transition: right 0.4s ease;
	z-index: 998;
	box-shadow: -3px 0 10px rgba(0,0,0,0.15);
	background-color: #000;
}

/* スライドイン時（右から出現） */
.mobile-menu.active {
  right: 0;  /* 右端に寄せる */
}

/* メニュー項目 */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-menu ul li {
  width: 100%;
  border-bottom: 1px solid #616161;
}

.mobile-menu ul li a {
	display: block;
	width: 100%;
	font-size: 14px;
	color: #FFF;
	text-decoration: none;
	padding: 16px 0;
	transition: background 0.3s;
}

.mobile-menu ul li a:hover {
	background-color: #2A2A2A;
}

/* モバイル版 購入するボタン */
.buy-btn-mobile {
	display: inline-block;
	background: #BA010D;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	border-radius: 50px;
	margin-top: 30px;
	align-self: center;
	transition: background 0.3s;
	padding-top: 12px;
	padding-right: 30px;
	padding-bottom: 12px;
	padding-left: 30px;
}

.buy-btn-mobile:hover {
  background: #DE0112;
}

@media (max-width: 768px) {
.buy-btn-mobile {
  display: inline-block;
  background: #BA010D;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 30px;
  border-radius: 50px;
  margin-top: 30px;
  align-self: center;
  transition: background 0.3s;
}
}

/*--------------------------------------
 ハンバーガー（スマホで上部固定）
--------------------------------------*/
@media (max-width: 1024px) {
  #top-head {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    background: rgba(0,0,0,0.9);
    margin-top: 0;
    width: 100%;
    z-index: 999;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
    margin-left: auto; /* 右側に配置 */
  }

  .buy-area {
    display: none; /* PC専用ボタンは非表示 */
  }
}
/*--------------------------------------
 スマホ時：MENUボタン + ハンバーガー配置
--------------------------------------*/
@media (max-width: 1024px) {

  /* MENU + ハンバーガーをまとめるラッパー */
  .menu-toggle {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #D6170C; /* 赤背景 */
    height: 72px;
    width: 240px; /* 右端から240px分のエリア */
    justify-content: flex-end;
    z-index: 1002;
    padding: 0 20px 0 40px;
  }

  /* MENU / CLOSE 文字 */
  .menu-text {
    position: relative;
    width: 70px; /* ←固定幅を指定して文字切替でもズレない */
    text-align: right;
    color: #fff;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-right: 60px;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  /* MENUとバーガーの間の縦線 */
  .menu-line {
    flex-shrink: 0; /* ←重要。縮まない・動かない */
    display: inline-block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin-right: 15px;
  }

  /* ハンバーガー（右寄せ） */
  .menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 28px;
    cursor: pointer;
    z-index: 1003;
    padding-right: 10px;
  }

  .menu-toggle .hamburger span {
    display: block;
    width: 36px;
    height: 3px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.4s ease;
  }

  /* アクティブ時のアニメーション */
  .menu-toggle .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(11px, 6px);
  }
  .menu-toggle .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(11px, -6px);
  }

  /* ヘッダーのロゴやその他調整 */
  #top-head .inner {
    position: relative;
  }
}

/*--------------------------------------
 スマホ時（768px以下）：サイズ調整
--------------------------------------*/
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #D6170C; /* 赤背景 */
    height: 70px;
    width: 120px; /* 右端から180px分のエリア */
    justify-content: flex-end;
    z-index: 1002;
    padding: 0 10px;
  }

  /* MENU / CLOSE 文字 */
  .menu-text {
	position: relative;
	width: 40px; /* ←スマホ用に少し小さめ */
	text-align: right;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.08em;
	margin-right: 28px;
	transition: all 0.3s ease;
	white-space: nowrap;
	padding-left: 20px;
  }

  /* MENUとバーガーの間の縦線 */
  .menu-line {
    flex-shrink: 0;
    display: inline-block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin-right: 15px;
  }

  /* ハンバーガー（右寄せ） */
  .menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1003;
    padding-right: 5px;
  }

  .menu-toggle .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.4s ease;
  }

  .menu-toggle .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 5px);
  }
  .menu-toggle .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -5px);
  }
}
/*---------------------
  全体背景
---------------------*/
/* 背景全体 */
.main-visual {
	width: 100%; /* 背景色や画像に置き換え可 */
	display: flex;
	background-image: url(../img/bg1.webp);
	background-repeat: repeat; /* 繰り返す場合 */
	background-size: cover;    /* 横幅いっぱいに */
	background-position: top;  /* 上端から表示 */
	justify-content: center;
	position: relative;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}

/* 中央コンテンツ枠 */
.visual-container {
  width: 100%;
  max-width: 1300px;
  position: relative;
}

/* 左右ボックスを横並び */
.box-area {
  display: flex;
  gap: 160px; /* 左右ボックス間 */
}

/* 左右ボックスの幅固定 */
.left-box {
	width: 640px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 150px;
}

.right-box {
	width: 528px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 130px;
	margin-bottom: 40px;
}

/* 画像縦並び */
.img-wrap {
  display: flex;
  flex-direction: column;
}

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

/* 左下の注釈 */
.note {
	position: absolute;
	left: 0;
	bottom: 0;
	color: #fff;
	font-size: 0.8rem;
	padding-top: 6px;
	padding-right: 12px;
	padding-bottom: 30px;
	padding-left: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .main-visual {
	width: 100%; /* 背景色や画像に置き換え可 */
	display: flex;
	background-image: url(../img/bg2.webp);
	background-repeat: repeat; /* 繰り返す場合 */
	background-size: cover;    /* 横幅いっぱいに */
	background-position: top;  /* 上端から表示 */
	justify-content: center;
	position: relative;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}
  .box-area {
    flex-direction: column;
    gap: 20px;
  }

  .left-box {
	width: 80%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 120px;
	margin-right: auto;
	margin-left: auto;
}
.right-box {
	width: 70%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 80px;
	margin-bottom: 40px;
	margin-right: auto;
	margin-left: auto;
}
  .note {
	position: static;
	margin-top: 0px;
	font-size: 1rem;
	margin-bottom: 20px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
  }
}
@media (max-width: 768px) {
  .main-visual {
	width: 100%; /* 背景色や画像に置き換え可 */
	display: flex;
	background-image: url(../img/bg2.webp);
	background-repeat: repeat; /* 繰り返す場合 */
	background-size: cover;    /* 横幅いっぱいに */
	background-position: top;  /* 上端から表示 */
	justify-content: center;
	position: relative;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}
  .box-area {
    flex-direction: column;
    gap: 10px;
  }

  .left-box {
	width: 88%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 110px;
	margin-right: auto;
	margin-left: auto;
}
.right-box {
	width: 96%;
	display: flex;
	flex-direction: column;
	gap: 0px;
	margin-top: 0px;
	margin-bottom: 20px;
	margin-right: auto;
	margin-left: 4%;
}
  .note {
	position: static;
	margin-top: 0px;
	font-size: 0.9rem;
	margin-bottom: 10px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 20px;
  }
}




/*---------------------
  newsここから
---------------------*/


.news-section {
	padding-top: 90px;
	padding-right: 20px;
	padding-bottom: 60px;
	padding-left: 20px;
}

.news-section .container {
  max-width: 1300px; /* 中央コンテンツ幅 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル */
.news-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* 新着情報ボックス */
.news-box {
	width: 800px; /* 横幅固定 */
	margin-bottom: 60px;
}

/* お知らせ一覧ボタン */
.news-button-wrap {
  text-align: center;
}

.news-button {
	display: inline-block;
	background-color: #3A3A3A;
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
	transition: 0.3s;
	width: 262px;
	padding-top: 25px;
	padding-bottom: 25px;
}

.news-button:hover {
	background-color: #757575;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-section {
	padding-top: 60px;
	padding-right: 10px;
	padding-bottom: 40px;
	padding-left: 10px;
}
  .news-box {
    width: 94%; /* スマホでは横幅いっぱい */
	margin-bottom: 30px;
  }
}

/*---------------------
  コンテンツここから
---------------------*/

/* main-section 全体 */
.main-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-top: 80px;
	padding-right: 0;
	padding-left: 0;
	margin-bottom: 210px;
	display: flex;
	overflow: visible; /* ← はみ出しても表示されるように */
	padding-bottom: 80px;
}

/* 背景画像 */
.main-bg {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
		background-position: center bottom; /* 横中央・下寄せ配置 */
	background-size: cover; /* 画面幅いっぱいに広げる */
	background-image: url(../img/pic14.webp);
	background-repeat: no-repeat;
	
}

/* コンテンツ枠 */
.container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  z-index: 1;
}

/* 左右並び */
.main-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

/* 左側 */
.text-area {
	flex: 1 1 60%;
	max-width: 1100px;
	background: rgba(255, 255, 255, 0.5); /* 白＋80%透過 */
	backdrop-filter: blur(6px);
	box-sizing: border-box;
	color: #000;
	display: flex;
	flex-direction: column;
	justify-content: center; /* 中央寄せ */
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	padding-top: 60px;
	padding-right: 60px;
	padding-bottom: 40px;
	padding-left: 60px;
}

/* タイトル */
.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* 5項目リスト */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-list li {
	display: flex;
	align-items: center;
	margin-bottom: 35px;
	font-size: 1.60rem;
	color: #000000;
	font-weight: 600;
}

.problem-list .icon {
	width: 44px;
	height: 34px;
	margin-right: 12px;
	flex-shrink: 0;
}

/* 右側画像 */
.image-area {
	flex: 1 1 36%;
	display: flex;
	align-items: flex-start;
	position: relative;
	top: 250px;
	left: -70px;
}

.image-area img {
	width: 100%;
	height: auto;
	max-width: 541px;
	display: block;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    align-items: center;
  }

.main-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-top: 80px;
	padding-right: 0;
	padding-left: 0;
	margin-bottom: 0px;
	display: flex;
	overflow: visible; /* ← はみ出しても表示されるように */
	padding-bottom: 0px;
}

/* 背景画像 */
.main-bg {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
		background-position: center bottom; /* 横中央・下寄せ配置 */
	background-size: cover; /* 画面幅いっぱいに広げる */
	background-image: url(../img/pic14.webp);
	background-repeat: no-repeat;
	
}
.text-area {
	flex: 1 1 60%;
	max-width: 920px;
	background: rgba(255, 255, 255, 0.8); /* 白＋80%透過 */
	backdrop-filter: blur(6px);
	box-sizing: border-box;
	color: #000;
	display: flex;
	flex-direction: column;
	justify-content: center; /* 中央寄せ */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 80;
	margin-left: auto;
	padding-top: 60px;
	padding-right: 80px;
	padding-bottom: 40px;
	padding-left: 100px;
}

  .text-area, .image-area {
    flex: 1 1 100%;
  }

  .problem-list li {

  }
.image-area {
	flex: 1 1 30%;
	display: flex;
	align-items: flex-start;
	position: relative;
	top: -80px;
	left: 50px;
}
  .image-area img {
	max-width: 360px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
  }
}
@media (max-width: 768px) {
 .main-bg {
	position: absolute;
		background-position: center bottom; /* 横中央・下寄せ配置 */
	background-size: cover; /* 画面幅いっぱいに広げる */
	background-image: url(../img/pic14.webp);
	background-repeat: no-repeat;
	
}
 .container {
  max-width: 90%;
  margin: 0 auto;
  z-index: 1;
}
  .main-content {
    flex-direction: column;
    align-items: center;
  }

.main-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-top: 80px;
	padding-right: 0;
	padding-left: 0;
	margin-bottom: 0px;
	display: flex;
	overflow: visible; /* ← はみ出しても表示されるように */
	padding-bottom: 0px;
}
.text-area {
	margin-bottom: 80;
	margin-left: auto;
	padding-top: 40px;
	padding-right: 5px;
	padding-bottom: 40px;
	padding-left: 20px;
}
  .text-area, .image-area {
    flex: 1 1 100%;
  }

  .problem-list li {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	font-size: 1.1rem;
	color: #000000;
	font-weight: 600;
}

.problem-list .icon {
	width: 24px;
	height: 19px;
	margin-right: 6px;
	flex-shrink: 0;
}
.image-area {
	flex: 1 1 30%;
	display: flex;
	align-items: flex-start;
	position: relative;
	top: -50px;
	left: 20px;
}
  .image-area img {
	max-width: 50%;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
  }
}

/* -----------------------------
 main-section1
----------------------------- */

.main-section1 {
	position: relative;
	width: 100%;
	background-color: #99000B;
	overflow: hidden;
	padding-top: 116px;
	background-size: cover;    /* 横幅いっぱいに */
	background-image: url(../img/bg3.webp);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto; /* 横幅を553pxに固定、高さは自動 */
	padding-bottom: 82px;
}

.main-section1-bg {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}



/* 白キャンバス */
.main-section1-content {
	position: relative;
	width: 1100px;
	background: #fff;
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
	display: flex;
	flex-direction: column;
	gap: 30px;
	overflow: visible; /* はみ出し許可 */
	padding-top: 180px;
	padding-right: 60px;
	padding-bottom: 60px;
	padding-left: 60px;
}

/* ロゴ楕円形 */
.main-section1-logo-wrap {
	position: absolute;
	top: -80px; /* 白キャンバスの外に出す */
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
}

.main-section1-logo-ellipse {
  width: 500px;
  height: 200px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-section1-logo {
	width: 280px;
	height: auto;
}

/* 各行 */
.main-section1-row {
	display: flex;
	justify-content: space-between;
	gap: 45px;
	padding-bottom: 50px;
	border-bottom: 1px solid #ddd;
}

.main-section1-box.left {
	width: 760px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 14px;
}

.main-section1-box.right {
	width: 320px;
	margin-top: 150px;
	margin-right: 10px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
 
 .main-section1 {
	position: relative;
	width: 100%;
	background-color: #99000B;
	overflow: hidden;
	padding-top: 116px;
	background-size: cover;    /* 横幅いっぱいに */
	background-image: url(../img/bg3-sp.webp);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto; /* 横幅を553pxに固定、高さは自動 */
	padding-bottom: 82px;
}

  .main-section1-content {
	width: 89%;
	padding-top: 150px;
	padding-right: 20px;
	padding-bottom: 40px;
	padding-left: 20px;
  }
/* ロゴ楕円形 */
.main-section1-logo-wrap {
	position: absolute;
	top: -80px; /* 白キャンバスの外に出す */
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
}

.main-section1-logo-ellipse {
  width: 500px;
  height: 200px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-section1-logo {
	width: 240px;
	height: auto;
}

}

@media (max-width: 768px) {

  
  .main-section1-content {
	width: 80%;
	padding-top: 80px;
	padding-right: 24px;
	padding-bottom: 40px;
	padding-left: 24px;
  }
  .main-section1-row {
    flex-direction: column;
    gap: 30px;
  }
  .main-section1-box.left,
  .main-section1-box.right {
    width: 100%;
  }
  /* ロゴ楕円形 */

.main-section1-logo-wrap {
	position: absolute;
	top: -60px; /* 白キャンバスの外に出す */
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
}
.main-section1-logo-ellipse {
  width: 250px;
  height: 150px;
}

.main-section1-logo {
	width: 180px;
	height: auto;
	margin-top: -10px;
}
.main-section1-box.right {
	width: 100%;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
}
.main-section1-box.right img {
	margin-bottom: 20px;

}
.main-section1-box.left {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.main-section1-row {
	padding-bottom: 30px;
	margin-bottom: 20px;
}
}


.main-section2 {
	width: 100%;
	padding-top: 215px;
	padding-right: 0;
	padding-bottom: 136px;
	padding-left: 0;
}


/* 全体の白背景枠（1300px） */
.main-section2-wrapper {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

/* コンテンツ幅（1300px固定） */
.main-section2-content {
  width: 1300px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* ボックス間の間隔 */
}

/* 各ボックス */
.main-section2-box {
	width: 280px;
}

/* 画像 */
.main-section2-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .main-section2 {
	width: 100%;
	padding-top: 150px;
	padding-right: 0;
	padding-bottom: 100px;
	padding-left: 0;
}

  
  .main-section2-content {
    width: 90%;
    justify-content: center;
    gap: 30px;
  }
  .main-section2-box {
    width: 45%;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
   .main-section2-wrapper {
	width: 100%;
	background-color: #fff;
	display: flex;
	justify-content: center;
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}

    .main-section2 {
	width: 100%;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 40px;
	padding-left: 0;
}
  .main-section2-content {
    width: 82%;
    flex-direction: column;
    align-items: center;
  }
  .main-section2-box {
    width: 100%;
    max-width: 100%;
  }
}

/* -----------------------------
 main-section3
----------------------------- */

/* 背景 */
.main-section3 {
	width: 100%;
	background-color: #F4E6E6;
	padding-top: 125px;
	padding-right: 0;
	padding-bottom: 60px;
	padding-left: 0;
}

/* コンテンツ枠（最大1280px） */
.main-section3-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.main-section3-content {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* 各ボックス */
.main-section3-box {
	position: relative;
	width: 600px;
	background-color: #fff;
	box-sizing: border-box;
	padding-top: 25px;
	padding-right: 40px;
	padding-bottom: 60px;
	padding-left: 40px;
	margin-bottom: 60px;
}

/* 左上の三角形 */
.main-section3-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 66px 66px 0 0;
  border-color: #CF000E transparent transparent transparent;
}

/* ヘッダー（左：2段テキスト＋右：写真） */
.main-section3-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 60px;
}

/* 左の2段テキスト部分 */
.main-section3-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}



/* 写真 */
.main-section3-photo img {
  width: 120px;
  height: auto;
  border-radius: 6px;
  display: block;
}



/* -----------------------------
 レスポンシブ対応
----------------------------- */

@media (max-width: 1024px) {
  .main-section3-content {
    width: 90%;
    justify-content: center;
  }
  .main-section3-box {
    width: 100%;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .main-section3 {
    padding: 30px 0;
  }

  .main-section3-photo img {
    width: 100px;
    margin-top: 0px;
  }
  .main-section3-box {
	position: relative;
	padding-top: 25px;
	padding-right: 20px;
	padding-bottom: 30px;
	padding-left: 20px;
	margin-bottom: 30px;
}
.main-section3-header {
	margin-bottom: 30px;
}
}

/* -----------------------------
 main-section4
----------------------------- */

.main-section4 {
	width: 100%;
	background-color: #f7f7f7;
	padding-top: 165px;
	padding-right: 0;
	padding-bottom: 190px;
	padding-left: 0;
}

.main-section4 .container {
  width: 1366px;
  margin: 0 auto;
}

/* 各行（2列構成） */
.main-section4 .box-wrap {
	display: flex;
	justify-content: space-between;
	gap: 4px;
	padding-bottom: 4px;
}

/* 各ボックス */
.main-section4 .box {
  width: 680px;
  height: 344px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* オーバーレイ（中央の白文字） */
.main-section4 .box-overlay {
  font-size: 2.3rem; /* 約28px */
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ------- レスポンシブ対応 ------- */
@media (max-width: 1024px) {

.main-section4 {
	width: 100%;
	padding-top: 100px;
	padding-right: 0;
	padding-bottom: 140px;
	padding-left: 0;
}
  
  .main-section4 .container {
    width: 95%;
  }

  .main-section4 .box-wrap {
    flex-direction: column;
    gap: 6px;
	padding-bottom: 6px;
  }

  .main-section4 .box {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {

  .main-section4 {
    width: 100%;
	padding: 50px 0;
  }

  .main-section4 .box-overlay {
    font-size: 1.5rem; /* 約20px */
  }

  .main-section4 .box {
    width: 100%;
	height: 260px;
  }
}


.main-section5 {
  width: 100%;
  background-color: #EFEFEF;
  padding: 130px 0;
}

.main-section5 .container {
  width: 1290px;
  margin: 0 auto;
}

/* 上段ボックス370px × 6 */
.main-section5 .box-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px 0;
	margin-bottom: 200px;
}

.main-section5 .box-370 {
	width: 370px;
	box-sizing: border-box;
	padding-bottom: 20px;
}

.main-section5 .box-370 img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}


/* 下段ボックス394px × 3 */
.main-section5 .box-group-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.main-section5 .box-394 {
	width: 394px;
	background: #fff;
	box-sizing: border-box;
	text-align: center;
	height: 250px;
}

.main-section5 .box-394 img {
	width: 100%;
	height: auto;
	display: block;
}


/* -----------------------------
 レスポンシブ対応
----------------------------- */

/* タブレット対応 */
@media (max-width: 1024px) {
  .main-section5 {
  padding: 100px 0;
}
  .main-section5 .container {
    width: 100%;
  }

  .main-section5 .box-group,
  .main-section5 .box-group-bottom {
    justify-content: center;
    gap: 30px;
  }

  .main-section5 .box-370,
  .main-section5 .box-394 {
    width: 45%;
  }
}

/* スマホ対応（768px以下） */
@media (max-width: 768px) {
  .main-section5 .box-group,
  .main-section5 .box-group-bottom {
    flex-direction: column;
    align-items: center;
  }

  .main-section5 .box-370,
  .main-section5 .box-394 {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }
  .main-section5 .box-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px 0;
	margin-bottom: 80px;
}
}


.main-section6 {
	width: 100%;
	background-color: #fff; /* 好きな背景色に変更可 */
	padding-top: 180px;
	padding-right: 0;
	padding-left: 0;
}

.main-section6 .container {
	width: 1300px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 200px;
	margin-left: auto;
}

.main-section6 .content {
  display: flex;
  justify-content: space-between;
  gap: 0; /* 左右間の隙間はボックス幅で調整 */
}

/* 左ボックス690px */
.main-section6 .box.left {
	width: 690px;
	box-sizing: border-box;
}

/* 右ボックス570px */
.main-section6 .box.right {
	width: 570px; /* 任意 */
	padding: 20px;
	box-sizing: border-box;
}


/* -----------------------------
 レスポンシブ対応
----------------------------- */
@media (max-width: 1024px) {
  .main-section6 {
	padding-top: 120px;
	padding-right: 0;
	padding-left: 0;
}
  .main-section6 .container {
    width: 90%;
	margin-bottom: 100px;
  }
  .main-section6 .content {
    flex-direction: column;
    gap: 30px;
  }
  .main-section6 .box.left {
	width: 90%;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
}

/* 右ボックス570px */
.main-section6 .box.right {
	width: 90%; /* 任意 */
	padding: 20px;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
}

}
@media (max-width: 768px) {
  .main-section6 {
	padding-top: 80px;
	padding-right: 0;
	padding-left: 0;
}
.main-section6 .box.right {
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}

}
.main-section7 {
	width: 100%;
	background-color: #CF000E;
	padding-top: 140px;
	padding-right: 0;
	padding-bottom: 120px;
	padding-left: 0;
}

.main-section7 .container {
  width: 1280px;
  margin: 0 auto;
}

/* 上段：画像＋矢印＋画像 */
.main-section7 .image-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 45px;
	margin-bottom: 57px;
}

.main-section7 .image-left img,
.main-section7 .image-right img {
  width: 500px;
  height: auto;
  display: block;
}

.main-section7 .arrow img {
  width: 30px;
  height: auto;
}

/* 見出しと文章 */
.main-section7 .text-content {
	margin-bottom: 50px;
	width: 630px;
	margin-right: auto;
	margin-left: auto;
}


/* 下段：ボックス3個 */
.main-section7 .box-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.main-section7 .box {
	width: 370px;
	box-sizing: border-box;
}

.main-section7 .box img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}


/* -----------------------------
 レスポンシブ対応
----------------------------- */
@media (max-width: 1024px) {
  
  .main-section7 .container {
    width: 95%;
  }
  .main-section7 .image-row {
    flex-direction: column;
    gap: 40px;
  }
  .main-section7 .image-left img,
.main-section7 .image-right img {
	width: 80%;
	height: auto;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
  .main-section7 .box-row {
    gap: 60px;
  }
}

@media (max-width: 768px) {
    .main-section7 .image-left img,
.main-section7 .image-right img {
	width: 90%;
	height: auto;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
  .main-section7 {
	width: 100%;
	background-color: #CF000E;
	padding-top: 80px;
	padding-right: 0;
	padding-bottom: 60px;
	padding-left: 0;
}
  .main-section7 .box-row {
    flex-direction: column;
    align-items: center;
	gap: 30px;
  }
  .main-section7 .box {
    width: 90%;

  }
  .main-section7 .text-content {
	margin-bottom: 50px;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}
}

.main-section8 {
	width: 100%;
	padding-top: 190px;
	padding-right: 0;
	padding-bottom: 180px;
	padding-left: 0;
}

.main-section8 .container {
  width: 1300px;
  margin: 0 auto;
  text-align: center;
}

/* 上段・中段ボックス共通 */
.main-section8 .box-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.main-section8 .box-row .box {
  width: 230px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 10px; /* スマホ縦並び用 */
}

/* 上段オレンジ */
.main-section8 .box-row.orange .box {
  background-color: #DD6D00;
}

/* 中段緑 */
.main-section8 .box-row.green .box {
  background-color: #8AC979;
}

/* 注釈文章 */
.main-section8 .note {
  text-align: center;
  font-size: 1rem;
  color: #333;
  display: block;
  padding-bottom: 40px;
  margin: 30px 0;
  clear: both;
  float: none;       /* ← 明示的に浮かせない */
  position: relative; /* ← 重なり防止（z-index有効化） */
  z-index: 2;        /* ← 赤枠より上に出ないように制御 */
}
/* 下段赤線ボックス */
.main-section8 .red-box {
	width: 800px;
	border: 2px solid red;
	box-sizing: border-box;
	text-align: left;
	clear: both;       /* ← 上の浮動要素をリセット */
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 60px;
	padding-left: 30px;
}

/* -----------------------------
 レスポンシブ対応
----------------------------- */
@media (max-width: 1024px) {
  
  .main-section8 {
	padding-top: 100px;
	padding-right: 0;
	padding-bottom: 100px;
	padding-left: 0;
}
  .main-section8 .container {
    width: 95%;
  }

  .main-section8 .box-row {
    justify-content: center;
    gap: 18px;
  }

  .main-section8 .box-row .box {
    width: 46%;
    margin-bottom: 10px;
  }

  .main-section8 .red-box {
    width: 100%;
    max-width: 800px;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 60px;
	padding-left: 20px;
  }
}



.main-section9 {
	width: 100%;
	background-color: #F4E6E6;
	padding-top: 110px;
	padding-right: 0;
	padding-bottom: 100px;
	padding-left: 0;
}

.main-section9 .container {
  width: 1000px;
  margin: 0 auto;
}

.main-section9 .content-box {
	background-color: #fff;
	box-sizing: border-box;
	padding-bottom: 10px;
}


.main-section9 ul.custom-list {
	list-style: none;
	padding: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 100px;
	margin-left: 0;
}

.main-section9 ul.custom-list li {
	font-size: 1.15rem;
	position: relative;
	padding-left: 1.5em; /* 黒丸の分だけ左に余白を確保 */
	margin-bottom: 10px;
	line-height: 1.6;
	margin-right: 90px;
	margin-left: 90px;
}

.main-section9 ul.custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.2em; /* テキストとバランスをとる微調整 */
  color: #333;
  font-size: 1.2rem;
  line-height: 1;
}


/* -----------------------------
 レスポンシブ対応
----------------------------- */
@media (max-width: 1024px) {
  .main-section9 .container {
    width: 91%;
  }
  .main-section9 .content-box {
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
 
.main-section9 {
	width: 100%;
	background-color: #F4E6E6;
	padding-top: 80px;
	padding-right: 0;
	padding-bottom: 80px;
	padding-left: 0;
}
   .main-section9 .container {
    width: 91%;
  }
  .main-section9 .content-box {
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
  }


.main-section9 ul.custom-list li {
	font-size: 1.15rem;
	position: relative;
	padding-left: 1.5em; /* 黒丸の分だけ左に余白を確保 */
	margin-bottom: 10px;
	line-height: 1.6;
	margin-right: 15px;
	margin-left: 15px;
}

  .main-section9 ul.custom-list li .dot {
    width: 15px;
  }
}


.main-section10 {
  width: 100%;
  background-color: #EFEFEF;
  padding: 60px 0;
}

.main-section10 .container {
	width: 1000px;
	margin: 0 auto;
	padding: 40px;
	box-sizing: border-box;
}


/* FAQ スタイル */
.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #DD6D00;
  color: #fff;
  padding: 15px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #8AC979;
}

.faq-answer {
  display: none;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-top: 5px;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* 回答を開くと表示 */
.faq-item.open .faq-answer {
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .main-section10 .container {
	width: 90%;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
  }
  .faq-question {
	font-size: 1rem;
	padding: 0px;
  }
  .faq-answer {
    padding: 12px;
  }
  .faq-answer p {
    font-size: 0.95rem;
  }
}

.main-section11 {
  background-color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.main-section11 .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 共通レイアウト */
.content-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 70px;
}

.text-box {
  flex: 1;
}

.image-box {
  flex: 1;
  width: 442px;
  margin-top: 60px;
}

.image-box img {
  width: 100%;
  height: auto;
}

/* 🔹 上段（左テキスト・右画像） */
.content-row.top-row {
	flex-direction: row;
}

/* 🔹 下段（左画像・右テキスト） */
.content-row.bottom-row {
	flex-direction: row;
}

/* -----------------------------
   タブレット
----------------------------- */
@media (max-width: 1024px) {
  .main-section11 {
    padding-top: 60px;
    padding-bottom: 60px;
  }	

  .main-section11 .container {
    max-width: 90%;
    margin: 0 auto;
  }	
}

/* -----------------------------
   スマホ時（縦並びに）
----------------------------- */
@media (max-width: 768px) {
  
  .main-section11 {
    padding-top: 60px;
    padding-bottom: 20px;
  }	

  .content-row {
    flex-direction: column;
    margin-bottom: 60px;
    text-align: left;
    gap: 30px;
  }

  .image-box {
    width: 80%;
    margin-top: 0;
  }

  /* -----------------------------
     並び順指定
     top-row → 画像 → テキスト（逆転）
     bottom-row → 画像 → テキスト（そのまま）
  ----------------------------- */

  /* 🔹 上段：スマホで画像 → テキストに変更 */
  .content-row.top-row {
    flex-direction: column;
  }
  .content-row.top-row .image-box {
    order: 1;
  }
  .content-row.top-row .text-box {
    order: 2;
  }

  /* 🔹 下段：スマホでも画像 → テキスト（そのまま） */
  .content-row.bottom-row {
    flex-direction: column;
  }
  .content-row.bottom-row .image-box {
    order: 1;
  }
  .content-row.bottom-row .text-box {
    order: 2;
  }
}



.main-section12 {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-bottom: 110px;
}

/* 🔹 赤背景 */
.main-section12 .bg-red {
	width: 100%;
	height: 800px;
	background-color: #CF000E;
	padding-top: 80px;
}

/* 🔹 白背景のボックス */
.main-section12 .content-box {
	position: relative;
	max-width: 1000px; /* 🔸赤背景に重なる */
	background: #fff;
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	z-index: 10;
	margin-top: -620px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 68px;
	padding-bottom: 60px;
}

/* 🔹 中身レイアウト：横並びで中央寄せ・間隔40px */
.main-section12 .inner {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: flex-start;
  gap: 40px; /* ← 間隔40px */
  position: relative;
  flex-wrap: wrap; /* 画面が狭いとき自動で縦並び */
}

/* 🔹 左ボックス */
.main-section12 .left-box1 {
  width: 330px;
  min-width: 330px;
  box-sizing: border-box;
}

/* 🔹 右ボックス */
.main-section12 .right-box1 {
	width: 480px;
	min-width: 480px;
	border-radius: 6px;
	box-sizing: border-box;
	position: relative;
	z-index: 5;
}
@media (max-width: 1024px) {

.main-section12 {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding-bottom: 100px;
}

/* 🔹 赤背景 */
.main-section12 .bg-red {
	width: 100%;
	height: 800px;
	background-color: #CF000E;
	padding-top: 80px;
}

/* 🔹 白背景のボックス */
.main-section12 .content-box {
	position: relative;
	max-width: 95%; /* 🔸赤背景に重なる */
	background: #fff;
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	z-index: 10;
	margin-top: -620px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 68px;
	padding-bottom: 60px;
}
}
/* 🔹 スマホ対応（縦並び） */
@media (max-width: 768px) {
  .main-section12 .inner {
    flex-direction: column;
    gap: 30px;
  }
  .main-section12 .left-box,
  .main-section12 .right-box {
    width: 100%;
    margin-bottom: 0;
  }
  .main-section12 .right-box1 {
	width: 100%;
	min-width: 100%;
	border-radius: 6px;
	box-sizing: border-box;
	position: relative;
	z-index: 5;
}
 .main-section12 .left-box1 {
	width: 65%;
	min-width: 65%;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
 }

  
  .main-section12 .content-box {
	position: relative;
	max-width: 90%; /* 🔸赤背景に重なる */
	background: #fff;
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	z-index: 10;
	margin-top: -1080px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 68px;
	padding-bottom: 60px;
}
.main-section12 .bg-red {
	width: 100%;
	height: 1200px;
	background-color: #CF000E;
	padding-top: 70px;
}
}



.main-section13 {
	width: 100%;
	background-color: #EFEFEF;
	padding-top: 110px;
	padding-right: 0;
	padding-bottom: 110px;
	padding-left: 0;
}

.main-section13 .container {
  max-width: 1180px;
  margin: 0 auto;
}

.main-section13 .box-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.main-section13 .box {
  width: 260px;
  height: 146px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.main-section13 .box img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

@media (max-width: 1024px) {
.main-section13 {
	width: 100%;
	background-color: #EFEFEF;
	padding-top: 100px;
	padding-right: 0;
	padding-bottom: 100px;
	padding-left: 0;
}
.main-section13 .container {
  max-width: 90%;
  margin: 0 auto;
}

.main-section13 .box-row {
    flex-wrap: wrap;
    justify-content: space-around;
	margin-bottom: 0px;
  }
  .main-section13 .box {
    width: 45%; /* 2列 */
    margin-bottom: 20px;
  }
}
/* レスポンシブ（スマホ時は2列 or 1列に自動変換） */
@media (max-width: 768px) {
  .main-section13 {
	width: 100%;
	background-color: #EFEFEF;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 60px;
	padding-left: 0;
}
  .main-section13 .box-row {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .main-section13 .box {
    width: 45%; /* 2列 */
    margin-bottom: 20px;
  }
}



.main-section14 {
	width: 100%;
	background-color: #CF000E;
	padding-top: 86px;
	padding-right: 0;
	padding-bottom: 95px;
	padding-left: 0;
}

.main-section14 .container {
  max-width: 1160px;
  margin: 0 auto;
}

.main-section14 .box-row {
  display: flex;
  justify-content: space-between;
  gap: 0;
}

.main-section14 .box {
	width: 340px;
	background-color: #fff;
	border-radius: 8px;
	box-sizing: border-box;
	text-align: center;
	padding-top: 32px;
	padding-right: 20px;
	padding-bottom: 30px;
	padding-left: 20px;
}

.main-section14 .box img {
	max-width: 100px;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 40px;
}

.main-section14 .box h4 {
	font-size: 2.1rem;
	margin-bottom: 6px;
	color: #000;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.main-section14 .box p {
	font-size: 1rem;
	line-height: 1.4;
	color: #000;
	font-weight: 400;
}

@media (max-width: 1024px) {
  .main-section14 .container {
    max-width: 98%;
    margin: 0 auto;
  }

  .main-section14 .box-row {
    display: flex;
    justify-content: space-between;
    gap: 0;
  }

  .main-section14 .box {
    width: 32%;
    background-color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    padding: 32px 10px 30px;
  }	
}

/* 🔹 スマホ時：縦→横レイアウトに変更 */
@media (max-width: 768px) {
  .main-section14 {
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 80px;
	padding-left: 0;
}
  .main-section14 .box-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .main-section14 .box {
	width: 91%;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	padding-top: 26px;
	padding-right: 6px;
	padding-bottom: 26px;
	padding-left: 16px;
  }

  .main-section14 .box img {
    width: 65px;
    height: auto;
    margin: 0 14px 0 0; /* 右に50pxの余白を追加 */
    flex-shrink: 0;
  }

  .main-section14 .box h4 {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .main-section14 .box p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* テキスト部を縦2段にまとめるためのラッパー */
  .main-section14 .box-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


.main-section15 {
	width: 100%;
	background-color: #F4E6E6;
	padding-top: 145px;
	padding-right: 0;
	padding-bottom: 140px;
	padding-left: 0;
}

.main-section15 .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px; /* 横余白を確保 */
  box-sizing: border-box;
}

.main-section15 .white-box {
	background-color: #fff;
	box-sizing: border-box;
	padding-top: 140px;
	padding-right: 30px;
	padding-bottom: 40px;
	padding-left: 30px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .main-section15 {
    padding: 60px 0;
  }
  .main-section15 .white-box {
	padding-top: 80px;
	padding-right: 20px;
	padding-bottom: 30px;
	padding-left: 20px;
  }
}



.main-section16 {
  width: 100%;
  padding: 60px 0;
  background-color: #fff; /* 背景色なしの場合は削除 */
}

.main-section16 .container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px; /* スマホ余白用 */
	box-sizing: border-box;
}

.main-section16 .content-box {
  background-color: #fff; /* 任意で色指定可能 */
  padding: 40px 30px;
  box-sizing: border-box;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .main-section16 {
	width: 100%;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
}
  .main-section16 .content-box {
    padding: 30px 20px;
  }

}




.main-section17 {
	width: 100%;
	background-color: #EFEFEF;
	padding-top: 160px;
	padding-right: 0;
	padding-bottom: 150px;
	padding-left: 0;
}

.main-section17 .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px; /* 横余白確保 */
  box-sizing: border-box;
}

.main-section17 .white-box {
	background-color: #fff;
	box-sizing: border-box;
	text-align: center;
	padding-top: 140px;
	padding-right: 30px;
	padding-bottom: 140px;
	padding-left: 30px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .main-section16 .content-box {
	background-color: #fff;
	padding-top: 40px;
	padding-right: 0px;
	padding-bottom: 40px;
	padding-left: 0px;
}

  .main-section17 {
    padding: 60px 0;
  }
  .main-section17 .white-box {
    padding: 30px 20px;
  }

}

@media (max-width: 480px) {
  .main-section17 {
    padding: 40px 0;
  }
  .main-section17 .white-box {
    padding: 20px 15px;
  }
}



/*---------------------
  フッターここから
---------------------*/
.main-footer {
	width: 100%;
	background-color: #2D2D2D;
	color: #fff;
	font-size: 0.9rem;
	padding-top: 80px;
	padding-right: 0;
	padding-bottom: 40px;
	padding-left: 0;
}

.main-footer .container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 上段：ロゴボックス */
.main-footer .logo-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 90px;
}

.main-footer .logo-box {
	width: 224px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.main-footer .logo-box img {
  max-width: 100%;
  height: auto;
  display: block;
}
.main-footer .logo-box2 {
	width: 154px;
	display: flex;
	justify-content: center;
	align-items: center;
}



/* レスポンシブ（スマホでも2個横並び） */
@media (max-width: 480px) {
  .main-footer .logo-box {
    width: 48%; /* 2個並びのまま */
  }
  .main-footer .logo-box img {
    max-width: 80%; /* 小さめに調整 */
  }
}




/*---------------------
  他ここから
---------------------*/
.td-log1 {
  margin-bottom: 48px;
  text-align: center; /* 画像を中央寄せ */
}

.td-log1 img {
  width: 242px;
  height: auto;
  display: inline-block; /* 中央寄せを有効に */
}

.td-img {
	margin-bottom: 48px;
	text-align: center; /* 画像を中央寄せ */
	width: 367px;
	margin-right: auto;
	margin-left: auto;
}
.td-img1 {
	margin-bottom: 30px;
	text-align: left; /* 画像を中央寄せ */
	width: 90%;
}
.td-img2 {
	margin-bottom: 30px;
	text-align: left; /* 画像を中央寄せ */
	width: 100%;
}
.td-img3 {
	margin-bottom: 10px;
	text-align: left; /* 画像を中央寄せ */
	width: 60%;
	padding-left: 6%;
}

.td1 {
	margin-bottom: 48px;
}
.td2 {
	padding-bottom: 80px;
}
.td3 {
	padding-right: 30px;
}
.td4 {
	margin-bottom: 90px;
}
.td5 {
	padding-bottom: 25px;
}
.td6 {
	padding-bottom: 80px;
	padding-top: 100px;
}
.mini1 {
}
.mini1 img {
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	height: auto;
}

/*---------------------
  ロールオーバー
---------------------*/
.hover a:hover img {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
.hover2 a:hover img {
	opacity: 0.5;
	filter: alpha(opacity=80);
	-moz-opacity: 0.9;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
/*---------------------
  フェード効果
---------------------*/

.fade {
}
.fadeInDown {
	-webkit-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-ms-animation-duration: 1s;
	animation-duration: 1s;
}
@-webkit-keyframes fadeInDown {
 0% {
opacity: 0;
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px);
}
 100% {
opacity: 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
}
@keyframes fadeInDown {
 0% {
opacity: 0;
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px);
}
 100% {
opacity: 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
}
.fadeInDown {
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	visibility: visible !important;
}


.fade-text {
  opacity: 0;
  filter: blur(10px);   /* ぼやけた状態から */
  transform: translateY(20px); /* 少し下から */
  transition: all 1s ease-out;
}

.fade-text.show {
  opacity: 1;
  filter: blur(0);      /* ぼやけ解除 */
  transform: translateY(0);
}

.fade-photo {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1s ease, transform 1s ease;
    }

.fade-photo.show {
      opacity: 1;
      transform: translateY(0);
    }
.fade-photo2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-photo2.show2 {
  opacity: 1;
  transform: translateY(0);
}


	
	
.fade-char span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.fade-char span.show {
  opacity: 1;
  transform: translateY(0);
}



/*---------------------
  アニメーションボタン
---------------------*/
.button1-wrap {
	text-align: left; /* ボタンを左配置 */
	padding-top: 10px;
}

.button1 {
  display: inline-block;       /* 左寄せにしたい場合はinline-block */
  background-color: #CF000E;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
  width: 238px;
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;          /* ← ボタン内文字を中央揃え */
}

.button1:hover {
	background-color: #FF2434;
}
@media (max-width: 768px) {
	.button1-wrap {
	text-align: center; /* ボタンを左配置 */
	padding-top: 10px;
}
}
/*---------------------
  テーブル
---------------------*/
.table-box {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table-box .row {
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #ccc;
	padding-right: 0;
	padding-left: 0;
}

.table-box .row:first-child {
  border-top: 1px solid #ccc; /* 最初の行だけ上線を追加 */
}

.table-box .row .th {
	width: 100px;
	font-size: 1rem;
	line-height: 2.8;
	font-weight: bold;
	color: #000000;
	text-align: justify;          /* 両端揃え */
	text-align-last: justify;     /* 最終行（1行のみ）も両端揃え */
	text-justify: inter-ideograph;/* 日本語に最適化 */
	background-color: #EFEFEF;
	white-space: nowrap;
	padding-right: 13px;
	padding-left: 13px;
}

.table-box .row .td {
	font-size: 1rem; /* 14px相当 */
	line-height: 2.8;
	flex: 1;
	color: #000;
	font-weight: 400;
	padding-left: 19px;
	letter-spacing: 0.05em;
}

/* スマホ表示用 */
@media (max-width: 768px) {
.table-box {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table-box .row {
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #ccc;
	padding-right: 0;
	padding-left: 0;
}

.table-box .row:first-child {
  border-top: 1px solid #ccc; /* 最初の行だけ上線を追加 */
}

.table-box .row .th {
	width: 100px;
	font-size: 0.9rem;
	line-height: 2.8;
	font-weight: bold;
	color: #000000;
	text-align: justify;          /* 両端揃え */
	text-align-last: justify;     /* 最終行（1行のみ）も両端揃え */
	text-justify: inter-ideograph;/* 日本語に最適化 */
	background-color: #EFEFEF;
	white-space: nowrap;
	padding-right: 6px;
	padding-left: 6px;
}

.table-box .row .td {
	font-size: 0.9rem; /* 14px相当 */
	line-height: 2.8;
	flex: 1;
	color: #000;
	font-weight: 400;
	padding-left: 12px;
	letter-spacing: 0.05em;
}
}

/* PC表示用 */
.table-box2 {
	max-width: 800px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 40px;
	margin-left: auto;
}

.table-box2 .row {
  display: flex;
  align-items: center; /* 行全体の要素を縦中央に */
  border-bottom: 1px solid #D0D0D0;
  padding: 20px 0;
}

.table-box2 .row:first-child {
  border-top: 1px solid #D0D0D0;
}

.table-box2 .row .th {
	width: 86px;
	font-weight: 900;
	font-size: 1rem; /* 約18px */
	color: #000;
	text-align: left;
	padding-left: 13px;
	padding-right: 13px;
	text-align: justify;          /* 両端揃え */
	text-align-last: justify;     /* 最終行（1行のみ）も両端揃え */
	text-justify: inter-ideograph;/* 日本語に最適化 */
}

.table-box2 .row .td {
	width: 70%;
	font-size: 1rem; /* 約17px */
	color: #000;
	padding-left: 10px;
	font-weight: 400;
}

/* スマホ表示用 */
@media (max-width: 768px) {
  .table-box2 {
	max-width: 90%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 40px;
	margin-left: auto;
}
  .table-box2 .row {
    flex-direction: column;
    padding: 20px 0;
  }
  .table-box2 .row .th {
	width: 100%;
	margin-bottom: 10px;
	text-align: center;
	padding-left: 0px;
	font-size: 1.125rem; /* 14px相当 */
	text-align: center;
	text-align-last: center;
	letter-spacing: 0.4em;
  }
  .table-box2 .row .td {
    font-size: 1rem; /* 14px相当 */
	width: 90%;
  }

}

.table-box3 {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table-box3 .row {
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #ccc; /* 下線だけ */
  padding: 24px 0;
}

.table-box3 .row:first-child {
  border-top: 1px solid #ccc; /* 最初の行だけ上線を追加 */
}

.table-box3 .row .th {
	width: 130px;       /* 見出しの幅 */
	font-size: 1rem; /* 14px相当 */
	font-weight: 600;
	padding-left: 20px;
	letter-spacing: 0em;
	color: #A80000;
}

.table-box3 .row .td {
	font-size: 1rem; /* 14px相当 */
	letter-spacing: 0.05em;
	flex: 1;
	color: #333;
	font-weight: 400;
}

/* スマホ表示用 */
@media (max-width: 768px) {
  .table-box3 .row {
    flex-direction: column;
    padding: 30px 0;
  }
  .table-box3 .row .th {
	width: 100%;
	margin-bottom: 5px;
	text-align: center;
	padding-left: 0px;
	font-size: 1rem; /* 14px相当 */
  }
  .table-box3 .row .td {
    font-size: 1rem; /* 14px相当 */
	width: 100%;
  }
}

/* PC表示用 */
.table-box4 {
	max-width: 800px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 125px;
	margin-left: auto;
	border-collapse: collapse;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D0D0D0;
}

.table-box4 .row {
	display: flex;
	align-items: stretch;
	padding: 0;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D0D0D0;
}

.table-box4 .row .th {
	width: 180px;
	font-weight: 900;
	font-size: 1rem;
	color: #000;
	text-align: center;        /* flexを使う場合は必須ではない */
	background-color: #EFEFEF;

	display: flex;             /* 中の文字を縦横中央 */
	align-items: center;       /* 縦中央 */
	justify-content: center;   /* 横中央 */
	padding: 20px 0;           /* 高さ調整用 padding */
	box-sizing: border-box;    /* padding込みで高さを計算 */
}

.table-box4 .row .td {
	width: calc(100% - 180px); /* th分を除いた幅 */
	font-size: 1rem;
	color: #000;        /* thのpaddingと揃える */
	font-weight: 400;
	text-align: left;
	line-height: 2;
	box-sizing: border-box;
	padding-top: 28px;
	padding-right: 10px;
	padding-bottom: 28px;
	padding-left: 42px;
}

/* スマホ表示用 */
@media (max-width: 768px) {
.table-box4 {
	max-width: 100%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 125px;
	margin-left: auto;
	border-collapse: collapse;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D0D0D0;
}

.table-box4 .row {
	display: flex;
	align-items: stretch;
	padding: 0;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D0D0D0;
}

.table-box4 .row .th {
	width: 100px;
	font-weight: 900;
	font-size: 1rem;
	color: #000;
	text-align: center;        /* flexを使う場合は必須ではない */
	background-color: #EFEFEF;

	display: flex;             /* 中の文字を縦横中央 */
	align-items: center;       /* 縦中央 */
	justify-content: center;   /* 横中央 */
	padding: 10px 0;           /* 高さ調整用 padding */
	box-sizing: border-box;    /* padding込みで高さを計算 */
}

.table-box4 .row .td {
	width: calc(100% - 100px); /* th分を除いた幅 */
	font-size: 1rem;
	color: #000;        /* thのpaddingと揃える */
	font-weight: 400;
	text-align: left;
	line-height: 2;
	box-sizing: border-box;
	padding-top: 28px;
	padding-right: 10px;
	padding-bottom: 28px;
	padding-left: 20px;
}
}


.table-box5 table {
	width: 100%;
	border-collapse: collapse; /* 枠線を重ねず1本線に */
	font-size: 1rem;
	text-align: center;
	border: 1px solid #ccc;
	margin-bottom: 180px;
}
.table-box5 {
  width: 100%;
  overflow-x: auto;   /* 横スクロールを許可 */
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
}

/* 表を内包させて横スクロール可能に */
.table-box5 table {
  min-width: 600px; /* 小さすぎないよう最低幅を確保（必要に応じて調整） */
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: center;
  border: 1px solid #ccc;
  margin-bottom: 180px;
}


.table-box5 th,
.table-box5 td {
  border: 1px solid #ccc;
  padding: 15px;
  vertical-align: middle;
}

/* --- ヘッダー行 --- */
.table-box5 thead th {
  font-weight: 700;
  text-align: center;
  border: 1px solid #ccc;
}

/* 各列ヘッダーの背景色（下の列と対応） */
.table-box5 thead th:nth-child(2) { background-color: #E0EDBB; } /* L800FJ */
.table-box5 thead th:nth-child(3) { background-color: #EFFDFB; } /* M600FJ */
.table-box5 thead th:nth-child(4) { background-color: #FBF3D9; } /* SL特急Ⅱ型 */

/* 1列目（地方名） */
.table-box5 thead th:first-child {
  background-color: #f6f6f6;
}
.table-box5 tbody th {
	text-align: left;
	font-weight: 500;
	white-space: nowrap;
	padding-left: 10px;
}

/* --- 本文の背景色 --- */
.table-box5 tbody td:nth-child(2) { background-color: #E0EDBB; } /* L800FJ */
.table-box5 tbody td:nth-child(3) { background-color: #EFFDFB; } /* M600FJ */
.table-box5 tbody td:nth-child(4) { background-color: #FBF3D9; } /* SL特急Ⅱ型 */

/* スマホ対応 */
@media (max-width: 768px) {
  
  .table-box5 table {
	width: 100%;
	border-collapse: collapse; /* 枠線を重ねず1本線に */
	font-size: 0.9rem;
	text-align: center;
	border: 1px solid #ccc;
	margin-bottom: 60px;
}
  .table-box5 table {
	font-size: 0.7rem;
  }
  .table-box5 th,
  .table-box5 td {
    padding: 10px;
  }
  .table-box5 tbody th {
	text-align: left;
	font-weight: 500;
	white-space: nowrap;
	padding-left: 10px;
}

  .table-box5 {
    margin-bottom: 60px; /* 少し間隔を詰める */
  }

  .table-box5 th,
  .table-box5 td {
    padding: 10px;
    white-space: nowrap; /* 折り返し防止で見やすく */
  }
}



/*---------------------
  フェード効果
---------------------*/
	
.fadein1 {
	opacity : 0;
	transform : translate(0px, 14px);
	transition : all 1000ms;
}
.fadein1.scrollin {
	opacity : 1;
	transform : translate(0px, 0px);
}
.fadein2 {
	opacity : 0;
	transform : translate(50px, 0px);
	transition : all 1400ms;
}
.fadein2.scrollin {
	opacity : 1;
	transform : translate(0px, 0px);
}
.fadein3 {
	opacity : 0;
	transform : translate(-50px, 0px);
	transition : all 1400ms;
}
.fadein3.scrollin {
	opacity : 1;
	transform : translate(0px, 0px);
}

/*---------------------
  スライダー
---------------------*/
.twosize-content_right {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* メインスライダー */
.slider-for {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1; /* 正方形比率維持 */
  margin: 0 auto;
  position: relative;
}

.slider-for img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  box-sizing: border-box;
  display: block;
}

/* サムネイルスライダー */
.slider-nav {
  width: 100%;
  max-width: 520px;
  margin: 15px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  overflow: visible;
}

/* 各スライド */
.slider-nav .slick-slide {
  margin: 0 2px;
  box-sizing: border-box;
  min-width: 0;
}

/* サムネイル画像 */
.slider-nav img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  display: block;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  box-sizing: border-box;
}

/* 選択中スライド */
.slider-nav .slick-current img {
  opacity: 1;
  transform: scale(1);
}

/* 矢印共通 */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 18px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* 左矢印画像 */
.slick-prev {
  left: calc(0px - 35px);
  background: url('../img/arrow-left.png') no-repeat center center;
  background-size: contain;
}

/* 右矢印画像 */
.slick-next {
  right: calc(0px - 35px);
  background: url('../img/arrow-right.png') no-repeat center center;
  background-size: contain;
}

.slider-nav .slick-next,
.slider-nav .slick-prev {
  text-indent: -9999px;
}

/* デフォルトの ::before は消す */
.slick-prev::before,
.slick-next::before {
  content: '';
}

/* ドットは非表示 */
.slick-dots {
  display: none !important;
}

/* -----------------------------
   📱 レスポンシブ対応
----------------------------- */
@media (max-width: 768px) {
  
  .slider-for img {
  width: 99%;
}
  .slider-for {
    max-width: 90%;
  }

  .slider-nav {
    max-width: 90%;
    margin-top: 10px;
  }

  .slider-nav img {
    max-width: 80px;
  }

  .slick-prev {
    left: -15px;
    width: 10px;
    height: 18px;
  }

  .slick-next {
    right: -15px;
    width: 10px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .slider-for {
    max-width: 100%;
  }

  .slider-nav {
    max-width: 100%;
  }

  .slider-nav img {
    max-width: 60px;
  }

  .slick-prev {
    left: -25px;
    width: 12px;
    height: 18px;
  }

  .slick-next {
    right: -25px;
    width: 12px;
    height: 18px;
  }
}

/* -----------------------------
   2
----------------------------- */
.twosize-content_right {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* メインスライダー */
.slider-for2 {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1; /* 正方形比率維持 */
  margin: 0 auto;
  position: relative;
}

.slider-for2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  box-sizing: border-box;
  display: block;
}

/* サムネイルスライダー */
.slider-nav2 {
  width: 100%;
  max-width: 520px;
  margin: 15px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  overflow: visible;
}

/* 各スライド */
.slider-nav2 .slick-slide {
  margin: 0 2px;
  box-sizing: border-box;
  min-width: 0;
}

/* サムネイル画像 */
.slider-nav2 img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  display: block;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  box-sizing: border-box;
}

/* 選択中スライド */
.slider-nav2 .slick-current img {
  opacity: 1;
  transform: scale(1);
}

/* 矢印共通 */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 18px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* 左矢印画像 */
.slick-prev {
  left: calc(0px - 35px);
  background: url('../img/arrow-left.png') no-repeat center center;
  background-size: contain;
}

/* 右矢印画像 */
.slick-next {
  right: calc(0px - 35px);
  background: url('../img/arrow-right.png') no-repeat center center;
  background-size: contain;
}

.slider-nav2 .slick-next,
.slider-nav2 .slick-prev {
  text-indent: -9999px;
}

/* デフォルトの ::before は消す */
.slick-prev::before,
.slick-next::before {
  content: '';
}

/* ドットは非表示 */
.slick-dots {
  display: none !important;
}
/* -----------------------------
   3
----------------------------- */
.twosize-content_right {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* メインスライダー */
.slider-for3 {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1; /* 正方形比率維持 */
  margin: 0 auto;
  position: relative;
}

.slider-for3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  box-sizing: border-box;
  display: block;
}

/* サムネイルスライダー */
.slider-nav3 {
  width: 100%;
  max-width: 520px;
  margin: 15px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  overflow: visible;
}

/* 各スライド */
.slider-nav3 .slick-slide {
  margin: 0 2px;
  box-sizing: border-box;
  min-width: 0;
}

/* サムネイル画像 */
.slider-nav3 img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #BEBEBE;
  border-radius: 0;
  display: block;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  box-sizing: border-box;
}

/* 選択中スライド */
.slider-nav3 .slick-current img {
  opacity: 1;
  transform: scale(1);
}

/* 矢印共通 */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 18px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* 左矢印画像 */
.slick-prev {
  left: calc(0px - 35px);
  background: url('../img/arrow-left.png') no-repeat center center;
  background-size: contain;
}

/* 右矢印画像 */
.slick-next {
  right: calc(0px - 35px);
  background: url('../img/arrow-right.png') no-repeat center center;
  background-size: contain;
}

.slider-nav3 .slick-next,
.slider-nav3 .slick-prev {
  text-indent: -9999px;
}

/* デフォルトの ::before は消す */
.slick-prev::before,
.slick-next::before {
  content: '';
}

/* ドットは非表示 */
.slick-dots {
  display: none !important;
}

/*--------------------------------
 FAQ全体
--------------------------------*/
.faq {
	max-width: 980px;
	margin: 0 auto;
}

/*--------------------------------
 アコーディオン全体
--------------------------------*/
.accordion_one {
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: hidden;
}

/*--------------------------------
 Q（質問部分）
--------------------------------*/
.accordion_header {
	display: flex;
	align-items: stretch; /* ← 背景を下まで伸ばすために必須 */
	justify-content: space-between;
	cursor: pointer;
	transition: background 0.3s;
	padding: 0; /* Q背景との段差を防ぐ */
	background-color: #FFFFFF;
}

.accordion_header:hover {
	background-color: #FFFFFF;
}

/* Qアイコン */
.faq-icon.q-icon {
  width: 60px;
  background: #CF000E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon.q-icon img {
  width: 24px;
  height: auto;
}

/* 質問テキスト */
.accordion_header p {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 20px 15px;
  color: #333;
  display: flex;
  align-items: center; /* 縦中央に配置 */
}

/* プラスマーク（開閉アイコン） */
.i_box {
  width: 20px;
  height: 20px;
  position: relative;
  margin-right: 15px;
  align-self: center;
}

.one_i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #000;
  transform: translate(-50%, -50%);
}

.one_i::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 12px;
  background: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}

/* 開いた時に「＋」を「－」に */
.accordion_header.open .one_i::after {
  opacity: 0;
}

/*--------------------------------
 A（回答部分）
--------------------------------*/
.accordion_inner {
	display: none;
	background-color: #FFFBFB;
}

.box_one {
  display: flex;
  align-items: stretch; /* 背景を下まで伸ばす */
}

/* Aアイコン背景 */
.faq-icon.a-icon2 {
  width: 60px;
  background: #FF7373;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon.a-icon2 img {
  width: 24px;
  height: auto;
}

/* 回答テキスト */
.txt_a_ac {
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  padding: 20px 15px;
  color: #333;
  display: flex;
  align-items: center; /* 縦中央に */
}

@media (max-width: 768px) {

.faq {
	max-width: 980px;
	margin: 0 auto;
}

/* Qアイコン */
.faq-icon.q-icon {
  width: 50px;
  background: #CF000E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon.q-icon img {
  width: 18px;
  height: auto;
}

/* Aアイコン背景 */
.faq-icon.a-icon2 {
  width: 50px;
  background: #FF7373;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon.a-icon2 img {
  width: 18px;
  height: auto;
}
}
/*---------------------
  メールフォーム
---------------------*/


#formWrap {
	
}


table.formTable {
	border-collapse: collapse;
	border-spacing: 0;
	margin-right: auto;
	margin-left: auto;
	width: 96%;
	margin-bottom: 30px;
}
table.formTable tr th {
	font-weight: bold;
	font-size: 100%;
	padding-top: 44px;
	padding-bottom: 44px;
	width: 28%;
	line-height: 36px;
	vertical-align: middle;
	background-color: #FFFFFF;
	text-align: left;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	color: #000000;
	position: relative;
	padding-left: 10px;
}

table.formTable tr td {
	font-size: 100%;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 40px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
}


table.formTable tr td ul li,table.mailform tr td ul,table.mailform tr td ol,table.mailform tr td ol li {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
table.formTable tr td ul li {
	float: left;
	padding: 0px 10px 0px 0px;
}
table.formTable tr td p,table.mailform tr td div,table.mailform tr td span {
	clear: both;
}

#contact_type {
	width: 60%;
	font-size: 110%;
	display: block;
	border: 1px solid #939393;
	background-color: #FFFFFF;
	padding-top: 15px;
	padding-right: 5px;
	padding-bottom: 15px;
	padding-left: 5px;
}

input[type="text"], textarea {
	width: 96%;
	padding: 10px 5px;
	font-size: 110%;
	display: block;
	border: 1px solid #939393;
	background-color: #FFFFFF;
}
input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
input[type="reset"], input[type="submit"]{
	display: inline-block;
	width: 30%;
	height: 58px;
	border: none;
	margin: 10px 0;
	font-size: 16px;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #CF000E;
}

.cont_a a{
	color: #FFFFFF;
	text-decoration: underline;
}

.cont_a a:hover{
	color: #FFFFFF;
	text-decoration: none;
}

.hissu {
	width: 44px;
	position: absolute;
	right: 6px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.from-p1 {
	font-size: 100%;
	line-height: 24px;
	margin-bottom: 10px;
}

.from-p2 {
	font-size: 100%;
	line-height: 28px;
	clear: both;
	margin-bottom: 50px;
	margin-top: 60px;
	text-align: center;
}
.from-p2 a:link {
	color: #333333;
	text-decoration: underline;
}
.from-p2 a:visited {
	color: #333333;
	text-decoration: none;
}
.from-p2 a:hover {
	text-decoration: underline;
}




.from-td1 {
	padding-right: 100px;
}
.from-td2 {
	width: 25%;
	float: left;
	margin-bottom: 12px;
}
.from-td3 {
	width: 30%;
	float: left;
	margin-bottom: 12px;
}
.from-td4 {
	width: 25%;
	float: left;
}


.formTable2 {
	width: 96%;
	border-collapse: collapse;
	font-size: 1.2rem;
	color: #000;
	font-weight: 700;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 70px;
	margin-left: auto;
}

.formTable2 th,
.formTable2 td {
  border: 1px solid #ccc;
  padding: 15px;
  vertical-align: middle;
}

.formTable2 thead th {
  background: #f9f9f9;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: left;
  padding: 20px;
}

.formTable2 th {
	width: 450px;
	font-weight: 700;
	text-align: left;
}

.formTable2 th .price {
	display: block;
	margin-top: 5px;
	font-size: 1rem;
	color: #CF000D;
	font-weight: 700;
}

.formTable2 td select {
	width: 200px;
	padding: 8px;
	font-size: 1rem;
}
input[type="text"], 
textarea, 
select {
  width: 96%;
  padding: 15px 5px;
  font-size: 100%;
  display: block;
  border: 1px solid #939393;
  background-color: #FFFFFF;
  box-sizing: border-box;
  border-radius: 2px; /* 任意：角を少し丸く */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .formTable2,
  .formTable2 thead,
  .formTable2 tbody,
  .formTable2 th,
  .formTable2 td,
  .formTable2 tr {
    display: block;
    width: 98%;
  }

  .formTable2 thead th {
	width: 95.7%;
	border-bottom: none;
	 background: #f9f9f9;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: left;
  padding: 20px;
  }

  .formTable2 th {
    border-bottom: none;
  }

  .formTable2 td {
    border-top: none;
    padding-top: 10px;
  }

  .formTable2 td select {
    width: 98%;
  }
}





.ma-td1 {
	float: left;
	font-size: 92%;
	clear: both;
	margin-bottom: 16px;
	letter-spacing: 0.1em;
}
.ma-td2 {
	float: left;
	font-size: 92%;
	line-height: 24px;
	clear: both;
	margin-bottom: 16px;
	letter-spacing: 0.1em;
}
.ma-td3 {
	float: left;
	font-size: 92%;
	line-height: 16px;
	clear: both;
	letter-spacing: 0.1em;
}





.side01 {
	position: fixed;
	bottom: 330px;
	right: 0px;
	z-index: 9999;
}
.side02 {
	position: fixed;
	bottom: 198px;
	right: 0px;
	z-index: 9999;
}
.side03 {
	position: fixed;
	bottom: 90px;
	right: 0px;
	z-index: 9999;
}

.sphide {
	display: block;
}
.spdisp {
	display: none;
}
.sphide2 {
	display: block;
}
.spdisp2 {
	display: none;
}



/* タブレット横
------------------------------------------------------------*/
@media screen and (max-width: 1024px) {


body {
	min-width: auto;
}
.sphide2 {
	display: none;
}
.spdisp2 {
	display: block;
}


}	
/* iPhone6 Plus
------------------------------------------------------------*/
@media (max-width: 768px) {
body {
	min-width: auto;
}
.td-img {
	margin-bottom: 40px;
	text-align: center; /* 画像を中央寄せ */
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
.td1 {
	margin-bottom: 15px;
}
.td2 {
	padding-bottom: 60px;
}
.td3 {
	padding-right: 30px;
}
.td4 {
	margin-bottom: 90px;
}
.td5 {
	padding-bottom: 25px;
}
.td6 {
	padding-bottom: 60px;
	padding-top: 60px;
}
.td-img1 {
	margin-bottom: 10px;
	text-align: center; /* 画像を中央寄せ */
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}
.td-img2 {
	margin-bottom: 0px;
	text-align: left; /* 画像を中央寄せ */
	width: 100%;
}
.td-img3 {
	margin-bottom: 10px;
	text-align: left; /* 画像を中央寄せ */
	width: 60%;
	padding-left: 6%;
}

/*---------------------
  メールフォーム
---------------------*/


#formWrap {
	
}



table.formTable {
	border-collapse: collapse;
	border-spacing: 0;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}
table.formTable tr th {
	border-bottom: none;
	font-weight: bold;
	font-size: 92%;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 2%;
	width: 95%;
	text-align: left;
	line-height: 36px;
	vertical-align: top;
	clear: left;
	float: left;
}
table.formTable tr th span {
	font-size: 10px;
	color: #999999;
	display: block;
}
table.formTable tr td {
	font-size: 92%;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 2%;
	width: 95%;
	clear: left;
	float: left;
	border-top-width: 1px;
	border-bottom-width: 0px;
	border-top-style: none;
	border-bottom-style: none;
	border-top-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
}
table.formTable tr td ul li,table.mailform tr td ul,table.mailform tr td ol,table.mailform tr td ol li {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
table.formTable tr td ul li {
	float: left;
	padding: 0px 10px 0px 0px;
}
table.formTable tr td p,table.mailform tr td div,table.mailform tr td span {
	clear: both;
}



input[type="text"], textarea {
	width: 96%;
	padding: 10px 5px;
	font-size: 110%;
	display: block;
	border: 1px solid #939393;
	background-color: #FFFFFF;
}
input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
input[type="reset"], input[type="submit"]{
	display: inline-block;
	width: 70%;
	height: 58px;
	border: none;
	margin: 10px 0;
	font-size: 16px;
	border-radius: 20px;
	font-weight: 500;
	color: #FFFFFF;
	border-radius: 10px;
	background-color: #990000;
}

.cont_a a{
	color: #555;
	text-decoration: underline;
}

.cont_a a:hover{
	color: #555;
	text-decoration: none;
}

.hissu {
	float: right;
	width: 50px;
	padding: 0px;
	margin-right: 6px;
}


.from-td1 {
	padding-right: 100px;
}
.from-td2 {
	width: 45%;
	float: left;
	margin-bottom: 12px;
}
.from-td3 {
	width: 45%;
	float: left;
	margin-bottom: 12px;
}
.from-td4 {
	width: 45%;
	float: left;
}

.sphide {
	display: none;
}
.spdisp {
	display: inline;
}
.sphide2 {
	display: none;
}
.spdisp2 {
	display: block;
}

}
