* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
}

html {
    -webkit-overflow-scrolling: touch;
}

body {
    margin: 80px auto 0;
    background-color: #f4f1ea;
    color: #4a4a4a;
    line-height: 1.8;
    min-width: 320px;
    overflow-x: hidden;
    position: static !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo {
    width: auto;
    height: 50px;
}

.reservation-badge {
    position: absolute;
    left: 10px;
    background: #f4f1ea;
    padding: 4px 12px;
    font-size: 0.8em;
}

.hamburger {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #534741;
    transition: .3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(255,255,255,0.95);
    padding-top: 80px;
    transition: .3s ease-in-out;
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu li {
    margin: 20px 0;
    text-align: center;
}

.nav-menu a {
    color: #534741;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 10px;
    transition: .3s ease;
}

.nav-menu a:hover {
    background: rgba(83,71,65,0.1);
}

/* Main Content */
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    will-change: transform, opacity;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.7s; }
.delay-3 { animation-delay: 1.1s; }
.delay-4 { animation-delay: 1.5s; }

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Copy */
.main-copy {
    text-align: center;
    padding: 40px 10px;
    color: #534741;
    width: 100%;
}

.main-copy-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.tilde {
    font-size: 2em;
    color: #534741;
    line-height: 1;
}

.main-message {
    text-align: center;
    font-size: clamp(2.5em, 5vw, 2.2em);
    line-height: 1.6;
    letter-spacing: 0.05em;
    font-weight: 500;
    white-space: normal;
    width: 100%;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.description {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    font-size: 1em;
    line-height: 2;
    color: #666;
    padding: 0 10px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.description span{
    display: inline-block;
}

/* Section Common */
section {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

h2 {
    color: #534741;
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: normal;
    border-bottom: 1px solid #534741;
    padding-bottom: 10px;
}

/* Menu Section */
.treatment-menu {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background: white;
}

.over {
    overflow: hidden;
}

.thick {
    position: relative;
    border: 3px solid #C5A45C;
    padding: 0.5em;
    color: #C5A45C;
    text-align: center;
}

.thick:before,
.thick:after,
.circle:before,
.circle:after {
    position: absolute;
    display: block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    content: "";
    background-color: #fff;
    border: 3px solid #C5A45C;
}

.thick:before {
    top: -12px;
    left: -12px;
}

.thick:after {
    top: -12px;
    right: -12px;
}

.circle:before {
    right: -12px;
    bottom: -12px;
}

.circle:after {
    left: -12px;
    bottom: -12px;
}

.thin {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    border: 2px solid #C5A45C;
    z-index: 1;
}

.treatment-content {
    position: relative;
    z-index: 2;
    padding: 0 8px;
}

.menu-item {
    padding: 30px 0;
    position: relative;
    text-align: center;
}

.menu-item:not(:last-child) {
    margin-bottom: 30px;
}

.menu-item:not(:last-child)::after {
    content: '▼';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(197, 164, 92, 0.5);
    font-size: 12px;
}

.menu-item h3 {
    font-size: 1.3em;
    color: #534741;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    line-break: strict;
}

.menu-item p {
    margin-bottom: 8px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}

.beauty-effect {
    font-size: 0.9em;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

/* Price Section */
.menu-grid {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.menu-card {
    position: relative;
    background: #fff;
    border: 1px solid #534741;
    width: 100%;
}

.menu-header {
    background: #534741;
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    font-size: 1.1em;
    line-height: 1.6;
    padding: 15px;
    overflow: visible;
}

.open-sale {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff6b6b;
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    transform: rotate(15deg);
    z-index: 2;
    pointer-events: none;
}

.menu-content {
    padding: 30px;
    text-align: center;
}

/* 価格表示部分の修正 */
.menu-time-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.time {
    font-size: 1.8em;
    color: #534741;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.price {
    font-size: 1.2em;
    color: #534741;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2em;
    margin-right: 8px;
}

/* 割引価格と税込を一つのグループとして扱う */
.discount-price-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 1.8em;
    color: #534741;
}

.discount-price {
    color: #ff6b6b;
    font-weight: bold;
}

.tax-included {
    font-size: 0.5em;
    margin-left: 3px;
    white-space: nowrap;
}

.separator {
    width: 20px;
    height: 1px;
    background: #534741;
    flex-shrink: 0;
    margin: 0 3px;
}

.price small {
    font-size: 0.5em;
    white-space: nowrap;
    margin-left: 3px;
}

.menu-note {
    font-size: 0.9em;
    color: #666;
}

.course-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(197, 164, 92, 0.1);
    /* border-radius: 8px; */
    font-size: 0.9em;
    color: #534741;
    text-align: center;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* About Section */
.detail-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}

.salon-image {
    width: 50%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.info-block {
    margin: 0;
    padding: 8px 0;
}

.contact-info h3 {
    color: #534741;
    margin-bottom: 4px;
    font-size: 1.2em;
    font-weight: normal;
}

.contact-info p {
    margin: 0;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
    display: block;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 30px;
    height: 30px;
}

/* Contact Form */
.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #534741;
    padding: 0 10px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #534741;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.submit-button {
    background: #534741;
    color: white;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    transition: .3s ease;
    width: 100%;
    font-size: 1em;
}

.submit-button:hover {
    opacity: 0.9;
}

/* Profile Area */
.profile-area {
    margin: 20px 0 0;
    padding: 30px 20px;
    background: rgba(255,255,255,0.7);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.signature {
    max-width: 110px;
    filter: drop-shadow(0 0 10px white) brightness(1.2);
    margin-bottom: 5px;
}

.signature-container {
    margin: 0 auto;
    max-width: 600px;
    padding: 0 10px;
}

.profile-text {
    font-size: 0.85em;
    line-height: 1.6;
    color: #666;
    margin-top: 15px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.datetime-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.datetime-group input[type="date"],
.datetime-group select {
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.datetime-group input[type="date"] {
    flex: 2;
}

.datetime-requests {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
}

.datetime-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.datetime-label {
    min-width: 80px;
    color: #534741;
    font-size: 0.9em;
}

.datetime-inputs {
    display: flex;
    flex: 1;
    gap: 10px;
}

.datetime-inputs input[type="date"],
.datetime-inputs select {
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
    background: white;
    color: #534741;
    cursor: pointer;
}

.datetime-inputs input[type="date"] {
    flex: 2;
}

.datetime-inputs select {
    flex: 1;
    min-width: 100px;
}

.design5 {
    text-align: center;
    padding: 30px 20px; /* 上下の線との距離を増やすために余白を追加 */
    font-family: "Crimson Text", "Yu Mincho", serif;
    position: relative;
}
.design5-top {
    font-size: 0.6em;
    margin-bottom: 15px;
    color: #534741;
    letter-spacing: 0.2em;
    text-shadow: 1px 1px 2px rgba(197,164,92,0.3);
}

.design5-bottom {
    font-size: 1em;
    font-weight: 500;
    color: #534741;
    letter-spacing: 0.15em;
    text-shadow: 2px 2px 4px rgba(197,164,92,0.2);
}
.design5::before,
.design5::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C5A45C, transparent);
    left: 50%;
    transform: translateX(-50%);
}
.design5::before {
    top: 0; /* paddingと合わせて線を上に配置 */
}

.design5::after {
    bottom: 0; /* paddingと合わせて線を下に配置 */
}

/* News Section */
.news-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.news-list {
    width: 100%;
    background: white;
    padding: 30px;
    box-sizing: border-box;
}

/* ニュースアイテムのスタイル */
.news-list {
    background: white;
    padding: 30px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(83, 71, 65, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: rgba(197, 164, 92, 0.05);
}

.news-date {
    color: #534741;
    font-size: 0.9em;
    white-space: nowrap;
    min-width: 95px;
}

.news-title {
    color: #666;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #534741;
}

/* Responsive */
@media (max-width: 800px) {
    .header {
        padding: 0 8px;
    }

    .reservation-badge {
        left: 8px;
    }

    .hamburger {
        right: 8px;
    }

    .main-message {
        /* padding: 0 8px; */
        box-sizing: border-box;
    }

    .description {
        padding: 0 8px;
        text-justify: inter-ideograph;
    }

    .tilde {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-header {
        height: auto;
        min-height: 60px;
        padding: 15px;
    }

    .detail-content {
        flex-direction: column;
        align-items: center;
    }

    .salon-image,
    .contact-info {
        width: 100%;
    }

    .menu-time-price {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .time, .price, .discount-price-group {
        justify-content: center;
    }

    .separator {
        display: none;
    }

    .contact-info {
        align-items: center; /* Center elements within contact info */
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    section {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .profile-area {
        width: 100%;
        margin: 20px 0 0;
    }

    .menu-item p {
        font-size: 0.8em;
    }

    .main-content {
        padding: 30px 15px;
    }

    .open-sale {
        width: 70px;
        height: 70px;
        font-size: 0.9em;
        top: -10px;
        right: -10px;
    }

    h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .main-message {
        font-size: clamp(1.8em, 4vw, 1.6em);
        /* padding: 0 8px; */
    }

    section {
        padding: 20px 12px;
    }

    .main-content {
        padding: 30px 12px;
    }

    .description {
        padding: 0 8px;
        font-size: 0.9em;
    }

    .treatment-menu {
        padding: 20px 12px;
    }

    .menu-item {
        padding: 20px 5px;
    }

    .menu-item:not(:last-child) {
        margin-bottom: 25px;
    }

    .menu-item h3 {
        font-size: 1.3em;
    }

    .menu-item span{
        display: inline-block;
    }

    .treatment-menu,
    .contact-form {
        padding: 10px 8px;
    }

    .submit-button {
        padding: 10px 20px;
    }

    .profile-area {
        padding: 15px 8px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
    }

    .signature {
        max-width: 90px;
    }

    .profile-text {
        font-size: 0.8em;
    }

    .treatment-content {
        padding: 0 5px;
    }

    .menu-item {
        padding: 20px 5px;
    }

    .open-sale {
        width: 70px;
        height: 70px;
        font-size: 0.9em;
        padding: 5px;
        top: -8px;
        right: -8px;
    }

    .menu-header {
        height: auto;
        min-height: 60px;
        padding: 15px;
    }

    .datetime-group {
        flex-direction: column;
        gap: 5px;
    }

    .datetime-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .datetime-inputs {
        width: 100%;
    }

    .news-list {
        padding: 15px;
    }

    .news-item {
        padding: 12px 0;
        gap: 15px;
    }

    .news-date {
        font-size: 0.85em;
        min-width: 90px;
    }

    .news-title {
        font-size: 0.9em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    .menu-time-price {
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }
    
    /* 時間表示 */
    .time {
        font-size: 1.6em;
    }
    
    /* 価格表示のコンテナ */
    .price-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    
    /* 元の価格 */
    .original-price {
        font-size: 1em;
        margin-right: 0;
    }
    
    /* 割引価格グループ */
    .discount-price-group {
        font-size: 1.6em;
    }
}

/* Print styles */
@media print {
    .header {
        position: relative;
    }

    .main-content {
        margin-top: 0;
    }
}