/*----------------------------------
共通設定
----------------------------------*/
@charset "UTF-8";

html {
    font-size: 100%;
}
body {
    background-image: url('../image/bg_paper.jpg'); /* 和紙風のテクスチャ画像 */
    background-repeat: repeat; /* 繰り返し表示 */
    background-size: auto; /* テクスチャのサイズをそのまま使用 */
    background-attachment: fixed; /* 背景を固定 */
    color: #262a2d;
    font-family: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
}
img {
    /* ↓はmax-width: 100%;の方がいいの？ */
    width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
a {
    color: #333;
    text-decoration: none;
}
.wrapper {
    max-width: 767px;
    padding: 0 20px;
    margin: 0 auto;
}


/*----------------------------------
フォントに関する共通設定
----------------------------------*/
.section-title {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.2;
    opacity: 90%;
    padding: 20px 0 10px;
}

.section-subtitle {
    font-size: 26px;
    font-weight: bold;
    opacity: 90%;
}

.section-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 85%;
    margin-bottom: 40px;
}



/*----------------------------------
ヘッダー
----------------------------------*/
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

#header .header-icon {
    margin-left: 16px;
}

#header .hamburger {
    width: 48px;
    height: 48px;
    cursor: pointer;
    top: 5px;
    right: 10px;
    z-index: 30;
}

#header .hamburger span {
    width: 30px;
    height: 3px;
    display: inline-block;
    background-color: #000;
    position: absolute;
    transition: all 0.4s;
}

#header .hamburger span:nth-of-type(1) {
    top: 16px;
}

#header .hamburger span:nth-of-type(2) {
    top: 25px;
}

#header .hamburger span:nth-of-type(3) {
    top: 34px;
}

/* --------------------------------------
ハンバーガーを開いて出てくるメニューに関する設定
-------------------------------------- */
#header .navi{
    width: 80%;
    height: 100vh;
    background-image: url('../image/bg_menu.jpg'); /* 和紙風のテクスチャ画像 */
    background-repeat: repeat; /* 繰り返し表示 */
    background-size: auto; /* テクスチャのサイズをそのまま使用 */
    background-attachment: fixed; /* 背景を固定 */
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
}

#header .navi .menu{
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    /* アンダーラインと文字の間隔を指定 */
    text-underline-offset: 6px;
}

#header .navi .menu li{
    padding: 15px 0;
    margin-left: 20px;
}

#header .navi.active{
    right: 0;
}

#header .hamburger.active span:nth-of-type(1){
    top: 24px;
    transform: rotate(-45deg);
}

#header .hamburger.active span:nth-of-type(2){
    opacity: 0;
}

#header .hamburger.active span:nth-of-type(3){
    top: 24px;
    transform: rotate(45deg);
}

/*----------------------------------
メインビジュアル
----------------------------------*/
.main-visual {
    position: relative;
    margin-bottom: 10px;
}

.main-visual .catch-copy {
    position: absolute;
    top: 8%;
    left: 10%;
    writing-mode: vertical-lr;
    font-weight: bold;
    font-size: 21px;
    letter-spacing: 3px;
    color: #fff;
    opacity: 75%;
    /* 黒の影を追加 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/*----------------------------------
当店について
----------------------------------*/
#about {
    margin-bottom: 40px;
}

#about .section-title {
    text-decoration: underline;
    /* アンダーラインと文字の間隔を指定 */
    text-underline-offset: 8px;
    /* アンダーラインの太さを指定 */
    text-decoration-thickness: 2px;
    margin-bottom: 6px;
}

#about .section-text {
    text-align: justify;
}





/*----------------------------------
無料お見積もりボタン
----------------------------------*/
.btn {
    width: 250px;
    height: 50px;
    background-color: #0a2e4a;
    /* 立体感を追加 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #0a2e4a, #062135); /* グラデーション */
    border: 1px solid #062135; /* ボタンの枠線 */
    border-radius: 3px;
    margin: 0 auto;
    margin-bottom: 50px;

    /* フレックスボックスで中央揃え */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn a {
    display: block; /* ブロック要素にする */
    width: 100%; /* 親要素に合わせる */
    height: 100%; /* 親要素に合わせる */
    color: #fff;
    text-align: center; /* 水平方向の中央揃え */
    line-height: 50px; /* 高さに合わせて垂直方向の中央揃え */
}




/*----------------------------------
サブセクション
----------------------------------*/
.section-subtitle {
    writing-mode: vertical-lr;
    border-left: 2px solid #262A2DE6;
    padding: 5px 0;
}

#fusuma .section-subtitle {
    padding: 18px 0;
}

#sample .section-subtitle {
    writing-mode: horizontal-tb;
    border-left: none;
    text-decoration: underline;
    /* アンダーラインと文字の間隔を指定 */
    text-underline-offset: 8px;
    /* アンダーラインの太さを指定 */
    text-decoration-thickness: 2px;
    margin-bottom: 15px;
}

.shadow-img {
    /* 画像に影を追加 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/*----------------------------------
施工事例
スライドショー
----------------------------------*/
#sample .section-title {
    text-decoration: underline;
    /* アンダーラインと文字の間隔を指定 */
    text-underline-offset: 8px;
    /* アンダーラインの太さを指定 */
    text-decoration-thickness: 2px;
    margin-bottom: 3px;
}

#sample {
    margin-bottom: 80px;
}
.slide-wrapper {
    width: 100%;
    height: 255px;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
}

.slide {
    width: 1000%;
    height: 100%;
    display: flex;
    transition: all 0.3s;
}

.slide img{
    object-fit: contain;
}

.slide div {
    width: 10%;
    height: 100%;
    display: flex;
}

.slide1 {
    transform: translate(0);
}

.slide2 {
    transform: translate(-10%);
}

.slide3 {
    transform: translate(-20%);
}

.slide4 {
    transform: translate(-30%);
}

.slide5 {
    transform: translate(-40%);
}

.slide6 {
    transform: translate(-50%);
}

.slide7 {
    transform: translate(-60%);
}

.slide8 {
    transform: translate(-70%);
}

.slide9 {
    transform: translate(-80%);
}

.slide10 {
    transform: translate(-90%);
}


.next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
}

.prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);
}

/* ----------------------------
店舗情報
---------------------------- */
#contact {
    margin-bottom: 80px;
}
#contact .section-title {
    text-align: center;
    margin-bottom: 10px;
}

#contact .bg-container {
    position: relative; /* 子要素の位置を基準にする */
    width: 100%; /* 親要素の幅を画面幅に合わせる */
    max-width: 767px; /* 必要に応じて最大幅を設定 */
    margin: 0 auto 30px; /* 中央揃え */
}
#contact .bg-img {
    width: 100%; /* 背景画像を親要素の幅に合わせる */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 画像の下に余白ができないようにする */
}
#contact .store-info {
    position: absolute; /* 背景画像の上に配置 */
    top: 54%; /* 親要素の高さの40%の位置 */
    left: 50%; /* 親要素の幅の50%の位置 */
    transform: translate(-50%, -50%); /* 中央揃え */
    padding: 0 15px; /* テーブル内の余白 */
    width: 80%; /* テーブルの幅を調整 */
    margin: 0 auto;
    border-spacing: 0;
}
.store-info th,
.store-info td {
    border-bottom: 1px solid #262a2d;
}
.store-info th {
    text-align: left;
    padding: 10px;
    width: 30%;
}
.store-info td {
    text-align: left;
    padding: 10px 0;
    width: 70%;
}
#contact .map iframe {
    width: 100%;
    padding: 0 10px;
    height: 300px;
}


/*----------------------------------
事業内容
----------------------------------*/
#services {
    margin-bottom: 80px;
}
#services .section-title {
    text-align: center;
    margin-bottom: 20px;
}
#services .grid {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
}
#services .grid-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    background-color: rgba(167, 119, 64, 0.307);
    border: 1px solid #262a2d;
    border-radius: 5px;
}
#services .grid-icon {
    height: 50px;
    width: 50px;
}
#services .grid-item p {
    font-weight: bold;
    opacity: 85%;
    width: 100%;
    text-align: center;
    /* padding-left: 15px; */
}

/*----------------------------------
ご依頼について
----------------------------------*/
#request .section-title {
    text-align: center;
    margin-bottom: 20px;
}
#request h3 {
    margin-bottom: 5px;
}

#request .request-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    background-color: rgba(251, 251, 251, 0.5);
    border-radius: 5px;
}
#request .request-item img {
    margin-left: 15px;
    width: 50px;
    height: auto;
}
#request .request-item p {
    padding-left: 20px;
}



/*----------------------------------
フッター
----------------------------------*/
#footer {
    margin-top: 100px;
}
#footer .footer-inner{
    width: 100%;
    background-color: #3E3A39;
    color: #fff;
    text-align: center;
    padding: 20px 0 10px 0;
}
#footer .section-title {
    margin-bottom: 10px;
}
#footer .footer-info {
    width: 100%;
    max-width: 544px;
    margin: 0 auto 20px;
    padding: 0 40px;
    border-spacing: 0;
}
.footer-info th,
.footer-info td {
    border-bottom: 1px solid #fff;
}
.footer-info th {
    text-align: left;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.footer-info th img {
    width: 20px;
    height: 20px;
    display: inline-block;
}
.footer-info td {
    text-align: left;
    padding: 10px 0;
    font-weight: normal;
}


/* -------------------------
最強のレスポンシブ対応
------------------------- */
@media screen and (min-width: 767px) {
    #header,
    .main-visual,
    #footer {
        max-width: 767px;
        margin: 0 auto;
    }
}