@charset "utf-8";

/*
Theme Name:　髙橋タタミ店
Author: kawano
Description: original theme
Version: 3.0.0
*/

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #434343;
    background: #e6dfcb;
}

/*===============================

	ヘッダー

================================*/
.header-inner {
    background: #e6dfcb;
    position: fixed;/*fixedで固定*/
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
}
.header-nav-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header-nav-row {
    display: inline-block;
}
.header-tel-btn {
    margin-left: auto;
}
.header-tel-btn img{
    display: none;
}
.header-tel-btn a {
    text-decoration: none;
}
.header-tel-btn span {
    color: #eb5a09;
    font-size: 25px;
    font-weight: 600;
}
.header-form-btn a {
    text-decoration: none;
}
.header-form-btn img{
    display: none;
}
.header-form-btn span {
    background-color: #eb5a09;
    border-radius: 0px;
    color: #fff;
    font-weight: 500;
    padding: 15px 40px;
    margin: 0 65px 0 20px ;
}
.tatami-logo img {
    width: 255px;
}
/*ナビゲーション*/
.nav-list {
    display: table;
    margin: 0 auto;
    padding: 0 ;
    width: 90%;
    text-align: center;
    font-weight: 400;
}
.nav-item {
    display: table-cell;
    min-width: 80px;
    font-size: 1.2rem;
    border-top: 2px solid #434343;
}
.nav-item a{
    display: block;
    width: 100%;
    text-decoration: none;
    color: #555;
    padding: 10px 5px;
    font-size: 16px;
}
.nav-list li:hover{
    border-top: 2px solid #eb5a09;
}
.navigation .navigation-btn {
    position: fixed;
    top: 25px;
    right: 15px;
    width: 35px;
    height: 25px;
    z-index: 9999; /* バツアイコンを最前面に */
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.navigation .navigation-btn span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #eb5a09;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.navigation .navigation-btn span:nth-child(1) {
    top: 0;
}

.navigation .navigation-btn span:nth-child(2) {
    top: 10px;
}

.navigation .navigation-btn span:nth-child(3) {
    top: 20px;
}

.navigation .navigation-btn.open span:nth-child(1) {
    background: #eb5a09;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.navigation .navigation-btn.open span:nth-child(2),
.navigation .navigation-btn.open span:nth-child(3) {
    top: 6px;
    background: #eb5a09;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
.navigation-btn {
    display: none;
}
.g-nav .nav-list li {
    margin: 0 auto;
    padding: 0 5px;
}

/*===============================

	TOP

================================*/
/*メインビジュアル*/
.top-mv {
    display: flex;
    position: relative;
    width: 100%;
    margin: 160px 0 0;
}
.catchphrase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 縦横中央寄せ */
    text-align: center;
    width: 100%;
}
.catchphrase p{
    font-size: 2rem;
    font-weight: 500;
    color: #fffcef;
}
.top-tatami-img-pc {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* アスペクト比を維持しつつ親要素に収める */
}
.top-tatami-img-sp {
    display: none;
}
/*要素を中央よせ*/
.top-center {
    width: 100%;
    margin: auto;
}
/*ニュース*/
.top-news {
    text-align: center;
    padding:0 0 50px 0;
}
/*見出し共通*/
.top-common-heading {
    position: relative;
    display: inline-block;
    padding: 0 55px;
    margin: 20px 0 0;
}
.top-common-heading:before, .top-common-heading:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 5px;
    border-top: solid 1px ;
    border-bottom: solid 1px ;
}
.top-common-heading:before {
    left:0;
}
.top-common-heading:after {
    right: 0;
}
/*詳細ボタン共通*/
.top-btn-padding{
    width: 70%;
    margin: 17px auto;
}
.top-more-btn {
    width: 30%;
    border: solid 1px #434343;
    color: #434343;
    padding: 16px 72px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
}
.top-content-padding {
    width: 580px;
    margin: 40px 50px;
    text-align: left;
}
/*お知らせ*/
.top-news-padding {
    width: 580px;
    margin: 40px auto 75px;
    text-align: left;
}
/*和紙畳・畳交換時期共通*/
.top-washi-replacement {
    background: #fffcef;
    text-align: center;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
}
.washi-replacement-content {
    width: 100%;
    margin: 50px 0 0 0;
    z-index: 13;
}
/*和紙畳の説明*/
.top-washi {
    padding-bottom: 60px;
}
.top-washi-img01 {
    max-width: 300px;
    object-fit: cover;
    position: absolute;
    top: 3px;
    left: 10px;
    z-index: 8;
}
.top-washi-img02 {
    object-fit: cover;
    position: absolute;
    bottom: 50px;
    right: 5px;
    z-index: 7;
}
.top-washi-merit {
    width: 70%;
    height: auto;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2rem;
    display: flex;
    list-style: none;
}
.top-washi-merit li img {
    width: 85%;
}
.top-washi-padding {
    width: 580px;
    margin: 20px auto;
    text-align: left;
}
/*畳交換時期の説明*/
.top-replacement-period {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.top-replacement-explain {
    width: 580px;
    margin: 20px auto;
    text-align: left;
}
.replacement-flow {
    margin: 0 auto 50px;
}
.replacement-text {
    text-align: left;
    margin: 0 0 0 15px;
}
.replacement-spacing {
    margin: 5px 0px 40px;
}
.replacement-box img {
    width: 70%;
}
.replacement-flow .replacement-box:after {
    border-top: 20px solid #434343;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    margin-left: -20px;
}
.replacement-flow .replacement-box:last-child:after {
    border: none; /* 最後のボックスだけ三角形を表示しない */
}
/*ご注文の流れ*/
.top-order-flow {
    text-align: center;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    margin-bottom: 50px;
}
.order-flow-chart {
    width: 225px;
    margin: 40px auto 60px;
    text-align: left;
}
.order-flow-content {
    width: 100%;
    margin: 50px 0 0 0;
    z-index: 12;
}
.top-order-img01 img {
    object-fit: cover;
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 6;
    width: 195px;
}
.top-order-img02 img {
    object-fit: cover;
    position: absolute;
    right: 10px;
    z-index: 5;
    width: 200px;
    bottom: 0px;
}

/*料金について*/
.top-price {
    background: #fffcef;
    text-align: center;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    padding-bottom: 60px;
}
.top-price-img01 {
    object-fit: cover;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 4;
}
.top-price-img02 {
    object-fit: cover;
    position: absolute;
    bottom: 10px;
    right: 2px;
    z-index: 2;
}
.price-content {
    margin: 50px 0 0 0;
    z-index: 11;
}
.top-price-padding {
    width: 580px;
    margin: 40px 50px;
    text-align: left;
}

/*===============================

	フッター

================================*/
.footer {
    width: 100%;
    height: auto;
}
.footer-flex {
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.top-company {
    margin: 40px 0 0 20px;
    z-index: 10;
    font-size: 16px;
}
.top-company img {
    width: 350px;
    text-align: center;
}
.top-google-map {
    position:relative;
    width:50%;
    height:0;
    margin: 40px 10px 20px;
    padding-top:40%;/*10:4なので40%*/
}
.top-google-map iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.footer-dog {
    position: relative;
    z-index: 1;
}
.footer-dog img {
    position: absolute;
    bottom: 5px;
    left: 10px;
    max-width: 240px;
    object-fit: cover;
}
.copyright-color {
    clear: both;
    background: #567947;
    width: 100%;
    height: 40px;
}
.copyright {
    color: #fffcef;
    text-align: center;
}

/*=======================================================================================

	下層ページ

========================================================================================*/
.contents-body {
    width: 100%;
    margin: 160px auto 0;
    padding: 0 60px;
}
.common-title {
    margin: 40px auto;
}

/********会社概要********/
.company-content th,.company-content td{
    border-bottom: 1px solid #555;
    padding: 12px 20px;
}
/*******お手入れ方法********/
section h3 {
    cursor: pointer;
    padding: 10px;
    margin: 0;
    font-size: 22px;
}
.toggle-content {
    display: none;
    padding: 10px;
    border-left: 3px solid #eb5a09;
}
.toggle-content span {
    font-weight: 500;
    font-size: 18px;
}
.toggle-content p {
    margin: 10px 0;
}
/* ▼アイコン */
.accordion-title {
    cursor: pointer;
    display: flex;
    align-items: center;
}
.accordion-title .icon {
    margin-right: 8px;
    transition: transform 0.3s ease;
}
.accordion-title.open .icon {
    transform: rotate(90deg); /* ▼角度変更 */
}

/*固定ページ内の調整*/
article {
    width: auto;
    height: auto;
    margin: 180px auto 80px;
}



@media screen and (max-width: 768px) {
    /*=======================================================================================

	タプレット、スマホ用

    ========================================================================================*/
    .header-inner {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-start;  /* 左端に寄せる */
    }
    .header-nav-top {
        padding-right: 60px;
    }
    .catchphrase p {
        font-size: 1.7rem;
    }
    /* 畳屋のロゴ */
    .tatami-logo img {
        width: 160px;
        margin-left: 10px;
    }
    .top-mv {
        margin: 80px 0 0;
    }
    /* 電話・フォームボタン共通スタイル */
    .header-tel-btn {
        position: absolute;
        top: 22px;
        right: 137px;
    }
    .header-form-btn {
        position: absolute;
        top: 22px;
        right: 68px;
    }
    .header-tel-btn,
    .header-form-btn {
        margin: 0 5px;
    }
    .header-tel-btn a,
    .header-form-btn a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-tel-btn span,
    .header-form-btn span {
        display: none;
    }
    .header-tel-btn img,
    .header-form-btn img {
        display: block;
        width: 32px;
        height: auto;
        margin: 0 15px;
    }
    /* ハンバーガーボタン表示 */
    .navigation-btn {
        display: block;
    }
    /* ナビメニュー表示切替 */
    .g-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #e6dfcb;
        font-size: 18px; /* 読みやすい文字サイズに調整 */
        box-sizing: border-box;
        z-index: 999;
        padding-top: 80px;
        transition: right 0.3s ease-out; /* 開閉アニメーション */
    }
    /* メニューが開いたときの右位置変更 */
    .g-nav.open {
        right: 0;
    }
    /* メニューのリスト */
    .g-nav .nav-list {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    /* メニュー項目のデザイン */
    .g-nav .nav-list li {
        width: 100%;
        padding: 20px;
        border: none;
        font-size: 1.2rem; /* 少し大きめの文字 */
        color: #fff; /* アイテムの文字色を白に */
        background-color:#e6dfcb; /* 背景 */
    }
    .nav-item a{
        font-size: 23px;
    }
    /* メニュー項目のホバーエフェクト */
    .g-nav .nav-list li:hover {
        color: #eb5a09; /* ホバー時の文字色 */
    }
    .top-more-btn {
        padding: 16px 55px;
    }
    .top-tatami-img-pc {
        display: none;
    }
    .top-tatami-img-sp {
        display: block;
    }
    .top-tatami-img-sp img {
        width: 100%;
        height: auto;
    }
    .top-content-padding {
        width: 50%;
        margin: 40px auto;
        padding: 0 15px;
        font-size: 17px;
    }
    /*===============================

	TOP

    ================================*/
    /**和紙の説明**/
    .top-washi-merit {
        width: 100%;
        height: auto;
        padding: 0 30px;
    }
    .top-washi-merit li img {
        width: 95%;
    }
    .replacement-flow .replacement-box img {
        margin: 0;
        width: 100%;
    }
    .replacement-box {
        width: 100%;
    }
    .top-washi-padding {
        width: 95%;
        margin: 20px auto;
        padding: 0 15px;
    }
    /**畳交換の目安**/
    .top-replacement-explain {
        width: 100%;
        margin: 20px auto;
        padding: 0 15px;
    }
    /**ご注文の流れ**/
    .top-order-img01 img {
        width: 160px;
    }
    .top-order-img02 img {
        width: 220px;
        bottom: -25px;
    }
    .top-order-img02 {
        object-fit: cover;
        position: absolute;
        bottom: 50px;
        right: 10px;
    }
    /**料金について**/
    .top-price-img01 img {
        width: 170px;
    }
    .top-price-img02 img {
        width: 160px;
    }
    .top-price-padding {
        width: 90%;
        margin: 40px auto;
        text-align: left;
    }
    /*===============================

	フッター

    ================================*/
    .footer-flex {
        flex-direction: column;
    }
    .top-google-map {
        width: 90%;
    }
    .footer-dog img {
        display: none;
    }
}

/********スマホ用********/
@media screen and (max-width: 450px) {
    /*畳屋のロゴ*/
    .tatami-logo {
        width: 170px;
        height: auto;
    }
    /*ヘッダー部分調整*/
    .header-nav-top {
        padding-right: 42px;
    }
    .header-nav-row {
        display: inline-block;
    }
    .header-tel-btn img, .header-form-btn img {
        width: 30px;
        height: auto;
        margin: 0 3px;
    }
    .header-tel-btn {
        right: 103px;
    }
    .header-form-btn {
        right: 52px;
    }
    .g-nav .nav-list li {
        width: none;
        padding: 10px;
    }
    .nav-item a {
        font-size: 15px;
    }
    /*ハンバーガーメニューサイズ調整*/
    .navigation .navigation-btn {
        top: 24px;
        right: 7px;
        width: 32px;
        height: 28px;
    }
    .catchphrase p {
        font-size: 1.2rem;
    }
    /*見出しサイズ調整*/
    .top-common-heading {
        font-size: 18px;
    }
    /*装飾を消す*/
    .top-order-img01,.top-washi-img02 {
        display: none;
    }
    /**和紙の説明・畳交換の目安**/
    .top-replacement-explain {
        margin: 20px 15px;
    }
    .top-washi-merit {
        flex-wrap: wrap;
        width: 85%;
    }
    .top-washi-img01 img {
        width: 200px;
    }
    .top-washi-merit li {
        width: 50%;
    }
    .top-washi-padding {
        width: 90%;
        margin: none;
        padding: none;
    }
    /*ご注文の流れ*/
    .top-content-padding {
        width: 85%;
        margin: 40px auto;
        padding: 0 15px;
        font-size: 16px;
    }
    .top-order-img02 img {
        width: 160px;
        bottom: 18px;
    }
    /*料金について*/
    .top-price-img01 img {
        width: 100px;
    }
    .price-content {
        margin: 40px 0 0 0;
    }
    .top-more-btn {
        font-size: 17px;
        padding: 9px 30px;
    }
    .footer-dog {
        width: 175px;
        height: auto;
        position: relative;
        z-index: 1;
        display: none;
    }
    .top-google-map {
        position:relative;
        width: 90%;
        height: 0;
        margin: 20px auto;
        padding-top:100%;/*1:1なので100%*/
    }
    .top-company img {
        width: 260px;
    }
    .top-company {
        margin: 40px 0 0 0px;
    }
    /*===============================

	下層ページ

    ================================*/
    .contents-body {
        padding: 0;
    }
    /*会社概要*/
    .company-content th,.company-content td{
        font-size: 13px;
    }

}