body {
  font-size: 16px; /* 全体のフォントサイズ */
  color: #3e3a39; /* 全体の文字色 */
  line-height: 170%; /* フォントサイズの170% */
  font-family: Arial, sans-serif; /* フォントファミリー */
}
p {
  line-height: 170%; /* フォントサイズの170% */
}
hr {
  margin: 20px 0;
  border: none;
  border-top: 2px dashed #999; /* 点線に変更 */
  border-top: 1px dashed #999; /* 1pxの細い点線に変更 */
}
ul.cp_list {
  padding: 0.5em;
  list-style-type: none;
}
ul.cp_list li {
  position: relative;
  padding: 0em 0.3em 0.3em 1.3em;
}
ul.cp_list li::before {
  position: absolute;
  content: '';
  display: block;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  border-right: 3px solid #00BCD4;
  border-bottom: 3px solid #00BCD4;
  transform: rotate(-45deg);
}
.link-hover {
  color: blue; /* 通常時のリンクの色 */
  text-decoration: none; /* 通常時は下線なし */
  transition: text-decoration 0.3s ease; /* 下線の追加をスムーズに */
}
.link-hover:hover {
  text-decoration: underline; /* マウスオン時に下線を追加 */
}
/* テーブル */
.kaisha {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.kaisha th, .kaisha td {
  border: 1px solid #ccc;
  padding: 20px;
}
.kaisha th {
  font-weight: bold;
  background-color: #f2f2f2;
}
@media screen and (max-width: 767px) {
  .kaisha, .kaisha tr, .kaisha td, .kaisha th {
    display: block;
  }
  .kaisha th {
    width: auto;
  }
}
.table_saiyou {
  width: 100%;
}
@media(max-width:750px) {
  .table_saiyou {
    width: 100%;
  }
}
/* PC用のスタイル */
@media (min-width: 1025px) {
  th:nth-child(1) {
    width: 200px; /* 列1の幅を指定 */
  }
  th:nth-child(2) {
    width: 150px; /* 列2の幅を指定 */
  }
  th:nth-child(3) {
    width: 100px; /* 列3の幅を指定 */
  }
}
.textlines {
  border: 1px solid #ccc; /* 枠線 */
  border-radius: 0.67em; /* 角丸 */
  padding: 0.5em; /* 内側の余白量 */
  background-color: snow; /* 背景色 */
  width: 100%; /* 横幅いっぱいにする */
  box-sizing: border-box; /* ※これがないと横にはみ出る */
  height: 50px; /* 高さ */
  font-size: 1em; /* 文字サイズ */
  line-height: 1.2; /* 行の高さ */
}
/* 送信フォーム会社名 select */
.cp_ipselect {
  position: relative;
  width: 95%;
  margin: 2em auto;
  text-align: center;
}
.cp_sl02 {
  position: relative;
  font-family: inherit;
  background-color: transparent;
  width: 100%;
  padding: 10px 10px 10px 0;
  font-size: 18px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.cp_sl02:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}
.cp_ipselect .cp_sl02 {
  appearance: none;
  -webkit-appearance: none
}
.cp_ipselect select::-ms-expand {
  display: none;
}
.cp_ipselect:after {
  position: absolute;
  top: 18px;
  right: 10px;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.cp_sl02_selectlabel {
  color: rgba(0, 0, 0, 0.5);
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 10px;
  transition: 0.2s ease all;
}
.cp_sl02:focus ~ .cp_sl02_selectlabel, .cp_sl02:valid ~ .cp_sl02_selectlabel {
  color: #000000;
  top: -20px;
  transition: 0.2s ease all;
  font-size: 14px;
}
.cp_sl02_selectbar {
  position: relative;
  display: block;
  width: 100%;
}
.cp_sl02_selectbar:before, .cp_sl02_selectbar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #da3c41;
  transition: 0.2s ease all;
}
.cp_sl02_selectbar:before {
  left: 50%;
}
.cp_sl02_selectbar:after {
  right: 50%;
}
.cp_sl02:focus ~ .cp_sl06_selectbar:before, .cp_sl06:focus ~ .cp_sl06_selectbar:after {
  width: 50%;
}
.cp_sl02_highlight {
  position: absolute;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}
.button {
  display: inline-block;
  font-size: 12pt; /* 文字サイズ */
  text-align: center; /* 文字位置   */
  cursor: pointer; /* カーソル   */
  padding: 13px 93px; /* 余白       */
  background: #0054a7; /* 背景色     */
  color: #ffffff; /* 文字色     */
  line-height: 1em; /* 1行の高さ  */
  transition: .3s; /* なめらか変化 */
  border: 2px solid #0054a7; /* 枠の指定 */
  width: 100%;
}
.button:hover {
  color: #0054a7; /* 背景色     */
  background: #ffffff; /* 文字色     */
}
/* タブ */
.tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.tabs input[type="radio"] {
  display: none;
}
.tabs ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #ddd;
  justify-content: space-around;
}
.tabs ul li {
  flex: 1;
  text-align: center;
}
.tabs ul li label {
  display: block;
  padding: 15px;
  background: #eee;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}
.tabs ul li label:hover {
  background: #ddd;
}
#tab1:checked ~ ul > li:nth-child(1) > label, #tab2:checked ~ ul > li:nth-child(2) > label, #tab3:checked ~ ul > li:nth-child(3) > label {
  background: #0054a7; /* 選択されたタブの背景色 */
  color: white; /* 選択されたタブのテキスト色 */
  border-bottom: 3px solid #0054a7; /* 選択されたタブのボーダー色 */
  font-weight: bold;
}
.tabs .content section {
  display: none;
  padding: 20px;
  background: white;
  border: 1px solid #ddd;
  border-top: 0;
}
#tab1:checked ~ .content section:nth-of-type(1), #tab2:checked ~ .content section:nth-of-type(2), #tab3:checked ~ .content section:nth-of-type(3) {
  display: block;
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
  .tabs ul {
    flex-direction: column;
  }
  .tabs ul li {
    width: 100%;
  }
  .tabs ul li label {
    padding: 10px;
  }
}
#tab1:checked ~ ul > li:nth-child(1) > label, #tab2:checked ~ ul > li:nth-child(2) > label, #tab3:checked ~ ul > li:nth-child(3) > label {
  background: #0054a7; /* 選択されたタブの背景色 */
  color: white; /* 選択されたタブのテキスト色 */
  border-bottom: 3px solid #0054a7; /* 選択されたタブのボーダー色 */
  font-weight: bold;
}
/* ボタン */
.button003 a {
  background: #eee;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 260px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
.button003 a:hover {
  background: #0054a7;
  color: #FFF;
}
.button003 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #313131;
  border-right: 3px solid #313131;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.button003 a:hover:after {
  border-color: #FFF;
}
/* 上に戻る */
.scroll-to-top {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px; /* ボタンの幅 */
  height: 50px; /* ボタンの高さ */
  background-color: #fff; /* 背景色：白 */
  display: none; /* 初期状態で非表示 */
  cursor: pointer;
  padding: 0; /* 余白なし */
  margin: 0; /* 余白なし */
  border: none; /* 枠線なし */
  z-index: 9999; /* 最前面に表示する */
}
.scroll-to-top img {
  width: 100%; /* 画像をボタン内にフィット */
  height: 100%; /* 画像をボタン内にフィット */
  object-fit: cover; /* 画像を枠内に収める */
}
.fade-in {
  animation: fadeIn 1s ease-out forwards; /* より柔らかいアニメーション */
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* 20px下からスタート */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* 元の位置に戻る */
  }
}
/* 見出しとテキスト枠のデザイン */
.box-design15 {
  margin: 20px auto;
}
.box-design15-ttl {
  background-color: #0054a7;
  color: #fff;
  padding: 0.5em 20px;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}
.box-design15-txt {
  padding: 10px 20px;
  border: 2px solid #0054a7;
}
/* 小見出し */
.ttl_line9 {
  background-image: linear-gradient(#84dfef 50%, #3a7c9d 50%);
  background-size: 8px 100%;
  background-repeat: no-repeat;
  padding-left: 18px;
  font-family: 'Kosugi Maru', sans-serif; /* Google Fontsで指定されたフォント名 */
}
/* 空のdivに高さを指定して余白を作成 */
.spacer {
  height: 7px; /* 余白として高さを指定 */
}
.spacer2 {
  height: 3px; /* 余白として高さを指定 */
}
.spacer3 {
  height: 20px; /* 余白として高さを指定 */
}
.spacerbox {
  padding-top: 50px; /* 上の余白 */
  padding-bottom: 0px; /* 下の余白 */
}
.spacerbox2 {
  position: relative;
  padding-top: 50px;
  padding-bottom: 0px;
  background-image: url('../img/souji.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.spacerbox2::before {
  content: ""; /* 擬似要素を生成 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5); /* クリーム色 (薄い黄色) + 透明度 */
  z-index: 1; /* 背景より上、コンテンツより下 */
}
/* 子要素が隠れないように */
.spacerbox2 > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .spacerbox2 {
    background-attachment: scroll; /* スマホでは `fixed` を無効化 */
  }
}
/*タイムライン*/
.timeline-001__section {
  position: relative;
  padding: 0 1.5em 1.5em 2em;
}
.timeline-001__section:not(:last-child)::before, .timeline-001__section::after {
  position: absolute;
  content: '';
}
.timeline-001__section:not(:last-child)::before {
  bottom: 0;
  left: 9px;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: #d6dde3;
}
.timeline-001__section::after {
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #2589d0;
}
.timeline-001__content {
  border-bottom: dashed 1px #c6cdd3;
  padding-bottom: 1.5em;
}
.timeline-001__label {
  margin-bottom: .1em;
  color: #bcbfc7;
  font-size: .85em;
}
.timeline-001__title {
  color: #333333;
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 auto .5em;
}
/* 1:2のDiv Box */
.containers {
  display: flex;
  flex-wrap: wrap; /* 子要素が折り返せるようにする */
  gap: 16px; /* ボックス間の余白 */
}
.box {
  padding: 16px;
  color: non;
  text-align: left;
}
.main-box {
  flex: 1; /* 1/3の幅 */
  background-color: #non;
}
.side-box {
  flex: 2; /* 2/3の幅 */
  background-color: #non;
}
/* スマホ時のレスポンシブ対応 */
@media (max-width: 768px) {
  .box {
    flex: 1 1 100%; /* 幅100%にする */
  }
}
/* アコーディオン */
.accordion-004 {
  max-width: 100%;
  margin-bottom: 7px;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
}
.accordion-004 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}
.accordion-004 summary::-webkit-details-marker {
  display: none;
}
.accordion-004 summary::before, .accordion-004 summary::after {
  width: 3px;
  height: .9em;
  border-radius: 5px;
  background-color: #333333b3;
  content: '';
}
.accordion-004 summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}
.accordion-004 summary::after {
  transition: rotate .3s;
}
.accordion-004[open] summary::after {
  rotate: 90deg;
}
.accordion-004 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 2em 1.5em;
  color: #333333;
  transition: transform .5s, opacity .5s;
}
.accordion-004[open] p {
  transform: none;
  opacity: 1;
}
/* 列コンテナ設定 */
.grid-container {
  display: flex;
  flex-wrap: wrap; /* 折り返しを有効化 */
  gap: 16px; /* アイテム間の余白 */
  margin: 0 auto; /* 中央揃え */
  padding: 16px; /* コンテナの内側余白 */
  max-width: 1200px; /* コンテナの最大幅 */
  box-sizing: border-box; /* パディングを含むサイズ計算 */
}
/* 各アイテム設定 */
.grid-item {
  flex: 1 1 calc(33.333% - 16px); /* 幅を3等分し、gapを引く */
  box-sizing: border-box; /* パディングを含むサイズ計算 */
  padding: 16px; /* 内側余白 */
  border: 0px solid #ddd; /* ボーダー（任意） */
  text-align: non; /* テキスト中央揃え */
}
/* レスポンシブ対応（タブレット） */
@media (max-width: 768px) {
  .grid-item {
    flex: 1 1 calc(50% - 16px); /* 幅を2等分 */
  }
}
/* レスポンシブ対応（スマホ） */
@media (max-width: 480px) {
  .grid-item {
    flex: 1 1 100%; /* 幅を100%にする */
  }
}
/* カルーセル */
.carousel {
  overflow: hidden;
  width: 100%; /* ワイド100% */
  max-width: 800px; /* 最大幅 */
  margin: auto;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 100%; /* 1スライドの幅（1枚ずつ表示） */
}
.carousel-item img {
  width: 100%;
  display: block;
}
/* ナビゲーションボタン */
.controls {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 10px auto;
}
.controls button {
  background-color: #555;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.controls button:hover {
  background-color: #333;
}
/* 事業案内ul */
.list-4 {
  border: 2px solid #0054a7;
}
.list-4 div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 0;
  background-color: #0054a7;
  color: #fff;
  font-weight: 600;
}
.list-4 ul {
  list-style-type: disc;
  margin: 0;
  padding: 1em 1em 1em 2.5em;
}
.list-4 li {
  padding: .3em .3em .3em 0;
  border-bottom: 1px dotted #0054a7; /* 点線に変更 */
}
.list-4 li:last-child {
  border-bottom: none; /* 最後の項目には線を表示しない */
}
.list-4 li::marker {
  color: #0054a7;
  font-size: 1.1em;
}
/* デバイスごとの表示オンオフ */
.device-visible {
  display: none; /* 初期状態で非表示 */
}
/* PC用スタイル */
@media screen and (min-width: 769px) {
  .pc-only {
    display: block; /* PC用コンテンツを表示 */
  }
}
/* スマホ用スタイル */
@media screen and (max-width: 768px) {
  .mobile-only {
    display: block; /* スマホ用コンテンツを表示 */
  }
}
/* 画像リンクエフェクト */
.image_link {
  display: block;
  position: relative;
  text-decoration: none;
}
.image_link img {
  display: block;
  width: 100%;
  transition: 0.3s;
}
.image_link:hover img {
  filter: blur(2px);
}
.image_link:hover:before {
  opacity: 1;
  margin-top: -0.5em;
}