/*
Template: jin
Theme Name: subsidy-child
Author: CrossPiece
Version: 1.00
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

#header-box {
    background-color: white !important;
    margin-bottom: 25px
}

.header-image {
    width: 100%;
}

#site-info span a {
    color: #023F73 !important;
    font-weight: 600;
    padding-top: 23px;
    display: inline-block;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
}

.sp-display {
    display: none;
}

@charset "utf-8";
@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*全体の調整*/

body {
    margin: 0;
    background-color: #FFFFFF;
    line-height: 1;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    font-weight: 400;
    line-height: 1.43;
}


/*--カスタムプロパティ--*/

 :root {
    --BaseColor: red;
    --SubColor: #4472C4;
    --Sub02Color: #FCF8EE;
    --TableBgColor: #edf9fe;
    --GrayBgColor: #F3F3F3;
}

a {
    text-decoration: none;
}

a:hover {
    color: #E1E1E1;
}

a img {
    border-style: none;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    display: block;
    width: 100%;
    /* インライン要素の行間を防ぐ */
}

a:hover img {
    transition: 0.3s;
    opacity: 0.5;
}

strong {
    font-weight: bold;
}

.center {
    text-align: center;
}

.spimg {
    display: none;
}

#container {
    margin: 0;
}

.inner {
    margin: 0 auto;
    width: 960px;
}

.text-black {
    color: black !important;
}

#headline {
    margin: 0;
    padding: 2px 0;
    font-size: 0.8em;
    color: #777777;
}

.header-scroll {
    width: 100%;
    background-color: #FFFFFF;
}


/* ヘッダーお問い合わせボタン */

.button-56 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    margin: 0 auto;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #27a894;
    color: #fff !important;
    font-weight: 600;
    font-size: 1em;
    width: 100%;
}

.button-56:hover {
    background-color: #179884;
}

.button-56::after {
    width: 1.25em;
    height: 1.25em;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM12.0606 11.6829L5.64722 6.2377L4.35278 7.7623L12.0731 14.3171L19.6544 7.75616L18.3456 6.24384L12.0606 11.6829Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.header-tel {
    display: flex;
    /* 要素を横並びにするための設定 */
    align-items: center;
    /* 垂直方向に中央揃え */
    gap: 10px;
    /* 要素間の間隔を指定（必要に応じて調整） */
}

.header-tel img {
    max-width: 100%;
    height: auto;
}

.lptop {
    background: #006699;
    color: #FFFFFF;
}

h1.lph1 {
    text-align: center;
    font-size: 0.9em;
}

#header-title:after {
    content: "";
    display: block;
    clear: both;
}

#header-title h1,
#header-title .hx {
    float: left;
    font-size: 1.3em;
    padding: 24px 5px 14px;
    margin-top: 7px;
    font-weight: bold;
}

#header-title h1 a,
#header-title .hx a {
    text-decoration: none;
    color: #023F73;
}

.header-tel {
    float: right;
    padding: 15px 0;
}


/*ナビゲーション*/

#menubtn {
    display: none;
}

nav.menu {
    display: block;
}

nav.menu {
    font-size: 0.875em;
    margin: 0;
    padding: 0;
    background: #006699;
    width: 100%;
}

nav.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.menu ul li {
    float: left;
    width: 160px;
}

.menu {
    display: flex;
    justify-content: center;
    padding: 0;
    /* デフォルトのマージンとパディングをリセット */
    list-style: none;
    /* デフォルトのリストスタイルをリセット */
}

.menu li {
    margin: 0 10px;
    /* li の左右のスペースを調整 */
}

nav.menu ul li a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    text-align: center;
    color: #FFFFFF;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: 0.6s ease;
}

nav.menu ul li a:hover,
.main-navi ul li.current-menu-item a:hover {
    background-color: #001F37;
}

nav.menu ul li.current-menu-item a {
    background-color: #65BDCD;
}

nav.menu ul:after {
    content: "";
    display: block;
    clear: both;
}

nav.menu ul {
    *zoom: 1;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #006699;
}

.header-grey {
    background-color: #F0F0F0;
}


/* ヘッダー画像 */

#header-image,
#office-header-image {
    background-size: cover;
    background-position: 75% 75%;
    height: 567px;
    background-position: center;
    /* 画像を中央に配置 */
    background-size: cover;
    /* 画像をコンテナ全体にフィット */
    background-repeat: no-repeat;
    /* 画像の繰り返しを無効化 */
}

#header-image {
    background-image: url('<?php echo get_template_directory_uri(); ?>/img/main_bg.jpg');
}

#office-header-image {
    background-image: url(../saizen/images/office.jpg);
}

.main-x {
    margin-top: -70px;
}

#header-image_mini {
    background-size: cover;
    background-position: 75% 75%;
    background-image: url(images/main_bg2.jpg);
    height: 300px;
}

.mainimage {
    padding-top: 140px;
}

.mainimage-mini {
    padding-top: 0;
}


/* ヘッダー画像 */

.three-box {
    margin: 20px 0;
}

.three-box:after {
    content: "";
    display: block;
    clear: both;
}

.box1 {
    float: left;
    width: 298px;
    margin-right: 30px;
}

.box2 {
    float: left;
    width: 298px;
    margin-right: 30px;
}

.box3 {
    float: right;
    width: 298px;
}

#top-lp .box1 p,
#top-lp .box2 p,
#top-lp .box3 p {
    font-size: 18px;
    color: #444444;
    padding: 8px 0;
    line-height: 1.8;
}

.box1 img,
.box2 img,
.box3 img {
    width: 100%;
    height: auto!important;
}

.box-h {
    font-size: 1.1em;
    text-align: center;
    padding: 12px 0;
    background-color: #023F73;
    color: #FFFFFF;
    font-weight: bold;
}


/* パンくずリスト */

.breadcrumbs {
    font-size: 0.8em;
    padding: 14px 0 14px;
    background: #f5f5f5;
}

.breadcrumbs a {}


/*▽コンテンツ部*/

#content {
    margin: 0;
}

#content:after {
    content: "";
    display: block;
    clear: both;
}

#content-left {
    float: left;
    margin: 20px 0 40px;
    width: 640px;
}


/*トップページLP*/

.main-phone {
    margin: 10px 0 20px;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-white960 {
    background-color: #FFFFFF;
    padding: 50px 20px;
}

.bg-maincolor {
    background-color: #006699;
}

.bg-lightmaincolor {
    background-color: #61A0C0;
}

.bg-cream {
    background-color: #F8F5EF;
}

.bg-grey {
    background-color: #F0F0F0;
}

.pad20 {
    padding: 20px 0;
}

.pad30 {
    padding: 30px 0;
}

.padt30 {
    padding-top: 30px;
}

.padb30 {
    padding-bottom: 30px;
}

.padb_p30 {
    padding: 0 0 30px;
}

.pad50 {
    padding: 50px 0;
}

.padb50 {
    padding: 0 0 50px;
}

#top-lp i {
    padding-right: 6px;
}

#top-lp .lp-header {
    background-color: #023F73;
}


/* h２見出し関連 */

#top-lp h2 {
    text-align: center;
    font-size: 1.9em;
    font-weight: bold;
    color: #006699;
    line-height: 1.5;
}

#top-lp h2 img {
    max-width: 100%;
}

#top-lp .bg-maincolor h2,
#top-lp .bg-blue h2 {
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
    color: #FFFFFF;
}

#reason-section {
    padding: 50px 0;
}


/* h3見出し関連 */

#reason-section h3 {
    font-size: 1.7em;
    color: #006699;
    margin-top: 12px;
    padding-bottom: 8px;
    line-height: 1.5;
    text-align: center;
}

#top-lp .bg-maincolor h3,
#top-lp .bg-lightmaincolor h3 {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 12px;
    padding-bottom: 8px;
    line-height: 1.5;
}

#top-lp .strong-point h3 {
    font-size: 1.1em;
    background: linear-gradient(transparent 90%, #006699 90%);
    font-weight: 600;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-lp h3.top-faq {
    background-color: #006699;
    color: #FFFFFF;
    padding: 6px;
    font-size: 1.1em;
}

h3.step-title {
    border-bottom: solid 1px #9FA0A9;
    font-size: 1.5rem;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #006699;
    font-weight: 800;
}

.number {
    display: inline-block;
    padding-right: 10px;
    font-size: 2.5rem;
    font-weight: 0;
    line-height: 1;
    color: #006699;
}

.step-description {
    margin-top: 15px;
}

#top-lp p,
#top-lp .bg-maincolor .bg-white960 p,
#top-lp .bg-maincolor .lp-soudan p {
    font-size: 20px;
    line-height: 2;
    color: #444444;
    margin-bottom: 18px;
    padding: 0 20px;
}

#top-lp .bg-maincolor p,
#top-lp .bg-lightmaincolor p,
#top-lp .fixblock p {
    color: #FFFFFF;
}

#top-lp .fixblock p {
    font-size: 1.2em;
}

#top-lp img.onayami {
    margin: 0 auto;
    display: block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    padding: 10px 0 20px;
}

.marker_yellow {
    background: linear-gradient(transparent 86%, #ffff66 60%);
}

.profile p {
    font-size: 0.9em;
}


/* こんなお悩みありませんか */

#attention h3 {
    padding: 10px;
    border: 3px solid #026699;
    text-align: center;
    font-size: 20px;
}


/* 64横並び */

.twobox-64 {
    text-align: left;
    margin: 0;
}

.twobox-64 p {
    line-height: 2;
}

.twobox-64 img {
    max-width: 100%;
    height: auto!important;
}

.twobox-64l {
    float: left;
    width: 58%;
    padding: 0;
}

.twobox-64r {
    float: right;
    width: 38%;
    padding: 0;
}

.twobox-64:after {
    content: "";
    display: block;
    clear: both;
}


/* 46横並び */

.twobox-46 {
    margin: 0;
}

.twobox-46 img {
    max-width: 100%;
    height: auto!important;
}

.twobox-46l {
    float: left;
    width: 38%;
    padding: 0;
}

.twobox-46r {
    float: right;
    width: 58%;
    padding: 0;
}

.twobox-46:after {
    content: "";
    display: block;
    clear: both;
}


/* 73横並び */

.twobox-73 {
    text-align: left;
    margin: 40px 0 0;
}

.twobox-73 h3 {
    font-size: 1.5em;
    padding-bottom: 20px;
}

.twobox-73 p {
    line-height: 2;
}

.twobox-73 img {
    max-width: 100%;
    height: auto!important;
}

.twobox-73l {
    float: left;
    width: 68%;
    padding: 0;
}

.twobox-73r {
    float: right;
    width: 28%;
    padding: 0;
}

.twobox-73:after {
    content: "";
    display: block;
    clear: both;
}


/* 55横並び */

.twobox-55 {
    text-align: left;
    margin: 0;
}

.twobox-55 p {
    line-height: 2;
}

.twobox-55 img {
    max-width: 100%;
    height: auto!important;
}

.twobox-55l {
    float: left;
    width: 48%;
    padding: 0;
}

.twobox-55r {
    float: right;
    width: 48%;
    padding: 0;
}

.twobox-55:after {
    content: "";
    display: block;
    clear: both;
}


/*LP内３ボックス*/

.lp-box {}

.lp-box:after {
    content: "";
    display: block;
    clear: both;
}

.fixblock {
    background: url("images/townscape.jpg");
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

.night {
    font-size: 125%;
}

.wid640 {
    width: 640px;
    margin: 0 auto;
}

.info {
    color: #FFFFFF;
    line-height: 2em;
    border: 1px solid #FFF;
    padding: 8px;
}

.infosp {
    color: #006699;
    line-height: 2em;
    border: 1px solid #006699;
    padding: 8px;
}


/*投稿*/

#post {
    color: #444444;
    font-size: 1em;
    line-height: 1.8;
    background-color: #FFFFFF;
    margin-bottom: 20px;
}

.entry {
    padding: 0;
}

#post p {
    line-height: 1.6;
    margin-bottom: 1.1em;
}

.entrytitle {
    color: #444444;
    font-size: 1.5em;
    padding: 0 0 20px 0;
}

.datetime {
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.entry h2 {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: normal;
    padding: 4px 0 4px 10px;
    background-color: #006699;
    margin-top: 32px;
    margin-bottom: 20px;
    border-left: 6px solid #65BDCD;
}

.entry h3 {
    color: #006699;
    font-size: 1.2em;
    font-weight: normal;
    border: 1px solid #006699;
    border-left: 4px solid #006699;
    margin-top: 32px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.entry h4 {
    color: #006699;
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 32px;
    border-bottom: 1px solid #006699;
}


/*記事内の画像*/

#post img {
    max-width: 100%;
    height: auto!important;
}

.catchimg img {
    clear: both;
    display: block;
    max-width: 100%;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.wp-caption {
    border: 1px solid #AAAAAA;
    text-align: center;
    padding-top: 3px;
}

.thumb {
    text-align: center;
}

.go-mail img {}

.go-mail a:hover img {
    opacity: 1;
    top: 4px;
    position: relative;
}


/* 記事のテーブル */

#post table {
    margin: 1em 0 1em 0;
    border-collapse: collapse;
    width: 100%;
}

#post td {
    border: 1px solid #E0E0E0;
    padding: 12px;
    font-size: 0.875em;
}

#post th {
    border: 1px solid #E0E0E0;
    font-weight: bold;
    padding: 12px;
    font-size: 0.875em;
    background-color: #F1F1F1;
    text-align: center;
}

#post figure figcaption {
    font-size: 14px;
    text-align: center;
}

#post ul:not(.toc_list,
.toc_list ul),
#post ol {
    margin: 16px 0;
    line-height: 1.6;
    color: #444444;
}

#post ul:not(.toc_list,
.toc_list ul) {
    padding: 12px 12px 12px 30px;
    list-style-type: disc;
    border: 2px solid #069;
    font-size: 0.9rem;
}

.entry #toc_container {
    display: block!important;
    overflow: hidden;
    background: #e3ebf1;
    border: 3px solid #016799;
}

#post ol {
    padding: 12px 12px 12px 30px;
    list-style-type: decimal;
    border: 2px solid #069;
    font-size: 0.9rem;
}


/*続きを読む*/

#post p.more {
    margin: 10px 0px 40px 0px;
    text-align: right;
    font-size: 0.875em;
}

#post p.more a {
    color: #FFFFFF;
    padding: 4px 8px;
    background-color: #006699;
    border: 1px solid #CCCCCC;
    text-decoration: none;
}

#post p.more a:hover {
    color: #FFFFFF;
    background-color: #65BDCD;
    border: 1px solid #CCCCCC;
}


/*お問合せコーナー*/

.soudan-phone,
.soudan-web,
.soudan-mail {
    font-size: 1.3em;
    background-repeat: no-repeat;
    padding: 8px 0 8px 60px;
    margin: 0;
    font-weight: bold;
    color: #006699;
}

.soudan-phone {
    background-image: url(images/icon_phone.png);
}

.soudan-web {
    background-image: url(https://kensetsu.go-al.co.jp/wp-content/themes/FLOW2016v2/images/icon_web.png);
}

.soudan-mail {
    background-image: url(images/icon_mail.png);
}

.soudan-area {
    margin: 0;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    padding: 10px;
    background-color: #FFFFFF;
}

.soudan-area img {
    max-width: 100%;
    height: auto!important;
}

.soudan-tel {
    text-align: center;
    margin: 10px 0 20px;
}

.wpcf7-textarea {
    width: 98%;
}

.lp-soudan {
    margin: 0 auto;
    width: 640px;
    padding: 0;
}

.lp-soudan .soudan-area {
    border-bottom: 1px solid #CCCCCC;
}

.wpcf7-submit {
    font-size: 1.2em;
    padding: 5px 20px;
    background-color: #006699;
    color: #fff;
    border-style: none;
}

.wpcf7-submit:hover:enabled {
    background-color: #999;
    color: #fff;
}


/*ページナビ*/

.pagination {
    padding: 20px;
    position: relative;
    font-size: 0.875em;
    line-height: 1.5;
}

.pagination:after {
    content: "";
    display: block;
    clear: both;
}

.pagination span,
.pagination a {
    display: block;
    float: left;
    margin: 2px 2px 2px 0;
    padding: 6px 9px 5px 9px;
    text-decoration: none;
    width: auto;
    color: #444444;
    background: #F1F1F1;
    border: 1px solid #CCCCCC;
}

.pagination a:hover {
    color: #FFFFFF;
    background: #EEEEEE;
}

.pagination .current {
    padding: 6px 9px 5px 9px;
    background: #006699;
    color: #FFFFFF;
}


/*ページトップへ*/

#back-top {
    position: fixed;
    bottom: 5%;
    right: 3%;
}

#back-top span {
    width: 29px;
    height: 28px;
    display: block;
}

.wp-block-quote {
    border-left: 4px solid #000;
    margin: 0 0 28px;
    padding: 1em;
    font-size: .9rem;
    background: #fafafa;
}

figure.thumbnail {
    margin-bottom: 32px;
}

.entry a {
    text-decoration: underline;
}

.dli-chevron-right {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 0.8em;
    height: 0.8em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
}

.breadcrumbs .inner {
    gap: 12px;
    display: flex;
    align-items: center;
}

.breadcrumbs {
    overflow-x: scroll;
    white-space: nowrap;
}

.circle-icon {
    display: inline-block;
    background-color: #333;
    /* 丸の背景色を指定 (例として黒) */
    color: #fff;
    /* 矢印の色を白に指定 */
    border-radius: 50%;
    /* 丸にする */
    padding: 10px;
    /* 内側のスペースを確保 */
    font-size: 20px;
    /* アイコンのサイズ */
    text-align: center;
}

.font-white {
    color: white;
}


/* 料金表 */

.fee_table {
    width: 100%;
    border-collapse: collapse;
}

.fee_table tr.thead th {
    background: #026699;
    color: #FFF;
    text-align: center;
}

.fee_table th {
    width: 32%;
    background: #deebf2;
    color: #026699;
    font-weight: 700;
}

.fee_table th,
.fee_table td {
    padding: 18px 20px;
    border: 1px solid black;
    text-align: left;
    vertical-align: middle;
}

.fee_table tr.thead th {
    background: #026699;
    color: #FFF;
    text-align: center;
}

.fee_table {
    width: 100%;
    border-collapse: collapse;
}

.fee_table tr.thead th {
    background: #026699;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
}

.fee_table th {
    width: 32%;
    background: #deebf2;
    color: #026699;
    font-weight: 700;
    text-align: center;
    /* 中央寄せ */
    vertical-align: middle;
    /* 中央寄せ */
}

.fee_table th,
.fee_table td {
    padding: 18px 20px;
    border: 1px solid black;
    text-align: center;
    /* 中央寄せ */
    vertical-align: middle;
    /* 中央寄せ */
}

.mainimage {
    opacity: 0.8;
}


/* よくある質問 */

.qa-6 {
    margin-bottom: 5px;
    border-bottom: 2px solid #d6dde3;
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
}


/* フッターデザイン */

.footer-2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 10px 10px;
    background-color: #006699;
}

.footer-2__logo {
    width: 130px;
    height: 30px;
}

.footer-2__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.5em;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
}

.footer-2__sns-icon {
    width: 21px;
    height: 21px;
}

.footer-2__copyright {
    margin: 0;
    color: #ffffffb3 !important;
    font-weight: 200;
    font-size: .8em;
}


/* お客様の声 */

#customer-voice {
    padding: 50px 0;
}

#customer-voice .content-container {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 1000px;
    margin: 30px auto;
    position: relative;
    /* relativeを設定して、absoluteを使えるようにする */
}

#customer-voice .customer-img {
    text-align: center;
}

#customer-voice .customer-name {
    margin-top: 20px;
    font-size: 16px;
    color: #333 !important;
    font-weight: bold;
}

#customer-voice .image-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

#customer-voice .text-container {
    max-width: 600px;
}

#customer-voice .cv-heading {
    font-size: 34px;
    font-weight: 800;
}

#customer-voice .text-container h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

#customer-voice .text-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    padding-bottom: 10px;
}


/*-------------------------------------------
 google map
 --------------------------------------------*/

.g_map iframe {
    display: block;
    width: 100%;
}


/*----- section title bg -----*/

.lower_section {
    padding-bottom: 5.20vw;
}

.lower_section_bg {
    background-color: var(--GrayBgColor);
    padding-bottom: 5.20vw;
    /*padding: 5.20vw 0;*/
}

.lower_section_bg__ {
    padding-top: 5.2vw;
}

.white_bg {
    background-color: #fff;
    padding-bottom: 5.20vw;
    box-shadow: -1px 3px 10px -1px #ccc;
}


/*----- section title -----*/

.lower_section_ttl h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    padding-top: 60px;
    padding-bottom: 40px;
}

.lower_section_ttl h3::after {
    content: "";
    height: 0.25vw;
    width: 5.0vw;
    background-color: #4472C4;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0)
}


/*----- 事務所概要 ------*/

.office_info dl {
    display: block;
}

.company-info {
    padding: 0 20px 50px;
}

.office_info dl {
    display: flex;
}

.office_info dt {
    font-weight: 600;
    color: #555555;
    width: 17.5%;
    padding: 40px 0;
    padding-left: 1.86%;
    border-bottom: 0.156vw solid var(--SubColor);
    font-size: 20px;
}

.office_info dd {
    display: flex;
    flex-direction: column;
    width: 82.5%;
    padding: 42px 0;
    padding-left: 4.24%;
    border-bottom: 0.156vw solid #d8d8d8;
    font-size: 20px;
    color: black;
}

.office_info dl:first-child dt {
    font-weight: 600;
    padding-top: 1.5%;
    color: #555555;
    font-size: 20px;
}

.office_info dl:first-child dd {
    padding-top: 1.5%;
}

.office_info_imgarea {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 3.64vw;
}

.office_info_imgarea li {
    width: 31.25%;
}

.office_info_imgarea li p {
    padding-top: 0.8vw;
    font-size: 1.0vw;
}


/*----- アクセス ------*/

.access01 {
    text-align: center;
    font-size: 20px;
}

.access01 span {
    padding-right: 1em;
}

.access_gmap iframe {
    display: block;
    width: 100%;
    height: 300px;
    margin-top: 2.0%;
    ;
}

.access_howto {
    display: flex;
    margin-top: 2.38%;
}

.access_howto .howto_ttl {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 0.5vw;
    color: #555555;
}

.howto01,
.howto02 {
    width: 50%;
}

.howto02 {
    border-left: 1px solid #cccccc;
    padding-left: 4.15%;
}

.access_howto ul li {
    font-size: 20px;
    padding-bottom: 5px;
    line-height: 1.6;
}


/* お問い合わせ */


/* プラグイン「ContactForm7」のカスタマイズ */


/* CSS Document */

.widget label {
    display: block;
}

.widget .wpcf7-text,
.widget .wpcf7-textarea {
    margin-bottom: 20px !important;
}

.wpcf7 {
    margin: 30px auto !important;
    padding: 40px 30px !important;
    padding-bottom: 0px !important;
    background: rgba(215, 215, 215, 0.15);
}

@media (max-width: 767px) {
    .wpcf7 {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .wpcf7 {
        width: 100%;
    }
}

.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=email],
.wpcf7-form-control-wrap textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #e6e6e6;
    font-size: 16px;
    resize: vertical;
    transition: all .3s;
}

.wpcf7-form p {
    margin-bottom: 0px !important;
    margin-top: -10px !important;
}

.wpcf7-form input[type=submit] {
    display: block;
    background: #27a894;
    width: 300px;
    height: 60px;
    margin: 30px auto 0;
    border: none;
    border-radius: 10px;
    color: #fff;
    box-shadow: 2px 5px 15px 0 rgba(0, 0, 0, .2);
    font-size: 1.3em;
    font-weight: bold;
    transition: all .3s;
}

.wpcf7-form input[type=submit]:hover {
    background: #ccc;
    border: 1px solid #ccc;
}

.cf-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
    transition: all .3s;
    margin-top: 20px;
    padding: 20px 0;
}

#contact-area {
    overflow-x: hidden;
    box-sizing: border-box;
    /* パディングやボーダーを含めた幅を設定 */
}

#contact-area p {
    font-size: 16px;
}

.office-contact p {
    margin-bottom: 20px;
}

.cf-area:last-child {
    border-bottom: none;
}

.cf-area dt {
    width: 200px;
    padding-right: 30px;
    text-align: right;
    line-height: 1.5em;
}

.cf-area dd {
    flex: 1;
}

.cf-area input,
.cf-area textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #e6e6e6;
    font-size: 16px;
    resize: vertical;
    transition: all .3s;
}

.cf-area input:focus,
.cf-area textarea:focus {
    outline: none;
    background: #dde2e9;
}

.cf-required {
    background: #b91e23;
    color: #fff;
    font-size: 0.8em;
    padding: 5px;
    border-radius: 2px
}

.cf-no-required {
    background: #006BA1;
    color: #fff;
    font-size: 0.8em;
    padding: 5px;
    border-radius: 2px
}

.cf-send input:hover {
    filter: brightness(1.25);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background-color: #fce3e3;
    border: none;
    text-align: center;
}

.cf-send {
    margin-top: 20px;
}

.wpcf7-submit {
    background-color: #006699;
}

@media screen and (max-width:768px) {
    .cf-area {
        display: block;
    }
    #contact-area h2 {
        margin-bottom: 0 !important;
    }
    .cf-area dt {
        width: 100%;
        margin-bottom: 5px;
        padding-right: 0;
        text-align: left;
        line-height: 1.5em;
    }
    .wpcf7 {
        padding: 0 20px;
    }
}

.cf-area dd {
    margin: 0;
}

input[type="checkbox"] {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    vertical-align: -5px;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(50deg);
    width: 4px;
    height: 8px;
    content: '';
}

.wpcf7-not-valid-tip {
    color: #cc0000;
    font-weight: bold;
}

span.wpcf7-list-item {
    display: block;
    margin-bottom: 5px;
}

.sp-none {
    display: none;
}

.lp-content {
    width: 100%;
}

.box27 {
    position: relative;
    margin: 60px 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
}

.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.box27 p {
    margin: 0;
    padding: 0;
}

.advisor-system {
    margin-top: 40px;
}


/* 事務所画像 */

.image-gallery {
    display: flex;
    justify-content: space-between;
    /* 画像を等間隔で並べる */
    flex-wrap: wrap;
    /* 必要に応じて折り返す */
    padding: 20px;
}

.image-item {
    text-align: center;
    width: 250px;
    /* 固定幅を指定 */
}

.image-item img {
    width: 250px;
    height: px;
    object-fit: cover;
    border-radius: 8px;
}

.caption {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

@media (max-width: 768px) {
    .image-gallery {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        padding: 0;
        /* スマホでは余白を調整 */
    }
    .image-item {
        width: 100%;
        /* 画像の幅をスマホ画面いっぱいに */
    }
    .image-item img {
        width: 100%;
        /* 画像自体も幅100%に */
        height: auto;
        /* アスペクト比を維持 */
    }
    #office-info {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 599px) {
    .hide-sp {
        display: none;
    }
    .wp-block-image {
        margin: 0;
    }
    .wp-block-lpc-blocks-profile .lpcb-profile__media {
        width: 180px;
        margin: 0 auto;
    }
    .lpcb-profile__content-header {
        text-align: center;
    }
    .wp-block-lpc-blocks-profile .lpcb-profile__content-header:after {
        content: "";
        position: absolute;
        left: 50%;
        /* 親要素の中央に配置 */
        bottom: -2px;
        height: 4px;
        width: 50px;
        background-color: var(--lpcb-profile-line-color, currentColor);
        transform: translateX(-50%);
        /* 要素自体の幅の半分だけ左に移動 */
    }
}

.img-responsive {
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 600px) {
    .hide-pc {
        display: none;
    }
}

@media only screen and (max-width: 599px) {
    .hide-sp {
        display: none;
    }
}

@media screen and (min-width: 768px) .lp-content {
    padding: var(--lpc-lp-contents-pt, 0) var(--lpc-lp-contents-plr, 0) var(--lpc-lp-contents-pb, 0);
}


/*-------------------------------------------
 レスポンシブ
 --------------------------------------------*/

@media screen and (max-width: 959px) {
    #aboutus .office_info dt {
        color: #555555;
        font-size: 40px;
        width: 100%;
        padding: 0% 0;
        font-weight: 650;
        /*padding-left: 0%;*/
        /*border-bottom: 0.156vw solid var(--SubColor);*/
        border: none;
    }
    #aboutus .office_info dl dd {
        width: 100%;
        padding: 1.5% 0 0;
        /*border-bottom: 0.156vw solid #d8d8d8;*/
        border: none;
    }
    .office_info_imgarea {
        flex-direction: column;
        padding-top: 6%;
    }
    .office_info_imgarea li {
        width: 100%;
    }
    .office_info_imgarea li p {
        padding-top: 2%;
        padding-bottom: 5%;
        font-size: 1.4rem;
    }
    .office_info_imgarea li:last-of-type p {
        padding-bottom: 0;
    }
}


/* 画面幅が768px以下の場合のレイアウト */

@media (max-width: 768px) {
    .twobox-55,
    .twobox-64 {
        flex-direction: column;
        gap: 0;
    }
    .twobox-55l,
    .twobox-55r,
    .twobox-64l,
    .twobox-64r {
        width: 100%;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .fee_table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}


/* スマホ対応レスポンシブスタイル */

@media (max-width: 768px) {
    #header #site-info {
        max-width: 100%;
    }
    .pc-display {
        display: none;
    }
    .sp-display {
        display: block;
    }
    .sp-h1title {
        text-align: center;
    }
    .inner {
        margin: 0 auto;
        width: 100%;
    }
    #site-info span a {
        font-size: 18px;
    }
    #header-title h1,
    #header-title .hx {
        float: none;
        /* floatを無効化 */
        text-align: center;
        /* 必要に応じて中央揃えにする */
        padding: 10px 0;
        /* スマホに適したパディングに変更 */
        margin-top: 0;
        /* マージンも調整 */
        font-size: 40px;
    }
    nav.menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        /* 項目を横幅いっぱいに均等配置 */
    }
    nav.menu ul li {
        float: none;
        /* floatを無効にする */
        flex: 1;
        /* 各liが横幅を均等に取るようにする */
        width: auto;
        /* 幅の指定を解除 */
        font-size: 18px;
    }
    nav.menu ul li a {
        padding: 15px 0;
        /* スマホ用に少し小さく調整 */
    }
    .bg-white960 {
        padding: 0;
    }
    #top-lp p,
    #top-lp .bg-maincolor .bg-white960 p,
    #top-lp .bg-maincolor .lp-soudan p {
        font-size: 18px;
        padding: 0;
    }
    #top-lp .sales-text {
        font-size: 24px !important;
    }
    /* 選ぶ理由 */
    #top-lp .strong-point h3 {
        font-size: 22px;
        padding-bottom: 20px;
        height: 90px;
        background-size: 50% 100%;
    }
    #top-lp .strong-point p {
        font-size: 18px;
        padding: 0 20px;
    }
    #flow .twobox-55 {
        flex-direction: column;
    }
    #top-lp .bg-maincolor h2,
    #top-lp .bg-blue h2,
    #top-lp h2 {
        font-size: 24px;
    }
    details summary {
        font-size: 1.4rem;
    }
    details p {
        font-size: 1.2rem;
        padding-left: 15px;
    }
    #top-lp .bg-maincolor h2,
    #top-lp .bg-blue h2 {
        text-align: center;
        font-weight: bold;
        color: #FFFFFF;
    }
    h3.step-title {
        font-size: 22px;
        padding: 0 10px;
        padding-bottom: 20px;
    }
    /* 当社の強み */
    .strong-point img {
        padding: 0 10px;
    }
    .lp-box {
        flex-direction: column;
        align-items: center;
    }
    .strong-point {
        width: 100%;
        margin-bottom: 20px;
    }
    .strong-point h3 {
        font-size: 1.4rem;
    }
    .strong-point p {
        font-size: 1rem;
    }
    /* ご依頼の流れ */
    .number {
        font-size: 2.0rem;
        display: inline-block;
        margin-top: 10px;
    }
    /* 料金 */
    #price-section {
        padding: 0 10px;
    }
    .fee_table th,
    .fee_table td {
        font-size: 18px;
        padding: 18px 15px;
    }
    /* よくある質問 */
    #question .qa-6 p {
        padding: 0 10px;
    }
    .qa-6 summary {
        font-size: 16px;
        text-align: left;
        padding: 40px 15px;
    }
    .access_gmap iframe {
        width: 100%;
        height: 600px;
    }
    .twobox-64 img {
        max-width: 100%;
        width: 100%;
    }
    .twobox-55 img {
        max-width: 100%;
        width: 100%;
    }
    .office_info dl {
        font-size: 24px;
    }
    .lower_section_ttl h3 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    /* お客様の声 */
    #customer-voice .content-container {
        flex-direction: column;
        align-items: center;
    }
    #customer-voice .image-container {
        margin-bottom: 20px;
    }
    #customer-voice .image-container img {
        margin-right: 0;
    }
    /* 事務所案内 */
    .office_info dl:first-child dt {
        font-size: 16px;
    }
    .office_info dt {
        width: 25%;
        font-size: 16px;
    }
    .office_info dd {
        font-size: 16px;
    }
    .access01 {
        font-size: 16px;
    }
    .access_howto {
        padding: 0 20px;
    }
    .access_howto .howto_ttl {
        font-size: 16px;
    }
    .access_howto ul li {
        font-size: 16px;
    }
    /* こんなお悩み */
    #attention h2 {
        margin-top: 20px;
        font-size: 22px;
    }
    #attention {
        padding: 10px;
    }
    .box1,
    .box2,
    .box3 {
        width: 100%;
        margin: 0;
    }
}