@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL Child
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* リセット */
html,
body,
header,
footer,
main,
section,
h1,
h2,
h3,
ul,
li,
p,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #231815;
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt";
    /* font-size: 15px; */
    font-size: 1rem;
    letter-spacing: 0.02em;
}


a {
    /*下線を消す*/
    text-decoration: none;
    /*色を消す*/
    color: inherit;
    transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}

ul {
    /*左の「・」を消す*/
    list-style: none;
}

button {
    padding: 0;
    border: none;
    outline: none;
    font: inherit;
    color: inherit;
    background: none
  }

img {
    max-width: 100%;
    vertical-align: bottom;
    border: none;
}

body {
    background-color: #f0f0f0;
}



/* ヘッダー */

#header {
    margin:0 auto;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 10;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 12px 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px 0 rgb(0 0 0 / 25%);
}

.nav_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_box li {
    margin-right: clamp(0.875rem, -0.411rem + 2.68vw, 2rem);
    white-space: nowrap;
}

.nav_box li:last-child {
    margin-right: 0;
}


.contact_btn img {
    height: 18px;
    margin-right: 8px;
}

.btn_top_nav {
    background: linear-gradient(180deg, #4c6f85 0%, #003F68 100%);
    box-shadow: 4px 7px 10px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    width: 160px;
    height: 50px;
    padding: clamp(0.5rem, -0.071rem + 1.19vw, 1rem) clamp(0.75rem, -0.107rem + 1.79vw, 1.5rem);
    color: #FFFDFA;
    font-size: clamp(0.75rem, 0.46rem + 0.6vw, 1rem);
    white-space: nowrap;
}

.responsive_header {
    display: none;
}

.pc_nav {
    margin: 0 clamp(1.5rem, 0.921rem + 1.2vw, 2rem) 0 auto;
}

.sp_nav {
    display: none;
}

/* メインビジュアル */


.sp_main_image {
    display: none;
}

/* メインビジュアルのベース */

.sp_main_block {
    display: none;
  }

#mainvisual {
    margin-top: 180px;
  }

  .mainvisual_inner {
    max-width: 1100px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 0 auto;
    padding: 64px;
    background: #F3FAFF;
    border: 2px solid #003F68;
  }

/* テキストエリア */
.mainvisual_text {
    width: 60%;
  }
  .mainvisual_inner {
    position: relative;
  }
 .mainvisual_inner_b-1 {
    position: relative;
    top: -20px;
    left: -20px;
    flex-direction: column;
  }
  
  /* キャッチコピー */
  .main_message {
    font-family: "Zen Old Mincho", serif;
    font-size: clamp(1.25rem, 0.607rem + 3.21vw, 3.5rem);
    color: #003F68;
    background: #ffffff;
    border: 1px solid #003F68;
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 8px;
  }
  
  /* サブメッセージ */
  .sub_message {
    margin-top: 20%;
    font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    color: #003F68;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }
  
  /* イラストエリア */
  .mainvisual_illust {
    width: 35%;
  }
  
  .mainvisual_illust img {
    width: 100%;
    height: auto;
  }

.mobile-br {
    display: none;
  }

.btn_mainvisual {
    margin-top: 52px;
}

.btn_mainvisual a {
    background: linear-gradient(180deg, #8FCFD7 0%, #46A3AE 100%);
    box-shadow: 4px 7px 10px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    padding: 24px 75px;
    color: #FFFDFA;
    font-size: 18px;
}

.btn_mainvisual img {
    height: 18px;
    margin-right: 8px;
}

.main_image{
    width: 30%;
}

/* サービス */

#service {
    max-width: 840px;
    width: 90%;
    padding-top: 100px;
    margin: 0 auto 80px;
}


#service h2 {
    font-size: clamp(2rem, 1.857rem + 0.71vw, 2.5rem);
    display: flex;
    flex-direction: column;
    color: #003F68;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;
  }


#service h2 span {
    font-size: 0.8rem;
    color: #767676;
    font-family: 'Noto Sans JP';
}

.service_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.service_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    background: #FFFFFF;
    width: 48%;
    height: 527px;
    border-radius: 8px;
}



.service_content_title {
    display: flex;
    align-items: center;
    margin-top: 40px;
}



.service01_img {
    width: 240px;
    padding-top: 48px;
}

.service02_img {
    width: 240px;
    padding: 90px 0px 58px 0px;
}

.service_list_inner {
    width: 90%;
}


.service_name {
    color: #003F68;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0.04em;
}

.service_name span {
    color: #FFFFFF;
    background: #003F68;
    padding: 3px 8px;
    margin-right: 16px;
}

.service_content li {
    list-style: none;
    margin-bottom: 16px;
}

.service_content {
    margin-top: 40px;
    width: 100%;
}

.reserve_btn {
    max-width: 840px;
    text-align: center;
    color: #003F68;
    font-size: 1.0rem;
    background: #FFFFFF;
    border: 2px solid #003F68;
    border-radius: 4px;
    padding: 32px 24px;
    box-shadow: 4px 4px #003F68;
}



/* 案件事例 */

#voice {
    max-width: 100%;
    padding: 100px 0px;
    margin: 0 auto;
    background: #F5F5F5;
}

.voice {
    max-width: 840px;
    width: 90%;
    margin: 0 auto;
}


.h2_voice {
    width: 355px;
    display: flex;
    margin: 0 auto 16px 0;
}

#voice h2 {
    font-size: 1.4rem;
    color: #767676;
    font-family: "Zen Old Mincho", serif;
    align-items: center;
}

#voice h2 img {
    margin-right: 8px;
}



.voice_inner {
    margin: 40px auto 0 auto;
    max-width: 840px;
}

.voice_list {
    background: #FFFFFF;
    border: 2px solid #00021C;
    box-shadow: 4px 7px 10px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    margin-bottom: 24px;
    padding: 24px 32px 24px 24px;
}



.voice_list_name h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.voice_list_name p {
    font-size: 14px;
    line-height: 30px;
}


.voice_list_p {
    display: flex;
    vertical-align: top;
}
 
.voice_list_p img {
    width: 76px;
    height: 85px;
    object-fit: contain;
    margin-right: 16px;
}

.voice_list_p p {
    line-height: 26px;
    text-align: justify;
    font-size: 15px;
}

/* 企業概要 */

#company {
    max-width: 840px;
    width: 90%;
    padding-top: 100px;
    margin: 0 auto;
}

#company h2 {
    font-size: clamp(2rem, 1.857rem + 0.71vw, 2.5rem);
    display: flex;
    flex-direction: column;
    color: #003F68;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;
}

#company h2 span {
    font-size: 0.8rem;
    color: #767676;
    font-family: 'Noto Sans JP';
}


.company_inner {
    max-width: 840px;
    margin: 48px auto;
}

.company_inner dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-top: solid 1px #c8c8c8;
}

.company_inner dt {
    width: 25%;
    padding: 20px 16px 21px 16px;
    border-bottom: solid 1px #c8c8c8;
    box-sizing: border-box;
    font-weight: 400;
}

.company_inner dd {
    width: 75%;
    padding: 16px;
    border-bottom: solid 1px #c8c8c8;
    box-sizing: border-box;
    line-height: 25px;
}

.googlemap {
    border: 1px solid #767676;
    border-radius: 28px;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.06em;
    color: #767676;
    padding: 6px 20px 8px 20px;
    margin-left: 16px;
}


/* 無料相談ボタン */

#reserve {
    max-width: 840px;
    width: 90%;
    margin: 0 auto;
    padding-top: 24px;
    margin-bottom: 120px;
}

.reserve_inner_p {
    display: flex;
    justify-content:center;
    align-items: center;
    margin: 0 auto 16px;
    width: 100%;
}

.triangle {
    background: #333333;
    height: calc(tan(60deg) * 14px / 2);
    width: 20px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    margin: 2px 4px 0px 0px;
  }





/* フッター */
#footer {
    max-width: 100%;
    padding: 60px 0;
    margin: 0 auto;
    background: #FFFFFF;
}
#footer h1 {
    text-align: center;
}

.footer_h1 {
    width: 279px;
}

.footer_nav {
    max-width: 600px;
    margin: 40px auto 80px auto;
}

.footer_nav ul {
    display: flex;
    justify-content: space-between;
}


.footer_nav li:last-child {
    margin-right: 0;
}

#footer p {
     font-size: 12px;
     text-align: center;
}

/* お役立ち情報（アーカイブページ） */
.archive-media {
    padding: 50px 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 12% auto;
    width: 90%;
}

/* 2カラムレイアウト */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* 左エリア（メインコンテンツ） */
.main-content {
    width: 74%;
}

.page-title {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

/* 記事一覧 */
.post-list {
    display: flex;
    flex-direction: column;
    gap:24px;
}

.post-item {
    background-color: #fff;
    border-radius: 1px;
    /* overflow: hidden; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
}

.post-thumbnail {
    width: 250px; /* 任意の横幅 */
    aspect-ratio: 1 / 1; /* 正方形に固定 */
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* はみ出した部分をカット */
    display: block;
  }

.post-meta {
    flex-grow: 1;
    padding: 16px;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
.post-date {
    margin-top: auto;
}

.category {
    margin-left: 8px;
}


.post-category {
    font-size: 14px;
    background-color: #0D963A;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.post-title {
    font-size: clamp(1rem, 0.929rem + 0.36vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.post-excerpt {
    font-size: clamp(0.813rem, 0.777rem + 0.18vw, 0.938rem);
    margin-bottom: 16px;
    line-height: 1.4;
}
.post-date {
    font-size: clamp(0.625rem, 0.589rem + 0.18vw, 0.75rem);
    color: #666666;
}

/* ページネーション */
/* SWELLのデフォルトページネーションの影響を排除 */
.pagination,
.swell-block-pagination {
    all: unset !important;
    background: none !important;
    border: none !important;
}

/* カスタムページネーション */
.custom-pagination {
    text-align: center;
    margin-top: 30px;
}

/* ページ番号 */
.custom-pagination .page-numbers {
    display: inline-block;
    font-size: 15px;
    color: #BBD5C4 !important; /* デフォルトは淡いグレー */
    text-decoration: none;
    transition: color 0.3s ease;
    background: none !important; /* SWELLの背景色を無効化 */
    border: none !important;
    margin: 0;
}

/* ホバー時 */
.custom-pagination .page-numbers:hover {
    color: #003F68 !important;
}

/* 現在のページ */
.custom-pagination .current {
    color: #003F68 !important;
    font-weight: 500;
}

/* 丸いボタン（前後の矢印） */
.custom-pagination .prev, 
.custom-pagination .next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
    color: #003F68 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none !important; /* 背景色をリセット */
}

/* ホバー時 */
.custom-pagination .prev:hover, 
.custom-pagination .next:hover {
    border-color: #003F68 !important;
    color: #003F68 !important;
}


.c-shareBtns__btn, .is-style-balloon>.c-tabList .c-tabList__button, .p-snsCta, [class*=page-numbers] {
    box-shadow: none;
}




/* 右エリア（サイドバー） */
.sidebar {
    /* flex: 1; */
    width: 22%;
}

.sidebar-title {
    background-color: #003F68;
    padding: 8px;
    color: #fff;
    margin-bottom: 16px;
}

/* 人気記事リスト */
.popular-posts {
    margin-bottom: 40px;
}

.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 人気記事のアイテム（縦並び） */
.popular-item {
    display: flex;
    flex-direction: column; /* 画像上・テキスト下 */
    align-items: center;
    text-align: left;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.popular-item a {
    text-decoration: none;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: normal;
    width: 100%;
    font-size: 13px;
}

/* 画像エリア */
.popular-thumbnail {
    width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
}

.popular-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* テキストエリア */
.popular-info {
    padding: 10px;
    text-align: left;
    width: 100%;
}

.popular-title {
    font-weight: 500;
    margin: 0 auto 5px 0;

}

.popular-category {
    font-size: 14px;
    color: #888;
}

/* ホバー時のアニメーション */
.popular-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* カテゴリーボタン */
.category-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    display: inline-block;
    padding: 10px 15px;
    border-bottom: solid 1px #d9d9d9;
}

/* home.phpページ */
.l-mainContent__inner {
    width: 70%;
}


/* single-useful_infoページ */
#main_content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    margin: clamp(5rem, 3.857rem + 5.71vw, 9rem) auto 10%;
}
/* .l-mainContent__inner {
    width: 68%;
} */
.p-articleThumb {
    display: none;
}
.-fix.c-shareBtns {
    display: none;
}
/* .-type-card .p-postList__thumb {
    height: 100%;
} */
.c-postThumb__figure {
    height: 100%;
}

.post_content p {
    line-height: 1.5;
}

/* お問い合わせ */

.page-id-2 .contact-toptxt {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding-top: 100px;
}

.page-id-2 .contact-toptxt p {
    line-height: 2.0;
    margin: 0 auto;
}


.page-id-2 .contact-form {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    padding-top: 100px;
}

.page-id-2 .label-name {
    padding: 16px 0;
}

.page-id-2 .required {
    background-color: #003F68;
    padding: 0 2px;
    color: #ffffff;
    font-size: 13px;
    margin-left: 4px;
    border-radius: 1px;
}

.page-id-2 input, .page-id-2 select, .page-id-2 textarea {
    background-color: #ffffff;
    border: 1px solid #B5B9BD;
    width: 100%;
    margin: 8px 0;
}


.page-id-2 .wpcf7-list-item {
    width: 200px;
    margin-bottom: 16px;
}

.page-id-2 .wpcf7-list-item .label {
    display: flex;
}

.page-id-2 .wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    margin: 16px 0;
    padding: 32px 0;
    background-color: #003F68;
    color: #ffffff;
    border: none;
}
.page-id-2 .wpcf7-list-item label {
    display: flex;
}

.page-id-2 .wpcf7-list-item input {
    width: 20%;
    margin: 0;
}

.page-id-2 .label-name p {
    margin-bottom: 40px;
}

.page-id-2 .label-name p:first-child {
    margin-bottom: 32px;
}

.page-id-2 .wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
}

.page-id-2 .wpcf7-response-output {
    background-color: #dc3232;
    color: #ffffff;
    border: none !important;
    text-align: center;
    margin-top: 0 !important;
    line-height: 1.4;
}

.page-id-2 .wpcf7 p{
    margin-bottom: 40px;
}
.page-id-2 .wpcf7 p:last-child {
    margin-bottom: 0;
}
.page-id-2 .privacy-check {
    display: flex;
    align-items: center;
    justify-content: center; /* ← これで横方向に中央寄せ！ */
    font-size: 14px;
    margin: 20px auto;
    text-align: center;
  }
  
.page-id-2 .privacy-check input[type="checkbox"] {
    margin-right: 8px;
  }
.page-id-2 .privacypolicy {
    text-align: center;
}

.page-id-2 .wpcf7-list-item-label {
    white-space: nowrap;
}
.page-id-2 .wpcf7-list-item-label span {
    color: blue;
}
.page-id-2 form {
    padding-bottom: 100px;
}



.privacypolicy-txt {
    height: 150px; /* 表示エリアの高さを指定 */
    overflow: auto; /* スクロール可能にする */
    padding: 10px 18px;
    border: 1px solid #ccc; /* 境界線をつける（任意） */
    background-color: #f9f9f9; /* 背景色をつける（任意） */
    height: 180px;
    overflow-y: scroll;
    line-height: 1.3;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
}

/* プライバシーポリシー */
.privacy-policy .l-mainContent__inner {
    width: 100%;
}

.privacy-policy #main_content {
    display: block;
}

.privacy-policy .post_content p {
    line-height: 2;
}





/* レスポンシブ */
@media screen and (max-width:1024px) {

    #header {
        height: 90px;
    }


    .header h1 img {
        width: 120px;
    }

    .nav_box li {
        font-size: 14px;
    }

    .mainvisual_inner {
        max-width: 840px;
        width: 90%;
        padding: 40px;
    }

    .sub_message {
        font-size: 18px;
        line-height: 36px;
        width: auto;
    }

    #service {
        max-width: 840px;
    }

    #consultant {
        max-width: 980px;
    }

    #projectcase {
        max-width: 980px;
    }


    #contact {
        max-width: 980px;
    }

    .footer_nav ul li {
        font-size: 14px;
    }
}



@media screen and (max-width:768px) {

#header {
    max-width:  100%;
    height: 60px;
    z-index: 100;
}

.header {
    /* max-width: 94%; */
    justify-content: space-between;
    padding: 12px,6px;
}

.header h1 img {
    width: 80px;
}

.responsive_header {
    display: block;
    display: flex;
    margin-right: 14%;
}

.nav_box {
    display: none;
}

.contact_btn {
    display: none;
}

.responsive_header img {
    width: 32px;
}


.btn{
    display: block;
    cursor: pointer;
    position: absolute;
    top: 24%;
    right: 7%;
    height: 30px;
    z-index: 100;
    padding-top: 5px;
}

.btn span{
    background: #003F68;
    width: 30px;
    height: 3px;
    display: block;
    position: relative;
    top: 10px;
    transition: 0.3s;
    border-radius: 50px;
}

.btn span::before, 
.btn span::after{
    content:'';
    width: 30px;
    height: 3px;
    background: #003F68;
    display: block;
    position: absolute;
    transition: 0.3s;
    border-radius: 50px;
}

.btn span::before{
    bottom: 10px;
}    

.btn span::after{
    top: 10px;
}

.open span{
    background: transparent;
}

.open span::before{
    transform: rotate(45deg);
    bottom: 0px;
    background: #003F68;
}    

.open span::after{
    transform: rotate(135deg);
    top: 0px;
    background: #003F68;
}

.sp_nav{
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #ffffff;
}

.sp_nav nav {
    padding-bottom: 64px;
    margin: 0 auto;
    width: 90%;
}

.sp_nav ul{
    height: 48%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 24%;
}

.sp_nav ul li {
    text-align: left;
    font-size: 1rem;
    margin-top: 24px;
    letter-spacing: 0.3em;
    border-bottom: solid 1px #d9d9d9;
    padding-bottom: 24px;
    padding-left: 16px;
}

.sp_contact_btn {
    text-align: center;
}

.sp_contact_btn img {
    height: 18px;
    margin-right: 8px;
}

.sp_btn_top_nav {
    background: linear-gradient(180deg, #4c6f85 0%, #003F68 100%);
    box-shadow: 4px 7px 10px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    width: 160px;
    height: 50px;
    padding: 20px 50px;
    color: #FFFDFA;
}

.main_image {
    display: none;
}

.sp_main_image {
    display: block;
    width: 60%;
    margin: 0 auto;
}

.mainvisual_inner {
    display: none;
  }

#mainvisual {
    margin-top: 100px;
}

/* スマホ用メインビジュアル（縦型レイアウト） */
.sp_main_block {
    display: block;
    background-color: #f3faff;
    border: 1.5px solid #003F68;
    padding: 40px 20px;
    max-width: 840px;
    width: 90%;
    margin: 0 auto; 
  }
  
  .mainvisual_sp_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .mainvisual_sp_img img {
    width: 60%;
    max-width: 240px;
    margin-bottom: 32px;
  }
  
  .main_message_sp {
    font-family: "Zen Old Mincho", serif;
    color: #003F68;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 24px;
    white-space: nowrap;
  }
  
  .sub_message_sp {
    color: #003F68;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 32px;
  }
  
  .btn_sp_consult a {
    background: linear-gradient(180deg, #4c6f85 0%, #003F68 100%);
    color: #fff;
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    display: inline-block;
  }
  



#service {
    margin-bottom: 40px;
    padding-top: 64px;
}

#service h2 {
    display: flex;
    flex-direction: column;
    color: #003F68;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;
    margin-left: 8px;
  }


.h2_service {
    width: 200px;
    margin-bottom: 0;
    margin-right: 8px;
}


.service_list {
    display: block;
    width: 100%
}

.service_name {
    font-size:18px;
    line-height: 29px;
}

/* .service_wrap:first-child {
    margin-top: 40px;
} */

.service_wrap {
    margin-top: 32px;
    width: 100%;
    height: auto;
}

.service_content {
    margin: 24px auto 40px;
}

.service_content li{
    font-size: 15px;
}

.service_list_inner{
    width: auto;
    height: auto;
}

.service02_img {
    padding: 48px 0 0 0;
}

.service_name span {
    padding: 3px 6px;
}

.service_list {
    margin-bottom: 32px;
}

.reserve_btn {
    padding: 20px 0;
    width: 90%;
    margin: 0 auto;
}
/* .service_experience p {
    width: 86%;
} */

#voice {
    padding: 40px 0;
}

#voice h2 {
    font-size: 18px;
    margin-left: 8px;
}

#voice h2 img {
    width: 19px;
    margin-right: 6px;
}

.voice {
    max-width: 94%;
}

.voice_inner {
    margin-top: 24px;
}

.voice_list {
    padding: 24px 16px 24px 8px;
}

.voice_list_p img {
    width: 60px;
    height: 60px;
    margin-right: 8px;
}

#company {
    padding-top: 40px;
}

#company h2 {
    margin-left: 8px;
}

.h2_company {
    max-width: 200px;
}

.h2_company_sub {
    bottom: 12px;
    font-size: 1rem;
    /* font-size: 16px; */
    font-size: 1rem;
}

.company_inner {
    margin: 32px auto;
}

.company_inner dt {
    padding: 20px 6px 21px 10px;
}

.access_google {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.googlemap {
    margin-left: 0;
    margin-top: 8px;
    padding: 3px 20px 8px 20px;
}

#reserve {
    margin-bottom: 64px;
}

.reserve_inner_p p {
    font-size: 15px;
    line-height: 1.3;
}

#footer {
    padding-top: 40px;
    padding-bottom: 16px;
}

.footer_h1 {
    width: 240px;
}

.footer_nav {
    max-width: 94%;
    margin: 16px auto 32px auto;
}

.footer_nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

.footer_nav ul li {
    margin: 24px 16px 0 0;
}

.footer_nav ul li:last-child {
    margin-right: 0;
}

}


@media screen and (max-width:428px) {
    #main_content {
        display: block;
    }

    .l-mainContent__inner,
    .sidebar {
        width: 100%;
    }

    .content-wrapper {
        display: block;
    }
    .main-content {
        width: 100%;
    }
    .post-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }
    
      .post-item {
        flex-direction: column;
        width: 100%;
      }
    
      .post-thumbnail {
        width: 100%;
        aspect-ratio: 1 / 1;
      }
    
      .post-meta {
        padding: 12px;
      }
      .popular-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      .popular-posts {
        padding-top: 40px;
      }
    
      .popular-item {
        flex-direction: column;
        align-items: flex-start;
      }
    
      .popular-thumbnail {
        aspect-ratio: 1 / 1;
      }

    .-type-card .p-postList__link {
        display: flex;
        flex-direction: column;
    }
    .-type-card .p-postList__thumb {
        aspect-ratio: 1/1;
    }

    /* お問い合わせ */
    .contact-toptxt {
        padding-top: 40px;
    }

    .contact-form {
        padding-top: 64px;
    }

    .label-name p {
        margin-bottom: 24px;
    }

    .wpcf7-list-item {
        margin-left: 0;
    }

    input {
        padding: 0.5em;
        margin-bottom: 0;
    }


    .contact-toptxt p {
        line-height: 1.4rem;
    }

    .page-id-2 form {
        padding-bottom: 40px;
    }

    .roomtype {
        width: 100%;
    }

    .type h3 {
        padding: 20px;
    }

    .room-info {
        padding: 0 20px;
    }

    #news {
         padding-top: 12%;
    }

    .news-container {
       padding: 40px 0;
    }

    .news-content {
        margin: 40px 0 20px;
        padding-bottom: 40px;
    }

    .swiper-navigation {
        gap: 44px;
    }

    .company-detail dd {
        padding: 0 0 16px
    }

    .company-detail dt {
        padding: 16px 0 8px;
    }

    .company-detail dt:first-child + dd {
        padding-top: 0;
    }

    .company-detail dt:last-of-type {
        padding: 16px 0 8px;
    }

    .company-detail dd:last-of-type {
        padding: 4px 0 16px;
    }

    .company-detail:first-child {
        padding-top: 24px;
    }

   
}