@charset "utf-8";
/* CSS Document */

/*********************************************************************************************
 * 共通CSS
 *********************************************************************************************/	
/* === 認証画面共通・全画面グラデーション背景 === */
body {margin: 0; padding: 0; min-height: 100vh; display: flex; justify-content: center; align-items: center; font-family: sans-serif; background: linear-gradient(to bottom right,#df4c24 0%,#f7931e 40%,#00aeef 85%,#006DAF 100%);}

/* === 言語切替ドロップダウンUI === */
.lang-switch-dropdown {position: absolute; top: 26px; right: 36px; z-index: 999;}
.lang-btn {display: flex; align-items: center; justify-content: center; border: 1.8px solid #c0c0c0; background: #fff; color: #333333; font-size: 0.90rem; font-weight: bold; padding: 7px 10px 7px 10px; border-radius: 0px; cursor: pointer; min-width: 140px; transition: box-shadow .14s; box-shadow: 0 1px 3px rgba(0,0,0,0.05);}
.lang-btn:hover {box-shadow: 0 4px 18px rgba(31,120,224,0.11); border-color: #333333; background: #666666; color: #fff;}
.lang-dropdown-list {display: none; position: absolute; top: 44px; right: 0; background: #fff; border: 1px solid #aaa; border-radius: 7px; box-shadow: 0 3px 16px rgba(0,0,0,0.08); min-width: 130px; margin: 0; padding: 4px 0; list-style: none;}
.lang-dropdown-list.show {display: block;}
.lang-dropdown-list li {margin: 0;}
.lang-dropdown-list li a {display: block; padding: 9px 18px; color: #222; text-decoration: none; font-size: 1rem; border-radius: 5px; transition: background .14s, color .13s;}
.lang-dropdown-list li.selected a {font-weight: bold; background: #f3f9fc; color: #006DAF;}
.lang-dropdown-list li a:hover {background: #f1f9fe; color: #006DAF;}



/*********************************************************************************************
 * 本登録ページCSS（confirm.php）
 *********************************************************************************************/	
.form-container {background: #fff; width: 750px; margin: 60px 10px; /*width: 740px;*/ max-width: 98vw; padding: 30px 36px 20px 36px; border-radius: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.17); display: flex; flex-direction: column;}
.confirm-form .logo-img {max-width: 100px; height: auto; margin-bottom: 25px; align-self: center;}
.title {text-align: center; font-size: 1.4rem; margin-bottom: 20px; color: #333;}
.error {color: #d00; margin-bottom: 15px; text-align: center;}
.radio-group {margin-bottom: 15px;}
.radio-group label {margin-right: 10px;}
.custom-radio-group {display: flex; gap: 25px; align-items: center; margin-bottom: 15px; margin-top: 25px;}
.custom-radio {position: relative; /*padding-left: 28px;*/ cursor: pointer; font-size: 1.0rem; user-select: none; display: flex; align-items: center;}
.custom-radio input[type="radio"] {position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;}
.radio-mark {position: relative; left: 0; top: 0; height: 21px; width: 21px; margin-right: 7px; line-height: 21px; background: #fff; border: 2px solid #bbb; border-radius: 50%; transition: border-color 0.2s; box-sizing: border-box; display: inline-block; vertical-align: middle;}
.custom-radio input[type="radio"]:checked ~ .radio-mark {border-color: #007aff; background: #fff;}
.radio-mark::after {content: ""; position: absolute; display: none;}
.custom-radio input[type="radio"]:checked ~ .radio-mark::after {display: block;}
.custom-radio .radio-mark::after {left: 50%; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: #007aff; position: absolute; content: ""; transform: translate(-50%, -50%);}

/* プランカードUI追加CSS */
.plan-cards {display: flex; gap: 20px; width: 100%; justify-content: center; margin-bottom: 60px; margin-top: 10px; flex-wrap: nowrap;}
.plan-card {display: flex; flex-direction: column; align-items: center; min-height: 230px; /* お好みで */  height: 230px; justify-content: flex-start; /*min-width: 180px; max-width: 210px;*/ flex: 1 1 0; background: #f6f8fa; border: 3px solid #ccc; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); padding: 15px 10px 15px 10px; text-align: center; cursor: pointer; position: relative; transition: border-color 0.21s, background 0.18s, box-shadow 0.18s; user-select: none; margin-bottom: 0;}
.plan-card.selected, .plan-card:hover {border-color: #007aff; background: #e7f1ff; box-shadow: 0 6px 18px rgba(0,122,255,0.07);}
.plan-header {font-size: 1.2rem; font-weight: bold; margin-bottom: 7px; letter-spacing: 0.01em;}
.plan-price {font-size: 1.2rem; color: #df4c24; margin-bottom: 3px; font-weight: bold;}
.plan-desc {font-size: 0.8rem; /*font-size: 0.96rem;*/ color: #555; margin-top: 10px; margin-bottom: 3px;}
.plan-badge {display: inline-block; background: #ff9800; color: #fff; font-size: 0.81em; border-radius: 5px; padding: 2px 10px; /*margin-left: 6px;*/ font-weight: 600; letter-spacing: 0.03em; vertical-align: 1px;}
.plan-toggle-wrap {text-align:center; margin-bottom:20px; margin-top: 40px;}
.plan-toggle-btn {display: inline-block; background: #eee; color: #007aff; font-weight: bold; padding: 7px 30px; margin: 0 3px; border-radius: 18px; font-size: 1rem; cursor: pointer; transition: background 0.2s, color 0.2s;}
.plan-toggle-btn.active {background: #007aff; color: #fff;}
.plan-save {display: inline-block; background: #ff9800; color: #fff; font-size: 1.0em; line-height: 1.5em; border-radius: 8px; width: 100%; padding: 5px 0px; margin-top: 4px;}
.desc-spacer {flex-grow: 1;}

/*通貨マーク*/
.plan-price .currency {font-size: 1.2rem; color: #333333; font-weight: 600; margin-right: -1px;}

/*金額の数字*/
.plan-price .amount {font-size: 1.8rem; color: #333333; font-weight: 700;}

/*月・年の文字*/
.plan-price .period {font-size: 1.0rem; color: #888; font-weight: 400; margin-left: 0px; align-self: flex-end;}

/* Premiumの上　おすすめバッジ */
.plan-badge-vertical {display: flex; align-items: center; justify-content: center; background: #ff9800; color: #fff; border-radius: 4px; padding: 0px 18px; font-weight: 700; font-size: 1em; margin-bottom: 5px; min-height: 30px;/* 高さは下のspacerと合わせる */ box-shadow: 0 1px 4px rgba(255,177,0,0.09); line-height: 30px;}

/* Free・Basicのバッジ分スペーサー */
.plan-badge-spacer {height: 30px;/* Premiumのバッジのmin-heightと合わせる */ margin-bottom: 5px;/* バッジとheader間の隙間と同じ */ display: block; visibility: hidden;}

/* .plan-header .plan-badge は非表示にしてOK */
.plan-header .plan-badge { display: none !important; }

/* 登録情報入力エリア */
.input-items-box{max-width: 440px; margin: auto;  padding: 0px 10px;}
label {font-size: 0.9rem; color: #333; margin-bottom: 4px;}
input[type="text"], input[type="password"] {width: 100%; max-width: 440px; margin: 0 auto 15px auto; display: block; padding: 12px; font-size: 14px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;}

/* ボタン */
.registration button[type="submit"] {width: 440px; padding: 15px 48px; border: none; border-radius: 8px; background: #28a745; color: #fff; font-size: 18px; /*font-size: 1.15rem;*/ cursor: pointer; display: block; margin: 32px auto 45px auto; box-shadow: 0 4px 16px rgba(40,167,69,0.08); transition: background 0.18s, box-shadow 0.18s, transform 0.15s; letter-spacing: 0.05em;}
.registration button[type="submit"]:hover, button[type="submit"]:focus {background: #218838; box-shadow: 0 6px 24px rgba(40,167,69,0.16);}
.registration button {padding: 12px; border: none; border-radius: 4px; background: #28a745; color: #fff; font-size: 16px; cursor: pointer;}
.registration button:hover {background: #218838;}

/*コピーライト*/
.confirm-copyright{font-size: 0.9rem; color: #333; text-align: center;}

/* レスポンシブ対応 */
@media (max-width:750px) {
.form-container { width:98vw; padding:12vw 2vw; }
.plan-cards { flex-direction: column; gap:12px; }
.plan-card { min-width:0; max-width:99vw;}
}




/*********************************************************************************************
 * 仮登録ページCSS（register.php）
 *********************************************************************************************/	

/* === フォーム全体 === */
.register-form form {background: #fff; width: 400px; padding: 40px; border-radius: 25px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center;}

/* ロゴ画像 */
.register-form .logo-img {max-width: 150px; height: auto; margin-bottom: 40px;}

/* メールアドレス入力欄 */
.register-form input[type="email"] {margin-bottom: 30px; padding: 12px; font-size: 14px; border: 1px solid #ccc; border-radius: 4px; width: 100%; box-sizing: border-box;}

/* 送信ボタン */
.register-form button[type="submit"] {padding: 12px; border: none; border-radius: 4px; background: #28a745; color: #fff; font-size: 16px; cursor: pointer; width: 90%; transition: background .16s;}
.register-form button[type="submit"]:hover {background: #218838;}

/* エラー・成功メッセージ */
.error {color: #d00; margin-bottom: 15px; text-align: center;}
.success {color: #28a745; margin-bottom: 15px; text-align: center;}

/* 汎用テキスト・リンク */
.register-form p {margin-top: 15px; text-align: center; font-size: 14px; color: #333;}
.register-form p a {color: #EF3B36; text-decoration: none; transition: color .14s;}
.register-form p a:hover {color: #df4c24;}

/* === レスポンシブ対応 === */
@media (max-width: 600px) {
.register-form form {width: 92vw; padding: 20px 7vw;}
.lang-switch-dropdown {top: 12px; right: 12px;}
}
