/*
Theme Name: kainos
Template: hello-elementor
*/


body {
  overflow-x: hidden;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/2025/06/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('/wp-content/uploads/2025/07/Josefin_Sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


.obi-section {
  text-align: left;
  color: white;
}

.obi-section h2 {
  font-family: NotoSans JP;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.obi-section p {
  font-family: 'montserrat', sans-serif !important;
  font-size: 21px;
  font-weight: 400;
  margin-top: 7px;
}

.note {
  font-size: 14px;
}

.course-section .note {
  font-size: 13px;
}

/* --- デフォルト：PC表示用（スマホでは非表示） --- */
.sp {
  display: none;
}

.pc {
  display: inline !important;
  white-space: nowrap;
}


/* ───────────── Course Section ───────────── */
.course-section {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.course-section.reverse {
  flex-direction: row-reverse;
}

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

.course-section.reverse .course-image img {
  /* 差分必要ならここに */
}

.course-details {
  text-align: center;
  position: relative;
  flex: 1;
  margin-top: 60px;
  margin-left: -80px;
  background: #fff;
  z-index: 1;
  box-sizing: border-box;
  padding: 45px 55px;
  /* 角カット・右枠・下枠 */
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  border-right: 10px solid #A9CBFB;
  border-bottom: 10px solid #A9CBFB;
}

.course-section.reverse .course-details {
  margin-left: 0;
  margin-right: -80px;
  /* 左上カット・左枠・下枠 */
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-left: 10px solid #A9CBFB;
  border-right: none;
}

.course-title {
  width: 100%;
  background: #221B63;
  color: #fff;
  padding: 21px 24px;
  font-size: 24px;
  margin: 0 0 26px;
  font-weight: 600;
  display: block;
}

.course-price {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 12px;
}

.course-price .price-tax {
  font-size: 20px;
  font-weight: 600;
}


/* 特徴 */
.course-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;

  display: inline-flex;
  /* 横並びではなくインライン扱いの flexbox */
  flex-direction: column;
  /* リストアイテムを縦方向に並べる */
  align-items: flex-start;
  /* 各 li の内容は左揃え */
}


.course-features li {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;

  margin-bottom: 8px;
}

.course-features .feature-icon {
  width: 20px;
  height: auto;
  margin-right: 8px;
  flex-shrink: 0;
}

.course-divider {
  border: none;
  border-bottom: 2px solid #221B63;
  margin: 0 0 24px;
}

.course-subtitle {
  color: #221B63;
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 9px;
}

.course-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ───────────── School Check ───────────── */
.school-check {
  margin-top: 10px;
}

.school-check__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #221B63;
}

.school-check__features {
  display: flex;
  gap: 3px;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.feature {
  background: #fff;
  border-radius: 8px;
  flex: 1;
  max-width: 384px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__media img {
  width: 20px;
  height: auto;
  margin-bottom: 14px;
}

.feature__label {
  font-style: normal !important;

  margin: 0 0 15px 4px;
  font-size: 17px;
  font-weight: 600;
  color: #3399FF;
}

.feature__text {
  font-style: normal !important;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.school-check__info-list dl {
  display: flex;
  align-items: center;
  margin: 40px 0 0 0;
  padding: 0;
}

.school-check__info-list dl+dl {
  margin-top: 14px;
}

.school-check__info-list dl:first-child {
  border-bottom: 1.5px solid #3399FF;
  padding-bottom: 14px;
}

.school-check__info-list dt {
  flex: 0 0 auto;
}

.school-check__info-list dd {
  flex: 1;
  margin: 0;
  padding-left: 12px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 200px;
  border-radius: 3px;
  font-size: 17px;
  font-weight: 600;
}

.pill--included {
  background: #3399FF;
  color: #fff;
}

.pill--excluded {
  background: #fff;
  color: #3399FF;
  border: 1px solid #3399FF;
}

.school-check__note {
  font-size: 13px;
  color: #000;
  text-align: left;
  margin-top: 16px;
}

/* ───────────── Drone Section ───────────── */
.drone-section {
  margin: 20px 0;
  position: relative;
  isolation: isolate;
}

.drone-section__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.drone-section__image {
  position: relative;
  width: 380px;
  max-width: 100%;
}

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

.drone-section__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.875rem;
  color: #fff;
  background: transparent;
}

.drone-section__table-wrap {
  flex: 1;
  padding-left: 8px;
  box-sizing: border-box;
}

.drone-section__table {
  border: 1px solid #CCCCCC;
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.drone-section__table thead th {
  vertical-align: middle;
  background: #C6E3FF;
  line-height: 1.4;
  padding: 20px 28px;
  border-bottom: 1px solid #CCCCCC;
}

.drone-section__table thead th:first-child {
  font-weight: 600;
  width: 300px;
  text-align: center;
  font-size: 18px;
}

.drone-section__table thead th:nth-child(2) {
  font-weight: 400;
  width: 470px;
  text-align: left;
  font-size: 16px;
}

.drone-section__table thead th+th {
  border-left: 1px solid #CCCCCC;
}

.drone-section__table tbody td {
  text-align: center;
  font-size: 18px;
  padding: 24px 16px;
  line-height: 1.6;
  font-weight: 600;
  vertical-align: top;
}

.drone-section__table tbody td+td {
  border-left: 1px solid #CCCCCC;
}

.drone-section__table tbody td:first-child {
  background: #EAF5FF;
}

.drone-section__sp {
  width: 100%;
}

.drone-section__sp .drone-section__header {
  background: #C6E3FF;
  padding: 16px;
  margin-bottom: 0;
}

.drone-section__sp .drone-section__header h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.drone-section__sp .drone-section__header p {
  font-size: 16px;
  line-height: 1.6;
}

.drone-section__sp .drone-section__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.drone-section__sp .drone-section__table tbody td {
  font-size: 16px;
  text-align: center;
  padding: 12px;
  border: 1px solid #ccc;
}

.drone-section__sp .drone-section__table tbody td:first-child {
  width: 30%;
  background: #EAF5FF;
}

/* ───────────── Step Block ───────────── */
.step-block-outer {
  position: relative;
  overflow: visible;
  width: 100%;
  margin-bottom: 0;
}

.step-block-outer:not(:nth-last-child(2))::before {
  content: "";
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: #3399FF;
  z-index: 10;
}

.step-block__time--last {
  position: static !important;
  display: block !important;
  margin: 14px auto 0 auto !important;
  text-align: center;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  font-size: 15px;
  color: #221B63;
}

.step-block-outer .step-block__time {
  display: block;
  position: absolute;
  top: 190px;
  left: 54%;
  transform: translateX(-50%);
  font-size: 15px;
  color: #221B63;
  font-weight: 500;
}

.step-block__time {
  display: none;
}

.step-block:not(:first-child) .step-block__time {
  display: block;
}

.step-block {
  height: 180px;
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  margin-top: 50px;
  box-sizing: border-box;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  border-right: 10px solid #A9CBFB;
  border-bottom: 10px solid #A9CBFB;
}

.step-block__indicator {
  flex: 0 0 170px;
  height: 170px;
  background: #3399FF;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  box-sizing: border-box;
}

.step-block__label {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.step-block__number {
  font-family: "Josefin Sans", sans-serif;
  font-size: 70px;
  line-height: 1;
  font-weight: 200;
}

.step-block__content {
  flex: 1;
  background: #fff;
  padding: 0 45px 0 50px;
  box-sizing: border-box;
}

.step-block__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #221B63;
  line-height: 1.4;
}

.step-block__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.step-block-total {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #221B63;
  margin: 10px 0 0;
}

/* ───────────── Other Services Buttons ───────────── */
.other-services__buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.service-button {
  width: 520px;
  max-width: 100%;
  height: 110px;
  background: #3399FF;
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  transition: none;
}

.service-button .icon {
  position: absolute;
  right: 30px;
  width: 37px;
  height: 37px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-button .icon img {
  width: 9px;
  height: auto;
  display: block;
}

.service-button:hover .icon {
  transform: translateX(6px);
}

.service-button:hover {
  background: #3399FF;
  color: #fff;
}






/* --- スマホ（767px以下）のとき --- */
@media screen and (max-width: 767px) {
  .sp {
    display: inline !important;
    white-space: nowrap;
  }

  .pc {
    display: none !important;
  }

  a[href^="tel"] {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    /* ←リンクを無効化したい場合 */
  }

  .course-section,
  .course-section.reverse {
    flex-direction: column;
  }

  .course-image img {
    width: 100%;
    max-width: none;
    padding-left: 0px;
    padding-right: 0;
  }


  .reverse .course-image img {
    width: 100%;
    max-width: none;
    padding-right: 0px;
    padding-left: 0px;
  }

  .course-details,
  .course-section.reverse .course-details {
    margin: -50px 20px 0 20px;
    padding: 10px;
    height: auto;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    border-left: none;
    border-right: 10px solid #A9CBFB;
    border-bottom: 10px solid #A9CBFB;
  }

  .course-title {
    font-size: 18px;
    padding: 21px 0;
    margin-bottom: 20px;
  }

  .course-price {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .course-price .price-tax {
    font-size: 15px;
  }

  .course-features li {
    font-size: 15px;
  }

  .course-features .feature-icon {
    width: 15px;
  }

  .course-divider {
    border-bottom: 1px solid #221B63;
  }

  .course-subtitle {
    padding: 0px;
    font-size: 18px;
    line-height: 25px;
  }

  .course-text {
    padding: 10px;
  }

  .school-check__title {
    font-size: 18px;
  }

  .school-check__features {
    flex-direction: column;
    gap: 0;
  }

  .feature {
    padding: 20px;
    max-width: none;
  }

  .feature__label {
    font-size: 16px;
  }

  .feature__text {
    font-size: 16px;
    color: #000;
  }

  .school-check__info-list dl {
    display: block;
    margin-top: 14px;
  }

  .school-check__info-list dd {
    margin-top: 10px;
    padding-left: 0;
    font-size: 15px;
  }

  .pill {
    font-size: 16px;
  }

  .drone-section__image {
    width: 100%;
  }

  .drone-section__inner {
    flex-direction: column;
  }

  .other-services__buttons {
    min-width: 0 !important;
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .feature__media img {
    width: 20px;
  }

  .feature__media .bag {
    width: 17px;
  }

  .feature__text {
    margin-top: -5px;
  }

  .school-check__info-list {
    margin-top: 30px;
  }

  .pill {
    height: 35px;
    width: 180px;
    font-size: 15px;
  }

  .service-button {
    width: 100% !important;
    max-width: none;
    height: 90px;
    font-size: 16px;
    padding: 0;
  }

  .service-button .icon {
    right: 15px;
    width: 27px;
    height: 27px;
  }

  .step-block {
    flex-direction: column;
    height: auto;
    margin-top: 50px;
    padding: 20px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    border-right: 10px solid #A9CBFB;
    border-bottom: 10px solid #A9CBFB;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  }

  .step-block__indicator {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    padding: 12px 0;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .step-block__label {
    font-size: 18px;
    margin-bottom: 1px;
  }

  .step-block__number {
    font-size: 30px;
    font-weight: 400;
  }

  .step-block__content {
    padding: 20px 0 0;
  }

  .step-block__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
  }

  .step-block__text {
    font-size: 15px;
  }

  .step-block-outer .step-block__time {
    display: block;
    position: absolute;
    top: 235px;
    left: 63%;
    transform: translateX(-50%);
    font-size: 15px;
    color: #221B63;
    font-weight: 500;
  }

  .step-block-outer:not(:nth-last-child(2))::before {
    content: '';
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 200px;
    background: #3399FF;
    z-index: 0;
  }

  .p_time--step1 {
    top: 245px !important;
  }

  .p_time--step2 {
    top: 244px !important;
  }

  .p_time--step3 {
    top: 268px !important;
  }

  .p_time--step4 {
    top: 268px !important;
  }

  .b_time--step1 {
    top: 220px !important;
  }

  .b_time--step2 {
    top: 267px !important;
  }

  .b_time--step3 {
    top: 220px !important;
  }

  .b_time--step4 {
    top: 267px !important;
  }

  .k_time--step1 {
    top: 265px !important;
  }

  .k_time--step2 {
    top: 267px !important;
  }

  .k_time--step3 {
    top: 245px !important;
  }

  .k_time--step4 {
    top: 265px !important;
  }



.school-check__features .feature:nth-child(1),
.school-check__features .feature:nth-child(2) {
  border-bottom: 2px dotted #CCE2FC;
}
}

















/* PC 共通ボタンデザイン（保持） */
#sbi_load{
    margin-top: 45px;
}
.sbi_load_btn {
  margin-right: 30px!important;
}
.sbi_load_btn,
.sbi_follow_btn.sbi_custom a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 !important;
  background-color: #3399FF !important;
  color: #fff !important;
  font-size: 16px!important;
  font-weight: 400;
  border: none;
  border-radius: 999px!important;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 277px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
}

/* ボタンテキスト中央化 */
.sbi_btn_text,
.sbi_follow_btn span {
  width: 100%;
  text-align: center;
  margin: 0;
  z-index: 1;
}

/* 矢印（右端白丸） */
.sbi_load_btn::after,
.sbi_follow_btn.sbi_custom a::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  background-image: url('/wp-content/uploads/2025/06/right_arrow_b03.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  z-index: 2;
}

/* Instagram アイコン削除 */
.sbi_follow_btn .fa-instagram {
  display: none !important;
}
@media (max-width: 768px) {
  #sbi_load {
          margin-top: 20px;

    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
  }

.sbi_load_btn {
  margin-right: 0px!important;
}
  .sbi_load_btn,
  .sbi_follow_btn.sbi_custom a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    width: 175px !important;
    height: 47px !important;
    padding: 0 0px !important;
    padding-left: 20px !important;  /* &#9989; 追加ここ！ */
    font-size: 12px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sbi_btn_text,
  .sbi_follow_btn span {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left; /* ← 念のため追加して左寄せに確実化 */
  }

  .sbi_follow_btn svg {
    display: none !important;
  }

  .sbi_load_btn::after,
  .sbi_follow_btn.sbi_custom a::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #fff;
    background-image: url('/wp-content/uploads/2025/06/right_arrow_b03.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    border-radius: 50%;
  }
}
