body {
    font-family: "ヒラギノ角ゴ W6 JIS2004";
    background-color: #f3f3f3;
}

label {
    display: block;
    margin-bottom: 0.5em;
}

.sp_only {
    display: none;
}

@media (max-width: 768px) {
    .sp_only {
        display: block;
    }
}

.tt2 {
    font-size: 24px;
}

.tt3 {
    font-size: 17px;
}

.tttx {
    font-size: 19px;
    font-family: "ヒラギノ角ゴ W6 JIS2004";
    font-weight: bold;
}

.reqin {
    background-color: #e8f0fd;
}

.extxt {
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
    font-size: 33px;
    font-weight: bold;
    color: #00549D;
    text-align: center;
}

.required::after {
    content: "必須";
    color: #FFF;
    background-color: #C2182D;
    font-size: 15px;
    width: auto;
    padding: 2px 1.5em;
    text-align: center;
    margin-left: 1em;
    border-radius: 50px;
    /* vertical-align: text-top; */
}

/* .required::before {
    content: "必須";
    color: #FFF;
    background-color: #c60000;
    font-size: 15px;
    width: auto;
    padding: 2px 0.5em;
    text-align: center;
    margin-right: 1em;
} */

input[type="text"],
input[type="name"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="month"],
input[type="date"],
select {
    width: 100%;
    max-width: 450px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 19px;
}

.flex {
    display: flex;
}

.flex-details-1 {
    display: flex;
}

.flex-mb10-1 {
    margin-bottom: 0px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flex-details-1 {
        flex-direction: column;
    }

    .flex-mb10-1 {
        margin-bottom: 10px;
    }
}

/* numberにスピンボタンを出さない */
.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px;
    margin-bottom: 30px;
}

@media (min-width: 960px) {
    .container {
        margin-bottom: 90px;

    }
}

#header-navi {
    width: 100%;
}

#header-navi>ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

#header-navi>ul>li {
    list-style: none;
}

.form-group {
    margin-bottom: 3em;
}

.optional::before {
    content: "任意";
    color: #FFF;
    background-color: #7d7d7d;
    font-size: 12px;
    width: auto;
    padding: 2px 0.5em;
    text-align: center;
    margin-right: 1em;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bold;
}

@media (max-width: 768px) {
    .radio-label {
        margin-bottom: 16px;
    }
}

.unit-after {
    padding-left: 1em;
}

.details-group-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.details-group-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.details-group-3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.details-group-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.button-fields {
    display: flex;
    gap: 30px;
    /* 各要素の間にスペースを追加 */
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
}

.next-button {
    width: 200px;
    height: 44px;
    color: #c60000;
    background-color: #FFF;
    border: solid;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
}

.next-button:hover {
    color: #FFF;
    background-color: #c60000;
}

.previous-button {
    width: 100px;
    height: 33px;
    color: #000;
    background-color: #FFF;
    border: solid;
    transition: all 0.3s ease;
    opacity: 0.3;
    font-weight: bold;
    font-size: 16px;
}

.previous-button:hover {
    color: #FFF;
    background-color: #000;
}

.submit-button {
    width: 300px;
    height: 60px;
    color: #FFF;
    background-color: #103466;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 3px;
}

/* ユーティリティグループ */
.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt50 {
    margin-top: 50px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.ml30 {
    margin-left: 30px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.mr10 {
    margin-right: 10px;
}

.mr20 {
    margin-right: 20px;
}

.mr30 {
    margin-right: 30px;
}

.mr40 {
    margin-right: 40px;
}

.mr50 {
    margin-right: 50px;
}

.mb05em {
    margin-bottom: 0.5em;
}

/* =================== */
/* ヘッダー全体のスタイル */
.form-header {
    /* position: fixed;
    top: 0;
    left: 0; */
    width: 100%;
    /* background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000; */
}

.progress-nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* ステップナビゲーション */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* プログレスライン */
.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    /* left: 0;
    right: 0; */
    /* 左端から1番目のステップの中心まで */
    left: 20px;
    /* 右端から6番目のステップの中心まで */
    right: 20px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

/* 各ステップのスタイル */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    min-width: 80px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: bold;
    color: #666666;
    transition: all 0.3s ease;
}

.step-text {
    display: none;
}

@media (min-width: 769px) {
    .step-text {
        display: block;
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        max-width: 80px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
}

/* アクティブなステップのスタイル */
.step.active .step-number {
    background: #000;
    border-color: #fff;
    color: #fff;
}

/* .step.active .step-text {
    background: #fff;
    border-color: #000;
    color: #000;
    font-weight: bold;
} */

/* 完了したステップのスタイル */
.step.completed .step-number {
    background: #ffffff;
    border-color: #000;
    color: #000;
}

/* メインコンテンツのパディング調整 */
/* .container {
    padding-top: 120px;
} */

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .progress-nav {
        padding: 15px 10px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step-text {
        font-size: 10px;
        max-width: 60px;
    }

    .progress-steps::before {
        top: 15px;
    }

    .container {
        padding-top: 70px;
    }

    .spmr20 {
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .step {
        min-width: 50px;
    }

    .step-text {
        max-width: 50px;
        font-size: 9px;
    }
}

/* =================== */


/* スマホの場合のスタイル */
@media (max-width: 600px) {

    input[type="text"],
    input[type="name"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="month"],
    input[type="date"],
    select {
        width: 90%;
    }

    .details-group-1 {
        grid-template-columns: repeat(2, 1fr);
        /* 1列に変更 */
        gap: initial;
    }

    .details-group-2 {
        grid-template-columns: repeat(1, 1fr);
        /* 1列に変更 */
        gap: initial;
    }

    .details-group-3 {
        grid-template-columns: repeat(3, 1fr);
        /* 1列に変更 */
        gap: initial;
    }

    .details-group-4 {
        grid-template-columns: repeat(2, 1fr);
        /* 1列に変更 */
        /* gap: initial; */
    }
}

/*-----------------------
 header
-------------------------*/
#header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.header-logo {
    width: 200px;
    display: flex;
}

.header-logo img {
    max-width: 200px;
    height: auto;
}

/*-----------------------
visibility
-------------------------*/
.hidden {
    display: none !important;
}

@media (min-width: 480px) {
    .hidden_xs {
        display: none !important;
    }
}

@media (min-width: 640px) {
    .hidden_s {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hidden_mm {
        display: none !important;
    }
}

@media (min-width: 960px) {
    .hidden_m {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hidden_l {
        display: none !important;
    }
}

@media (min-width: 1600px) {
    .hidden_xl {
        display: none !important;
    }
}

@media (max-width: 479px) {
    .visible_xs {
        display: none !important;
    }
}

@media (max-width: 639px) {
    .visible_s {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .visible_mm {
        display: none !important;
    }
}

@media (max-width: 959px) {
    .visible_m {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .visible_l {
        display: none !important;
    }
}

@media (max-width: 1599px) {
    .visible_xl {
        display: none !important;
    }
}


/*------------------------------------------*
* a img tag
*------------------------------------------*/
a,
a img {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover, a:active, a:focus {
    text-decoration: none;
    color: inherit;
}

/* a:hover img, a:active img, a:focus img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
} */
/*-----------------------
section
-------------------------*/
.com-sec-01 {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 640px) {
    .com-sec-01 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 960px) {
    .com-sec-01 {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.form-box-line {
    padding: 30px 20px;
    border: 2px solid #000;
    border-radius: 12px;
    background-color: #fff;
}

@media (min-width: 960px) {
    .form-box-line {
        padding: 60px 120px;
    }
}

.details-month {
    width: 25% !important;
}

.details-sales {
    width: 25% !important;
}

.details-width-1 {
    width: 90px !important;
}

.details-width-2 {
    width: 200px !important;
}

.details-width-3 {
    width: 300px !important;
}

.details-flex-1 {
    display: flex;
    gap: 10px;
}

.details-checkbox {
    margin-bottom: 0px;
    font-size: 17px;
    font-weight: bold;
}

.flex-checkbox {
    display: flex;
    align-items: center;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}

.flex-box1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.red-attention {
    color: #c60000;
    font-size: 12px;
}