
* { box-sizing: border-box; }
/* html { scroll-behavior: smooth; } */
body { margin: 0; color: #17242b; background: #fff; font-family: "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }

.header { width: 100%; padding: 0 20px; position: fixed; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.9); }
.logo { width: 150px; }

.headerWrap { display: flex; gap: 20px; align-items: center; height: 40px; }
.translation { display: flex; align-items: center; height: 40px; margin: 0; font-size: 20px; line-height: 1; }
.hamburger { position: relative; width: 40px; height: 40px; flex: 0 0 40px; }
.hamburger .toggle_btn { display: block; position: absolute; top: -8px; right: -8px; z-index: 50; width: 56px; height: 56px; padding: 0; cursor: pointer; }
.hamburger span { display: block; position: absolute; left: 8px; width: 40px; height: 3px; background: #000; }
.hamburger span:nth-child(1) { top: 8px; }.hamburger span:nth-child(2) { top: 19px; }.hamburger span:nth-child(3) { top: 30px; }
.menu { position: absolute; top: 60px; right: 0; z-index: 50; width: min(260px, calc(100vw - 40px)); padding: 0; background: rgba(255,255,255,.96); border: 1px solid rgba(0,0,0,.08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-50px); transition: .3s ease; }
.menu.open { padding: 20px 10px; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.menu ul { margin: 0; padding: 10px 16px; list-style: none; }.menu li { margin-bottom: 12px; }.menu li:last-child { margin-bottom: 0; }.menu a { display: block; padding: 2px; color: #333; font-size: 16px; }.menu a:hover { background: #e4e4e4; }
#mask { display: none; }.hamburger.active #mask { display: block; position: fixed; inset: 0; z-index: 2; background: #000; opacity: .8; }

/* メイン */
.inquiry-main { padding-top: 64px; }.inquiry-content { max-width: 337px; margin: 0 auto; padding: 34px 14px 42px; }
h1 { margin: 0 0 20px; color: #17242b; font-size: 28px; line-height: 1.2; background-color: #fff;}
.inquiry-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 28px; }
.inquiry-tab { display: block; min-width: 0; padding: 9px 4px; border: 1px solid #d9dddf; border-radius: 7px; color: #8c9599; background: #fff; font-size: 10px; text-align: center; white-space: nowrap; transition: color .2s ease, background-color .2s ease, border-color .2s ease; cursor: pointer; }
.inquiry-tab.is-active { color: #fff; background: #164d73; border-color: #164d73; }
.inquiry-tab:hover { color: #fff; background: #164d73; border-color: #164d73; }
.inquiry-tab.is-active:hover { color: #fff; background: #164d73; border-color: #164d73; }
form label { display: block; margin: 0 0 6px; color: #17242b; font-size: 10px; font-weight: 700; }
label span { color: #e13d6b; }
form input, form textarea { display: block; width: 100%; margin: 0 0 22px; padding: 11px 10px; border: 1px solid #d9dddf; border-radius: 8px; color: #17242b; background: #fdfcf9; font-size: 11px; outline: none; }
form input::placeholder, form textarea::placeholder { color: #b3babc; } form textarea { min-height: 64px; resize: vertical; }
form input:focus, form textarea:focus { border-color: #164d73; }
.submit-button { display: block; width: 100%; margin: 2px 0 28px; padding: 11px; border: 0; border-radius: 999px; color: #fff; background: #164d73; font-size: 12px; font-weight: 700; cursor: pointer; text-align: center;}
.form-note { margin: 0 0 18px; color: #8c9599; font-size: 9px; line-height: 1.8; }
.site-footer { padding: 24px 20px; color: #fff; text-align: center; background: #061d30; }.site-footer a { font-weight: 700; }.site-footer p { margin: 8px 0 0; font-size: 11px; }
@media (min-width: 640px) {
	.inquiry-content { max-width: 1200px; padding: 44px 0 64px; }
	h1 { margin-bottom: 42px; font-size: 48px; }
	.inquiry-tabs { gap: 12px; margin-bottom: 52px; }
	.inquiry-tab { padding: 17px 10px; border-radius: 15px; font-size: 20px; }
	form label { margin-bottom: 8px; font-size: 20px; }
	form input, form textarea { margin-bottom: 28px; padding: 18px 20px; border-radius: 15px; font-size: 20px; }
	form textarea { min-height: 120px; }
	.submit-button { padding: 17px; font-size: 20px; }
	.form-note { font-size: 14px; }
}

/* ===== 問い合わせフォームの送信まわり ===== */
.contact-form input[type="hidden"], .hp-field { display: none !important; }
.form-status { min-height: 1.8em; margin: -12px 0 20px; color: #164d73; font-size: 12px; font-weight: 700; line-height: 1.8; text-align: center; }
.form-status.is-error { color: #c62a55; }
.submit-button[disabled] { opacity: .55; cursor: default; }
.form-note a { color: #164d73; text-decoration: underline; }
.form-done { padding: 28px 18px; border: 1px solid #d9dddf; border-radius: 12px; background: #fdfcf9; text-align: center; }
.form-done h2 { margin: 0 0 12px; color: #164d73; font-size: 18px; font-weight: 700; line-height: 1.5; }
.form-done p { margin: 0 0 18px; color: #17242b; font-size: 13px; line-height: 1.9; }
.form-done a { display: inline-block; padding: 10px 26px; border-radius: 999px; color: #fff; background: #164d73; font-size: 12px; font-weight: 700; }
@media (min-width: 640px) {
	.form-status { font-size: 16px; }
	.form-done h2 { font-size: 28px; }
	.form-done p { font-size: 18px; }
	.form-done a { font-size: 18px; padding: 14px 40px; }
}
