body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}
body {
    position: relative;
}
.container {
    max-width: 100%;
    overflow-x: hidden;
}
h1 {
    font-size: 2.5rem; /* 45px相当 */
}
h2 {
    font-size: 2rem; /* 36px相当 */
}
h3 {
    font-size: 1.75rem; /* 31.5px相当 */
}
h4 {
    font-size: 1.5rem; /* 27px相当 */
}
.notice-section .notice-left h2 {
    font-size: 1.5rem; /* 27px相当 */
}
.notice-section .notice-right p {
    font-size: 1.3rem; /* 23.4px相当 */
}
.local-love-section h2 .large {
    font-size: 2.5rem; /* 45px相当 */
}
.local-love-section h2 .small {
    font-size: 1.5rem; /* 27px相当 */
}
.local-love-content {
    font-size: 1.2rem; /* 21.6px相当 */
}
.omoi-section p {
    font-size: 1.1rem; /* 19.8px相当 */
}
.store-info-section p {
    font-size: 1.1rem; /* 19.8px相当 */
}
.footer-nav a {
    font-size: 1rem; /* 18px相当 */
}

.header {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index:1000;
    width: 100% !important; /* 既存の固定幅を上書き */
    max-width: 100% !important;
    box-sizing: border-box;
}
.header nav {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}
.header nav a {
    color: black;
    text-decoration: none;
    margin-left: 20px;
}
.logo {
    max-width: 8%;
    height: auto;
    margin-left: 50px;
}
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh; /* ビューポートの高さの90%に設定 */
    overflow: hidden; /* はみ出た部分を隠す */
    z-index: -1;
}
.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像のアスペクト比を保持しつつ、コンテナいっぱいに表示 */
    object-position: center; /* 画像を中央に配置 */
}
.main-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0,0,0,0);
}
.main-visual h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 1;
}
.spacing-50 {
    height: 50px;
}

/* 大切なお知らせ */
.notice-section {
    display: flex;
    width: 60%;
    height: 80px;
    margin: 0 auto;  /* センタリングするために追加 */
}
.notice-left {
    width: 30%;
    background-color: #e67e22;
    display: flex;
    justify-content: center;
    align-items: center;
}
.notice-left h2 {
    color: white;
    text-align: center;
    margin: 0;
}
.notice-right {
    width: 70%;
    background-color: white;
    border: 2px solid #e67e22;
    display: flex;
    justify-content: center;
    align-items: center;
}
.notice-right p {
    margin: 0;
}

/* 店舗情報 */
.store-info {
    text-align: center;
    padding: 40px 0;
}
.store-info img {
    max-width: 100%;
    height: auto;
}
.store-info h2 {
    text-align: center;
    margin-bottom: 20px;
}  
.store-info-container {
    display: flex;
    justify-content: center;
}  
.store-info-card {
    width: 300px;
    border: 2px solid #e67e22;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 10px 10px 2px 10px;
}
.store-logo {
    width: 100%;
    height: auto;
}
.pre-open-banner {
    background-color: #8B0000;
    color: white;
    padding: 5px 0;
    text-align: center;
    font-weight: bold;
} 
.store-name {
    padding: 10px 0;
    margin: 0;
}

/* お約束 */
.promise-section {
    background-color: #EB6100;
    color: white;
    padding: 20px 0 100px; /* 下部のパディングを増やす */
    position: relative;
    overflow: hidden; /* はみ出た部分を隠す */
    padding: 60px;
}
.promise-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}
.logo-container {
    text-align: left;
    margin-bottom: 0px;
}
.orange-logo {
    max-width: 150px;
    height: auto;
}
.promise-content {
    display: flex;
    justify-content: space-between;
}
.promise-text {
    width: 65%;
    padding-bottom: 12%;
}
.promise-text h2 {
    margin-bottom: 30px;
    font-size: 2.2rem;
    line-height: 1.4;
}
.promises-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.promise-image {
    width: 35%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}
.promise-image img {
    width: 120%;
    height: auto;
    border-radius: 0;
    border: 0px solid #EB6100;
    padding-bottom: 50px;
}
.promise-item {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}
.promise-item p {
    font-weight: bold;
    padding: 0px 10px 0px 40px;
    font-size: 1.3rem;
    line-height: 1.6;
}
.promise-item.space02 {
    margin-left: 5%;
}
.promise-item.space03 {
    margin-left: 10%;
}

/* ギザギザ */
#gizagiza a , #gizagiza a:after , #gizagiza a:before , #gizagiza a span {
    content:"";
    width:60px;
    height:60px;
    background-color:#3C0000;
    position:absolute;
    top:0px;
  }
  #gizagiza , #gizagiza a , #gizagiza a:after , #gizagiza a:before {
    -webkit-transform: rotate(22.5deg);
    -moz-transform: rotate(22.5deg);
  }
  #gizagiza a span {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    text-align: center;
    z-index: 999;
    line-height: 60px;
    color: #EB6100;
    font-size: xxx-large;
    font-weight: bold;
  }
  #gizagiza {
    position:relative;
    width:60px;
    height:60px;
    background-color:#3C0000;
    margin:20px 0 0 20px ;
  }
        
/* 地域に愛される施術 */
.local-love-section {
    background-color: white;
    padding: 0px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: -50px; /* 上部のオレンジ色の背景と重なるように調整 */
}
.local-love-section::before {
    content: '';
    position: absolute;
    top: -100px; /* 上部の曲線の高さを調整 */
    left: -10%;
    right: -10%;
    height: 220px; /* 曲線の高さを増やす */
    background-color: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.local-love-section h2 {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.local-love-content {
    position: relative;
    z-index: 2;
}
.local-love-section h2 {
    margin: 0;
    padding-top: 0px;
    position: relative;
    z-index: 2;
    line-height: 1.2; /* 行間を調整 */
}  
.local-love-section h2 .large {
    font-size: 1.5em; /* 大きいテキスト */
    font-weight: bold;
}  
.local-love-section h2 .small {
    font-size: 0.7em; /* 小さいテキスト */
    font-weight: normal;
}
.local-love-section h2 .orange {
    color: #EB6100; /* オレンジ色 */
}

/* 私たちの想い */
.omoi-section {
    padding: 50px 0;
    background-color: #ffffff;
}
.omoi-container {
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.omoi-text {
    width: 48%;
}
.omoi-text h2 {
    margin-bottom: 20px;
    border-bottom: 2px solid #EB6100;
    padding-bottom: 10px;
}
.omoi-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}
.omoi-image {
    width: 48%;
}
.omoi-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.orange-back {
    background-color: #F9690F;
}

/* メニュー */
.menu-wrapper {
    background-color: #F9690F; 
    width: 100%;
    padding: 50px 0;
}
.menu-section {
    width: 60%;
    margin: 0 auto;
}
.menu-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* 店舗情報 */
.store-info-section {
    padding: 50px 0;
    background-color: #fff;
}  
.store-info-section h2 {
    margin-bottom: 30px;
    text-align: center;
}  
.store-info-container {
    width: 60%;
    margin: 0 auto;
}  
.store-info-top {
    display: flex; /* flexからblockに変更 */
    justify-content: space-between;
    margin-bottom: 30px;
}  
.store-map, .store-details {
    width: 48%;
}  
.store-map img {
    width: 100%;
    height: auto;
}  
.store-details h3 {
    margin-bottom: 15px;
    color: #EB6100;
}  
.store-details p {
    margin-bottom: 10px;
}  
.reservation-button {
    display: inline-block;
    background-color: #EB6100;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 15px 0;
}  
.store-description h4 {
    margin-bottom: 10px;
}  
.store-photos {
    display: block;
    justify-content: space-between;
    gap: 100px;
}  
.store-photos img {
    width: calc(50% - 10px);
    height: auto;
    object-fit: cover;
}
.responsive-figure {
    margin: 0;
    padding: 0;
    text-align: center;
}
.responsive-figure img {
    max-width: 100%;
    height: auto;
}  
.responsive-figure figcaption {
    margin: 5px 0 20px 0;
    font-size: 0.9em;
}
  
/* フッター */
.main-footer {
    background-color: #ffffff;
    color: #333;
}  
.footer-container {
    width: 60%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}  
.footer-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}  
.footer-nav a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
}  
.footer-nav a:hover {
    text-decoration: underline;
}  
.footer-logo {
    margin-bottom: 20px;
}  
.footer-logo img {
    max-width: 200px;
    height: auto;
}  
.company-info {
    background-color: #EB6100;
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.company-info p {
    margin: 0;
}
  
/* レスポンシブデザイン */
@media screen and (min-width: 768px) {
    .store-info-container {
        width: 80%; /* または90%など、より広い幅に設定 */
        max-width: 1200px; /* 最大幅を大きく設定 */
      }
    .store-photos img {
      width: 48%; /* 2列レイアウトの場合 */
      max-width: none; /* 最大幅の制限を解除 */
    }
    .store-photos {
        display: block;
        justify-content: space-between;
        gap: 20px;
      }
  }

@media (max-width: 1080px) {
    body, html {
        font-size: 16px; /* モバイルではベースフォントを少し小さく */
    }
    h1 {
        font-size: 2rem; /* 32px相当 */
    }
    h2 {
        font-size: 1.75rem; /* 28px相当 */
    }
    h3 {
        font-size: 1.5rem; /* 24px相当 */
    }
    h4 {
        font-size: 1.25rem; /* 20px相当 */
    }
    .main-visual {
        height: 80vh; /* ビューポートの高さの60%に設定 */
    }
    .main-visual img {
        object-position: center top; /* 画像の上部を表示 */
    }

    .header {
        padding: 5px 10px; /* 左右のパディングを追加 */
        justify-content: space-between;
    }
    .header nav {
        padding-right: 0px;
    }
    .header nav a {
        font-size: 0.8rem; /* フォントサイズを小さく */
        margin-left: 10px; /* 項目間の余白を減らす */
    }
    .logo {
        max-width: 120px; /* ロゴのサイズを少し小さく */
        height: auto;
    }
    .spacing-50 {
        height: 10px;
    }
    .store-info {
        padding: 20px;
    }

    /* 大切なお知らせ */
    .notice-section {
        width: 90%;
        height: auto;
        flex-direction: column;
        margin: 20px auto;
    }
    .notice-left, .notice-right {
        width: 100%;
        box-sizing: border-box;
    }
    .notice-left {
        padding: 10px 0;
    }
    .notice-left h2 {
        font-size: 1.1rem;
        margin: 0;
        white-space: nowrap;
        text-align: center;
    }
    .notice-right {
        padding: 15px 10px;
    }
    .notice-right p {
        font-size: 1rem;
        margin: 0;
        line-height: 1.4;
        text-align: center;
    }

    /* 約束事 */
    .promise-section {
        padding: 40px 20px;
    }
    .promise-content {
        flex-direction: column;
    }
    .promise-text {
        width: 100%;
    }
    .promise-image {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .promise-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    #gizagiza {
        margin-bottom: 15px;
    }
    .promise-item p {
        font-size: 1.1rem;
        text-align: left;
    }
    .promise-item.space02,
    .promise-item.space03 {
        margin-left: 0;
    }
    .promise-image img {
        max-width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    /* 想い */
    .omoi-container {
        width: 90%;
        flex-direction: column;
      }
      .omoi-text, .omoi-image {
        width: 100%;
      }  
      .omoi-image {
        margin-top: 30px;
      }

    /* メニュー */
    .menu-section {
        width: 90%; /* モバイル端末では幅を90%に拡大 */
    }
    .menu-wrapper {
        padding: 30px 0; /* パディングを少し小さくする */
    }

    /* 店舗情報 */
    .store-info-section {
        padding: 40px 20px;
    }
    .store-info-container {
        width: 100%;
    }
    .store-info-top {
        flex-direction: column;
    }
    .store-map, .store-details {
        width: 100%;
        margin-bottom: 30px;
    }
    .store-map img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .store-details h3 {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    .store-details p {
        font-size: 1rem;
    }
    .reservation-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    .store-photos {
        flex-direction: column;
        gap: 20px;
    }
    .store-photos img {
        width: 100%;
    }
    .responsive-figure img {
        width: 80%; /* または必要なサイズに調整 */
        max-width: 1000px; /* 最大幅を設定 */
    }

    /* フッター */
    .footer-content {
        width: 90%;
      }  
      .footer-nav {
        flex-wrap: wrap;
      }
      .footer-nav a {
        margin: 5px 10px;
        font-size: 0.8rem; /* フォントサイズを小さく */
      }
}

@media (max-width: 950px) {
    .main-visual {
        height: 40vh; /* ビューポートの高さの60%に設定 */
    }
}

@media (max-width: 1024px) {
    body, html {
        font-size: 16px; /* モバイルではベースフォントを少し小さく */
    }
    h1 {
        font-size: 2rem; /* 32px相当 */
    }
    h2 {
        font-size: 1.75rem; /* 28px相当 */
    }
    h3 {
        font-size: 1.5rem; /* 24px相当 */
    }
    h4 {
        font-size: 1.25rem; /* 20px相当 */
    }
    .main-visual {
        height: 60vh; /* ビューポートの高さの60%に設定 */
    }
    .main-visual img {
        object-position: center top; /* 画像の上部を表示 */
    }

    .header {
        padding: 5px 10px; /* 左右のパディングを追加 */
        justify-content: space-between;
    }
    .header nav {
        padding-right: 0px;
    }
    .header nav a {
        font-size: 0.8rem; /* フォントサイズを小さく */
        margin-left: 10px; /* 項目間の余白を減らす */
    }
    .logo {
        max-width: 120px; /* ロゴのサイズを少し小さく */
        height: auto;
    }
    .spacing-50 {
        height: 10px;
    }
    .store-info {
        padding: 20px;
    }

    /* 大切なお知らせ */
    .notice-section {
        width: 90%;
        height: auto;
        flex-direction: column;
        margin: 20px auto;
    }
    .notice-left, .notice-right {
        width: 100%;
        box-sizing: border-box;
    }
    .notice-left {
        padding: 10px 0;
    }
    .notice-left h2 {
        font-size: 1.1rem;
        margin: 0;
        white-space: nowrap;
        text-align: center;
    }
    .notice-right {
        padding: 15px 10px;
    }
    .notice-right p {
        font-size: 1rem;
        margin: 0;
        line-height: 1.4;
        text-align: center;
    }

    /* 約束事 */
    .promise-section {
        padding: 40px 20px;
    }
    .promise-content {
        flex-direction: column;
    }
    .promise-text {
        width: 100%;
    }
    .promise-image {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .promise-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    #gizagiza {
        margin-bottom: 15px;
    }
    .promise-item p {
        font-size: 1.5rem;
        text-align: left;
    }
    .promise-item.space02,
    .promise-item.space03 {
        margin-left: 0;
    }
    .promise-image img {
        max-width: 100%;
        height: auto;
        margin-bottom: 50px;
    }

    /* 想い */
    .omoi-container {
        width: 90%;
        flex-direction: column;
      }
      .omoi-text, .omoi-image {
        width: 100%;
      }  
      .omoi-image {
        margin-top: 30px;
      }

    /* メニュー */
    .menu-section {
        width: 90%; /* モバイル端末では幅を90%に拡大 */
    }
    .menu-wrapper {
        padding: 30px 0; /* パディングを少し小さくする */
    }

    /* 店舗情報 */
    .store-info-section {
        padding: 40px 20px;
    }
    .store-info-container {
        width: 100%;
    }
    .store-info-top {
        flex-direction: column;
    }
    .store-map, .store-details {
        width: 100%;
        margin-bottom: 30px;
    }
    .store-map img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .store-details h3 {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    .store-details p {
        font-size: 1rem;
    }
    .reservation-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    .store-photos {
        flex-direction: column;
        gap: 20px;
    }
    .store-photos img {
        width: 100%;
    }
    /* フッター */
    .footer-content {
        width: 90%;
      }  
      .footer-nav {
        flex-wrap: wrap;
      }
      .footer-nav a {
        margin: 5px 10px;
        font-size: 0.8rem; /* フォントサイズを小さく */
      }
}

@media (max-width: 480px) {
    .main-visual {
        height: 25vh; /* さらに小さい画面では高さを50%に */
    }
    .header {
        align-items: center;
    }
    .header nav {
        margin-top: 5px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .header nav a {
        font-size: 0.6rem; /* さらに小さく */
        margin: 5px 8px;
    }
    .logo {
        max-width: 60px; /* さらに小さく */
        margin-left: 0;
    }
    .spacing-50 {
        height: 5px;
    }

    /* 大切なお知らせ */
    .notice-section {
        width: 95%;
    }
    .notice-left, .notice-right {
        box-sizing: border-box;
    }
    .notice-left h2 {
        font-size: 1rem;
    }
    .notice-right p {
        font-size: 0.8rem;
    }

    /* 約束事 */
    .promise-section {
        padding: 30px 15px;
    }
    .promise-text h2 {
        font-size: 1.5rem;
    }
    .promise-item p {
        font-size: 1rem;
    }

    /* 店舗情報 */
    .store-info-section {
        padding: 30px 15px;
    }
    .store-details h3 {
        font-size: 1.5rem;
    }
    .store-details p {
        font-size: 0.9rem;
    }
    .reservation-button {
        font-size: 1rem;
        padding: 12px 0;
    }

    /* フッター */
    .footer-container {
        width: 80%;
    }
    .footer-nav a {
        margin: 5px 10px;
        font-size: 0.6rem; /* フォントサイズを小さく */
    }
}