/*
Theme Name: BusinessPress
Theme URI: https://businesspress.jp/theme/
Author: BusinessPress
Author URI: https://businesspress.jp/
Description: BusinessPress ia a simple and beautiful business WordPress theme. You can create a website of corporate, group, freelance and so on.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: businesspress
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
*/


/* TABLE OF CONTENTS
------------------------------------------------------------
* Global
* Repeatable Patterns
* Layout
* Header
* Menus
* Featured Area
* Content
* Navigations
* Comments
* Widgets
* Footer
* Plugins
* Print
-----------------------------------
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {

    --color-format:#ff0000;
    --color-faq1-format:#000000;
    --color-faq2-format:#FFFCF8;

}


html,
body,
h2,
h3,
ul,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
    line-height: 1;
}

ul {
    list-style: none;
}

li,
dd {
    list-style-type: none;
}

header,
footer,
nav,
section,
main {
    display: block;
}

img {
    border: none;
    vertical-align: bottom;
}

body {
    color: #311D0F;

}

/* 
body {
 
  
    background: #FFFCF8;
}
*/


a {
    text-decoration: none;
    transition: 0.3s;
    color: #311D0F;
}

img {
    display: block;
}

img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.l-header {
    background: #FFFCF8 !important;
    background-image: none !important;
    height: 7.6875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l-header__logoLink {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease 0s;
}

.l-header__logoWrap {
    display: flex; /* 横並びにする */
    align-items: center; /* 縦方向を中央揃え */
    gap: 10px; /* アイテム間の余白を設定 */
}

.l-header__logo {
    width: 10.625rem;
    height: auto;
    aspect-ratio: 1/1;
}

.l-header__logo img,
.l-header__lineLink img {
    display: block; /* 画像をインラインでなくブロック要素に */
}

.l-header__logo img {
    width: 70%;
    height: 90%;
    -o-object-fit: contain;
    object-fit: contain;
}

.l-header__list {
    display: flex;
    align-items: center;
    gap: 1.125rem;
}

.l-header__link {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    padding-left: 0.8125rem;
    position: relative;
    padding-bottom: 0.625rem;

}




.l-inner {
   
    width: 100%;
    max-width: 1360px;
    height: inherit;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.l-inner--narrow {
    max-width: 1120px;
}

.l-header__lineLink img {
    width: 50%;
    height: auto; /* アスペクト比を保つ */
}


.p-drawer__buttonWrap {
    display: none;
}
/* ハンバーガーメニューボタンのスタイル */
.p-drawer__btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* 各ラインの初期スタイル */
.p-drawer__line {
    position: absolute;
    width: 100%; /* 幅は100% */
    height: 4px;
    background: #311D0F;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ラインの位置 */
.p-drawer__line:nth-child(1) { top: 10px; }
.p-drawer__line:nth-child(2) { top: 20px; }
.p-drawer__line:nth-child(3) { top: 30px; }

@media (min-width: 768px) and (max-width: 1023.98px) {
.l-header__list .l-header__item img {
     width: 50%;   

}

}

/* メディアクエリでスマホ用のスタイルを設定 */
@media (max-width: 768px) {

.l-header {
    height: auto;
 }

.l-header__logo {
    width: 80px;
    height: 80px;

   }



    .p-drawer__buttonWrap {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.25rem;
        z-index: 100;
    }

    .l-header__nav {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        width: 100%;
        background: #FFFCF8;
        z-index: 1000;

    }

    #header.open .l-header__nav {
        display: block;
    }

    .l-header__list {
        flex-direction: column;
        align-items: center;
    }

    .l-header__link::before {
        content: none; /* 擬似要素を非表示にする */
    }

    .l-header__link {
        padding: 1rem 0;
       
    }
.l-header__list .l-header__item:last-child {
    margin-bottom: 20px; /* 必要に応じて調整 */
}

.l-header__lineLink {
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え（必要なら） */
}

}




.l-footer {
    padding-top: 1.25rem;
    background-color:  var(--color-format); 
}

.l-footer__info {
    padding: 1rem 0;
    text-align: center;
     color:var(--color-faq2-format);  
    font-size: 1rem;
}

.l-footer__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* アイコンの間の余白 */
}

.footer-logo {
    display: inline-block;
    margin: 0 auto;
}

.footer-logo {
    width: 200px;
    height: 50px;
    transition: transform 0.3s ease;
}


.l-main {
    padding-top: 7.6875rem;
}

.c-section__title {
    font-size: 2.5rem;
    font-weight: 700; /* または bold */
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}



.c-section__title.white {
    color: #FFFCF8;
}

.c-section__title.white::before {
    background: #FFFCF8;
}
.p-topFv {
    overflow-x: clip;
}

.p-topFv__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1280/680;
}



/* 768px以上1023.98px以下の画面に対するスタイル */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .p-topFv__img {
        width: 100%;
        height: auto;
        overflow: hidden; /* 親要素の範囲外にはみ出さないように */
    }

    .p-topFv__img video {
        width: 100%; /* 幅いっぱいに表示 */
        height: auto; /* 高さを自動調整 */
        object-fit: cover; /* 縦横比を維持して画面に収まるように */
    }
}

/* 767.98px以下の画面に対するスタイル */
@media (max-width: 767.98px) {
    .p-topFv__img {
        width: 100%;
        height: auto;
        overflow: hidden; /* 横スクロール防止 */
    }

    .p-topFv__img video {
        width: 100%; /* スマホの画面幅に合わせる */
        height: auto;
        object-fit: cover; /* 画面サイズに合わせて拡大/縮小 */
        aspect-ratio: 16/9; /* アスペクト比を維持 */
    }
}


/* NEWSセクションのタイトル */

.news-slider .card {
  border: 1px solid #ddd; /* 薄いグレーのボーダー */
  border-radius: 10px; /* 角を丸める */
  background-color: #f9f9f9; /* 背景を薄いグレーに設定 */
  box-shadow: 0 4px 8px rgba(128, 128, 128, 0.5) , /* 上下左右にクリーム色の影を追加し、透明度を中くらいに */
               0 -4px 8px rgba(245, 245, 220, 0.5),
               4px 0 8px rgba(245, 245, 220, 0.5),
               -4px 0 8px rgba(245, 245, 220, 0.5);
  overflow: hidden; /* 画像がはみ出さないように */
  transition: transform 0.3s ease; /* ホバー時のトランジション */
  margin: 0 15px;
  text-align: center;
  height: 350px; /* カードの高さを固定 */
}



/* ホバー時のカードの拡大効果 */
.news-slider .card:hover {
  transform: scale(1.05); /* ホバー時に少し拡大 */
}

.news-slider .card-img-top {
 
 max-width: 100%;
  height: 200px; /* 固定の高さを設定 */
  object-fit: cover; /* 画像の比率を保ちながら要素を覆う */
  object-position: center; /* 画像の中心を表示 */
  border-bottom: 1px solid #ddd; /* 画像とテキストの区切り線 */
  border-top-left-radius: 10px; /* カードの丸みを引き継ぐ */
  border-top-right-radius: 10px; /* カードの丸みを引き継ぐ */
}

.news-slider .card-body {
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 最大行数を3行に設定 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis; /* 溢れたテキストに省略記号を追加 */
}

/*.news-slider .card-body {
  padding: 15px;
  text-align: center;

}*/

/* スライダーの矢印 */
.slick-prev, .slick-next {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
}

.slick-prev {
  left: -50px; /* 左側の矢印位置 */
}

.slick-track {
  margin-top: 20px;
  margin-bottom: 20px;
}

.slick-next {
  right: -50px; /* 右側の矢印位置 */
}

.slick-prev:hover, .slick-next:hover {
  background-color: #ddd;
}

/* ボタンのスタイル */
.button-container {
    margin-top: 20px;
    margin-bottom: 20px; /* 下にも空白を追加 */
    text-align: center; /* ボタンを中央に配置 */
}

/* ボタンのスタイル */
/* ボタンのスタイル */
.btn {
    margin-top: 20px;
    padding: 30px 60px !important; /* パディングを大きくしてボタン全体を拡大 */
    background-color: var(--color-format) !important; /* 背景色を強制的にオレンジに */
    border-color: var(--color-format) !important; /* ボーダーの色を強制的にオレンジに */
    color: white !important; /* テキストの色を白に強制 */
    text-decoration: none; /* テキストの下線を無効に */
    border-radius: 40px !important;; /* 角を丸める */
    font-size: 24px !important; /* 文字サイズを大きくする */
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e67e2c !important; /* ホバー時の背景色を強制的に変更 */
    border-color: #e67e2c !important; /* ホバー時のボーダー色を強制的に変更 */
}


@media (min-width: 1024px) {
  .news-slider .slick-slide {
    max-width: 33.33%; /* 1024px以上では3枚表示 */
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .news-slider .slick-slide {
    max-width: 50%; /* 768pxから1023.98pxでは2枚表示 */
  }
}

@media (max-width: 767.98px) {
.picktitle {
  margin-top: 0px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

    .news-slider {
        overflow: hidden; /* はみ出し防止 */
    }

    .news-slider .slick-slide {
        max-width: 100%; /* スライドを100%幅に設定 */
    }

.card-body{
padding: 0px;
}



.news-slider .card-body {
        display: -webkit-box;           /* 必須 */
        -webkit-box-orient: vertical;    /* 必須 */
        -webkit-line-clamp: 2;           /* 行数制限 */
        overflow: hidden;                /* オーバーフローの非表示 */
        text-overflow: ellipsis;         /* 省略記号 */
padding: 0px 10px;

    }

.news-slider .card {
  height: 280px; /* カードの高さを固定 */
}


}



/*about*/
/* about */


.p-topAbout__wrap {
    padding: 5rem 0 5.4375rem;
    background-color: red; /* 赤背景を維持 */
}

.p-topAbout__lead {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.18em;
    color: #FFFCF8;
    text-align: center;
}

.white{
 color: #FFFCF8;

}

.p-topAbout__lead .accent {
    font-size: 3rem;
}

.p-topAbout__text {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #FFFCF8;
    text-align: center;

}

.p-topAbout__list {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
}

.p-topAbout__img {
    width: 280px;
    height: 316px;
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    align-items: center;
}

.p-topAbout__img img {
    object-fit: cover;
    width: 280px;
    height: 280px;
    border-radius: 0.5rem 0.5rem 0 0; /* 上の角だけ丸くする */
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    background-color: white; /* 背景を白に設定 */
}

.image-container {
    position: relative;
    width: 280px;
    height: 340px;
    background-color: white; /* 透明な部分に白背景を設定 */
    border-radius: 0.5rem 0.5rem 0 0; /* 上の角だけ丸くする */
    overflow: hidden; /* 画像がコンテナからはみ出さないように */
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;

}

.image-caption {
    background-color: #5c3b00;
    color: #fff; /* キャプションの文字色を白にして目立たせる */
    font-size: 20px;
    text-align: center;
    padding: 10px;
    width: 280px; /* キャプションの幅を画像に揃える */
   height: 60px;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    margin-top: 0; /* キャプションを画像のすぐ下に */
    z-index: 1; /* キャプションを前面に表示 */
    position: relative;

    }

.small-image-caption{
    font-size: 14px;

}

/* 768px以上1023.98px以下の画面に対するスタイル */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .p-topAbout__list {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .p-topAbout__img {
        width: 45%; /* 画像を2列配置に */
        height: auto;
    }

    .p-topAbout__img img,
    .image-container,
    .image-caption {
        width: 100%;
        height: auto;
    }
}

/* 767.98px以下の画面に対するスタイル */
@media (max-width: 767.98px) {
    .p-topAbout__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .p-topAbout__img {
        width: 90%; /* 幅を画面サイズに合わせて縮小 */
        height: auto;
    }
 .image-caption {
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
}
.image-caption .small-image-caption {
    font-size: 14px;
    line-height: 1.2;
    display: block;
    margin-top: 4px; /* 小さい文字の余白調整 */
}

.image-caption:has(.small-image-caption) {
    flex-direction: column; /* 2行テキストの場合、縦方向に配置 */
    justify-content: flex-start; /* 上寄せ */
    align-items: center; /* 水平方向中央揃え */
    padding: 10px; /* テキスト全体の余白を調整 */
    height: auto; /* 高さを自動調整 */
}

}


/* サービスポイントセクション用のCSS */


.servicepoint-section-title2 {
      font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-format); /* オレンジ色に変更 */
}


.container {
  
    max-width: 1200px; /* 必要に応じて調整可能 */
    padding: 0 20px; /* 両サイドに余白を追加 */
}

.servicepoint-card {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
    align-items: center;
    width: 100%; /* containerまで広げる */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
}

.servicepoint-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.servicepoint-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative; /* スライドショーの配置用 */
}

.servicepoint-image {
    width: 450px; /* 固定幅 */
    height: 250px; /* 固定高さ */
    border-radius: 15%; /* 画像サイズに応じた角の丸み */
    margin-right: 20px;
    object-fit: cover;
}

.servicepoint-text {
    flex: 1;
    text-align: left;

    font-weight: bold;
    color: #333;
}

.servicepoint-text h3 {

    margin-bottom: 10px;
}

.servicepoint-section-text {
    //font-size: 1rem;
    //line-height: 1.6; /* 行間を少し広げる */
margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
//    color: #FFFCF8;
    text-align: center;
}


.servicepoint-text p {

    color: #666;
}

.slideshow-container {
    position: relative;
    width: 450px;
    height: 250px;
    margin-right: 20px;
}

/* スライドショーの画像スタイルを調整 */
.slideshow-container .slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 親コンテナに合わせる */
    height: 100%; /* 親コンテナに合わせる */
    border-radius: 15%; /* 画像の角を丸くする */
    opacity: 0;
    animation: slideShow 9s infinite;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.slideshow-container .slideshow-image:nth-child(1) {
    animation-delay: 0s;
}

.slideshow-container .slideshow-image:nth-child(2) {
    animation-delay: 3s;
}

.slideshow-container .slideshow-image:nth-child(3) {
    animation-delay: 6s;
}

@keyframes slideShow {
    0%, 40%, 100% { opacity: 0; }
    10%, 30% { opacity: 1; }
}


/* レスポンシブ対応 */
/* 768px以上1023.98px以下のブレイクポイント */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .servicepoint-card {
        flex-direction: column; /* カードを縦並びに */
        align-items: center; /* 中央揃え */
        padding: 15px;
        height: auto;
    }

    .servicepoint-content {
        flex-direction: column; /* コンテンツ全体を縦並び */
        align-items: center; /* コンテンツを中央揃え */
        text-align: center; /* テキストを中央揃え */
        width: 100%;
    }

    .servicepoint-image {
        width: 100%;
        max-width: 450px; /* 最大幅を制限 */
        height: auto;
        margin-bottom: 15px;
    }

    .servicepoint-text {
        text-align: center;
        margin: 0 auto; /* テキストを中央に */
    }

    .servicepoint-section-title2 {
        font-size: 1.5rem; /* タイトルのフォントサイズ調整 */
    }
}

/* 767.98px以下のスマホ向けレスポンシブデザイン */
/* 767.98px以下のスマホ向けレスポンシブデザイン */
@media (max-width: 767.98px) {


    .servicepoint-content {
        display: flex;
        flex-direction: column; /* 要素を縦並びにする */
        align-items: center; /* 中央揃え */
        justify-content: center;
        width: 100%;
    }

    .servicepoint-card {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .servicepoint-image {
        width: 100%; /* 画像をカード全体の幅に合わせる */
        height: 220px; /* 高さも自動調整 */
        margin-bottom: 10px; /* 画像とテキストの間に余白 */
    margin-right: 0px;
    }

    .servicepoint-text {
        text-align: center;
        font-size: 16px;
        word-wrap: break-word; /* 長い単語を折り返し */
    }
    .slideshow-container {
        width: 100%;
        height: 220px;
        padding-top: 55.56%; /* アスペクト比を維持 */
        margin-right: 0;
    }

    .servicepoint-card:nth-of-type(6) .servicepoint-text h3 {
        margin-top: 10px;
    }

  .servicepoint-section-text {
    font-size: 0.875rem;  /* ここで縮小 */
    letter-spacing: 0.01em;
}
}




/* General Layout */
.user-guide-section {
  
    padding: 4rem 2rem;
}

.guide-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title and Subtitle */
.guide-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.guide-section-title {
    font-size: 2.5rem;
    color: #6f432a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Guide Content Wrapper */
.guide-content-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Content Block */
.guide-content-block {
    flex: 1 1 48%;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Guide Item */
.guide-item {
    margin-bottom: 2rem;
}

.guide-item-title {
    font-size: 1.75rem;
    color: #8b5a2b;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0ebe1;
    padding-bottom: 0.5rem;
}

.guide-item-detail {
    margin-top: 1rem;
}

/* Text Styling */
.guide-item-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.maru {

    color: #8b5a2b;
}

.small {
    font-size: 0.9rem;
    color: #666;
}

.note {
    font-size: 0.85rem;
    color: #999;
}

/* Table Styling */
.guide-item-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.guide-item-table th,
.guide-item-table td {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.guide-item-table th {
    color: #8b5a2b;
    text-align: left;
 line-height: 1.5;
}

.guide-item-table td {
    text-align: right;
    color: #333;
 vertical-align: bottom;
}

@media (max-width: 767.98px) {
    .guide-item-table th,
    .guide-item-table td {
        font-size: 16px; /* フォントサイズを少し小さくする */
        padding: 0.5rem 0.5rem; /* パディングを小さくしてスペースを確保 */
      
    }
.guide-item-table td {
               white-space: nowrap; /* テキストを1行に収める */
    }

}

/* Button Styling */

.p-topFaq {

    position: relative;
}

.p-topFaq::before {
    content: "";
    position: absolute;
    top: -0.9375rem;
    left: 0;
    width: 100%;
    height: 5.3125rem;
    -webkit-mask: url("../img/common/wavy_low.svg");
    mask: url("../img/common/wavy_low.svg");
    background-color: #FFF1EE;
}

.p-topFaq__title {
    text-align: center;
}

.p-topFaq__wrap {
    margin-top:60px;
}

.p-topFaq__list {
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.p-topFaq__list:nth-child(n+2) {
    margin-top: 1.5rem;
}

.p-topFaq__question {
    padding: 2.0625rem 5rem 2.0625rem 8.875rem;
    background: var(--color-faq1-format); 

    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    color: #FFFCF8;
    position: relative;
}

.p-topFaq__question::before {
    content: "Q";
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    background: #FFFCF8;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0em;
    color: var(--color-faq1-format); 
    display: grid;
    place-items: center;
}

.p-topFaq__question::after {
    content: "";
    position: absolute;
    top: 2.375rem;
    right: 2.5rem;
    width: 1.25rem;
    height: 1.0625rem;
    background: url("../img/top/icon_triangle.svg") no-repeat center/contain;
    transition: all 0.3s ease 0s;
    transform-origin: center;
    rotate: 180deg;
}

.p-topFaq__answer {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    padding: 1.875rem 3.875rem 1.875rem 2.5rem;
    background: #fff;
    display: none;

}




.p-access {
    margin-top: 9.375rem;
}

.p-access__wrap {
    background: var(--color-format); 
   padding: 1.5rem;

}

.p-access__title {
    text-align: center;
    color: #ffffff;
}




.p-access__itemTitle {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: #FFFCF8;
    padding-top: 1.8125rem;
}

.p-access__itemText {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #FFFCF8;
    }

.p-access__itemText:first-of-type {
    margin-top: 1rem;
}

.p-access__itemText a {
    text-decoration: none;
    color: #FFFCF8;
}

.p-access__map {
    position: relative;
    width: 50%; /* 幅を50%に設定 */
    aspect-ratio: 520/386;
    margin: 20px auto 0px auto; /* 地図の上に20px、下に40pxの余白を設定 */
    padding: 0; /* 余白を完全になくす */
}

.p-access__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* 枠線をなくす */
    border-radius: 0.5rem; /* 角を丸める */
}

@media (min-width: 768px) and (max-width: 1023.98px) 
.p-access__itemText {
text-align: center;
}


.p-contact {
    padding: 3.75rem 0 5.1875rem;
    background: url("images/contact01.jpg") center center / cover no-repeat;
}



.p-contact__title {
    text-align: center;
}

.p-contact__lead {
    margin-top: 3.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #FFFCF8;
    text-align: center;
}

.p-contact__list {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.p-contact__link {
    display: block;
    width: 5rem;
    height: auto;
    aspect-ratio: 1/1;
    transition: all 0.3s ease 0s;
}

.p-contact__link img {
    filter: drop-shadow(0 0.6rem 0.6rem rgba(0, 0, 0, 0.25));
    -o-object-fit: contain;
    object-fit: contain;
}




/* ãƒ•ã‚§ãƒ¼ãƒ‰ã‚¤ãƒ³æ™‚ã«å…¥ã‚‹ã‚¯ãƒ©ã‚¹ */

.u-sp {
    display: none !important;
}

.u-pc {
    display: none !important;
}

@media (hover: hover) {

a:hover {
    cursor: pointer;
}

.l-header__logoLink:hover {
    opacity: 0.7;
}

.l-header__link:hover::after {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.p-contact__link:hover {
    scale: 1.1;
}

}

@media (width < 650px) {

.p-topFv__img {
    width: calc(100% + 3.125rem);
    aspect-ratio: 395/247;
    margin-left: -1.75rem;
}

}

@media (650px <= width < 768px) {

.p-topFv__img {
    width: calc(100% + 87px);
    margin-left: -41px;
}

}

@media screen and (max-width: 767px) and (min-width: 650px) {

html {
    font-size: 26.6666666667px;
}

}

@media (min-width: 768px) {

.u-pc {
    display: block !important;
}

}

@media screen and (max-width: 1359px) and (min-width: 768px) {

html {
    font-size: calc(1600 / 1360 * 1vw);
}

}

@media screen and (max-width: 767px) {



.l-inner {
    max-width: 100%;
    padding: 0 1.25rem;
}

.l-footer {
    padding-top: 0px;
}

.l-main {
    padding-top: 5rem;
}


.p-topAbout__wrap {
    padding: 2.5rem 0 5.8125rem;
}

.p-topAbout__lead {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.p-topAbout__lead .accent {
    font-size: 1.75rem;
}

.p-topAbout__text {
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.p-topAbout__list {
    margin-top: 1rem;
    gap: 0.625rem;
}

.p-topAbout__img {
    width: 6.5625rem;
    aspect-ratio: 105/70;
}

.p-topAbout__img img {
    border-radius: 0.3125rem;
    box-shadow: none;
}

.p-topFaq {
    padding: 4.3125rem 0 3.75rem;
}

.p-topFaq::before {
    top: -13px;
    height: 4.5625rem;

}


.p-topFaq__question {
    padding: 0.6875rem 2.125rem 0.6875rem 2.875rem;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.p-topFaq__question::before {
    top: 0.625rem;
    left: 0.5rem;
    width: 1.875rem;
    height: 1.875rem;
    font-size: 1.25rem;
}

.p-topFaq__question::after {
    top: 1.125rem;
    right: 1rem;
    width: 0.8125rem;
    height: 0.6875rem;
}

.p-topFaq__answer {
    padding: 1rem;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}
}

@media (max-width: 767.98px) {
.p-topFaq {
padding: 0px ;
}
}

/*アクセス*/
.p-access {
    margin-top: 5rem;
}


.p-access__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}


.p-access__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    
}



.p-access__item {
    width: 100%;
    text-align: center;
}

.p-access__itemText {
    margin-bottom: 1rem;
}


iframe {
    width: 100%;
    height: 300px;
    border: 0;
    max-width: 600px;
}




@media (min-width: 768px) and (max-width: 1023.98px) {
.p-access__content  {
text-align: center;
}
}

@media (max-width: 767.98px) {
.p-access__map {
width: 100%;
}

.p-access__itemTitle {
    font-size: 2.0rem;

}

.breakable {
        word-break: keep-all;
    }

    .sp-br {
        display: block;
    }}

/* history */

.history{
    margin-top: 50px;

}
.slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 20s infinite linear 1s both;
}
.slide{
  width: 300px;
  height: 300px;
  object-fit:cover;
  border: 1px solid #ddd;
}

.history-description {

    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-align: center;


}

@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}

@media (max-width: 767.98px) {

.history-description {

    font-size: 0.875rem;
    letter-spacing: 0.01em;
}
}



/* メディアクエリで子要素のサイズを調整 */
@media (min-width: 576px) {
    .p-topHistory__img li {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (min-width: 768px) {
    .p-topHistory__img li {
        flex: 0 0 32%;
        max-width: 32%;
    }
}

@media (min-width: 992px) {
    .p-topHistory__img li {
        flex: 0 0 23%;
        max-width: 23%;
    }
}






/*news アチーブ*/
/* Archive News Page Styles for a Bathhouse Website */

/* メインコンテンツのスタイリング */
#primary {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f8f8; /* 優しい色合いの背景 */
    border-radius: 10px;
}

/* ページヘッダーのスタイリング */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 2.5em;
    color: #333; /* 濃いグレーで視認性を高める */

}

/* ループ内の記事アイテムのスタイリング */
.loop-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 柔らかい影 */
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px); /* ホバー時に少し浮かせる効果 */
}

.news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.news-content {
    text-align: left;
}

.news-meta {
    font-size: 0.9em;
    color: #888; /* ライトグレーの文字色 */
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.5em;
    color: #333;
    margin: 0 0 10px;
}

.news-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0056b3; /* ホバー時にブルーに変わる */
}

.news-excerpt {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* ページネーションのスタイリング */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #d0d0d0;
}

/* サイドバーのスタイリング */
.sidebar {
    margin-top: 30px;
}

/* メディアクエリでのレスポンシブデザイン */
@media (max-width: 768px) {
    .page-title {
        font-size: 2em;
    }

    .loop-wrapper {
        grid-template-columns: 1fr;
    }
}

/* single-news */
/* 銭湯のお知らせ用スタイリング */
.sento-announcement {
    background-color: #f5f5f5; /* 優しい色調の背景 */
    padding: 20px;
}

.sento-announcement .site-main {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* タイトルの調整 */
.sento-announcement .entry-header {
    text-align: center; /* タイトルを中央揃え */
    margin-top: 60px; /* ヘッダーとタイトルの間に余白を追加 */
    margin-bottom: 20px; /* タイトルとコンテンツの間に余白を追加 */
}

.sento-announcement .entry-title {
    font-size: 2em; /* タイトルのフォントサイズをやや大きく設定 */
    color: #333; /* タイトルの色を濃いグレーに設定 */
    padding: 10px 0; /* タイトルの内側に少し余白を追加 */
    border-bottom: 2px solid #ccc; /* タイトルの下にシンプルな線を追加 */
    display: inline-block;
}

/* 投稿サムネイルの調整 */
.sento-announcement .post-thumbnail {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
}

/* コンテンツの調整 */
.sento-announcement .entry-content {
    font-size: 1.2em; /* コンテンツのフォントサイズを少し大きく設定 */
    line-height: 1.8;
    color: #555;
}

.sento-announcement .entry-content p {
    margin-bottom: 1.5em;
}

/* コメントセクション */
.sento-announcement .comments-area {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}


.announcement-title {
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* 追加のスタイルが必要な場合はここに追加 */


.p-topNews__item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.p-topNews__thumbnail {
    flex-shrink: 0;
    margin-right: 20px;
}

.p-topNews__thumbnail img {
    width: 150px; /* サムネイル画像の幅を調整 */
    height: auto;
    border-radius: 8px;
}

.p-topNews__content {
    flex-grow: 1;
}

.p-topNews__time,
.p-topNews__category,
.p-topNews__text {
    display: block;
    margin-bottom: 5px;
}

.p-topNews__time {
    font-size: 0.9em;
    color: #888;
}

.p-topNews__category {
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

.p-topNews__text {
    font-size: 1.2em;
    color: #333;
}

.p-topNews__thumbnail img {
    width: 150px;
    height: 100px;
    object-fit: cover; /* 画像のアスペクト比を維持しつつ、枠に収まるように調整 */
    border-radius: 8px;
}

/* フローティングバナー全体のスタイル */
.floating-banner {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    cursor: pointer;
    text-align: center; /* 子要素を中央揃え */
}

/* リンク内の画像のスタイル */
.floating-banner-image {
    width: 200px; /* 必要に応じて調整 */
    height: auto;
    border-radius: 8px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s;
}

.floating-banner a:hover .floating-banner-image {
    opacity: 0.8;
}

/* テキストのスタイル */
.friend-text {
    margin-top: 8px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media screen and (min-width: 481px) {
    .floating-banner-image {
        width: 300px; /* 必要に応じて調整 */
    }
    .friend-text {
        font-size: 20px;
    }
}