@charset "UTF-8";

.crosstalk{
    max-width: 1780px;
    align-items: center;
    margin: 100px auto 0;
}

.title-wrapper {
    position: relative;
    left: 7%;
    display: inline-block;  /* テキストの幅に合わせる */
    background-image: url(../img/note-book.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    text-align: center;  /* 中央寄せ */
    padding: 20px 5% 0 3%;  /* 余白の調整 */
    margin-top: 40px;
}


.cross-talk-heading {
    display: flex;
    align-items: center; /* 高さを揃える */
    position: relative;
    left: 3%;
    margin: 50px auto 0;
}

.talk-position {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color:rgb(var(--primary-yellow-rgb) / 60%);
  font-family: 'BananaSlip', 'Noto Sans JP', sans-serif;
  color: var(--primary-red);
  font-size:  clamp(2rem, calc(30 / 1100 * 100vw), 3rem);
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1em;
  
  display: flex;
  flex-direction: column;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;  
}

.cross-talk-image{
    display: block;
    width: 70%;
    margin: 30px auto 0;
}

.catchphrase{
    font-family: "a-otf-ud-shin-maru-go-pr6n", sans-serif;
    text-align: center;
    font-size:clamp(3rem, calc(35 / 1100 * 100vw), 4rem);
    font-weight: 300;
    color: black;
    padding-top: 30px;
}

/* クロストーク全体 */
.talk-section {
    margin: 40px auto 0;
}

.talk-title-wrap {
    position: relative;
    width: fit-content;
    background-color: var(--primary-red);
    border-radius: 70px 0 0 0;
    padding: 15px 100px 15px 50px;
    margin: 80px 0 0 auto;
  }

/* 質問のスタイル */
.talk-title {
    display: block;
    font-family: "senobi-gothic", 'Noto Sans JP', sans-serif;
    width: fit-content;
    font-size: clamp(2rem, calc(30 / 1100 * 100vw), 3rem);
    color: #fff;
}

.quote-mark {
    font-family: 'BananaSlip', 'Noto Sans JP', sans-serif;
    position: absolute;
    right: 0px;   /* ← ここで“外にはみ出す” */
    top: -33px;     /* ← 上へずらす */
    font-size: 16rem;
    font-weight: bold;
    color: rgb(var(--primary-yellow-rgb) / 100%);
    line-height: 1;
  }

/* 吹き出しの共通スタイル */
.speech-container {
    display: flex;
    align-items: center;
    gap: 25px; /* 吹き出しと画像の間隔 */
    padding-top: 30px;
  }

  .crosstalk-dialog{
    width: 80%;
    margin: 0 auto;
  }
  
  .speech-bubble {
    position: relative;
    background: #fff; /* 吹き出しの背景色 */
    padding: 15px;
    border-radius: 10px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  }


/* 画像のスタイル */
.talk-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* デフォルトの三角サイズ */
.left-bubble::before,
.right-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
}

/* 左側の吹き出し（通常時） */
.left-bubble::before {
  left: -20px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #fff;
}

/* 右側の吹き出し（通常時） */
.right-bubble::after {
  right: -20px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff;
}

/* 小さい吹き出しのとき、三角を縮小 */
.small-bubble::before {
  border-top: 10px solid transparent !important;
  border-bottom: 10px solid transparent !important;
  border-right: 15px solid #fff !important;
  left: -15px !important;
}

.small-bubble::after {
  border-top: 10px solid transparent !important;
  border-bottom: 10px solid transparent !important;
  border-left: 15px solid #fff !important;
  right: -15px !important;
}

/* 右側の吹き出しが右寄せになるようにする */
.speech-container.right {
    display: flex;
    justify-content: flex-end;  /* 右寄せ */
  }
  
  .speech-bubble.right-bubble {
    text-align: left; /* 右寄せした後、テキストは左に配置 */
  }

/* 交互レイアウト */
.talk-left {
    display: flex;
    justify-content: center;
}

.talk-right {
    display: flex;
    justify-content: center;
}

.talk-text{
    font-family: "Noto Sans JP", serif;
    font-weight: bold;
    font-size: clamp(1.5rem, calc(18 / 1100 * 100vw), 1.8rem);
    color: black;
    align-items: center;
    width: auto;
}

.pc-br{
    display: block;
}


/* ============ボタン=============== */
.crosstalk-btns{
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}
.circle-btn {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color:rgb(var(--primary-yellow-rgb) / 60%);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.6);
    font-family: 'BananaSlip', 'Noto Sans JP', sans-serif;
    color: var(--primary-red);
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
    text-decoration: none;
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.2;
  }

  .crosstalk-btns > .circle-btn:hover{
    opacity: 0.5;
    transform: translateY(4px);
  }
  
  

/* ============768px以下=============== */
@media (max-width: 768px) {
  .talk-position {
    width: 115px;
    height: 115px;
    font-size:  clamp(1.6rem, calc(28 / 1100 * 100vw), 3rem);
    letter-spacing: none;
    
    display: flex;
    line-height: 1;  
  }
  .catchphrase{
    padding-top: 0;
}

.cross-talk-image{
  width: 80%;
}
  
    .quote-mark {  
        font-size: 8rem;
        right: 0px;   /* ← ここで“外にはみ出す” */
        top: -20px;     /* ← 上へずらす */

      }
    .talk-title-wrap{
        padding: 5px 30px 5px 25px;
        margin: 0 0 0 auto;
    }
 

    .talk-speaker {
        font-size:  clamp(3rem, calc(40 / 1100 * 100vw), 5rem);
    }
    .catchphrase{
        width: 60%;
        font-size:clamp(1.6rem, calc(28 / 1100 * 100vw), 3rem);
    }
    .talk-text{
        font-size: clamp(1.4rem, calc(18 / 1100 * 100vw), 18rem);
        font-weight: 400;
}

.left-bubble::before,
.right-bubble::after {
    display: none; /* 三角を非表示にする */
}

.speech-container {
    gap: 8px; /* 吹き出しと画像の間隔 */
    padding-top: 18px;
}
.speech-bubble {
    padding: 10px;
  }

.talk-img {
    width: 60px;
    height: 60px;
}

.pc-br{
    display: none;
}

/* ============ボタン=============== */
.crosstalk-btns{
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
}
.circle-btn {
    width: 140px;
    height: 140px;
    font-size: 2.2rem;
    line-height: 1.2;
    gap: 2px;
  }
}
/* ============425px以下=============== */
@media (max-width: 425px) {
    .crosstalk-btns{
        gap: 20px;
    }
    .circle-btn {
        width: 80px;
        height: 80px;
        font-size: 1.4rem;
        line-height: 1;
        gap: 2px;
      }
}

