/* 基本設定 */

:root {
  /* 背景色 */
  --color-beige: #EEF0E5;
  /* キビートショー */
  --color-pink: #EA6E98;
  /* 豊来家幸輝 */
  --color-green: #146749;
  /* 科学実験 */
  --color-yellow: #FCCA59;
  /* コンセプトページ */
  --color-orange: #F58442;
  /* コンタクトページ */
  --color-skyblue: #A2BDF4;
  --color-black: #222222;
  /* 本文 */
  --color-black: #222222;
  /* フォント */
  --font-Kaisei: "Kaisei Decol", sans-serif;
  --font-Oswald: "Oswald", sans-serif;
  --font-DelaGothicOne: "Dela Gothic One", sans-serif;
}
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 80px;
}
body {
  background-color: #eef0e5;
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: normal;
  font-size: clamp(0.875rem, 0.6528rem + 0.463vw, 1rem);
}

/* 基本設定 */
body {
  background-color: var(--color-beige);
  color: var(--color-black);
  font-family: "Noto Sans JP", sans-serif;
}
p {
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
ol,
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* コンテンツ幅 */
.w-container {
  width: min(90%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* ボタン */
.btn {
  display: block;
  min-width: 250px;
  border-radius: 40px;
  border: none;
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  font-family: var(--font-Kaisei);
  font-size: 20px;
  text-align: center;
  color: #ffffff;
  padding: 10px 45px;
  transition: all .3s;
}
.btn:hover {
  transform: translateY(4px);
  box-shadow: inset rgba(0, 0, 0, 0.2) 2px 3px 1px;
}
.dl-btn {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
}

/* 見出し共通（index, concept, contact） */
.heading {
  position: relative;
  text-align: center;
}
.heading h2 {
  margin-bottom: 56px;
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: min(24vw, 220px);
  opacity: 0.1;
  color: #222;
  line-height: 1;
}
.heading > p {
  font-size: 30px;
  color: #222222;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-family: var(--font-Kaisei);
}
.index-h3 {
  position: absolute;
  font-family: var(--font-Kaisei);
  font-weight: bold;
  font-size: 30px;
}

/* トップに戻るボタン */
.page-top {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  width: 80px;
  height: 80px;
  font-size: 16px;
  padding-top: 6px;
  font-weight: bold;
  color: #fff;
  background: var(--color-orange);
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  letter-spacing: 1px;
}
.page-top:hover {
  transform: scale(1.1);
}
.page-top.is-active {
  opacity: 1;
  visibility: visible;
}

/* ヘッダー */
header {
  height: 80px;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: #fff;
}
.header-inner {
  height: 100%;
  position: relative;
}
.header-logo {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  height: 120px;
  width: 120px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo img {
  width: 60%;
  transition: all .3s;
}
.header-logo img:hover {
  transform: scale(1.1);
}
.header-site-menu {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-Kaisei);
  font-size: clamp(1rem, 0.857rem + 0.298vw, 1.125rem);
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(3rem, -1.584rem + 9.538vw, 7rem);
}
.menu-btn {
  display: none;
}
.header-sns {
  display: none;
}

/* 「タレント」のドロップダウンスタイル */
.dropdown {
  position: relative;
  display: inline-block;
  padding: 1em;
}
.dropdown-content {
  display: block;
  position: absolute;
  top: 65px;
  left: -60%;
  min-width: 300px;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  padding: 1em;
  border-radius: 25px;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.dropdown-content a {
  display: block;
  padding: .5em;
}
.dropdown-content a span {
  font-size: 0.8em;
}
.dropbtn {
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.dropdown-kibito {
  color: var(--color-pink);
}
.dropdown-horaiya {
  color: var(--color-green);
}
.dropdown-kagaku {
  color: var(--color-yellow);
}

/* ホバークラスを付与したスタイル */
@media (hover: hover) {
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-content:hover  {
    background-color: #fff;
  }
  .dropdown:hover .dropbtn {
    opacity: 0.7;
  }
}

/* ヘッダーナビゲーションホバー時 */
.header-nav a {
  position: relative;
  &::after {
    content: '';
    width: 25px;
    height: 25px;
    border: 5px solid transparent;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
    transition: border .3s;
  }
}
.header-nav a:hover {
  &::after {
    border: 25px solid #eff1e6;
  }
}

/* フッター */
footer {
  font-family: var(--font-Kaisei);
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--color-beige);
}
.footer-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  position: relative;
}
/* フッターロゴ */
.footer-logo img {
  width: 100px;
  max-width: revert;
  transition: all .3s;
}
.footer-logo img:hover {
  transform: scale(1.1);
}
/* SNSアイコン */
.footer-sns{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 1em;
}
.footer-sns i {
  font-size: 26px;
}
/* ナビゲーション */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  font-size: 16px;
  text-align: center;
}
/* お問い合わせボタン */
.footer-contact-btn {
  width: 13em;
  background-color: var(--color-skyblue);
}
/* キビート吹き出し */
.footer-contact {
  display: flex;
  justify-content: center;
}
.balloon {
  position: relative;
  right: 200px;
  bottom: 140px;
  border-radius: 50px;
  padding: 30px 40px;
  background-color: #fff ;
  margin-left: -200px;
}
.balloon::before {
  position: absolute;
  content: "";
  top: 70%;
  left: 100%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-left: 30px solid #fff;
  transform: rotate(20deg);
}
/* キビート画像 */
.footer-img {
  position: absolute;
  right: 0;
  bottom: -80px;
}
.index-footer-img ,.tr-footer-img, .sc-footer-img{
  width: 300px;
}
.co-footer-img,.ct-footer-img{
  width: 250px;
}
.cc-footer-img {
  width: 200px;
}

/* ---contact.html--- */
.faq {
  margin-top: 80px;
}

/* よくある質問 */
/* F&Aタブ */
.ct-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ct-tab > label {
  flex: 1 1;
  order: -1;
  position: relative;
  min-width: 70px;
  border: 3px solid #A2BDF4;
  border-radius: 50px;
  padding: 2em 1em;
  background-color: #fff;
  text-align: center;
  cursor: pointer;
  transition: ease .3s;
  margin-bottom: 16px;
  font-size: clamp(0.8125rem, 0.5208rem + 0.6076vw, 1.25rem);
  font-weight: bold;
  color: #A2BDF4;
}

/* タブ　通常 */
.ct-tab > label.tab-comedy {
  color: #EA6E98;
  border-color: #EA6E98;
}
.ct-tab > label.tab-traditional {
  color: #146749;
  border-color: #146749;
}
.ct-tab > label.tab-science {
  color: #FCCA59;
  border-color: #FCCA59;
}

/* ホバー時 */
.ct-tab > label.tab-comedy:hover {
  background-color: #EA6E98;
  color: #fff;
}
.ct-tab > label.tab-traditional:hover {
  background-color: #146749;
  color: #fff;
}
.ct-tab > label.tab-science:hover {
  background-color: #FCCA59;
  color: #fff;
}

/* 選択時 */
.ct-tab > label.tab-comedy:has(:checked),
.ct-tab > label.tab-comedy:has(:checked)::before {
  background-color: #EA6E98;
  color: #fff;
}
.ct-tab > label.tab-traditional:has(:checked),
.ct-tab > label.tab-traditional:has(:checked)::before {
  background-color: #146749;
  color: #fff;
}
.ct-tab > label.tab-science:has(:checked),
.ct-tab > label.tab-science:has(:checked)::before {
  background-color: #FCCA59;
  color: #fff;
}

/* 選択時　三角形ポインタ */
.ct-tab label:has(:checked)::before {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 13px;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* その他 */
.ct-tab input {
  display: none;
}
.ct-tab label:has(:checked) + .ct-tab-box {
  display: block;
}
.ct-tab-box {
  display: none;
  width: 100%;
}

/* F&A　タグのなか */
.cp_qa .cp_actab {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 .5em 0;
  color: #ffffff;
}
.cp_qa .cp_actab input {
  display: none;
}

/* 質問 */
.cp_qa .cp_actab label {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 1em 4em 1em 4em;
  cursor: pointer;
  border-radius: 5px;
  background: #A2BDF4;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3);
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

/* Qアイコン */
.cp_qa .cp_actab label::before {
  content: 'Q';
  position: absolute;
  left: 1em;  /* ← 左端からの位置 */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  z-index: 99;
}

/* ＋アイコン */
.cp_qa .cp_actab label::after {
  content: '+';
  position: absolute;
  right: 1em;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  transition: all 0.3s ease;
  user-select: none; /* テキスト選択を防ぐ */
  line-height: 1;
}

/* 答え */
.cp_qa .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-height: 0;
  width: 100%;
  margin: .5em auto 0.5em;
  padding: 0 0 0 3em;
  transition: max-height .8s ease;
  color: #060606;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3);
}

/* Aアイコン */
.cp_qa .cp_actab .cp_actab-content::before {
  content: 'A';
  position: absolute;
  left: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  font-size: 1.2em;
  font-weight: bold;
  color: #EA6E98;
  z-index: 99;
}

/* 豊来家幸輝　タブ（緑） */
.ct-tab-box[data-tab-type="traditional"] .cp_actab-content::before {
  color: #146749;
}

/* 科学実験パフォーマー　タブ（黄色） */
.ct-tab-box[data-tab-type="science"] .cp_actab-content::before {
  color: #FCCA59;
}
.cp_qa .cp_actab .cp_actab-content p {
  margin: 0.5em 0.5em 0.5em 0;
  padding: 1em 1em 1em 1em;
}

/* 質問を開いた時の仕様------------------- */
/* 答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
}
/* 質問クリック時　アイコンの動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
  content: '−'; /* マイナス記号 */
  color: #FFF;
}

/* ここからお問い合わせ------------------ */
.ct-text p {
  line-height: 1.8;
  margin-bottom: 40px;
}

/* フォーム全体のスタイル */
.form-container {
  width: 90%;
  max-width:880px;
  margin: auto;
  text-align: left;
}

/* フォーム名のスタイル */
.required {
  display: block;
  margin-top: 40px;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
  font-family: 'Noto Sans JP', sans-serif;
  color: #060606;
}
.optional {
  display: block;
  margin-top: 40px;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
  font-family: 'Noto Sans JP', sans-serif;
  color: #060606;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
.select-box:focus,
.form-container textarea:focus {
  outline: none;
  border: 3px solid #7a9cdf;
}
.message-box {
  resize: none;
  width: 100%;
  height: 10em;
  padding: 10px;
  line-height: 1.5;
  padding: 10px;
  margin-top: 10px;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
.form-name {
  display: flex;
  gap: 40px;
}
.form-name .input-text {
  flex: 1;
}
.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #A2BDF4;
  font-size: 14px;
  font-weight: bold;
  text-align:  left;
}
.form-area dt .required::before {
  content: '必須';
  display: inline-block;
  background-color: #FAD062;
  color: #060606;
  font-size: clamp(0.75rem, 0.6667rem + 0.1736vw, 0.875rem);
  font-weight: bold;
  padding: 2px 6px;
  margin-right: 10px;
}
.form-area dt .optional::before {
  content: '任意';
  display: inline-block;
  background-color: #D1CEC6;
  color: #060606;
  font-size: clamp(0.75rem, 0.6667rem + 0.1736vw, 0.875rem);
  font-weight: bold;
  padding: 2px 6px;
  margin-right: 10px;
}

/* 送信ボタン------------------- */
.submit-btn {
  border-radius: 10px;
  background-color: #A2BDF4;
  color: #ffffff;
  border: none;
  padding: .5em 2em;
  min-width: 110px;
  line-height: 10px;
  font-family: var(--font-Kaisei);
  font-size: 25px;
  height: 50px;
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  z-index: 98;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

/* snowmonkeyformカスタムCSS */
/* 入力欄 */
.smf-form .smf-text-control__control.input-text {
  width: 100%; /* box-sizing適用、padding+border込みで100%に収まる */
  height: 60px;
  padding: 10px;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
.smf-form .smf-select-control__control.select-box {
  width: 330px;
  height: 60px;
  padding: 10px;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
.smf-form .smf-textarea-control__control.message-box {
  resize: none;
  width: 100%;
  height: 200px;
  padding: 10px;
  margin-top: 10px;
  line-height: 1.7;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
.smf-item__label__text {
  position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 23px;
  content: "必須";
  font-size: 12px;
  font-weight: bold;
  color: #060606;
  background: #FAD062;
}
.smf-item:not(:has([data-validations~="required"])) .smf-item__label__text::after {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 23px;
  content: "任意";
  font-size: 12px;
  font-weight: bold;
  color: #060606;
  background: #D1CEC6;
}
/* 確認ボタン */
.smf-action .smf-button-control__control {
  border-radius: 10px;
  background-color: #A2BDF4;
  color: #ffffff;
  border: none;
  padding: .5em 2em;
  min-width: 110px;
  line-height: 10px;
  font-family: var(--font-Kaisei);
  font-size: 25px;
  height: 50px;
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  z-index: 98;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
/* 完了メッセージ */
.smf-complete-content p {
  margin-top: 100px;
  margin-bottom: 100px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

/* モバイル */
@media(max-width: 768px) {
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-top {
    display: none;
  }

  /* ヘッダー */
  header {
    margin-top: 20px;
    background-color: transparent;
    box-shadow: none;
  }
  .header-inner {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .header-site-menu {
    display: none;
  }
  .header-site-menu.is-show {
    position: absolute;
    top: 100%;
    left: 5%;
    display: block;
    background-color: #fff;
    border-radius: 50px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
    animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  @keyframes popup {
    0% {
      transform: translateY(40px) scale(0.8);
      opacity: 0;
    }
    100% {
      transform: translateY(0) scale(1.0);
    }
    80%, 100% {
      opacity: 1;
    }
  }
  .header-sns {
    display: flex;
    gap: 20px;
    font-size: 25px;
  }
  .header-nav {
    display: flex;
    flex-direction: column;
    gap: 3em;
  }
  .header-logo {
    width: 80px;
    height: 80px;
    position: static;
    transform: translate(0);
    box-shadow: 2px 2px 5px #dbddd3;
  }
  .fa-bars {
    display: block;
    color: #222;
    font-size: 24px;
  }
  .menu-btn {
    display: block;
    width: 50px;
    height: 50px;
    border: none;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 2px 2px 5px #dbddd3;
  }
  .far-bars::before {
    display: block;
  }

   /* 「タレント」のドロップダウンリスト */
  .dropdown {
    text-align: center;
    padding: 0;
  }
  .dropbtn {
    width: auto;
  }
  .dropdown-content {
    inset: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    position: relative;
    margin-top: 1em;
  }
  .dropdown-content a {
    font-size: 0.8em;
  }

  /* フッター */
  footer {
    margin: 0;
    padding: 0;
  }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .balloon, .balloon::before, .footer-img {
    display: none;
  }

  /* ---contact.html--- */
  .form-container input{
    width: 100%;
    height: 50px;
  }
  .select-box{
    width: 100%;
    height: 50px;
  }
  .form-name {
    flex-direction: column;
    gap: 4px;
  }
  .form-name .input-text {
    flex: none;
    height: 50px;
    width: 100%;
  }

  /* F&A */
  .ct-tab {
    gap: 10px;
    flex-direction: column;
  }
  .ct-tab > label {
    border-radius: 30px;
    padding: 1em;
  }
}

@media(max-width: 670px) {
  .talent-card {
    flex-direction: column;
  }
  .talent-txt h4 span {
    display: inline;
    margin-right: 1em;
  }
}