@charset "UTF-8";
.space {
  height: 80px;
  /* 共通空間iPad（タブレット）サイズ */
  /* 共通空間スマホ */
}
@media (max-width: 1024px) {
  .space .space {
    height: 60px;
  }
}
@media (max-width: 768px) {
  .space .space {
    height: 40px;
  }
}

.btn-viewmore {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 344px;
  width: 100%;
  height: 72px;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #494949;
  border-radius: 9999px;
  text-align: center;
  transition: background-color 0.3s ease;
}
.btn-viewmore::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  margin-left: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: translateX(0);
}

.btn-viewmore:hover {
  background-color: #e1092c;
  color: #fff;
}
.btn-viewmore:hover::after {
  background-color: #fff;
  transform: translateX(12px);
}

.btn-viewmore {
  margin: 0 auto;
  margin-top: 40px;
}

.wpcf7-spinner {
  width: 0;
  height: 0;
  margin: 0;
}

h3 {
  position: relative;
  font-size: clamp(20px, 1.6vw, 22px);
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 0 0 0 24px;
  padding-right: 20px;
  padding-bottom: 10px;
}
h3::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: -21px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #e1092c;
}

.paragraph {
  padding-left: 1.5em;
}

body.page-id-6::after,
body.page-id-31::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58%;
  background: url("/wp-content/themes/original_theme/images/single/service_bk.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* 表示用クラスを付けたとき */
body.page-id-6.show-bg::after,
body.page-id-31.show-bg::after {
  opacity: 1;
}

/* フッター到達時に非表示 */
body.page-id-6.hide-bg::after,
body.page-id-31.hide-bg::after {
  opacity: 0;
}

/* iPad（1024px以下） */
@media (max-width: 1024px) {
  body.page-id-6::after,
body.page-id-6.show-bg::after {
    opacity: 0.3 !important;
  }
  body.page-id-31::after,
body.page-id-31.show-bg::after {
    opacity: 0.3 !important;
  }
}
#service_nav {
  background: #f0f0f0;
  padding: 20px 0;
}
#service_nav .nav-list {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 20px;
}
#service_nav .nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
  overflow: hidden;
  padding: 10px 30px 10px 30px;
  white-space: nowrap;
  border-radius: 40px;
  text-align: center;
}
#service_nav .nav-list a:hover {
  background: #fff;
  border-radius: 40px;
  border: solid 1px #e1092c;
}
#service_nav .nav-list a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

@media screen and (max-width: 1280px) {
  #service_nav .nav-list {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 10px 15px;
  }
  #service_nav .nav-list a {
    display: inline-flex;
    margin-right: 12px;
  }
}
#block_service {
  padding: 60px 0;
}
#block_service .service-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#block_service section.card {
  position: relative;
  padding: 20px;
  margin-bottom: 80px;
}
#block_service section.card .service-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 960px) {
  #block_service section.card .service-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}
#block_service section.card .service-img {
  flex: 0 0 520px;
}
#block_service section.card .service-img img {
  display: block;
  width: 475px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
}
#block_service section.card .service-text {
  flex: 1;
}
#block_service section.card .service-text h2 {
  line-height: 1.4;
  margin: 0 0 1rem;
  position: relative;
  font-size: clamp(26px, 2.083vw, 40px);
  font-weight: 600;
}
#block_service section.card .service-text h2::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  background-color: #e1092c;
  height: 4px;
  width: 30%;
  border-radius: 5px;
  z-index: 2;
}
#block_service section.card .service-text h2::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 0;
  background-color: #494949;
  height: 4px;
  width: 100%;
  border-radius: 5px;
  z-index: 1;
}
#block_service section.card .service-text p {
  margin-bottom: 1rem;
  color: #222;
}

.custom-list {
  list-style-type: disc;
  margin-left: 1.5em;
  padding-left: 1em;
  color: #222;
  margin-bottom: 1rem;
}
.custom-list li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  #block_service section.card .service-img {
    flex: 0 0 40px;
  }
  section.card .service-text h2 {
    text-align: center;
  }
  .section .card {
    margin-bottom: 30px;
  }
  body.page-id-6::after {
    display: none;
  }
  body.page-id-31::after {
    display: none;
  }
  #block_service section.card {
    margin-bottom: 0px;
  }
}
.footnote {
  font-size: 0.6em;
  vertical-align: super;
}

body.page-id-25 h3::before {
  content: none !important;
  margin: 0 0 0 24px;
  padding-right: 20px;
}

body.page-id-25 h3 {
  margin: 0;
  padding-right: 2;
}

.more-content {
  max-height: 150px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
  /* フェード効果 */
}
.more-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 80%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.more-content.expanded {
  max-height: 2000px;
}
.more-content.expanded::after {
  opacity: 0;
}

.readmore-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 28px;
  border: 1px solid #222;
  border-radius: 3px;
  background: #fff;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.readmore-btn:hover {
  background: #494949;
  color: #fff;
}

#block_book section.card {
  position: relative;
  padding: 20px;
  margin-bottom: 40px;
}

#block_book .book-container {
  padding: 60px 0;
}
#block_book .book-container section.card h2 {
  line-height: 1.4;
  margin: 0 0 1rem;
  position: relative;
  font-size: clamp(26px, 2.083vw, 40px);
  font-weight: 600;
  padding: 10px;
}
#block_book .book-container section.card p {
  padding: 10px;
}

.book-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 40px 0;
  border-bottom: 1px solid #222;
  padding: 20px 10px;
}

.book-item:first-of-type {
  border-top: 1px solid #222;
}

.book-item img {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}

.book-info {
  flex: 1;
}

.book-info h3 {
  position: relative;
  font-size: clamp(20px, 1.6vw, 22px);
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 0 0 0 24px;
  padding-right: 20px;
  padding-bottom: 10px;
}

.book-info p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.custom-list {
  margin: 0;
  padding-left: 3em;
}

#book_nav {
  background: #f2f2f2;
  padding: 60px 0;
}
#book_nav .book_nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
#book_nav .book_nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 260px;
  height: 80px;
  border: 1px solid #e1092c;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
#book_nav .book_nav-list a::after {
  content: "▼";
  font-size: 10px;
  margin-top: 6px;
  color: #e1092c;
  transition: color 0.3s ease;
}
#book_nav .book_nav-list a:hover {
  background: #e1092c;
  color: #fff;
  border-color: #e1092c;
}
#book_nav .book_nav-list a:hover::after {
  color: #fff;
}
#book_nav .book_nav-list a.active {
  background: #e1092c;
  color: #fff;
  border-color: #e1092c;
  padding: 10px;
}
#book_nav .book_nav-list a.active::after {
  color: #fff;
}

@media (max-width: 768px) {
  #block_book .book-item {
    display: block !important;
    padding: 20px 0;
    margin: 30px 0;
    border-bottom: 1px solid #222;
  }
  .book_nav-list {
    gap: 10px;
  }
  .book_nav-list a {
    width: 90%;
    height: 70px;
    font-size: 13px;
  }
  #block_book section.card {
    padding: 0;
  }
  .book-item img {
    margin: 0 auto;
    padding-bottom: 20px;
  }
}
.company-container {
  padding: 40px;
  box-sizing: border-box;
  max-height: 1280px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  table-layout: fixed;
}
.company-table th,
.company-table td {
  padding: 24px 0;
  vertical-align: top;
  font-size: 18px;
  box-sizing: border-box;
  display: block;
}
.company-table th {
  width: 20em;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}
.company-table td {
  padding-left: 6rem;
  word-break: break-word;
  width: 100%;
}
.company-table .company-map {
  display: block;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
}

.company-table tr {
  position: relative;
  display: flex;
}
.company-table tr::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #e1092c 30%, #494949 30%, #494949 100%);
}

/* Google Map ラッパー */
.map-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: auto;
  overflow: hidden;
  border-radius: 6px;
  margin-top: 16px;
  width: 100%;
}
.map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- タブレット対応 --- */
@media (max-width: 1024px) {
  .company-table th {
    width: 10em;
  }
}
/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .table-map {
    width: 100%;
  }
  .company-container {
    padding: 0;
  }
  .company-table th {
    text-align: left;
    padding-left: 0.5rem;
    width: 8em;
  }
  .company-table td {
    padding-left: 1rem;
  }
  .company-table.table-map tr {
    display: block;
    margin-bottom: 1.5em;
  }
  .company-table.table-map th,
.company-table.table-map td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .company-table.th {
    font-weight: bold;
    margin-bottom: 0.5em;
    padding-left: 0;
  }
  .map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  .table-map td {
    padding-left: 0;
  }
}
.course-table {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: nowrap;
  box-sizing: border-box;
  margin: 20px auto;
  max-width: 1366px;
  padding: 20px;
  align-items: stretch;
}

.course-card {
  flex: 1 1 30%;
  border-radius: 8px;
  padding-bottom: 20px;
  min-width: 300px;
}

.course-header {
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 1.2rem;
  border-radius: 8px;
}

.course-header.basic {
  background: #e1092c;
}

.course-header.advanced {
  background: #e1092c;
}

.course-header.pro {
  background: #e1092c;
}

.shadow-box {
  background: #fff;
  margin: 20px 0;
  padding: 20px 10px 10px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: solid 0.8px #707070;
}

.course-sections {
  display: grid;
  grid-template-rows: 0.65fr 0.36fr 1fr;
  height: 97%;
}

.course-section h4 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 18px;
}

.course-section p {
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
}

.training_title {
  line-height: 1.4;
  margin: 0 0 1rem;
  position: relative;
  font-size: clamp(26px, 2.083vw, 40px);
  font-weight: 600;
  padding: 10px;
  text-align: center;
}

.duration {
  font-size: 24px;
}

.course-section ul {
  list-style: disc;
  padding-left: 1em;
  margin: 0;
  font-weight: 500;
}

.course-section li {
  line-height: 1.6;
  margin-bottom: 4px;
}

.training_text {
  padding: 0 40px;
  max-width: 1366px;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}

.training-wrapper {
  background-color: #ECECEC;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 0;
}

@media (max-width: 1020px) {
  .course-table {
    flex-direction: column;
    align-items: center;
  }
  .course-sections {
    grid-template-rows: auto;
  }
  .shadow-box {
    margin: 10px 0;
  }
  .course-card {
    width: 100%;
    flex: none;
  }
}
/* PCで改行させない、文字サイズを調整する */
.course-section ul li {
  white-space: nowrap;
  font-size: clamp(12px, 1.2vw, 16px);
}

/* gapも可変に */
.course-table {
  display: flex;
  gap: clamp(10px, 2vw, 40px);
  justify-content: center;
  flex-wrap: nowrap;
  margin: 20px auto;
  max-width: 1366px;
  padding: 20px;
  box-sizing: border-box;
}

/* スマホでは文字サイズを戻す＋改行を許可 */
@media (max-width: 1020px) {
  .training_text {
    padding: 0 20px;
  }
  .course-section ul li {
    white-space: normal;
    font-size: 14.5px;
  }
  .shadow-box {
    padding: 20px 10px 20px 24px;
  }
  .course-table {
    flex-direction: column;
    gap: 20px;
  }
}
/* 360以下のスマホ表示文字サイズ調整 */
@media (max-width: 360px) {
  .course-section ul li {
    white-space: normal;
    font-size: 13.5px;
  }
  .course-table {
    flex-direction: column;
    gap: 20px;
  }
}
.container .contact-form h2 {
  line-height: 1.4;
  margin: 0 0 1rem;
  position: relative;
  font-size: clamp(26px, 2.083vw, 40px);
  font-weight: 600;
  padding: 10px;
  text-align: center;
}

.privacy-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  background-color: #fff;
  max-width: 1000px;
  width: 100%;
  margin: 40px auto;
}

@media (max-width: 1280px) {
  .privacy-box {
    width: 100%;
  }
}
.privacy-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.privacy-text {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 16px;
  background-color: #fafafa;
  max-height: 180px; /* 表示高さ（スクロール発生） */
  overflow-y: auto;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}

/* スクロールバーのデザイン調整（任意） */
.privacy-text::-webkit-scrollbar {
  width: 8px;
}

.privacy-text::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.privacy-text::-webkit-scrollbar-track {
  background-color: #f8f8f8;
}

/*ContactForm7カスタマイズ*/
/* ==============================
   問い合わせフォーム基本スタイル
============================== */
.privacy-text p {
  padding-left: 1em;
}

.wpcf7 form {
  max-width: 1000px;
  margin: 0 auto;
  color: #222;
}

/* テーブル全体 */
.CF7_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 20px;
  table-layout: fixed;
}

/* 左側の項目タイトル */
.CF7_table th {
  width: 25%;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  padding-right: 20px;
  white-space: nowrap;
}

/* 右側の入力欄 */
.CF7_table td {
  width: 75%;
}

/* 必須マーク */
.CF7_req {
  display: inline-block;
  background: #e1092c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 共通入力欄デザイン */
.CF7_table input[type=text],
.CF7_table input[type=email],
.CF7_table select,
.CF7_table textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease;
}

/* フォーカス時の強調 */
.CF7_table input[type=text]:focus,
.CF7_table input[type=email]:focus,
.CF7_table select:focus,
.CF7_table textarea:focus {
  border-color: #e1092c;
  background: #fff;
  outline: none;
}

/* テキストエリア */
.CF7_table textarea {
  height: 180px;
  resize: vertical;
}

/* --- 送信ボタン --- */
.CF7_btn {
  text-align: center;
  margin-top: 40px;
}

.CF7_btn input[type=submit] {
  background: #444;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 12px 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.CF7_btn input[type=submit]:hover {
  background: #000;
}

/* ページID27のときだけリセット */
body.page-id-27 #footer {
  padding-top: 0;
  margin-top: 0;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .CF7_table th,
.CF7_table td {
    display: block;
    width: 100%;
  }
  .CF7_table th {
    margin-bottom: 6px;
  }
  .CF7_btn {
    margin-top: 30px;
  }
  .privacy-box {
    width: 100%;
  }
}
/* ラジオボタンを再表示する */
.wpcf7-list-item input[type=radio] {
  -moz-appearance: auto !important;
       appearance: auto !important; /* ブラウザ標準の丸ボタンを復活 */
  -webkit-appearance: radio !important;
  display: inline-block !important;
  margin-right: 6px;
  vertical-align: middle;
}

/* ラベルの間隔を整える */
.wpcf7-list-item-label {
  margin-right: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* ラジオボタン群の配置を横並び整列 */
.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin-right: 20px;
}

/* ============================
   プライバシーポリシー同意チェック
============================ */
.privacy-check {
  margin: 30px 0 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}
.privacy-check label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.privacy-check label input[type=checkbox] {
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  transition: all 0.2s ease;
}
.privacy-check label input[type=checkbox]:checked {
  background-color: #E1092C;
  border-color: #E1092C;
  position: relative;
}
.privacy-check label input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.privacy-check label input[type=checkbox]:focus {
  outline: 2px solid rgba(225, 9, 44, 0.3);
  outline-offset: 2px;
}
.privacy-check .privacy-link {
  margin-top: 10px;
}
.privacy-check .privacy-link a {
  color: #0073d0;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.privacy-check .privacy-link a:hover {
  color: #e1092c;
  text-decoration: none;
}

.page-id-31 #service_nav .nav-list a {
  font-size: 13.5px;
}
/*# sourceMappingURL=page.css.map */