@charset "UTF-8";

/* =======================================================
   Reset & Base
======================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* =======================================================
   Variables
======================================================= */
:root {
    --bg-main: #f9f6f0;      /* 全体背景のクリーム色 */
    --bg-title: #4a3627;     /* お問い合わせ帯の茶色 */
    --bg-input: #f8f4e6;     /* フォーム入力欄の背景 */
    --color-text: #333333;
}

/* =======================================================
   Header
======================================================= */
.header {
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 縦軸（上下）の中央揃え */
}

.logo {
    display: flex;
    align-items: center; /* 縦軸（上下）の中央揃えをより確実に */
    height: 100%;
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 24px;
}

/* Hamburger Icon */
.hamburger {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 14px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* =======================================================
   Drawer Menu
======================================================= */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Close button */
.drawer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.drawer-close::before,
.drawer-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
}

.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }

.drawer-nav {
    text-align: center;
    margin-bottom: 40px;
}

.drawer-nav li {
    margin-bottom: 20px;
}

.drawer-nav a {
    font-size: 16px;
    letter-spacing: 0.1em;
}

.drawer-btn-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* =======================================================
   Main Content (Contact Form)
======================================================= */
.page-title {
    background-color: var(--bg-title);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

.page-title h2 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.bg-beige {
    background-color: var(--bg-main);
    padding: 60px 20px 80px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    color: var(--color-text);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.submit-wrap {
    text-align: center;
    margin-top: 50px;
}

.submit-wrap.dual-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-submit,
.btn-back {
    background-color: var(--bg-input);
    color: var(--color-text);
    border: none;
    padding: 15px 60px;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Noto Serif JP', serif;
    cursor: pointer;
    transition: opacity 0.3s;
    letter-spacing: 0.1em;
}

.btn-submit:hover,
.btn-back:hover {
    opacity: 0.8;
}

.error {
    color: #d9534f;
    font-size: 13px;
    margin-bottom: 5px;
}

.confirm-text {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.confirm-data {
    background-color: #fafafa;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    min-height: 54px;
}

.complete-message {
    text-align: center;
    font-size: 16px;
    line-height: 2;
}

/* =======================================================
   Footer
======================================================= */
.footer {
    background-color: var(--bg-main);
}

.footer-contact {
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #e0dcd2;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 20px;
}

.tel-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

.tel-label {
    font-size: 16px;
    margin-right: 10px;
}

.tel-number {
    font-size: 36px;
    letter-spacing: 0.05em;
}

.time, .time-sub {
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 0;
    width: 200px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.btn-line {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #333333;
}

.btn-black {
    background-color: #000000;
    color: #ffffff;
}

.link-english {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    background-color: #ffffff;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 30px;
}

.footer-nav a {
    font-size: 13px;
}

.copyright {
    font-size: 12px;
    color: #666;
}

/* =======================================================
   Responsive (Smartphone)
======================================================= */
@media screen and (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    .tel-number {
        font-size: 28px;
    }
}