body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  position: relative;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  word-wrap: break-word;
    background-color: #fff;
    font-family: 'Noto Sans JP', 'Arial',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ ゴシック',sans-serif;
}

.inner {
    background-color: #fbf0f4;
    width: 100%;
  padding: 4rem 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.center {
    text-align: center;
}
.section-divider {
    border-top: 2px solid #333;
    margin: 20px 0; 
}

/* =====================
   セレクトボックス
===================== */
.select-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.select-wrapper select {
    background-color: transparent;
    position: relative;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 53%;
    transform: translateY(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #707070;
    pointer-events: none;
}

/* =====================
   メールフォーム
===================== */
.mail-label {
    display: block;
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    min-width: 144px;
    align-items: center;
}

.mail-label-area {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.mail-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mail-select {
    width: 280px;
    height: 48px;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #DDD;
    background: #FFF;
}
.question-block + .question-block {
    border-top: 1px solid #DDD; 
    padding-top: 24px;          
    margin-top: 24px;           
}
.question-count {
    display: inline-block;
    background-color: #db7495; 
    color: #fff; 
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
}
/* =====================
   テキスト入力
===================== */
input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

input:focus:not(:placeholder-shown),
input:not(:placeholder-shown) {
    border-color: #db7495;
    box-shadow: 0 0 5px rgba(219, 116, 149, 0.2);
}

input:focus {
    border-color: #db7495;
}

/* =====================
   送信ボタン
===================== */
.tell-submit-btn {
    max-width: 318px;
    width: 100%;
    padding: 12px;
    background-color: #db7495;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin: 0 auto;
}

.tell-submit-btn:disabled {
    background-color: #B7B7B7;
    cursor: not-allowed;
}

.tell-submit-btn:hover:not(:disabled) {
    background-color: #db7495;
}

/* =====================
   フォームエリア
===================== */
.tell-form {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.tell-form label {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
}

.tell-form-input {
    max-width: 343px;
    width: 100%;
    height: 48px;
    padding: 9px;
    border-radius: 4px;
    border: 1px solid #DDD;
    background: #FFF;
}

.tell-form-area {
    display: flex;
    flex-direction: column;
    max-width: 880px;
    margin: 0 auto;
}

/* =====================
   結果ボックス
===================== */
.result-box {
    margin-top: 25px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    min-height: 50px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.num-display {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

/* =====================
   公式アイコン
===================== */
#official_icon,
#official_icon_sms {
    width: 30%;
    height: auto;
}

/* =====================
   タブ
===================== */
.cmp-tabs__tablist {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #DDD;
    justify-content: center;
}

.cmp-tabs__tab {
    padding: 1rem 8rem;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border: 1px solid #DDD;
    border-bottom: none;
    background-color: #f5f5f5;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
}

.cmp-tabs__tab--active {
    background-color: #fff;
    color: #db7495;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
}

.cmp-tabs__tabpanel {
    display: none;
    padding: 24px;
    background-color: #fff;
}

.cmp-tabs__tabpanel--active {
    display: block;
}

.cmp-tabs {
    margin-bottom: 0;
}
.cmp-button {
    text-decoration: none;
    color: #db7495;
    font-weight: bold;
}
.cmp-button::after{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../img/arrow.png") no-repeat center / contain;
    vertical-align: center;
}
.result-container {
    margin-top: 2rem;
}
.result-flex {
    display: flex;
    gap: 0;
    background-color: #fbf0f4; 
    padding: 20px;
    align-items: stretch;
    
}
.result-flex > div {
    flex: 1;
    min-width: 0; 
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
}
.result-links {
    background-color: #fff;
}
.result-flex > div + div {
    border-left: 2px solid #db7495;
}
.result-flex ul {
    padding-left: 12px;
}
.result-flex img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: auto;
}
.gray-border .caution::before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../img/caution.png") no-repeat center / contain;
    vertical-align: center;
    margin-right: 8px;
}
.gray-border .shield::before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../img/shield.png") no-repeat center / contain;
    vertical-align: center;
    margin-right: 8px;
}
.spOnly {
    display: none;
}
.pcOnly {
    display: block;
}
/* =====================
   レスポンシブ
===================== */
@media screen and (max-width: 769px) {

    .mail-label-area {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .mail-select {
        width: 100%;
    }

    .tell-form {
        flex-direction: column;
        align-items: flex-start;
    }
    .inner {
    width: 100%;
  padding: 2rem 1rem;
    margin: 0 auto;
}
 .cmp-tabs__tab {
    padding: 1rem 3rem;
}

   .result-flex {
    gap: 10px;
    padding: 10px;
       flex-direction: column;
}
    h3 {
        font-size: 1rem;
    }
    .result-flex > div {
    flex: 1;
    min-width: 0; 
    padding: 1rem 0.5rem;
}
.result-flex > div + div {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #db7495;
}
.result-flex ul {
    padding-left: 8px;
    margin: 0;
}
    .spOnly {
    display: block;
}
.pcOnly {
    display: none;
}

}

@media (max-width: 640px) {

    #official_icon,
    #official_icon_sms {
        width: 60%;
        height: auto;
    }
}