@charset "utf-8";

/*
Theme Name: 神田たたみ店
Theme URI: https://test-1wp.webtry.net/
Description: 神田たたみ店
Version: 1.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

/*全体*/
.wrapper {
    padding: 0 5%;
}
body {
    font-family: 
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "MS PMincho",
    serif;
}
.Playfair {
    font-family: "Playfair", serif;
    font-optical-sizing: auto;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #4b4b4b;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}
.google-sans-flex {
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
      "slnt" 0,
      "wdth" 100,
      "GRAD" 0,
      "ROND" 0;
}
.company-font {
    font-family: "hot-gfkaishokk", sans-serif;
    font-weight: 800;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
p {
    color: 030303;
    line-height: 1.8rem;
}
h2 {
    font-size: 1.7rem;
    color: #C9B15C;
    text-align: center;
    padding-bottom: 0.3rem;
    position: relative;
    display: block;
}
h2 span {
    font-size: 1rem;
    color: #4b4b4b;
}
.kodawari-text h3 {
    color: #4b4b4b;
    text-align: center;
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.kodawari-text h3::after {
    content: "";
    width: 40px;
    height: 1px;
    background: #E1CF82;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/**/
/*ハンバーガーメニュー*/
.btn-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    z-index: 4000;
    position: fixed;
    top: 25px;
    right: 17px;
}
.btn-menu span {
    display: block;
    width: 40px;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    background-color: #4b4b4b;
}
.mb-menu-text {
    top: 60px;
    right: 17px;
    position: fixed;
    font-size: 0.8rem;
    color: #4b4b4b;
    z-index: 1000;
}
.breadcrumbs_container {
    padding-left: 1rem;
}
/**/
/*メニューパネル*/
.btn-menu.active span:nth-child(1) {
    transform: rotate(30deg) translate(5px, 5px);
  }
  .btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .btn-menu.active span:nth-child(3) {
    transform: rotate(-30deg) translate(7.2px, -7.2px);
}
/*モバイルメニュー*/
#mb-menu-panel {
    background-color: #fff;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    padding: 6rem 2rem 7rem 2rem;
    width: max(34vw, 20.7rem);
    height: 100vh;
    translate: 100vw;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
}
.mb-menu-list {
    list-style: none;
}
.mb-menu-list li {
    margin: 0 0.5rem;
}
.mb-menu-list li a {
    color: #333132;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bolder;
    line-height: 3rem;
}
.mb-menu-list li a:hover {
    color: #15917F;
}
/*サブメニューの開閉*/
.has-child > ul {
    display: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
    border-left: 0.8px solid #15917F;
}
.has-child > ul.is-open {
    display: block;
}
.has-child ul li a {
    font-size: 1.2rem;
    line-height: 2.2rem;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}
.has-child ul li a:hover {
    color: #15917F;
}
/* 親メニュー */
.has-child > a {
    position: relative;
    display: block;
}

/* 矢印 */
.has-child > a::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 1.4px solid #555;
    border-bottom: 1.4px solid #555;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}
.has-child > a.open::after {
    transform: translateY(-50%) rotate(225deg);
}
/*エリアスクロール*/
.area-top {
    overflow: hidden;
    background-color: #FFFFDC;
    padding: 3px 0;
}
.area-inner {
    display: flex;
    width: max-content;
    animation: area-scroll 25s linear infinite;
}

.area-inner span {
    white-space: nowrap;
    padding-right: 4rem; /* 文字の間隔 */
    font-size: 0.9rem;
}

@keyframes area-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
/*ヘッダー*/
#company-name {
    font-size: 1.4rem;
    padding: 1rem 0 0 1.3rem;
    color: #333132;
}
#main-title {
    width: 220px;
    padding: 1rem 0 0 1.3rem;
}
#main-image img {
    width: 100%;
}
#company-name span {
    color: #D11C2C;
}
.contact-info .contact-btn,
.form-submit .contact-button {
    display: block;
    margin: 25px auto 10px;
    background-color: #15917F;
    padding: 6px 10px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 14rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.contact-info .contact-btn:hover,
.form-submit .contact-button:hover {
    background-color: #0f7a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.contact-info .contact-btn:active,
.form-submit .contact-button:active {
    transform: translateY(0);
    box-shadow: none;
}
/*トップイメージ*/
.hero {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
}
.hero-video {
    width: 100%;
    height: 40vh;
    object-fit: cover;
    display: block;
}
.hero img {
    height: 40vh;
    object-fit: cover;
    width: 100%;
}
.shop-catch {
    position: absolute;
    top: 40px;
    right: 20px;
    writing-mode: vertical-rl;
    color: #fff;
    z-index: 2;
}
.shop-catch h1 {
    font-size: 0.9rem;
    font-weight: initial;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
/*挨拶文*/
.greeting,
.company {
    margin: 30px 0;
}
.greeting h2,
.company h1 {
    text-align: center;
    padding-bottom: 0.3rem;
}
.greeting-text p,
.company-text p {
    padding-bottom: 1rem;
}
.greeting-image img,
.company-image img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.greeting-text,
.company-text {
    padding: 0 5%;
}
/*こだわり*/
.kodawari {
    margin: 30px 0 50px;
}
.kodawari-text {
    padding-bottom: 8px;
}
.kodawari-image img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
#medal img {
    object-position: 50% 80%;
}
/*取扱商品*/
#products {
    margin-bottom: 50px;
}
.products_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 7px 0;
}
.products-image {
    position: relative;
    overflow: hidden;
}

.products-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: 0.4s ease;
}

/* 文字の初期状態 */
.products-image p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transition: 0.4s ease;
    text-align: center;
    z-index: 2;
    white-space: nowrap;
}

/* 暗くするための疑似要素 */
.products-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: 0.4s ease;
    z-index: 1;
}

/* PC hover */
.products-image:hover img {
    transform: scale(1.05);
}

.products-image:hover::after {
    background: rgba(0,0,0,0.5);
}

.products-image:hover p {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
/* リンクデザイン */
.product-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s ease;
    white-space: nowrap;
}

.product-link:hover {
    background: #fff;
    color: #000;
}
/*施工事例*/
.works_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 7px 0;
}
.works-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-text p {
    line-height: 1.4rem;
    font-size: 0.9rem;
}
/*対応エリア*/
#area {
    text-align: center;
    margin-top: 30px;
}
.area-description {
    display: inline-block;
    text-align: left;
}
/*問い合わせ*/
#contact {
    margin-top: 40px;
}
.contact-tel {
    text-align: center;
    font-size: 1.6rem;
    padding: 0.4rem 0;
}
.contact-tel a {
    color: #15917F;
}
.contact-description {
    text-align: center;
    margin-bottom: 20px;
}
.contact-description p span {
    font-size: 1.2rem;
}
.contact-description p {
    display: inline-block;
    text-align: left;
}
.contact-map iframe {
    width: 100%;
    height: 70vw;
}
/*フッター*/
footer {
    padding: 30px 0 60px;
    margin-top: 30px;
    background-color: #FFFFDC;
}
#company-name {
    text-align: center;
    padding-bottom: 30px;
}
.footer-menu_container {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.footer-menu a,
.footer-menu-list li a,
.footer-menu_inner li a {
    color: #333132;
    line-height: 1.8rem;
}
.footer-menu a:hover,
.footer-menu-list li a:hover,
.footer-menu_inner li a:hover {
    color: #15917F;
}
.footer-menu-list {
    border-left: 0.8px solid #15917F;
    padding-left: 0.5rem;
}
.footer-menu_inner {
    margin-top: 2rem;
}
.footer-menu a,
.footer-menu_inner li a {
    font-weight: bold;
}
.footer-menu-list li a {
    font-weight: initial;
}
#copyright {
    text-align: center;
    margin-top: 30px;
    color: #333132;
}
.footer-sns-icon img {
    width: 30px;
}
.footer-sns {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}
/**/
/*縁付き畳*/
/*タイトル*/
.products_page_top {
    position: relative;
    height: 46vh;
    display: block;
}
.products_page_top-image {
    height: 30vh;
    display: block;
    width: 80%;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.products_page_top-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.products_page_top-title {
    display: flex;
    align-items: center;
    background-color: rgba(205, 230, 199, 0.5);
    height: 18vh;
    position: absolute;
    top: 27vh;
    width: 65%;
    justify-content: center;
    z-index: 1;
}
.products_page_top-title h1,
.products_page_top-title h2 {
    color: #15917F;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    position: relative;
}
.products_page_top-title h1::after,
.products_page_top-title h2::after {
    content: "";
    display: block;
    width: 60px;
    border-bottom: 2px dotted #15917F;
    margin: 10px auto 0;
}
/*説明文*/
.product-description {
    margin: 30px 0;
}
.interior-price_list {
    margin-bottom: 80px;
}
.product-description h2,
#tatamigae h2,
.tatamiberi-description h2,
.heritsuki-tatami-price_list h2,
.shougekikanwa-tatami h2,
.interior-price_list h2 {
    font-size: 1.3rem;
    color: #15917F;
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}
.product-description h2::after,
#tatamigae h2::after,
.tatamiberi-description h2::after,
.heritsuki-tatami-price_list h2::after,
.shougekikanwa-tatami h2::after,
.interior-price_list h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #15917F;
    margin-top: 6px;
}
/*畳替え*/
.tatamigae-title {
    display: block;
    background-color: #C9B15C;
    width: fit-content;
}
.tatamigae-title h3 {
    padding: 6px 15px;
    letter-spacing: 0.15em;
    color: #fff;
    font-size: 1.1rem;
}
.tatamigae {
    display: block;
    border: solid 1px #d5d5d5;
    margin: 20px 0;
}
.tatamigae-description {
    padding: 0 1.3rem 1.5rem;
}
.tatamigae-description p {
    font-size: 0.9rem;
    line-height: 1.5rem;
}
/*畳縁*/
.tatamiberi {
    margin-top: 40px;
}
.tatamiberi-image {
    height: 100px;
    overflow: hidden;
    padding: 20px 0;
}
.tatamiberi-image img {
    height: 100px;
    width: 100%;
    object-fit: cover;
}
.tatamiberi-sample {
    margin-top: 20px;
}
.tatamiberi-sample-title,
.herinashi-sample-title,
.reface-sample-title,
.pet-sample-title {
    margin-top: 40px;
    display: block;
    padding: 6px 15px;
    background: linear-gradient(
    to right,
    #C9B15C 0%,
    #C9B15C 60%,
    rgba(201,177,92,0) 100%
    );
    width: 60%;
}
.tatamiberi-sample-title h3,
.herinashi-sample-title h2,
.reface-sample-title h2,
.pet-sample-title h2 {
    color: #fff;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    text-align: left;
    padding-bottom: 0;
}
/*縁付畳価格表*/
.heritsuki-tatami-price_list,
.interior-price_list {
    margin-top: 40px;
}
/**/
/*縁なし畳*/
#herinashi-tatami {
    margin-bottom: 40px;
}
.herinashi-tatami-description {
    padding: 1.2rem 1.5rem 2rem;
}
#washiomote-description {
    background-color: #FFFFDC;
}
#jyushiomote-description {
    background-color: rgba(205, 230, 199, 0.5);;
}
.herinashi-tatami-description a{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    background: #4b4b4b;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
    font-weight: bold;
}

.herinashi-tatami-description a:hover{
    background: #333132;
    transform: translateY(-2px);
}
/*縁なし畳サンプル*/
.herinashi-sample-image p,
.reface-sample-image p,
.pet-sample-image p {
    padding: 0.2rem 0.5rem;
}
.herinashi-sample,
.reface-sample,
.pet-sample {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}
.herinashi-sample_container h3,
.reface-sample_container h3,
.pet-sample_container h3 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #4b4b4b;
    margin: 40px 0 20px;
    letter-spacing: 0.08em;
}
.herinashi-sample_container h3::after,
.reface-sample_container h3::after,
.pet-sample_container h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #C9B15C;
    margin-left: 15px;
}
.herinashi-sample-image p,
.reface-sample-image p,
.pet-sample-image p {
    font-size: 0.9rem;
}
#washiomote,
#reface,
#pet {
    margin-bottom: 80px;
}
#jyushiomote {
    background-color: #f0f0f0;
    padding: 2px 5% 40px;
}
/**/
/*ReFace*/
#reface-top {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    margin-top: 40px;
}
.reface-description h3 {
    text-align: center;
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: initial;
    padding: 0.4rem 0 1.3rem;
}
/**/
/*ペット用畳*/
#pet_container {
    padding: 30px 20px;
}
.pet {
    padding-bottom: 20px;
}
.pet-description h3{
    font-size: 20px;
    position: relative;
    padding-bottom: 12px;
    padding-top: 5px;
    margin-bottom: 15px;
    font-family: sans-serif;
    font-weight: 500;
    color: #4a3f35;
    white-space: nowrap;
}
.pet-description h3::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #f4a261;
}
.pet-description h3::after{
    content: "🐾";
    margin-left: 8px;
}
.pet-image img{
    width:100%;
    border-radius:12px;
    aspect-ratio: 4/3;
    object-fit: cover;
    overflow: hidden;
}
.pet-sample-image img {
    display: block;
    margin: 0 auto;
}
.pet-sample-image p {
    text-align: center;
}
.note p {
    padding-top: 2rem;
    font-size: 0.9rem;
}
.pet-point_container {
    margin-top: 30px;
}
.pet-point {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid #E1CF82;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFDC;
    margin: 20px 0;
}
.pet-point h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: sans-serif;
    font-weight: 500;
}
.pet-point p {
    font-size: 14px;
    line-height: 1.5;
    padding: 5px 10px;
}
/**/
/*衝撃緩和畳*/
.shougekikanwa-tatami-illustration {
    margin-top: 30px;
}
.kouninmark {
    padding: 30px;
}
.shougekikanwa-tatami h3 {
    font-size: 1.2rem;
    margin-top: 40px;
    margin-bottom: 10px;
    padding: 12px 16px;
    background: #f7f3e4;
    border-left: 6px solid #C9B15C;
    color: #333;
    font-weight: 600;
    border-radius: 4px;
}
.shougekikanwa-tatami {
    margin-bottom: 80px;
}
/**/
/*内装・建具の張り替え*/
.interior-image {
    padding: 10px;
}
.interior-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    overflow: hidden;
}
.interior-title {
    color: #555;
    margin: 1.5rem 0;
}
.interior-title h1 {
    font-size: 1.1rem;
}
/**/
/*会社概要*/
.company h1 {
    font-size: 1.7rem;
    color: #C9B15C;
    text-align: center;
    padding-bottom: 1rem;
    position: relative;
    display: block;
}
.company h1 span {
    font-size: 1rem;
    color: #4b4b4b;
}
.company-profile {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}
.company-profile table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 20px;
}
.company-profile th,
.company-profile td {
    padding: 16px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
}
/* 左側（見出し） */
.company-profile th {
    width: 30%;
    background: #f7f7f7;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* 右側（内容） */
.company-profile td {
    width: 70%;
    line-height: 1.8;
}
/* 最後の行の線を消す */
.company-profile tr:last-child th,
.company-profile tr:last-child td {
    border-bottom: none;
}
/*map*/
.company-profile-map iframe {
    width: 100%;
    height: 300px;
}
.company-profile-map {
    margin-top: 20px;
}
/**/
/*ブログ個別ページ*/
#blog-page {
    text-align: center;
}
#blog-page h1 {
    display: inline-block;
    text-align: left;
    padding: 2.5rem 0 1.5rem;
    line-height: 2.1rem;
}
.blog-page-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    aspect-ratio: 4/3;
}
.blog-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-page-text {
    display: inline-block;
    text-align: left;
    margin-bottom: 1.5rem;
}
.blog-page-text p {
    margin-bottom: 4rem;
}
/* ブログサイドバー */
.blog-sidebar {
    padding: 2rem 0;
}

/* アーカイブ枠 */
.archive {
    border-left: 2px solid #ddd;
    padding-left: 1.5rem;
    margin-left: 2rem;
}

/* タイトル */
.archive-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

/* リスト */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

/* 日付 */
.archive-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.3rem;
}

/* タイトルリンク */
.archive-list a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.archive-list a:hover {
    text-decoration: underline;
}
/**/
/*お問い合わせ*/
#contact-form,
#contact-tel {
    margin-top: 50px;
}
/*コンタクトフォーム*/
/* 各フォームブロック */
.contact-form {
    margin: 50px 0;
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}
/* テキスト・メール・電話・テキストエリア共通 */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: all 0.2s ease;
}
/* フォーカス時 */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FF0516;
  background-color: #fff;
  box-shadow: 0 0 4px rgba(255,5,22,0.3);
}
/* 送信ボタン */
.required {
  font-size: 0.8em;
  padding: 3px;
  background: #ff4753;
  color: #ffffff;
  border-radius: 2px;
  margin-right: 10px;
  margin-bottom: 2px;
  display: inline-block;
}
.wpcf7-spinner {
    display: none !important;
  }  
/* 背景オーバーレイ */
.wpcf7 form.sent::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
  }
/*メッセージ送信完了中央固定*/
  .wpcf7-response-output {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    width: 90%;
  }
  
  /* デフォルトの下余白を消す */
  .wpcf7 form .wpcf7-response-output {
    margin: 0;
  }
@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
    .company-profile table,
    .company-profile tr,
    .company-profile th,
    .company-profile td {
        display: block;
        width: 100%;
    }

    .company-profile th {
        background: none;
        border-bottom: none;
        padding-bottom: 4px;
        font-size: 0.85rem;
        color: #666;
    }

    .company-profile td {
        padding-top: 0;
        margin-bottom: 16px;
        border-bottom: 1px solid #ddd;
    }
}
@media (min-width: 768px) {

    /**/
    /*会社概要*/
    .company-profile-map {
        margin-top: 100px;
    }
    .company-profile-map iframe {
        height: 500px;
    }

    /**/
    /*内装・建具の張り替え*/
    .interior-image_container {
        width: 60%;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        margin: 0 auto;
        gap: 50px;
    }
    .interior-image {
        padding: 0;
    }
    .interior-title {
        width: 70%;
        display: block;
        margin: 50px auto;
    }
    .interior-title h1 {
        font-size: 1.3rem;
    }

    /**/
    /*衝撃緩和畳*/
    .shougekikanwa-tatami-illustration_container {
        display: flex;
        align-items: center;
        gap: 50px;
    }
    .shougekikanwa-tatami-illustration {
        width: 60%;
    }
    .kouninmark {
        width: 40%;
    }
    .shougekikanwa-tatami {
        width: 70%;
        display: block;
        margin: 60px auto 150px;
    }

    /**/
    /*ペット用畳*/
    #pet_container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 50px;
        padding: 100px;
    }
    .pet {
        padding-bottom: 0;
    }
    .pet-point_container {
        display: flex;
        gap: 30px;
        justify-content: center;
    }
    .pet-point {
        height: 150px;
    }
    
    /**/
    /*ReFace*/
    #reface-top {
        grid-template-columns: repeat(6,1fr);
        padding: 0 15%;
    }
    .reface-description h3 {
        padding-top: 0.6rem;
    }

    /**/
    /*縁なし畳*/
    #herinashi-tatami,
    #washiomote,
    #reface,
    #pet {
        display: block;
        width: 70%;
        margin: 20px auto 80px;
    }
    #jyushiomote {
        padding: 2px 20% 80px;
    }
    .herinashi-sample,
    .reface-sample,
    .pet-sample {
        grid-template-columns: repeat(6,1fr);
    }

    /**/
    /*縁付畳*/
    .products_page_top {
        margin: 40px auto;
        width: 40%;
    }
    .products_page_top-title h1 {
        font-size: 1.5rem;
    }
    .product-description,
    #tatamigae,
    .tatamiberi,
    .heritsuki-tatami-price_list,
    .interior-price_list {
        width: 70%;
        display: block;
        margin: 110px auto;
    }
    .product-description h2,
    #tatamigae h2,
    .tatamiberi-description h2,
    .heritsuki-tatami-price_list h2,
    .interior-price_list h2 {
        font-size: 1.4rem;
    }
    .tatamigae_container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .tatamiberi-sample {
        display: flex;
        width: 100%;
    }
    .tatamiberi-sample img {
        height: auto;
    }


    .mb {
        display: none !important;
    }
    p {
        font-size: 1.1rem;
        line-height: 2.4rem;
    }
    .area-top {
        padding: 6px 0;
    }
    .header_container {
        display: flex;
        width: 70%;
        justify-content: space-between;
        margin: 0 auto ;
        align-items: center;
    }
    #main-title {
        width: 280px;
    }
    .contact-info button a {
        font-size: 1.1rem;
    }
    /*メインメニュー*/
    #main-menu {
        width: 70%;
        display: block;
        margin: 30px auto 0;
    }
    .main-menu-list {
        display: flex;
        justify-content: space-between;
        border-bottom: #15917F 1px solid;
        padding: 0 0 0.5rem;
    }
    .main-menu-list a {
        font-size: 1.2rem;
        color: #4b4b4b;
        padding: 0.8rem 1rem 0.6rem;
    }
    .main-menu-list a:hover {
        background-color: #15917F;
        color: #fff;
    }
    /*サブメニューの開閉*/
    .has-child-pc {
        position: relative;
    }
    .has-child-pc > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 220px;
        padding: 0;
        margin-top: 0.54rem;
        list-style: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        border: 1px solid #e5e5e5;
        z-index: 2000;
    }
    .has-child-pc:hover > ul {
        display: block;
    }
    .has-child-pc > ul li {
        border-bottom: 1px solid #e5e5e5;
    }
    .has-child-pc > ul li:last-child {
        border-bottom: none;
    }
    .has-child-pc > ul li a {
        display: block;
        padding: 10px 16px;
        font-size: 0.95rem;
        color: #4b4b4b;
        background: #fff;
    }
    .has-child-pc > ul li a:hover {
        background-color: #15917F;
        color: #fff;
    }
    /*トップイメージ*/
    .hero-video {
        height: 70vh;
    }
    .hero img {
        height: 70vh;
    }
    .shop-catch {
        right: 70px;
        top: 70px;
    }
    .shop-catch h1 {
        font-size: 1.1rem;
        line-height: 2rem;
    }
    /*ご挨拶*/
    .greeting,
    .company {
        display: flex;
        justify-content: space-between;
        margin: 0;
    }
    .greeting_container,
    .company_container {
        width: 50%;
        padding: 100px 5%;
    }
    .greeting-image,
    .company-image {
        width: 50%;
    }
    .greeting-image img,
    .company-image img {
        height: 100%;
    }
    /*神田たたみ店の仕事*/
    #kodawari {
        background-color: #fafafa;
        padding: 100px 15%;
        position: relative;
    }
    .kodawari_container {
        display: flex;
    }
    .kodawari {
        position: relative;
        overflow: hidden;
        margin: 0;
    }
    .kodawari-text {
        position: absolute;
        inset: 0;
        background: rgba(21,145,127,0.85);
        padding: 4rem;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .kodawari-text h3,
    .kodawari-text p {
        color: #fff;
    }
    .kodawari:hover .kodawari-text {
        opacity: 1;
        visibility: visible;
    }
    .vertical-layout {
        flex: 6;
    }
    .beside-layout {
        flex: 10;
    }
    .kodawari-image {
        width: 100%;
        overflow: hidden;
    }
    .kodawari-image img {
        height: 100%;
        object-fit: cover;
    }
    .vertical-layout-image {
        aspect-ratio: 3/5;
    }
    .beside-layout-image {
        aspect-ratio: 5/3;
    }
    #kodawari-last {
        margin-top: -17.36vw;
    }
    .vertical-layout-text {
        writing-mode: vertical-rl;
    }
    .kodawari-title {
        position: absolute;
        z-index: 1000;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    #kodawari-second {
        margin-bottom: 17.35vw;
    }
    .vertical-layout-text h3 {
        padding-left: 0.5rem;
        margin-left: 1.2rem;
        text-align: initial;
    }
    .vertical-layout-text h3::after {
        content: "";
        width: 1px;
        height: 40px;
        background: #E1CF82;
        position: absolute;
        left: 0;
        top: 15%;
        transform: translateX(-50%);
    }
    .vertical-layout-text p {
        line-height: 2.8rem;
    }
    /*取扱商品*/
    #products {
        margin-top: 100px;
    }
    .products_container {
        grid-template-columns: repeat(4, 1fr);
        margin: 20px 0;
    }
    /*施工事例*/
    #works {
        margin-top: 100px;
    }
    .works_container {
        grid-template-columns: repeat(4,1fr);
        padding: 0 15%;
        gap: 20px;
        margin: 12px 0;
    }
    #area {
        margin-top: 100px;
    }
    .area-description {
        font-size: 1.2rem;
        padding: 10px 25%;
        line-height: 2.3rem;
    }
    /*お問い合わせ*/
    #contact {
        margin-top: 100px;
        margin-bottom: 150px;
    }
    .contact-tel {
        font-size: 2rem;
        padding: 1.4rem;
    }
    .contact-description p span {
        font-size: 1.4rem;
        padding-left: 6rem;
    }
    .contact_container {
        display: flex;
        justify-content: center;
        gap: 0;
        padding: 0 25%;
    }
    .contact-image {
        width: 100%;
    }
    .contact-image img {
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    .contact-map {
        width: 100%;
    }
    .contact-map iframe {
        height: 100%;
    }
    /*フッター*/
    footer {
        padding: 70px 0;
    }
    #company-name {
        font-size: 1.8rem;
        padding: 1rem 0 2rem;
    }
    .footer-menu_inner {
        margin: 0;
        display: flex;
        gap: 70px;
    }
    #copyright {
        margin-top: 70px;
    }
    /**/
    /*ブログ個別ページ*/
    .blog-page_outer {
        display: flex;
        width: 70%;
        margin: 0 auto;
    }
    .blog-page_outer main {
        width: 65%;
    }
    .blog-page_outer aside {
        width: 30%;
    }
    #blog-page h1 {
        padding: 4.5rem 0 2.5rem;
    }
    .blog-page-image img {
        aspect-ratio: 4/3;
    }
    .blog-page-text {
        font-size: 1.1rem;
        margin-bottom: 5rem;
    }
    /*サイドバー*/
    .blog-sidebar {
        margin-top: 2rem;
        padding-top: 4rem;
    }
    .archive {
        padding-left: 2.5rem;
    }
    .archive-title {
        font-size: 1.3rem;
        white-space: nowrap;
    }
    /**/
    /*お問い合わせ*/
    #contact-form {
        margin-top: 80px;
    }
    .contact-form {
        padding: 80px 15% 100px;
    }
    .contact-form-top-text {
        text-align: center;
    }
    /*コンタクトフォーム*/
    .form-group {
        margin-bottom: 30px;
    }
    .form-group label {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    .form-group input,
    .form-group textarea {
        font-size: 1.2rem;
    }
    .required {
        font-size: 1rem;
    }
    .wpcf7-response-output {
        width: auto;
    }
}