@charset "UTF-8";

.CrossTalk{
    width: calc(100vw - 100px);
    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;
}

.en, 
.jp {
    display: block;  /* 縦に並べる */
    text-align: center;
}

.en {
    font-size:  clamp(3rem, calc(40 / 1100 * 100vw), 5rem);
    font-family: "Lobster", sans-serif;
    color: var(--primary-red)
}

.jp {
    font-size: clamp(1.8rem, calc(2/ 1100 * 100vw), 3.5rem);
    font-family:"Noto Sans JP", serif;
    color: var(--primary-red);
    font-weight: bold;
    padding-bottom: 40px;
}

.cross-talk-heading {
    display: flex;
    gap: 2%; /* 間隔を調整 */
    align-items: center; /* 高さを揃える */
    position: relative;
    left: 8%;
    margin: 50px auto 0;
}

.talk-speaker {
    font-family:"vdl-logojrblack", sans-serif;
    font-size:  clamp(4rem, calc(50 / 1100 * 100vw), 5.5rem);
    color: var(--primary-blue);
    letter-spacing: 0.06em;
}

.talk-position {
    font-family: "Noto Sans JP", serif;
    font-size:  clamp(2rem, calc(30 / 1100 * 100vw), 3.5rem);
    color: black;
    font-weight: bold;
}

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

.catchphrase{
    text-align: center;
    font-family: "Noto Sans JP", serif;
    font-size:clamp(3rem, calc(35 / 1100 * 100vw), 4rem);
    font-weight: bold;
    color: black;
    padding-top: 30px;
}

/* クロストーク全体 */
.talk-section {
    width: calc(100vw - 100px);
    margin: 40px auto 0;
    padding: 20px;
    background-color: rgba(129, 193, 198, 0.3);
}

/* 質問のスタイル */
.question {
    font-family: "vdl-logojrblack", sans-serif;
    font-size: clamp(3rem, calc(40 / 1100 * 100vw), 4.5rem);
    color: var(--primary-red);
    text-align: center;
    margin-top: 50px;
}

/* 吹き出しの共通スタイル */
.speech-container {
    display: flex;
    align-items: center;
    gap: 25px; /* 吹き出しと画像の間隔 */
    padding-top: 40px;
  }
  
  .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;
    border: 2px solid #ddd;
}

/* デフォルトの三角サイズ */
.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(20 / 1100 * 100vw), 2rem);
    color: black;
    align-items: center;
    width: auto;
}

.pc-br{
    display: block;
}

/* =====ボタン========= */
.view-crosstalk-list {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    border-radius: 45px;
    font-weight: bold;
    width: 60%;
    position: relative;
    letter-spacing: 0.16em;
    font-family: "Dela Gothic One", sans-serif;
    font-size: clamp(2rem, calc(35 / 1100 * 100vw), 4rem);
    margin: 0 auto;
    bottom: 10px;
}

/* 円の背景 */
.circle {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.2);
    margin-left: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* 三角形 */
.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-red);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.view-employee {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-red);
    color: white;
    padding: 8px 0;
    border-radius: 45px;
    font-weight: bold;
    width: 40%;
    position: relative;
    letter-spacing: 0.16em;
    font-family: "Dela Gothic One", sans-serif;
    font-size: clamp(2rem, calc(35 / 1100 * 100vw), 4rem);
    margin: 90px auto 0;
}

.view-crosstalk-list:hover,
.view-employee:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transform: translateY(4px);
}

.button-group{
    padding: 80px 0 120px 0;
}

.sp-br{
    display: none;
}

/* ============768px以下=============== */
@media (max-width: 768px) {
    .CrossTalk{
        width: calc(100vw - 40px);
    }

    .en {
        font-size:  clamp(3rem, calc(40 / 1100 * 100vw), 5rem);
        padding-top: 7px;
    }
    
    .jp {
        font-size:  clamp(1.6rem, calc(16 / 1100 * 100vw), 1.8rem);
    }

    .talk-section {
        width: calc(100vw - 40px);
    }

    .cross-talk-heading{
        flex-direction: column;
        text-align: left;
        margin-top: 20px;
        align-items: start;
    }

    .title-wrapper {
        padding: 0px 5% 0 3%;  /* 余白の調整 */
        margin-top: 40px;
    }

    .talk-speaker {
        font-size:  clamp(3rem, calc(40 / 1100 * 100vw), 5rem);
    }

    .talk-position {
        font-family: "Noto Sans JP", sans-serif;
        font-size:  clamp(2rem, calc(23 / 1100 * 100vw), 3rem);
        color: black;
        font-weight: bold;
    }

    .catchphrase{
        width: 90%;
        font-size:clamp(1.8rem, calc(28 / 1100 * 100vw), 3rem);
        margin: 0 auto;
    }

    .question {
        font-size: clamp(2rem, calc(30 / 1100 * 100vw), 4rem);
    }

    .talk-text{
        font-size: clamp(1.5rem, calc(18 / 1100 * 100vw), 18rem);
        font-weight: 400;
}

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

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

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

.pc-br{
    display: none;
}

/* =====ボタン========= */

.view-crosstalk-list {
    padding: 0 15px;
    width: 90%;
}

.view-crosstalk-list::after {
    padding: 4%;
    font-size: 25px; /* ▶ のサイズ */

    width: 35px; /* 円のサイズ */
    height: 35px;
}

.view-employee{
    width: 90%;
}

.view-employee::after {
    padding: 4%;
    font-size: 25px; /* ▶ のサイズ */

    width: 35px; /* 円のサイズ */
    height: 35px;
}

}


/* ==========================
footer
========================== */
.footer{
    
}