@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* --- 1. フォーム全体のレイアウト (Z世代・アプリ風) --- */
.cf-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1.8em 0;
	border-bottom: 1px solid #f1f5f9; /* 点線ではなく、極めて薄い実線でスタイリッシュに */
	transition: all .3s;
}

/* 🚨必須：管理用項目を隠す（維持） */
.cf-area:nth-child(1), .cf-area:nth-child(2), .cf-area:nth-child(3),
.cf-area:nth-child(4), .cf-area:nth-child(5), .cf-area dd [name="due_date"] {
	display: none !important;
}

.cf-area:last-child { border-bottom: none; }

.cf-area dt {
	width: 160px;
	padding-right: 15px;
	text-align: left; /* Z世代向けは左揃えで視線を自然に下ろさせるのがトレンド */
	line-height: 1.5em;
	font-weight: 700;
	color: #1e293b;
	font-size: 15px;
}
.cf-area dd { flex: 1; margin: 0; }

/* 📱 入力欄を最新アプリ風に（太めの枠線と角丸） */
.cf-area input, .cf-area textarea, .cf-area select {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #e2e8f0;
	background-color: #f8fafc;
	border-radius: 16px; /* 丸みをかなり強くして今っぽく */
	font-size: 16px;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
	color: #0f172a;
}
/* タップした時にシームレスに変化 */
.cf-area input:focus, .cf-area textarea:focus, .cf-area select:focus {
	outline: none;
	border-color: #8b5cf6; /* トレンドのパープルブルー系 */
	background-color: #ffffff;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15); /* ぼんやり光るシャドウ */
}

/* 🎀 必須バッジをスタイリッシュに */
.cf-required {
	background: #ff007f; /* バキッとしたネオンピンクでアクセント */
	color: #fff;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 8px; /* 四角寄りの角丸 */
	margin-left: 8px;
	display: inline-block;
	font-weight: 800;
	letter-spacing: 1px;
}

/* --- 2. 各セクションの見出し（クリーン＆ミニマル） --- */
.cf-area-heading {
	font-size: 20px;
	font-weight: 900;
	margin-top: 48px;
	margin-bottom: 24px;
	color: #0f172a;
	padding-bottom: 8px;
	border-bottom: 3px solid #f1f5f9;
	letter-spacing: 1.5px;
}

/* --- 3. メンバー情報入力の表（浮かび上がるカード風） --- */
.table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: 20px !important; /* スマホウィジェットのような強い角丸 */
	overflow: hidden !important;
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
	background: #fff;
	margin-top: 15px;
	border: 1px solid #f1f5f9;
}
.table th {
	background-color: #ffffff !important;
	padding: 16px !important;
	text-align: center !important;
	font-weight: 800 !important;
	color: #64748b !important; /* 真っ黒ではなく、あえて淡いスレートグレー */
	font-size: 14px;
	border-bottom: 2px solid #f1f5f9 !important;
}
.table td {
	padding: 12px !important;
	text-align: center !important;
	border-bottom: 1px solid #f8fafc;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background-color: #fafafa !important; }

.table input, .table select {
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
}

/* --- 4. ＋／ー ボタン（iOSのコントロールボタン風） --- */
.order-btn {
	background: #f1f5f9 !important;
	color: #475569 !important;
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important; /* 完全な真ん丸にする */
	cursor: pointer !important;
	margin: 0 8px !important;
	font-size: 24px !important;
	font-weight: 400 !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.order-btn:hover {
	background: #e2e8f0 !important;
	color: #0f172a !important;
	transform: scale(1.1); /* 押す時に少し大きくなる */
}
.button-container {
	display: flex !important;
	justify-content: center !important;
	margin-top: 24px !important;
	align-items: center;
	font-weight: 700;
	color: #334155;
}
.count-change {
	margin: 0 10px !important;
	width: 70px !important;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	background: transparent;
	border: none;
}
input#zip { width: 50% !important; }

/* --- 5. 送信ボタン（トレンドのグラデ＆グロー効果） --- */
.cf-send {
	text-align: center;
	margin-top: 48px;
	margin-bottom: 24px;
}
.cf-send input[type="submit"] {
	display: inline-block;
	background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); /* パープル〜ピンクの最新トレンドグラデ */
	width: 100%; /* スマホで押しやすいように横幅いっぱい寄りに */
	max-width: 360px;
	height: 60px;
	margin: 0 auto;
	border: none;
	border-radius: 16px; /* アプリの決定ボタン風の角丸 */
	color: #fff;
	box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4); /* ボタンと同じ色でぼんやり光る影 */
	font-size: 1.2em;
	font-weight: 800;
	letter-spacing: 2px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}
.cf-send input[type="submit"]:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px -5px rgba(236, 72, 153, 0.5);
}

/* --- 6. スマホ表示用のレスポンシブ --- */
@media screen and (max-width: 768px) {
	.cf-area { display: block; padding: 1.2em 0; }
	.cf-area dt {
		width: 100%;
		margin-bottom: 10px;
		padding-right: 0;
	}
}
@media screen and (max-width: 600px) {
	.table {
		display: block !important;
		overflow-x: auto !important;
		white-space: nowrap !important;
	}
}
/* =========================================
   🚀 Z世代向け：究極のUX（体験）追加パック
   ========================================= */

/* --- 1. 画像アップロードをモダンなエリアに --- */
.modern-upload-area input[type="file"] {
    display: block;
    width: 100%;
    padding: 15px;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    background-color: #f8fafc;
    color: #475569;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modern-upload-area input[type="file"]:hover {
    border-color: #8b5cf6;
    background-color: #f5f3ff;
}
/* 「ファイルを選択」ボタンをおしゃれに */
.modern-upload-area input[type="file"]::file-selector-button {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    margin-right: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
.modern-upload-area input[type="file"]::file-selector-button:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

/* --- 2. 同意チェックをiPhoneのスイッチ風に --- */
.modern-consent label {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    color: #334155;
    padding: 12px 20px;
    background: #f1f5f9;
    border-radius: 16px;
    transition: all 0.3s ease;
}
/* 元のダサいチェックボックスを消してスイッチを作る */
.modern-consent label input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 54px !important;
    height: 30px !important;
    background: #cbd5e1 !important;
    border-radius: 30px !important;
    position: relative !important;
    margin-right: 15px !important;
    cursor: pointer !important;
    outline: none !important;
    border: none !important;
    transition: background 0.3s !important;
}
/* スイッチの丸いポッチ */
.modern-consent label input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* ONになった時の色と動き */
.modern-consent label input[type="checkbox"]:checked {
    background: #10b981 !important; /* 鮮やかなグリーン */
}
.modern-consent label input[type="checkbox"]:checked::after {
    transform: translateX(24px);
}
/* --- 👕 サイズ欄の文字潰れを修正するCSS --- */

/* 1. 番号・サイズ・ネームの「横幅の黄金比」を設定 */
.table th:nth-child(1), .table td:nth-child(1) {
    width: 25% !important; /* 番号の部屋 */
}
.table th:nth-child(2), .table td:nth-child(2) {
    width: 28% !important; /* サイズの部屋（少し広げて確保！） */
}
.table th:nth-child(3), .table td:nth-child(3) {
    width: 47% !important; /* ネームの部屋 */
}

/* 2. サイズの入力欄（セレクトボックス）の余白を整える */
.table select {
    padding-left: 4px !important; /* 左の余白を少し減らす */
    padding-right: 20px !important; /* 右の矢印アイコン用のスペースを広げる */
    text-align: center !important; /* 文字を真ん中に */
    text-align-last: center !important;
    font-weight: bold;
}

/* スマホの時だけ、入力欄の文字を少し小さくしてスッキリさせる */
@media screen and (max-width: 600px) {
    .table input, .table select {
        font-size: 14px !important;
        padding: 8px 4px !important;
    }
}