/* 基本設定 */

: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(12px, 2vw, 14px);
}


/* 基本設定 */
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;
}


/* 見出し共通（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;
}


/* ---index.html--- */

/* メインビジュアル */
.main-visual {
  height: calc(100vh - 80px);
  margin-top: 80px;
  padding: 0;
  background-image: url(../images/index/index_mainbg_pc.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: "Kaisei Decol", sans-serif;
}

.main-visual-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1%;
  padding-right: 1%;
}

/* キビート３人の画像 */
.kibito-main-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.kibito-main-img > img {
  z-index: 10;
}

.comedy-kibito {
  width: min(30vw, 350px);
  position: absolute;
  top: 0;
  left: 2%;
}

.science-kibito {
  width: min(30vw, 300px);
  position: absolute;
  right: 0;
  bottom: 0;
}

.traditional-kibito {
  width: min(27vw, 270px);
  margin: auto;
}

/* あしらいのサイズとポジション */
.main-dec img {
  position: absolute;
}

.heart {
  width: clamp(30px, 3vw, 50px);
  transform: rotate(20deg);
  top: 15vw;
  left: calc((min(30vw, 350px) - 2vw));
}

.clover {
  width: clamp(30px, 3vw, 50px);
  transform: rotate(20deg);
  top: 5%;
  left: calc((min(30vw, 350px) - 4vw));
}

.spade {
  width: clamp(30px, 3vw, 50px);
  transform: rotate(-20deg);
  top: 20vw;
  left: 3%;
}

.diamond {
  width: clamp(25px, 2.5vw, 50px);
  transform: rotate(-20deg);
  top: 10%;
  left: -3%;
}

.sensu01 {
  width: min(5vw, 90px);
  transform: rotate(-20deg);
  bottom: 23%;
  right: 16%;
}

.sensu02 {
  width: min(8vw, 100px);
  transform: rotate(20deg);
  top: 20%;
  right: 10%;
}

.sakura {
  width: min(5vw, 60px);
  transform: rotate(-20deg);
  top: 50%;
  left: 10%;
}

.flask01 {
  width: min(5vw, 70px);
  transform: rotate(30deg);
  bottom: 2%;
  right: calc(min(30vw, 300px) + 1.5vw);
  /* キビートのサイズ＋余白 */
}

.flask02 {
  width: min(4vw, 60px);
  transform: rotate(-30deg);
  bottom: 5%;
  right: -12%;
}

.balloon01 {
  width: clamp(25px, 3vw, 55px);
  transform: rotate(-5deg);
  top: 20%;
  right: -5%;
}

.balloon02 {
  width: clamp(25px, 2.5vw, 50px);
  transform: rotate(-10deg);
  top: 30%;
  right: 0;
}

/* 英語テキスト */
/* メイン右の文字リンク */
.main-visual-list {
  height: 100%;
  writing-mode: vertical-rl;
  font-size: 30px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}

.main-visual-list ul {
  width: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-visual-list li {
  transition: ease .3s;
}

.main-visual-list li:hover {
  transform: scale(1.2);
}

.comedy {
  color: #FF0066;
}

.traditional {
  color: #146749;
}

.science {
  color: #FCCA59;
}

/* 見出しとFacebook案内のテキスト */
.main-visual-txt {
  letter-spacing: 5px;
  z-index: 10;
}

.main-visual-txt, .main-visual-facebook {
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  z-index: 20;
}

/* 見出し */
.main-visual-txt h1 {
  font-size: max(4.5vw, 70px);
  margin-top: 1em;
}

.main-visual-txt p {
  font-size: max(1.5vw, 22px);
}

/* facebookテキストとアイコン */
.main-visual-facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  padding: min( 1.5vw, 20px) min( 1vw, 15px);
  border: #071041 solid 1px;
}

/* Facebookアイコンホバー時 */
.main-visual-facebook a {
  transition: ease .3s;
}

.main-visual-facebook a:hover {
  transform: scale(1.2);
}

.main-visual-facebook p {
  font-size: clamp(14px, 1.2vw, 25px);
}

.main-visual-facebook p::after {
  content: '→';
  margin: 0.5em;
}

.main-visual-facebook i {
  color: #0d63fa;
  font-size: 25px;
}

/* メッセージ */
/* 見出しとテキストのポジション */
.message-txt {
  position: absolute;
  inset: 50px 0;
  /* 文字数によって変わると思います */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3em;
}

.message-h3 {
  font-family: var(--font-Kaisei);
  font-weight: bold;
  font-size: 30px;
}

.message-txt span{
  color: #F58442;
  font-size:clamp(1.175rem, 1.131rem + 0.188vw, 1.3rem);
  font-weight: 700;
  margin-right: 2px;
  margin-left: 2px;
}

.message-txt p {
  text-align: left;
  line-height: 2;
}

/* キビート画像とボタン */
.kibito-btn {
  /* height: 100px; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: -50px;
}

.kibito-btn img {
  width: 200px;
}

.messagee-btn {
  background-color: var(--color-orange);
}

/* 画像スライダー */
.slider {
  height: 100%;
  padding-bottom: 80px;
}

.slider li {
  margin-left: 5px;
  margin-right: 5px;
}

.slider img {
  width: calc(100vw / 4);
}

.message {
  padding-bottom: 0;
}

/* タレント紹介 */
/* 見出しのポジション */
.talent-h3 {
  inset: 85px 0;
}

/* タレント紹介カード */
.talent-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.talent-card {
  margin-bottom: clamp( 16px, 2.5vw, 40px);
  padding: 20px 15px;
  border-radius: 20px;
  background-color: #fff;
  height: 90%;
  display: flex;
  flex-direction: column;
}

.talent-txt {
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.talent-txt h4 {
  font-family: var(--font-Kaisei);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.talent-txt h4 span {
  margin-right: 1em;
  font-size: 16px;
  font-weight: normal;
}

.talent-txt p {
  padding-bottom: 2em;
}

.talent-card a {
  display: block;
  width: 7em;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-Oswald);
  font-size: 16px;
  color: #fff;
  text-align: center;
  border-radius: 0 20px 0 10px;
  background-color: #222;
  padding: 5px 10px;
  transition: ease .3s;
}

.talent-card a:hover {
  background-color: #fff;
  color: #222;
  outline: 1px solid #222;
  transform: scale(1.1);
}

/* 資料ダウンロードボタン */
.co-dl-btn {
  background-color: #EA6E98;
}

.tr-dl-btn {
  background-color: #146749;
}

.sc-dl-btn {
  background-color: #FCCA59;
}

/* イベント情報 */
.event-h3 {
  inset: 80px 0;
}

.event-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.event-facebook p {
  font-family: var(--font-Kaisei);
  font-size: 20px;
  text-align: center;
  margin-bottom: 1em;
}

.facebook-wrap{
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  display: flex;
  justify-content: center;
}

.fb-page,
.fb-page span,
.facebook-wrap iframe{
  width: 500px;
}

.calendar {
  position: relative;
}

.calendar img {
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.calendar-pop-up {
  opacity: 0;
  position: absolute;
  top: 30%;
  left: 18%;
  border-radius: 25px;
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.calendar:hover > .calendar-pop-up {
  opacity: 1;
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

 
@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---kibito.html--- */

/* 背景画像 */
.co-main {
  background-image: url(../images/kibito/kb-body-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-y;
}

/* メインビジュアル */
.co-main-visual {
  margin-top: 80px;
  height: calc(100vh - 80px);
  background-image: url(../images/kibito/main-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-left: 1%;
  padding-right: 1%;
}

.co-main-txt {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 200;
  top: 55%;
  left: 10%;
}

.co-main-txt img {
  width: 80%;
}

.co-main-txt p {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
}

.co-main-txt span{
  font-size: 25px;
}

.co-main-img {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
}

.co-main-img img {
  height: calc(100vh - 80px);
  width: 100%;
  object-fit: cover;
}


.co-show-heading {
  height: 200px;
  text-align: center;
  background-image: url(../images/kibito/mokumoku.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-show-heading h2 {
  font-size: 30px;
  font-weight: bold;
}

.co-show-heading h2 span {
  margin: 0 .3em;
  color: rgb(234, 110, 152);
  font-family: "Krona One", sans-serif;
  font-size: 40px;
}

.co-show-txt {
  text-align: center;
  margin-top: 32px;
}

.co-show-txt h3 {
  font-size: clamp(20px, 15.146px + 1.294vw, 40px);
  display: inline;
  background-image: linear-gradient(rgba(0,0,0,0) 70%, rgb(234,110,152) 70%)
}

.co-show-txt p {
  margin-top: 32px;
  margin-bottom: 80px;
}

/* パフォーマンス内容 */
.co-content-box {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 50px;
}

.co-box {
  border: 3px solid var(--color-pink);
  background-color: #fff;
  border-radius: 25px;
  color: var(--color-black);
  box-shadow: 6px 6px 0px var(--color-pink);
  position: relative;
}

.co-content-box .no-01{
  color: #FF0056;
}

.co-content-box .no-02{
  color: #FF2856;
}

.co-content-box .no-03{
  color: #FF5056;
}

.co-content-box .no-04{
  color: #FF5056;
}

.co-content-box .no-05{
  color: #FFA056;
}

.co-content-box .no-06{
  color: #FFC856;
}

.co-content-box .box-01{
  border: 3px solid #FF0056;
  box-shadow: 6px 6px 0px #FF0056;
}

.co-content-box .box-02{
  border: 3px solid #FF2856;
  box-shadow: 6px 6px 0px #FF2856;
}

.co-content-box .box-03{
  border: 3px solid #FF5056;
  box-shadow: 6px 6px 0px #FF5056;
}

.co-content-box .box-04{
  border: 3px solid #FF7856;
  box-shadow: 6px 6px 0px #FF7856;
}

.co-content-box .box-05{
  border: 3px solid #FFA056;
  box-shadow: 6px 6px 0px #FFA056;
}

.co-content-box .box-06{
  border: 3px solid #FFC856;
  box-shadow: 6px 6px 0px #FFC856;
}

.co-number {
  font-family: "Krona One", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 1.840rem + 2.817vw, 4.375rem);
  position: absolute;
  top: -50px;
  left: 5%;
  color: var(--color-black);  
}

.co-box-right .co-number{
  left: 70%;
}

.co-box-inner {
  display: flex;
}

.co-box-right .co-box-inner {
  display: flex;
  flex-direction: row-reverse;
}

.co-box-img {
  flex: 1;
}

.co-inner-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.co-inner-txt p {
  font-size: clamp(0.75rem, 0.662rem + 0.376vw, 1rem);
}

.co-inner-txt h3 {
  font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
}


.co-inner-txt h3, .co-inner-txt p {
    margin: 0;
    padding: 0 1.5em .5em;
}

/* ムービー */
.co-heading h2{
  text-align: center;
  font-family: "Krona One", sans-serif;
  font-size: 60px;
  color: var(--color-pink);
}

.co-heading p {
  text-align: center;
  color: var(--color-black);
  margin-top: 1em;
}

.co-heading {
  padding-bottom: 40px;
}

.movie-box {
  display: flex;
  position: relative;
}

.co-movie-deco-1 {
  position: absolute;
  z-index: 99;
  width: 150px;
  transform: rotate(-20deg);
}

.co-movie-deco-2 {
  position: absolute;
  z-index: 99;
  width: 150px;
  transform: rotate(20deg);
  top: 70%;
  right: 0;
}

/* レビュー */
.co-review {
  background-color: var(--color-pink);
}

.co-review .co-heading h2,
.co-review .co-heading p {
  color: var(--color-beige);
}

/* 引き出し（タレントページ共通） */
.review-balloon {
  width: 90%;
  display: flex;
  align-items: center;
  position: relative;
  margin-right: auto;
  margin-left: auto;
  padding: 2em 2em;
  border: 1px solid var(--color-black);
  border-radius: 25px;
  background-color: #fff;
  color: var(--color-black);
  box-shadow:10px 10px 0px rgba(238, 240, 229, 1);
}

/* 吹き出しの白三角の黒い枠線 */
.review-balloon::before {
position: absolute;
/* top: 100px; 縮めたときに吹き出しずれる*/
top: 65%;
right: -20px;
width: 20px;
height: 15px;
clip-path: polygon(0 0, 100% 50%, 0 100%);
content: '';
background-color: var(--color-black);
/* background-color: rgba(238,240,229,1); */
z-index: 1; /* 尾の影の色を追加 */
}

/* 吹き出しの白三角 */
.review-balloon::after {
position: absolute;
/* top: 100px; 縮めたときに吹き出しずれる*/
top: 65%;
right: -20px;
width: 20px;
height: 15px;
clip-path: polygon(0 0, 100% 50%, 0 100%);
content: '';
right: -19px;
background-color: #fff;
z-index: 1; /* 尾の影の色を追加 */
}

/* 尾の影 */
.review-balloon .tail-shadow {
position: absolute;
top: 73%; /* 白三角と同じ高さ */
right: -26px; /* 白三角より少し右下にずらす */
width: 20px;
height: 15px;
clip-path: polygon(0 0, 100% 50%, 0 100%);
background-color: rgba(238,240,229,1); /* 尾の影の色 */
z-index: 0; /* 本体の下に置く */
}

.review-box {
display: flex;
flex-direction: column;
gap: 32px;
}


/* ---kagaku.html--- */

/* メインビジュアル */
.sc-main-visual {
  margin-top: 80px;
  height: calc(100vh - 80px);
  background-image: url(../images/kagaku/sc_mainbg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.sc-main-visual-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1%;
  padding-right: 1%;
}

/* キビートの位置とサイズ */
.sc-main-img {
  position: absolute;
  bottom: 0;
  right: 10%;
}

.sc-main-img img {
  height: calc(100vh - 80px);
  object-fit: cover;
}

.science {
  color: #FCEC59;
}

/* テキストの位置とサイズ */
.sc-main-txt {
  font-family: var(--font-DelaGothicOne);
  position: absolute;
  gap: 16px;
  top: 44%;
  left: 20%;
  z-index: 10;
}

.sc-main-txt-inner {
  position: relative;
}

.sc-main-txt p {
  font-size: max(2.4vw, 26px);
  margin-bottom: 1vw;
}

.sc-main-txt h1 {
  font-size: max(8.3vw, 75px);
  color: var(--color-yellow);
  -webkit-text-stroke: 1px #222;
  line-height: 1;
}

/* あしらいの位置とサイズ */
.sc-main-txt img {
  position: absolute;
  width: max(6vw, 60px);
}

.sc-thunder01 {
  transform: rotate(-10deg);
  top: -18px;
  left: -9vw;
}

.sc-thunder02 {
  transform: rotate(185deg);
  top: 11vw;
  right: -7vw;
}

/* 背景画像 */
.sc-main {
  background-image: url(../images/kagaku/sc-body-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-y;
}

/* パフォーマンス紹介テキスト */
.sc-show-title-box {
  display: flex;
  justify-content: space-around;
}
.sc-show-title-box img {
  width: 10%;
  transform: rotate(25deg);
}
.sc-show-title-box img:first-child {
  transform: rotate(-25deg);
}

.sc-show {
  margin-top: clamp(40px, 30.291px + 2.589vw, 80px);
  padding-bottom: clamp(40px, 30.291px + 2.589vw, 80px);
}

.sc-show-txt-box {
  text-align: center;
}

.sc-show-txt-box h2 {
  font-family: var(--font-DelaGothicOne);
  text-align: center;
}
.sc-show-title-01 {
  font-size: clamp(21px, 13.961px + 1.877vw, 50px);
}
.sc-show-title-01 span {
  font-size: clamp(17px, 11.417px + 1.489vw, 40px);
}
.sc-show-title-02 {
  font-size: clamp(30px, 20.291px + 2.589vw, 70px);
  -webkit-text-stroke: 0.3px #fff;
  background: linear-gradient(transparent 50%, #FCCA59 50%);
  display: inline-block;
}

.sc-show-txt-box h3 {
  font-size: clamp(20px, 15.146px + 1.294vw, 40px);
  margin-top: 32px;
  margin-bottom: 40px;
}

.sc-show-txt-box p {
  line-height: 1.8rem;
}

/* パフォーマンス紹介：電球のあしらい */
.sc-show-title-box {
  display: flex;
  justify-content: space-around;
}
.sc-show-title-box img {
  width: 10%;
  transform: rotate(25deg);
}
.sc-show-title-box img:first-child {
  transform: rotate(-25deg);
}


.sc-show-cloud {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: clamp(13px, 9.602px + 0.906vw, 27px);
}

.sc-cloud {
  background-image: url(../images/kagaku/cloud.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: clamp(162px, 108.602px + 14.239vw, 382px);
  height: clamp(95px, 66.117px + 7.702vw, 214px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.sc-cloud p {
  font-size: clamp(12px, 1.5vw, 25px);
  font-weight: bold;
}

.sc-show-question {
  font-size: clamp(20px, 17.573px + 0.647vw, 30px);
  font-weight: bold;
  color: var(--color-yellow);
  margin-top: 2rem;
  margin-bottom: 2rem;
}


/* パフォーマンス一覧 */
.sc-content-box {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 50px;
  margin-top: 80px;
}

.sc-content-box .no-01{
  color: #94E182;
}

.sc-content-box .no-02{
  color: var(--color-yellow);
}

.sc-content-box .no-03{
  color: var(--color-yellow);
}

.sc-content-box .no-04{
  color: #94E182;
}

.sc-content-box .no-05{
  color: #94E182;
}

.sc-content-box .no-06{
  color: var(--color-yellow);
}

.sc-content-box .no-07{
  color: #94E182;
}

.sc-content-box .box-01{
  border: 3px solid #94E182;
  box-shadow: 6px 6px 0px #94E182;
}

.sc-content-box .box-02{
  border: 3px solid var(--color-yellow);
  box-shadow: 6px 6px 0px var(--color-yellow);
}

.sc-content-box .box-03{
  border: 3px solid var(--color-yellow);
  box-shadow: 6px 6px 0px var(--color-yellow);
}

.sc-content-box .box-04{
  border: 3px solid #94E182;
  box-shadow: 6px 6px 0px #94E182;
}

.sc-content-box .box-05{
  border: 3px solid #94E182;
  box-shadow: 6px 6px 0px #94E182;
}

.sc-content-box .box-06{
  border: 3px solid var(--color-yellow);
  box-shadow: 6px 6px 0px var(--color-yellow);
}

.sc-content-box .box-07{
  border: 3px solid #94E182;
  box-shadow: 6px 6px 0px #94E182;
}

.sc-content-box .box {
  background-color: #fff;
  border-radius: 25px;
  color: #222222;
  position: relative;
}

.sc-content-box .number {
  font-family: var(--font-DelaGothicOne);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.840rem + 2.817vw, 4.375rem);
  position: absolute;
  top: -55px;
  left: 5%;
}

.sc-content-box .box-right .number{
  left: 70%;
}

.sc-content-box .box-inner {
  display: flex;
}

.sc-content-box .box-right .box-inner {
  display: flex;
  flex-direction: row-reverse;
}

.sc-content-box .box-inner .img {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.sc-content-box .inner-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.sc-content-box .inner-txt p {
  font-size: clamp(0.75rem, 0.662rem + 0.376vw, 1rem);
}

.sc-content-box .inner-txt h3 {
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

.sc-content-box .inner-txt h3, .inner-txt p {
  margin: 0;
  padding: .5em 1.5em .5em;
}

.sc-content-box .box:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 550px;
}

/* movieセクション */
.sc-movie {
  padding-bottom: clamp(40px, 30.291px + 2.589vw, 80px);
}

.sc-heading {
  text-align: center;
  padding-bottom: clamp(40px, 30.291px + 2.589vw, 80px);
}
.sc-heading h2 {
  font-family: var(--font-DelaGothicOne);
  font-size: clamp(30px, 20.291px + 2.589vw, 70px);
}
.sc-heading p {
  margin-top: 1rem;
}

.sc-review > .sc-heading p {
  color: #fff;
}

/* レビューのセクション */
.sc-review {
  background-color: var(--color-yellow);
  margin-top: clamp(40px, 30.291px + 2.589vw, 80px);
  padding-top: clamp(40px, 30.291px + 2.589vw, 80px);
  padding-bottom: clamp(40px, 30.291px + 2.589vw, 80px);
}

.sc-review-balloon {
  padding: 2em 3em;
}

/* ---horaiya.html--- */

/* メインビジュアル */
.tr-main-visual {
  margin-top: 80px;
  height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../images/horaiya/horaiya-top-back.jpg);
  position: relative;
  padding-left: 1%;
  padding-right: 1%;
}

.comedy {
  color: #FF0066;
}

.tr-main-txt {
  color: #ffffff;
  font-family: 'Zen Old Mincho',serif;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 200;
  top: 30%;
  left: 10%;
}

.tr-main-txt h2 {
  font-size: clamp(16px, 3vw, 150px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tr-main-img {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
}

.tr-main-img img {
  height: calc(100vh - 80px);
  width: 100%;
  object-fit: cover;
}

.name-container {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
}

.first-name {
  font-size: clamp(80px, 8vw, 200px);
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.last-name {
  font-size: clamp(80px, 8vw, 200px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tr-main-visual .area2 {
  margin-top: 60px;
}

.btn-triangle-right a {
  position: relative;
  display: block;
  width: 18em;
  padding: 15px 0;
  background-image: url(../images/horaiya/btn.jpg);
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.english-site-text1{
  font-size: 25px;
}

.btn-triangle-right a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}

/* パフォーマンス */
.tr-show-movie {
  width: 100%;
  background-image: url(../images/horaiya/body-bg.jpg);
  background-size: 100% auto;
  background-repeat: repeat;
  background-position: top;
}

.tr-show-txt {
  text-align: center;
  padding-bottom: 80px;
}

.tr-show-txt h3 {
  font-size: clamp(20px, 15.146px + 1.294vw, 40px);
  text-align: center;
  color: #146749;
  font-family: 'Zen Old Mincho',serif;
  margin-bottom: 24px;
}

.tr-show-txt p{
  margin-top: 40px;
  font-family: 'Zen Old Mincho',serif;
}

.tr-show img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
  
}
.tr-show .img {
  flex: 1;
}


.tr-inner-txt {
  display: flex;
  flex-direction: column;
  flex: 2;
}

.tr-inner-txt h3, .tr-inner-txt p {
  margin: 0;
  padding: 1em 1.5em;
  font-family: 'Zen Old Mincho',serif;
}

.tr-inner-txt h3 {
  font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
}

.content-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 50px;
}


.tr-show .no-01{
  color: #B19555;
}

.tr-show .no-02{
  color: var(--color-green);
}

.tr-show .no-03{
  color: var(--color-green);
}

.tr-show .no-04{
  color: #B19555;
}

.tr-show .no-05{
  color: #B19555;
}

.tr-show .no-06{
  color: var(--color-green);
}

.tr-show .no-07{
  color: #B19555;
}

.tr-show .box-01{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.tr-show .box-02{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.tr-show .box-03{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.tr-show .box-04{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.tr-show .box-05{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.tr-show .box-06{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.tr-show .box-07{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.box {
  border: 3px solid #267F53;
  background-color: #fff;
  color: #222222;
  box-shadow: 6px 6px 0px #267F53;
  position: relative;
  grid-auto-flow: dense;
}

.box:last-child {
  grid-column: 1 / -1;  /* 1列目から最後までの幅を使う */
  justify-self: center;  /* 必要に応じて中央寄せ */
  max-width: 550px;      /* 元の幅を維持 */
}

.number {
  font-family: 'Zen Old Mincho',serif;
  font-weight: bold;
  font-size: 70px;
  position: absolute;
  top: -50px;
  left: 5%;
  color: #222;
}

.box-right .number{
  left: 80%;
}

.box-inner {
  display: flex;
  height: 100%;
}

.box-right .box-inner {
  display: flex;
  flex-direction: row-reverse;
}

/* ムービー */

.tr-movie-txt {
  text-align: center;
  padding-bottom: 80px;
}

.tr-movie-txt h3 {
  font-size: clamp(30px, 20.291px + 2.589vw, 70px);
  color: #146749;
  font-family: 'Zen Old Mincho',serif;
}

.tr-movie-txt p {
  margin-top: 1rem;
}

.movie-box {
  text-align: center;
}

.movie-box iframe{
  width: 900px;
  height: 600px;
  margin-right: auto;
  margin-left: auto;
  z-index: 100;
}

/* others */
.tr-others{
  padding-top: 0;
  padding-bottom: 0;
}

.tr-others h4,
.tr-others h5,
.tr-others p {
  opacity: 0;
  transition: opacity .3s ease-out; /* 透明度が変化する時間 */
  transition-delay: .5s;
}

.tr-others h4.is-visible,
.tr-others h5.is-visible,
.tr-others p.is-visible {
  opacity: 1;
}

.daikagura {
  padding-top: 40px;
  padding-bottom: 40px;
}

.video-background {
  filter: brightness(70%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
}

video {
  width: 100vw;
  overflow: hidden;
}

.daikagura-inner {
  margin-left: auto;
  margin-right: auto;
  width: 94%;
  max-width: calc(1200px + 16px);
  background-color:rgba(255, 255, 255, 0.7);
  padding: 20px 14px;
}


.daikagura .txt-box {
  display: flex;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 20px;
  border-bottom: 1px solid;
}

.daikagura h4 {
  font-size: clamp(45px, 5vw, 80px);
  padding: 20px 40px 20px 20px;
  font-weight: 300;
  color: #005E28;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.2);
  line-height:15px;
  text-decoration: underline;
  text-decoration-thickness: 10px;
  text-decoration-color: #005E28;
  text-underline-offset: 24px;
  
}

.daikagura p {
  line-height: 1.7em;
}

.txt-box .spacer {
  display: block;
  height: 1em;   /* <br><br> と同じくらいの空き */
}

.daikagura-performer-txt-area {
  padding: 24px 8px;
}

.daikagura-performer-title {
  font-size: 24px;
}

.daikagura-btn {
  text-align: end; /* ボタンを中央寄せ */
}

.tr-btn {
  margin-top: 40px;
  position: relative; 
  display: inline-block;
  width: 10em;
  padding: 15px 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  background-image: url(../images/horaiya/btn.jpg);
  text-align: center;
  text-decoration: none;
  box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.2);
  transition: all .3s;
}

.tr-btn:hover {
  transform: translateY(4px);
  box-shadow: inset rgba(0, 0, 0, 0.2) 2px 3px 1px;
}

.daikagura-btn .tr-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 27px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
}

/* 師匠セクション */
.sisyo {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/horaiya/shisho-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 80% center;
}

.sisyo-inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.sisyo .txt-box {
  width: 50%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sisyo h4 {
  color: #ffffff;
  font-size: 60px;
  font-family: 'Zen Old Mincho',serif;
}

.sisyo h5 {
  color: #ffffff;
  font-size: 32px;
  font-family: 'Zen Old Mincho',serif;
  padding-top: 1em;
  font-weight: 100;
}

.sisyo p {
  color: #ffffff;
  font-family: 'Zen Old Mincho',serif;
  padding-top: 6px;
}

.sisyo-btn {
  text-align: center; /* ボタンを中央寄せ */
}

.sisyo-btn .tr-btn {
  margin-top: 40px;
  position: relative; 
  display: inline-block;
  width: 20em;
  padding: 15px 0;
  border-radius: 8px;
  font-size: 20px;
  color: #fff;
  background-image: url(../images/horaiya/btn.jpg);
  text-align: center;
  text-decoration: none;
}

.sisyo-btn .tr-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 27px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
}

/* 夢セクション */
.yume{
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/horaiya/yume-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-position: 40% center;
}

.yume-inner {
  padding-top: 80px;
  padding-bottom: 80px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  display: flex;
  justify-content: flex-end;
}
.yume h4 {
  color: #ffffff;
  font-size: 60px;
  font-family: 'Zen Old Mincho',serif;
}

.yume p {
  color: #ffffff;
  font-family: 'Zen Old Mincho',serif;
  padding-top: 60px;
}

.yume .txt-box {
  width: 50%;
}

/* レビュー */
.tr-review {
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
  background-color: #146749;
}

.review-heading {
  text-align: center;
  padding-bottom: 30px;
}

.review-heading h2 {
  font-size: clamp(30px, 20.291px + 2.589vw, 70px);
  color: #EEF0E5;
  margin: 0;
  padding: 0 1.5em 0.5em;
}

.tr-review > .review-heading h2{
  font-family: 'Zen Old Mincho',serif;
}

.sc-review > h2 {
  font-family: var(--font-DelaGothicOne);
}

.review-heading p{
  color: #EEF0E5;
  font-family: 'Noto Sans JP';
  margin: 0;
  padding: 0 1.5em 1em;
}
.review-itembox{
  display: flex;
  gap: 30px;
}

.review-icon{
  width: 15%;
  display: flex;
  align-items: center;
}


/* 引き出し（タレントページ共通） */
.review-balloon-left {
  width: 90%;
  display: flex;
  align-items: center;
  position: relative;
  margin-right: auto;
  margin-left: auto;
  padding: 2em 2em;
  border: 1px solid var(--color-black);
  border-radius: 25px;
  background-color: #fff;
  color: var(--color-black);
  box-shadow:10px 10px 0px rgba(238, 240, 229, 1);
}

/* 吹き出しの白三角の黒い枠線 */
.review-balloon-left::before {
  position: absolute;
  /* top: 100px; 縮めたときに吹き出しずれる*/
  top: 65%;
  left: -21px;
  width: 20px;
  height: 15px;
  /* clip-path: polygon(0 0, 100% 50%, 0 100%); */
  clip-path: polygon(0 50%, 100% 100%, 100% 0%);
  content: '';
  background-color: var(--color-black);
  /* background-color: rgba(238,240,229,1); */
  z-index: 1; /* 尾の影の色を追加 */
}

/* 吹き出しの白三角 */
.review-balloon-left::after {
  position: absolute;
  /* top: 100px; 縮めたときに吹き出しずれる*/
  top: 65%;
  left: -19px;
  width: 20px;
  height: 15px;
  clip-path: polygon(0 50%, 100% 100%, 100% 0%);
  content: '';
  background-color: #fff;
  z-index: 1; /* 尾の影の色を追加 */
}

/* 尾の影 
.review-balloon-left .tail-shadow-left {
position: absolute;
top: 73%; /* 白三角と同じ高さ 
left: -15px; /* 白三角より少し右下にずらす
width: 20px;
height: 15px;
clip-path: polygon(0 50%, 100% 100%, 100% 0%);
background-color: rgba(238,240,229,1); /* 尾の影の色
z-index: 0; /* 本体の下に置く
}
*/

.review-box {
display: flex;
flex-direction: column;
gap: 32px;
}

/* ---horaiya_English.html */
/* メインビジュアル */

.en-name-container {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
}

.first-name {
  font-size: clamp(80px, 8vw, 200px);
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.last-name {
  font-size: clamp(80px, 8vw, 200px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.area2 p {
  font-size: clamp(16px, 2vw, 30px);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.en-btn a {
  position: relative;
  display: block;
  width: 18em;
  padding: 15px 0;
  background-image: url(../images/horaiya/btn.jpg);
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.english-site-text1{
  font-size: 25px;
}

.btn-triangle-right a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}

.en-main-visual-img{
  display: flex;
  align-items: center;
}

/* パフォーマンス */
.en-show-movie {
  width: 100%;
  background-image: url(../images/horaiya/body-bg.jpg);
  background-size: 100% auto;
  background-repeat: repeat;
  background-position: top;
}

.en-show {
  padding-top: 160px;
  padding-bottom: 80px;
}

.en-show-txt {
  text-align: center;
  padding-bottom: 80px;
}

.en-show-txt h3 {
  font-size: 54px;
  text-align: center;
  color: #146749;
  font-family: 'Zen Old Mincho',serif;
  margin-bottom: 24px;
}

.en-show-txt p{
  font-size: 18px;
}

.en-show img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
  
}
.en-show .img {
  flex: 1;
}

.en-inner-txt {
  display: flex;
  flex-direction: column;
  flex: 2;
}

.en-inner-txt h3, .en-inner-txt p {
  margin: 0;
  padding: 1rem 1.5rem; /*em → remに変更しました(木戸)*/
}

.en-inner-txt h3 {
  font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
}

.en-content-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 50px;
}

.en-show .no-01{
  color: #B19555;
}

.en-show .no-02{
  color: var(--color-green);
}

.en-show .no-03{
  color: var(--color-green);
}

.en-show .no-04{
  color: #B19555;
}

.en-show .no-05{
  color: #B19555;
}

.en-show .no-06{
  color: var(--color-green);
}

.en-show .no-07{
  color: #B19555;
}

.en-show .box-01{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.en-show .box-02{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.en-show .box-03{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.en-show .box-04{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.en-show .box-05{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.en-show .box-06{
  border: 3px solid var(--color-green);
  box-shadow: 6px 6px 0px var(--color-green);
}

.en-show .box-07{
  border: 3px solid #B19555;
  box-shadow: 6px 6px 0px #B19555;
}

.en-box {
  border: 3px solid #267F53;
  background-color: #fff;
  color: #222222;
  box-shadow: 6px 6px 0px #267F53;
  position: relative;
  grid-auto-flow: dense;
}

.en-box:last-child {
  grid-column: 1 / -1;  /* 1列目から最後までの幅を使う */
  justify-self: center;  /* 必要に応じて中央寄せ */
  max-width: 550px;      /* 元の幅を維持 */
}

.en-box-right .number{
  left: 80%;  /* 70％から変更しました(木戸) */
}

.en-box .number {
  top: -20%;
}

.en-box-inner {
  display: flex;
  height: 100%;
}

.en-box-right .en-box-inner {
  display: flex;
  flex-direction: row-reverse;
}

/* プロフィール */
.line-break {
  margin-top: 1rem;
}

.profile {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/horaiya/yume-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  background-position: 40% center;
}

.profile-inner {
  padding-top: 80px;
  padding-bottom: 80px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.profile h4 {
  color: #ffffff;
  font-size: 60px;
  font-family: 'Zen Old Mincho',serif;
}

.profile p {
  color: #ffffff;
  font-family: 'Zen Old Mincho',serif;
}

.profile .txt-box, .timeline {
  width: 60%; /*50%から変更しました（木戸）*/
  justify-self: end;
}

.timeline {
  margin-top: 2rem;
}

.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.timeline-date {
  width: 60px;
  float: left;
}
.timeline-content {
  width: 75%;
  float: left;
  padding-left: 30px;
  margin-bottom: 20px;
}

/* about */
.about {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/horaiya/EN-about-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 80% center;}

.about-inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about .txt-box {
  width: 60%; /*50%から変更しました（木戸）*/
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about h4 {
  color: #ffffff;
  font-size: 60px;
  font-family: 'Zen Old Mincho',serif;
}

.about h5 {
  color: #ffffff;
  font-size: 32px;
  font-family:'Zen Old Mincho',serif;
  padding-top: 2rem;
  font-weight: 100;
}

.about p {
  color: #ffffff;
  font-family: 'Zen Old Mincho',serif;
  padding-top: 6px;
}

/* 太神楽 */
.tr-others h4,
.tr-others h5,
.tr-others p {
  opacity: 0;
  transition: opacity 2s ease-out; /* 透明度が変化する時間 */
  transition-delay: 0.8s;
}

.tr-others p {
  font-family: 'Zen Old Mincho',serif;
}


.tr-others h4.is-visible,
.tr-others h5.is-visible,
.tr-others p.is-visible {
  opacity: 1;
}

.daikagura h4 {
  font-size: clamp(45px, 5vw, 80px);
  padding: 20px;
  font-weight: 300;
  color: #005E28;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.2);
  line-height:15px;
  text-decoration: underline;
  text-decoration-thickness: 10px;
  text-decoration-color: #005E28;
  text-underline-offset: 24px;
}

.daikagura p {
  line-height: 1.7em;
}

.daikagura-performer-txt-area {
  padding: 24px 8px;
}

.daikagura-performer-title {
  font-size: 24px;
}

.footer-JPSite-btn {
  width: 13em;
  background-color: var(--color-green);
  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;
}

/* ---concept.html--- */
/* メインビジュアル */
.cc-main-visual {
  margin-top: 80px;
  height: 50vh;
  background-image: url(../images/concept/concept-main.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color:rgba(255,255,255,0.5);
  background-blend-mode: lighten;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-main-txt {
  font-family: var(--font-Kaisei);
  color: var(--color-beige);
  text-shadow: 2px 2px 5px var(--color-black);
}

/* コンセプト */
.cc-container {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.cc-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4em;
}

.cc-txt p {
  line-height: 2;
}

.cc-txt span {
  color: #F58442;
  font-size:clamp(1.175rem, 1.131rem + 0.188vw, 1.3rem);
  font-weight: 700;
}

.cc-txt h3 {
  position: relative;
}

.cc-txt h3::before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -30px;
    width: 60px;
    height: 4px;
    background-color: var(--color-orange);
}

.cc-img {
  flex: 1;
}

.cc-img img {
  border-radius: 50px;
}

/* 活動歴 */

/* タブ */
.cc-tab {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cc-tab > label {
  flex: 1 1;
  order: -1;
  position: relative;
  min-width: 70px;
  border: 3px solid var(--color-orange);
  border-radius: 50px;
  padding: 2em 1em;
  background-color: #fff;
  font-size: .9em;
  text-align: center;
  cursor: pointer;
  transition: ease .3s;
}

.cc-tab > label:hover,
.cc-tab label:has(:checked) {
  background-color: var(--color-orange);
  color: #fff;
}

.cc-tab label:has(:checked)::before {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 9px;
  background-color: var(--color-orange);
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.cc-tab input {
  display: none;
}

.cc-tab label:has(:checked) + .cc-tab-box {
  display: block;
}

.cc-tab-box {
  display: none;
  text-align: center;
  width: 100%;
  padding: 3em 3em;
  background-color: #fff;
  border: 3px solid var(--color-orange);
  border-radius: 50px;
}

.cc-tab-box p {
  margin-top: 1.5em;
  padding-bottom: 1em;
  border-bottom: 3px dashed var(--color-orange);
}

.cc-tab-box p:first-child {
  margin: 0;
}

/* 個人ヒストリー */
.story-heading h2 {
  color: var(--color-beige);
}

.story-heading p {
  color: var(--color-beige);
}

.cc-story {
  background-color: var(--color-orange);
}

.cc-story p {
  color: var(--color-beige);
}

.story-txt {
  position: relative;
  z-index: 998;
  text-shadow: 1px 1px 5px #222222;
  width: 50%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.story-txt p {
  line-height: 2;
}

.story-txt p::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: -40px;
  width: 60px;
  height: 4px;
  background-color: var(--color-beige);
}

.story-img img{
  border-radius: 25px;
  width: 350px;
  height: 250px;
  object-fit: cover;
  opacity: .9;
}

.img-ver{
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: top;
}

.story-img {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

.img-01 {
  height: 400px;
  margin-top: -200px;
}

.img-01 img:last-child {
  align-self: flex-end;
}

.img-02 {
  height: 500px;
  margin-top: -300px;
  align-items: center;
}

.img-02 img:last-child {
  align-self: flex-end;
}

.img-03 {
  height: 400px;
  margin-top: -150px;
}

.img-03 img:first-child {
  align-self: flex-end;
}

/* 略歴 */
.history-box {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

table {
  border-collapse: collapse;
}

.history-box td {
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
  padding: 1em 2em;
  vertical-align: top;
  border-left: 3px dashed var(--color-orange);
}

td.td-left {
  border-left: none;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-orange);
}

.history-box span {
  color: var(--color-orange);
}

/* ---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 {
  text-align: center;
  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;
}

/* 入力欄 */
.form-container input {
  width: 100%; /* box-sizing適用、padding+border込みで100%に収まる */
  height: 60px;
  padding: 10px;
  margin-top: 10px;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
.select-box{
  width: 350px;
  height: 60px;
  padding: 10px;
  margin-top: 10px;
  border: 3px solid #A2BDF4;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

.form-container textarea {
  resize: none;
  width: 100%; /* box-sizing適用、padding+border込みで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);
}

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;
}



/* モバイル */
@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;
  }

  /* ---index.html--- */

  /* メインビジュアル */
  .main-visual {
    height: 100vh;
    background-image: url(../images/index/index_mainbg_mobile.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 0;
  }

  .main-visual-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  /* 英語テキスト */
  .main-visual-list {
    display: none;
    /* writing-mode: revert;
    position: absolute;
    top: 100px;
    font-size: clamp(20px, 4vw, 30px); */
  }


  /* キビートのサイズとポジション */
  .kibito-main-img {
    position: revert;
    overflow: hidden;
  }

  .comedy-kibito {
    width: 25vh;
    top: min(16%, 144px);
    left: 6%;
  }

  .traditional-kibito {
    width: 20vh;
    position: absolute;
    top: 37%;
    left: 55%;
  }

  .science-kibito {
    width: 25vh;
    left: 20%;
    bottom: 0;
  }

/* あしらいのサイズとポジション */
  .heart {
    width: max(5vw, 30px);
    top: 30%;
    left: calc(3% + 25vh);
  }

  .clover {
    width: max(5vw, 30px);
    top: 21%;
    left: calc(25vh - 2%);
  }

  .spade {
    width: max(5vw, 30px);
    top: 30%;
    left: 3%;
  }

  .diamond {
    width: max(5vw, 30px);
    top: 15%;
    left: 3%;
  }

  .sensu01 {
    width: min(10vw, 60px);
    bottom: 35%;
    left: 50%;
    right: revert;
  }

  .sensu02 {
    width: min(10vw, 60px);
    top: 39%;
  }

/* right */
  .sakura {
    width: min(6.4vw, 35px);
    transform: rotate(20deg);
    top: 45%;
    left: revert;
    right: 37%;
  }

  .flask01 {
    width: min(9vw, 40px);
    left: 5%;
  }

  .flask02 {
    width: min(11vw, 50px);
    bottom: 15%;
    left: calc(10% + 25vh + 7%);
    /* 左側の余白+サイエンスキビートの幅+あしらいまでの余白 */
  }

  .balloon01 {
    width: 32px;
    top: min(46%, 365px);
    left: 5%;
  }

  .balloon02 {
    width: 27px;
    top: 49%;
    left: 2%;
  }

  .main-visual-txt {
    writing-mode: revert;
    letter-spacing: 2px;
    margin-top: 28vw;
    margin-right: auto;
  }

  .main-visual-txt h1 {
    font-size: clamp(40px, 8vw, 56px);
    margin-top: 0;
  }

  .main-visual-txt p {
    font-size: clamp(18px, 4vw, 30px);
    text-shadow: 1px 1px 0px rgba(238, 240, 229, 1);
  }

  .main-visual-facebook {
    display: none;
  }

  /* ここからメッセージ */

  .heading h3 {
    position: absolute;
    inset: 25px 0;
    /* 文字数によって変わると思います */
    font-size: 24px;
  }

  .message-txt {
    position: revert;
    display: revert;
    width: 20em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 56px;
  }

  .message-txt p {
    text-align: center;
  }

  .kibito-btn {
    flex-direction: column-reverse;
    padding-top: 56px;
  }

  .slider img {
    width: calc(100vw / 2);
  }

  /* ここからタレント */
  .talent-inner {
    grid-template-columns: repeat(1, 1fr);
    gap: 64px;
  }

  .talent-card {
    display: flex;
  }

  .talent-txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1em 2em;
  }

  .talent-txt h4 {
    font-size: 18px;
  }

  .talent-txt h4 span {
    display: block;
    margin-right: 0;
  }

  /* イベント情報 */
  .event-inner {
    align-items: center;
  }

  .event-facebook p {
    font-size: 16px;
  }

  .fb-page,
  .fb-page span,
  .facebook-wrap iframe{
    width: 300px;
  }

  .calendar-pop-up {
    left: 0;
  }

  /* ここからフッター */
  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-kibito {
    display: none;
  }
  
  /* ---kibito.html--- */

  /* リスト非表示 */
  .co-main-visual-list {
    display: none;
  }
  /* メインビジュアル */
  .co-main-visual {
    background-image: url(../images/kibito/main-bg-sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 0;
    height: 100vh;
    position: static;
    display: flex;
    flex-direction: column-reverse;
  }

  .co-main-txt {
    position: static;
  }

  .co-main-txt p {
    font-size: 16px;
  }

  .co-main-img {
    position: static;
    height: 60%;
  }

  .co-main-img img {
    object-fit: cover;
    height: 100%;
  }
  /* パフォーマンス */
  .co-show-heading h2 {
    font-size: 25px;
  }

  .co-content-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .co-number {
    top: -30px;
  }

  .co-inner-txt h3,
  .co-inner-txt p {
    padding: 0 .5em .5em;
  }

  .co-box-inner img {
    object-fit: contain;
  }

  .co-heading h2 {
    font-size: 40px;
  }
  /* ムービー */
  .movie-box iframe {
    width: 100%;
    height: 200px;
  }
  
/* ムービーのあしらい非表示 */
  .co-movie-deco-1,
  .co-movie-deco-2 {
    display: none;
  }


  /* レビュー（共通） */
  .review-icon {
    width: 50%;
  }
  .review-icon img {
    transform: translateY(20px);
  }
  /* 吹き出しの余白 */
  .review-balloon ,
  .review-balloon-left {
    padding: 2em 2em;
  }

  /* ---kagaku.html--- */

  /* メインビジュアル */
  .sc-main-visual {
    margin-top: 0;
    height: 100vh;
    background-image: url(../images/kagaku/kagaku-mob-bg.jpg);
    overflow: hidden;
  }

  /* 要素をフレックスカラムで並べて、各ポジション設定をリセット */
  .sc-main-visual-inner {
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .sc-main-txt, .sc-main-txt p, .sc-main-txt h1, .sc-main-img {
    position: revert;
  }

  /* テキストのサイズ */
  .sc-main-txt p {
    font-size: 6vw;
    text-align: center;
  }

  .sc-main-txt h1 {
    font-size: 17vw;
  }

  .sc-main-txt img {
    width: max(10vw, 40px);
  }

  .sc-thunder01 {
    top: -36px;
    left: max(-14.3vw, -92px);
  }

  .sc-thunder02 {
    top: 22.5vw;
    right: max(-15.3vw, -94px);
  }

  .sc-main-img img {
    width: min(90vw, 455px);
    height: auto;
  }

  .sc-main-visual-list {
    display: none;
  }

  .sc-show-cloud {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .sc-cloud:first-child {
    grid-column: span 2;
    justify-self: center;
  }

  .sc-cloud {
    margin-bottom: 0;
  }

  .sc-content-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .sc-content-box .no-03{
    color: #94E182;
  }

  .sc-content-box .no-04{
    color: #94E182;
  }

  .sc-content-box .box-03{
    border: 3px solid #94E182;
    box-shadow: 6px 6px 0px #94E182;
  }

  .sc-content-box .box-04{
    border: 3px solid var(--color-yellow);
    box-shadow: 6px 6px 0px var(--color-yellow);
  }

  .sc-content-box .inner-txt {
    padding: .5em;
  }
  
  .sc-content-box .number {
    top: -30px;
  }

  .sc-content-box .inner-txt h3,
  .inner-txt p {
    padding: 1em .8em 0;
  }

  .sc-content-box .box-inner img {
    object-fit: contain;
  }
  

  /* ---horaiya.html--- */

  /* メインビジュアル */
  .tr-main-visual {
    margin-top: 0;
    padding-top: 20px;
    background-image: url(../images/horaiya/horaiya-top-back.jpg);
    margin-top: 0;
    height: 100vh;
    position: static;
    display: flex;
    flex-direction: column-reverse;
  }

  .btn-triangle-right a {
    width: 15em;
    padding: 10px 0;
  }

  .tr-main-txt {
    position: static;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
  } 
  .tr-main-txt h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
  }

  .tr-main-visual .area2 {
    margin-top: 0;
  }

  .name-container { 
    justify-content: center;
  }

  .first-name, .last-name {
    font-size: 50px;
  }

  .title-English-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tr-btn a {
    position: relative;
    display: block;
    width: 15em;
    padding: 8px 0;
  }

  .english-site-text1 {
    font-size: 20px;
  }

  .tr-main-img {
    position: static;
    height: 50%;
  }

  .tr-main-img img {
    object-fit: contain;
    height: 100%;
  }

  /* パフォーマンス */
  .tr-show {
    padding-top: 88px;
    padding-bottom: 80px;
    line-height: 2.5em;
  }

  .box:last-child {
  max-width: none;
  }

  .number {
    top: -24px;
    left: 80%;
    font-size: 50px;
  }

  .tr-show .title1::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
  }

  .tr-show .title2 {
    font-size: 30px;
  }

  .tr-show .title2::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
  }

  .tr-show .title3::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
  }

  .tr-show-txt h3 {
    font-size: 30px;
    text-align: center;
    color: #146749;
    font-family: 'Zen Old Mincho',serif;
    margin-bottom: 24px;
  }

  .content-box {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 80px;
  }
  .tr-show .no-03{
    color: #B19555;
  }
  .tr-show .no-04{
    color: var(--color-green);
  }
  .tr-show .box-03{
    border: 3px solid #B19555;
    box-shadow: 6px 6px 0px #B19555;
  }
  .tr-show .box-04{
    border: 3px solid var(--color-green);
    box-shadow: 6px 6px 0px var(--color-green);
  }
  .inner-txt {
    flex: 2;
  }

  /* ムービー */
  .tr-movie-content-box iframe {
    width: 100%;
    height: 400px;
  }

  /* others */
  /* 太神楽 */
  .video-background {
    left: -100%;
  }

  video {
    height: 100vh;
    width: auto;
  }

  .daikagura .txt-box {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
  }

  .daikagura h4 {
    padding: 20px 20px 20px 20px;
    text-align: center;
  }

  .daikagura .txt-box p {
    padding: 20px 8px;
    font-size: 16px;
  }

  .txt-box .spacer {
    display: block;
    height: 0.9em; /* 余白を自由に調整 */
  }

  .daikagura-performer-txt-area p {
    text-align: center;
  }
  .daikagura-performer-txt-area .performer-name br {
    display: none;
  }

  .daikagura-performer-title::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
    text-align: center;
  }
  
  .daikagura-performer-subtitle{
    font-size: 12px;
    text-align: center;
  }
  .daikagura-btn {
    text-align: center; /* 中央寄せ */
  }
  .daikagura-btn .tr-btn {
    width: 25em;                       /* スマホ幅 */
    font-size: clamp(10px, 3vw, 80px); /* 文字サイズ可変 */
  }
  
  /* 師匠 */
  .sisyo-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sisyo h4 {
    font-size: 30px;
    text-align: center;
  }

  .sisyo h5 {
    font-size: 24px;
    text-align: center;
  }

  .sisyo .txt-box {
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
 .sisyo-btn .tr-btn {
    width: 25em;            /* スマホ時の幅 */
    font-size: clamp(10px, 3vw, 80px);
  }

  /* 夢 */
  .yume-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .yume .txt-box {
    width: 100%;
  }

  .yume h4 {
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  }

  /* ---horaiya_English.html */
  /* メインビジュアル */

  .en-main-visual-title-inner{
    margin-top: 0px;
    align-items: center;
  }
  .en-main-visual-title-inner h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
  }

  .en-main-visual .area2 {
    margin-top: 30px;
  }

  .area2 p:first-child {
    text-align: center;
    margin-top: 20px;
  }

  .btn a {
    position: relative;
    display: block;
    width: 15em;
    padding: 8px 0;
  }

  .english-site-text1 {
    font-size: 20px;
  }
  .en-show {
    padding-top: 88px;
    padding-bottom: 80px;
    line-height: 1.6;
  }

  .en-box:last-child {
  max-width: none;
  }

  .en-number {
    left: 80%;
  }

  .en-show .title1::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
  }

  .en-show .title3::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
  }

  .en-show-txt h3 {
    font-size: 40px;
    text-align: center;
    color: #146749;
    font-family: 'Zen Old Mincho',serif;
    margin-bottom: 24px;
  }
  .en-content-box {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 80px;
  }
  .en-show .no-03{
    color: #B19555;
  }
  .en-show .no-04{
    color: var(--color-green);
  }
  .en-show .box-03{
    border: 3px solid #B19555;
    box-shadow: 6px 6px 0px #B19555;
  }

  .en-show .box-04{
    border: 3px solid var(--color-green);
    box-shadow: 6px 6px 0px var(--color-green);
  }
  .en-inner-txt {
    flex: 2;
  }
  .en-inner-txt p {
    font-size: 12px;
  }

  .tr-movie-content-box iframe {
    width: 90%;
    height: auto;
    height: 300px
  }

  .profile .txt-box {
    width: 100%;
  }

  .profile h4 {
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  }

  .timeline {
    list-style: none;
  }
  .timeline > li {
    margin-bottom: 40px;
  }

  .about .txt-box {
    width: 100%;
  }

  .about h4 {
    font-size: 30px;
    text-align: center;
  }

  .about h5 {
    font-size: 24px;
    text-align: center;
  }

  .daikagura .txt-box {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
  }

  .daikagura h4 {
    padding: 20px 20px 20px 20px;
    text-align: center;
  }

  .daikagura .txt-box p {
    padding: 20px 8px;
    font-size: 16px;
  }

  .txt-box .spacer {
    display: block;
    height: 0.9em; /* 余白を自由に調整 */
  }

  .daikagura-performer-txt-area p {
    text-align: center;
  }
  .daikagura-performer-txt-area .performer-name br {
    display: none;
  }

  .daikagura-performer-title::after {
    content: "\A";   /* 改行コード */
    white-space: pre; /* 改行を効かせる */
    text-align: center;
  }
  
  .daikagura-performer-subtitle{
    font-size: 12px;
    text-align: center;
  }
  .daikagura-btn {
    text-align: center; /* 中央寄せ */
  }
  .daikagura-btn .btn {
    width: 25em;                       /* スマホ幅 */
    font-size: clamp(10px, 3vw, 80px); /* 文字サイズ可変 */
  }

  .footer-JPSite-button{
    min-height: 55px;
    min-width: 200px;
    font-size: 20px;
  }

  /* ---concept.html--- */
/* メインビジュアル */
  .cc-main-visual {
    margin-top: 0;
    height: 50vh;
  }

  .heading h2 {
    font-size: 80px;
  }

  .heading > p {
    font-size: 16px;
  }

  .cc-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .cc-txt h3 {
    font-size: 16px;
    text-align: center;
  }

  .cc-txt h3::before {
    bottom: -30px;
  }

  .cc-tab {
    display: grid;
    gap: 10px;
  }

  .cc-tab > label {
    min-width: 20px;
    padding: 1em 1em;
    font-size: .8em;
  }

  .cc-tab-box {
    margin-top: 20px;
  }

  .cc-story {
    background-color: inherit;
  }

  .story-heading h2 {
    color: var(--color-orange);
  }

  .story-heading p {
    color: var(--color-black);
  }

  .story-img {
    display: none;
  }

  .story-bg {
    margin-top: 0;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    line-height: 2;
  }

  .story-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 0;
    padding: 20px;
    width: 100%;
    opacity: 0;
    transition: opacity 2s ease-out; /* 透明度が変化する時間 */
    transition-delay: 0.8s;  
  }

  .story-txt.is-visible {
    opacity: 1;
  }

  ._01 {
    margin-top: 40px;
  }

  .story-txt p::before {
    display: none;
  }

  .story-bg._01 {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/concept/concept_list01.jpg);
  }

  .story-bg._02 {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/concept/concept_list02.jpg);
  }

  .story-bg._03 {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(../images/concept/concept_list06.jpg);
  }

  .history-box td {
    padding: .5em 1em;
  }

  /* ---contact.html--- */
  .form-container input{
    width: 100%; /* box-sizing適用／100%(padding+border) */
    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;
  }
}





