/* 独自実装分 */
.none{
    display:none;
}
.block{
    display:block;
}
.massage-container{
    margin-bottom: 15px;
    background-color: #f4f7cb;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid yellowgreen;
    box-shadow: 5px 5px 3px -0px gainsboro;
}

.red{
    color:red;
}

.item-icon{
    width: 30px;
    height: 30px;
    margin: 2px;
}
.input-box{
    display:flex ;
    justify-content: stretch;
    align-items: stretch;
}
.input-box-center{
    display:flex ;
    justify-content: center;
    align-items: stretch;
}


/* 共通のスタイル設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center; /* 最初の画面中央配置を維持 */
    min-height: 100vh;
    box-sizing: border-box;
    overflow-y: auto; /* スクロールを有効にする */
}

.mt-10{margin-top: 10px!important;}
.mt-20{margin-top: 20px!important;}
.mt-30{margin-top: 30px!important;}

h1{    font-size: 25px;
    margin-bottom: 10px;
    color: rgb(10, 95, 117);
    font-weight: 800;}
/* フォームの背景周りに余白を持たせるための調整 */
.icon-links {
    margin-top: 20px; /* containerの下に余白を追加 */
    text-align: center; /* ロゴを中央に配置 */
}

.icon-image {
    width: 100px; /* ロゴの幅を指定 */
    height: auto;
    display: inline-block;
}

/* 画面全体のレイアウト調整 */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    max-width: 450px;
    padding: 20px;
    margin: 20px auto;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container2 {
    text-align: center;
    width: 100%;
    max-width: 450px;
    padding: 20px 20px 40px 20px;
    margin: 20px auto;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* フォーム全体のスタイル改善 */
.form-container {
    background-color: #f0f0f0;
    padding: 20px; /* パディングを増やして内部の余白を広げる */
    margin-bottom: 20px;
}



/* プログレスバーのデザイン */
.progress-bar {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 10px; */
    position: relative;
    padding: 20px 10px 25px 10px;
    border-radius: 5px;
}

.step {
    width: 22%;
    padding: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    border-bottom: 2px solid #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step.active {
    color: #4CBFC6;
    border-bottom: 2px solid #4CBFC6;
}

/* 各入力項目のスタイル */
.input-container {
    margin-bottom: 15px;  /* 入力項目間の余白を広げる */
    background-color: #f0f0f0;
    padding: 20px 20px 20px 20px;
    border-radius: 5px;
    text-align: left;
}

.input-container2 {
    margin-bottom: 10px;  /* 入力項目間の余白を広げる */
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: left;
}
.input-container3 {
    margin-bottom: 10px;  /* 入力項目間の余白を広げる */
    background-color: #ffffff;
    padding: 10px 20px 0 20px;
    border-bottom: 1px solid rgb(230, 230, 230);
    text-align: left;
}


.note{font-size: 14px;}


input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 10px; /* 入力フィールド内のパディングを少し広げる */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* フォーカス時のスタイル */
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
    border-color: #4CBFC6; /* フォーカス時の色を変更 */
    outline: none;
}

select {
    width: 100%;
    padding: 10px; /* 入力フィールド内のパディングを少し広げる */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
/* ラベルの強調 */
label {
    font-size: 14px;
    font-weight: 700;
    color: #070707;
    display: block;
    margin-bottom: 10px;
}

label.check_title{font-size: 14px;
  margin-bottom: 0px;
}

/* ボタンスタイルの改善 */

.button-container p{margin: 0;
padding-bottom: 8px;
font-weight: 800;
font-size: 14px;
color: #333;
}

.btn {
    padding: 15px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: auto;
}

.btn.primary {
    background-color: #7DB212;
    color: white;

}

.btn.primary:hover {
    background-color: #71a111;
    transform: translateY(-2px); /* ホバー時にボタンが少し浮く */
}

.btn:active {
    transform: translateY(0); /* クリック時に元に戻す */
}

.btn.secondary {
    background-color: #4CBFC6;
    color: white;
}

.btn.secondary:hover {
    background-color: #39a0a6;
}

.btn.small{
    width:auto;
    min-width: 100px;
    margin: 0px;
    padding:0px
}

/* 必須と任意のラベル */
.required {
    background-color: #c02646;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-left: 10px;
}

.optional {
    background-color: #7f8c8d;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-left: 10px;
}

/* ログインリンクとバージョン */
.version {
    font-size: 12px;
    color: gray;
}

.login-link {
    margin-top: 15px;
    font-size: 14px;
}

.login-link a {
    color: #0a5f75;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* アイコンリンク */
.icon-links {
    margin-bottom: 50px;
}

.icon-image {
    width: 100px;
    height: auto;
}

/* 画像設定 */
.image {
    margin-bottom: 20px;
}

.image img {
    width: 100%;
    height: auto;
    max-width: 250px;
}

/* メッセージのスタイル */
.message {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

/* チェックマークのスタイル */
.checkmark-container {
    display: flex; 
    justify-content: center;
    margin-bottom: 20px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4CBFC6;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 40px;
    border: solid white;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    top: 10px;
    left: 25px;
}
.policy-links {
    font-size: 12px; /* フォントサイズを小さく調整 */
    text-align: center;
    margin-top: 15px;
}

.policy-links a {
    color: #0a5f75; /* リンクの色を調整 */
    text-decoration: none;
    margin: 0 5px; /* リンク間にスペースを追加 */
    font-weight: 600; /* リンクの強調 */

}

.policy-links a:hover {
    text-decoration: underline; /* ホバー時にアンダーラインを表示 */
}
.footer-text {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 0px;
}

/* レスポンシブ対応 */
@media (max-width: 500px) {
    h1 {
        font-size: 21px;
    }
    button {
        font-size: 14px;
        padding: 12px;
    }
    input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
        padding: 8px;
        font-size: 12px;
    }
    .note {
        font-size: 14px;        
    }
}
@media (max-width: 400px) {
    h1 {
        font-size: 19px;
    }
    button {
        font-size: 12px;
        padding: 10px;
    }
    input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
        padding: 6px;
        font-size: 10px;
    }
    .note {
        font-size: 12px;        
    }
    .step{
        font-size: 10px;   
    }
}
