@charset "UTF-8";

:root {
  --color-primary: #3a3a3a;
  /* メイン */
  --color-secondary: #666;
  /* サブ */
  --color-accent: #1f5592;
  /* 強調 */
  --color-border: #ccc;
  --color-bg: #f5f5f5;
  --color-text-main: #3a3a3a;
  --color-text-sub: #666;
}

html {
  font-size: 62.5%;
  /*10px*/
}

html body {
  line-height: 1.6;
  font-size: clamp(1.4rem, 1.2vw, 1.6rem);
  /*画面幅に応じて14px〜16pxで変化*/
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
  color: var(--color-text-main);
}

html img {
  max-width: 100%;
  height: auto;
}

html img.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

html a {
  transition: all 0.3s;
}

html p {
  word-break: break-word;
  line-break: strict;
}

/* ============================================================
レイアウトに関するCSS
============================================================ */

body:not(.home) main {
  width: 96%;
  margin: 5vh auto;
  padding: 0 3vw;    
}

.box1100 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.box1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.box1400 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.col-1 {
  width: 84%;
  margin: 0 auto;
}

.col-2 {
  width: 84%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.txtC {
  text-align: center;
}

.txtL {
  text-align: left;
}

.txtR {
  text-align: right;
}

/*youtube*/
.youtube {
  text-align: center;
}

.youtube iframe {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

/*アンカーリンク位置調整*/
html {
  scroll-padding-top: 100px;
}

/*スクロールアニメーション*/
.effect-fade {
  opacity: 0;
  transform: translate(0, 45px);
  transition: all 1000ms;
}

.effect-fade.is-inview {
  opacity: 1;
  transform: translate(0, 0);
}

.effect-slide-left {
  opacity: 0;
  transform: translate(-50px, 0);
  transition: all 1000ms;
}

.effect-slide-left.is-inview {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
装飾に関するCSS
============================================================ */


/*ページタイトル*/
.pagetitle {
  background: url(../../images/top/bg_index02.webp) center #3A3A3A;
  background-size: cover;
  text-align: center;
  font-size: min(4.8rem, 8vw);
  padding-top: 16vh;
  color: #fff;
  position: relative;
  z-index: -2;
}

@media (width < 768px) {
    .pagetitle {
      min-height: 115px;
      padding-top: 12vh;
    }
}

.pagetitle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.pagetitle h1 {
  padding: 1em 3vw;
}

/*ボタン*/
.btn01 a {
  color: var(--color-primary);
  display: inline-block;
  background: #fff;
  padding: 0.6em 2em;
  margin: 1em auto;
}

.btn01 a:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn01 a::after {
  display: inline-block;
  content: ">";
  margin-left: 1em;
}

.btn02 a,
.btn02 span {
  color: var(--color-primary);
  font-size: clamp(1.2rem, 1vw, 1.4rem);
  display: inline-block;
  border: 1px solid var(--color-primary);
  padding: 0.4em 2em;
  margin: 1em auto;
}

.btn02 a:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn02 a::after,
.btn02 span::after {
  display: inline-block;
  content: ">";
  margin-left: 1em;
}

.btn01-w a {
  color: #fff;
  display: inline-block;
  border: 1px solid #fff;
  padding: 0.6em 2em;
  margin: 1em auto;
}

.btn01-w a:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn01-w a::after {
  display: inline-block;
  content: ">";
  margin-left: 1em;
}

.btn03 a {
  color: #fff;
  display: inline-block;
  background: var(--color-primary);
  padding: 0.6em 2em;
  margin: 1em auto;
}

.btn03 a:hover {
  background: var(--color-secondary);
  color: #fff;
}

.btn03 a::after {
  display: inline-block;
  content: ">";
  margin-left: 1em;
}

/*背景グラデ*/
.bg-grad {
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

/* テキストグラデ */
.txt-grad {
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/*英語フォント*/
.font-en {
  font-weight: 900;
}
    .company-img{
        display: block;
        float: none;
    }
    .company-img{
        float: right;
        margin-left: 20px;
        
    }
/*会社テーブル*/
@media (width < 768px) {
    .company-img{
        float: none;
        text-align: center;
        margin: auto;
    }
}

.company-table table {
  width: 100%;
  margin: 2em 0;
}

.wp-block-table.company-table th {
  padding: 1em;
  border: none;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.wp-block-table.company-table td {
  padding: 1em;
  border: none;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.company-table td:first-child {
  width: 30%;
  background-color: #eee;
}

.map_office{
    margin: 30px 0 10px 0;
    font-weight: bold;
}

/* ============================================================
全ページ共通CSS
============================================================ */
/*パンくず*/
.bread-wrap {
  margin: 0;
  padding: 2vh 2vw;
  border-top: solid 1px var(--color-border);
}

.bread-wrap .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bread-wrap .breadcrumb a {
  color: var(--color-text-main);
}

.bread-wrap .breadcrumb a:hover {
  color: var(--color-text-sub);
}

.bread-wrap .breadcrumb span {
  padding: 3px 8px;
  vertical-align: middle;
  font-size: small;
}

.bread-wrap .breadcrumb span:last-child {
  color: var(--color-text-sub);
}

/*ページ下部お問い合わせ*/
.footer-contact {
  background: var(--color-primary);
  background: url(../../images/top/bg_footer-contact.webp) no-repeat center;
  padding: 8vh 3vw 10vh;
  background-size: cover;
}

.footer-contact hgroup {
  margin-bottom: 4vh;
  color: #fff;
}

.footer-contact>div {
  background-color: #fff;
  padding: 3vh 3vw;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.footer-contact .footer-tel a {
  display: block;
  font-size: min(3.6rem, 10vw);
  color: var(--color-primary);
  line-height: 1;
  font-weight: bold;
}

.footer-contact .footer-tel i {
  font-size: .6em;
  margin-right: .2em;
  vertical-align: .1em;
}

.footer-contact .footer-tel a span {
  display: block;
  font-size: small;
  color: initial;
  font-weight: normal;
  margin-top: 1em;
}

.footer-contact .footer-mail a {
  display: inline-block;
  font-size: min(2rem, 5vw);
  background-color: var(--color-primary);
  color: #fff;
  line-height: 1;
  padding: 1.2em 2em;
}

.footer-contact .footer-mail a:hover {
  background: var(--color-secondary);
}

.footer-contact .footer-mail i {
  font-size: .8em;
  margin-right: .4em;
}

/*footer */
footer {
  background: #000;
  color: #fff;
  position: sticky;
  top: 100%;
}

footer address {
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
  padding: 10px;
  background: #333;
}

footer .footer-inner {
  padding: 5vh 3vw;
}

footer .footer-inner .footer-location-wrap {
  display: inline-block;
  text-align: left;
}

footer .footer-inner .footer-location {
  margin-bottom: 5vh;
}

footer .footer-inner .footer-location p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

footer .footer-inner .footer-location .footer-btn {
  display: inline-block;
  font-size: .8em;
  margin: 1em;
  line-height: 1;
}

footer .footer-inner .footer-location .footer-btn:first-of-type {
  margin-left: 0;
}

footer .footer-inner .footer-location .footer-btn:hover {
  color: #ccc;
}

footer .footer-inner .footer-info {
  display: flex;
  justify-content: space-between;
}

footer .footer-inner .footer-info .footer-logo {
  margin: 3vw auto;
}

footer .footer-inner .footer-info .footer-logo img.logo {
  width: 380px;
}

footer .footer-inner .footer-info .footer-logo p.contact-tel{
    margin-top: 20px;
}

footer .footer-inner .footer-info .footer-logo span {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  margin: .5em 0;
}

footer .footer-inner .footer-info {
    max-width: 1100px;
    margin: 0 auto;
}

footer .footer-inner .footer-info nav ul {
  text-align: left;
}

footer .footer-inner .footer-info ul li a {
  color: #fff;
  font-size: 1em;
  display: inline-block;
  padding: 6px;
}

footer .footer-inner .footer-info ul li a:hover {
  color: #ccc;
}

footer .footer-inner .footer-info nav ul.sub-menu {
  margin: 0 0.2em 4px;
}

footer .footer-inner .footer-info nav ul.sub-menu li::before {
  content: "┗";
  font-size: .6em;
}

footer .footer-inner .footer-info nav ul.sub-menu li a {
  padding: 2px 6px;
}


/*ページトップ*/
#topcontrol {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  opacity: 1;
  cursor: pointer;
  z-index: 99;
}

#topcontrol a {
  color: #fff;
  font-size: .8em;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background-color: var(--color-primary);
}

#topcontrol a:hover {
  background-color: var(--color-secondary);
}

/* ============================================================
詳細ページ・固定ページ共通CSS（WPブロックエディタ対応）
============================================================ */
/*タイトル*/
.single main h2,
.page main .page-content h2 {
  font-weight: bold;
  font-size: 1.3em;
  line-height: 1.3;
  padding: .5em 0;
  margin: 1.6em 0 .8em;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.single main h2::after,
.page main .page-content h2::after {
  position: absolute;
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: var(--color-primary);
}

.single main div:is(.col-1, .col-main) h3:not(:is(.SmallTitle)),
.page main .page-content h3:not(:is(.SmallTitle)) {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
  border-left: solid 5px var(--color-border);
  padding-left: .5em;
}

.single main div:is(.col-1, .col-main) h4,
.page main .page-content h4 {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
}

.single main div:is(.col-1, .col-main) h5,
.page main .page-content h5 {
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
}

.single main div:is(.col-1, .col-main) h6,
.page main .page-content h6 {
  font-weight: bold;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
}

/*段落*/
.single main div:is(.col-1, .col-main) p,
.page main .page-content p {
  margin-bottom: 1em;
}

.single main div:is(.col-1, .col-main) p a,
.page main .page-content p a {
  color: var(--color-primary);
  border-bottom: 1px solid transparent;
}

.single main div:is(.col-1, .col-main) p a:hover,
.page main .page-content p a:hover {
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-text-secondary);
}

/*順序なしリスト*/
.single main div:is(.col-1, .col-main) ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)),
.page main .page-content ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)):not(:is(.exWrap)) {
  margin: 2vh 1.2em;
  font-size: 0.9em;
}

.single main div:is(.col-1, .col-main) ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)) li,
.page main .page-content ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)):not(:is(.exWrap)) li {
  list-style-type: square;
  margin: .5em 0;
}

/*順序付きリスト*/
.single main div:is(.col-1, .col-main) ol,
.page main .page-content ol {
  margin: 2vh 1.2em;
  font-size: 0.9em;
}

.single main div:is(.col-1, .col-main) ol li,
.page main .page-content ol li {
  list-style-type: order;
  margin: .5em 0;
}

/*引用*/
blockquote {
  padding: 2em 1em 1em;
  margin: 1em 0;
  background: rgba(240, 240, 240, 0.5);
}

.single figure.wp-block-image img,
.page figure.wp-block-image img {
  margin-bottom: 1em;
}

.wp-block-image figcaption {
  text-align: center;
}


/*間隔用*/
.single .wp-block-columns,
.page .wp-block-columns {
  margin-bottom: 5vh;
}

.single .wp-block-group,
.page .wp-block-group {
  margin-bottom: 5vh;
}

.single .wp-block-gallery,
.page .wp-block-gallery {
  margin-bottom: 5vh;
}

.single .wp-block-gallery figure.wp-block-image img,
.page .wp-block-gallery figure.wp-block-image img {
  margin-bottom: 0;
}

.single .wp-block-media-text,
.page .wp-block-media-text {
  margin-bottom: 5vh;
}

.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding: 0 8% 0 0;
}

.wp-block-media-text.has-media-on-the-left>.wp-block-media-text__content {
  padding: 0 0 0 8%;
}

.wp-block-spacer {
  height: 5vh !important;
}

/*youtube*/
figure.is-provider-youtube iframe {
  display: block;
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 16/9;
}

/*テーブル*/
.wp-block-table {
  font-size: 0.9em;
  margin: 1em 0;
}

.wp-block-table table th {
  padding: 1em;
  border: 1px solid var(--color-border);
  background-color: #eee;
  vertical-align: middle;
  width: 30%;
}

.wp-block-table td {
  padding: 1em;
}

.wp-block-table:not(.company-table) td {
  border: 1px solid var(--color-border);
}

/*日付*/
.wp-block-post-date {
  color: var(--color-text-secondary);
  font-size: .9em;
  margin-bottom: .5em;
}

/* ============================================================
404ページ
============================================================ */
.error404 .page-content span {
  font-size: min(6.5rem, 10vw);
  font-weight: bold;
  color: var(--color-text-secondary);
  display: block;
  text-align: center;
  padding: 5vh 0 0 0;
}

.error404 .page-content p {
  font-size: 1.2em;
  font-weight: bold;
  padding: 2em 0;
}

/* ============================================================
基本ページ（個人情報保護・当サイトについて・おすすめサイト）
============================================================ */
body.privacypolicy dt,
body.about dt,
body.link dt {
  font-size: 120%;
  margin: 2em 0 0.8em auto;
  border-left: solid 5px var(--color-border);
  padding-left: 8px;
}

.about dl dd p {
  margin: 1em 0;
}

.about dl dd table.browser {
  margin: 1em 0;
  font-size: .9em;
}

.about dl dd table.browser th {
  padding: 1em 2em;
  background: #eee;
  border-bottom: 1px solid #fff;
}

.about dl dd table.browser td {
  padding: 1em 2em;
}

#link02 ul {
  display: flex;
  font-size: .9em;
  margin: 1em 0;
}

#link02 ul li {
  color: var(--color-primary);
  padding: .5em 1em;
  margin: 1em;
  border: 1px solid #ccc;
}

#link02 ul li a {
  display: block;
  padding: .5em 1em;
  margin: -.5em -1em;
}

#link02 ul li a:hover {
  background: var(--color-primary);
  color: #fff;
}

#link02 p.link_cate {
  background: #eee;
  padding: 1em;
}

#link02 dt a {
  color: var(--color-primary);
}

#link02 dt a:hover {
  color: var(--color-secondary);
}

/* ============================================================
会社案内
============================================================ */

.company main img {
  margin-bottom: 1em;
}

/* ============================================================
サイトマップ
============================================================ */

.sitemap main ul {
  margin: 1em 1.2em;
  font-size: 0.9em;
}

.sitemap main ul li {
  list-style-type: square;
  margin: .5em 0;
}

.sitemap main ul li::marker {
  color: var(--color-primary);
  font-size: .8em;
}

.sitemap main ul li a {
  text-decoration: none;
  color: var(--color-text-main);
}

.sitemap main ul li a:hover {
  color: var(--color-text-sub);
}

.sitemap main h2 {
  font-size: 1.2em;
  border-bottom: solid 1px var(--color-border);
  padding: .5em 0;
  margin-top: 1em;
}

/* ============================================================
お問い合わせ
============================================================ */
.contact-form .tel-wrap {
  line-height: 1;
  text-align: center;
  margin: 3vh auto;
}

.contact-form .tel {
  line-height: 1;
  font-size: min(6rem, 10vw);
  font-weight: bold;
  text-align: center;
  margin-bottom: 2vh;
}

.contact-form .tel i {
  font-size: .6em;
  vertical-align: .1em;
  margin-right: .1em;
  color: #999;
}

.contact-form .tel-wrap p {
  font-size: .9em;
}


/*フォームcss start*/
.wpcf7 {
  background: #fff;
  padding: 2em;
  margin: 2em auto;
  font-size: 0.9em;
}

.wpcf7 form .stepBar {
  display: flex;
  justify-content: space-around;
  padding: 80px 0;
}

.wpcf7 form .stepBar li {
  width: 33.333%;
  font-size: 133%;
  padding-bottom: 24px;
  text-align: center;
  position: relative;
  font-weight: bold;
}

.wpcf7 form .stepBar li.current {
  color: #404040;
}

.wpcf7 form .stepBar li.current:before {
  transform: translateX(-50%) scale(1.3);
  background: #404040;
}

.wpcf7 form .stepBar li:before {
  content: "";
  position: absolute;
  background: #dfe0df;
  left: 50%;
  bottom: -6px;
  width: 13px;
  height: 13px;
  border-radius: 100%;
  transform: translateX(-50%);
  z-index: 2;
}

.wpcf7 form .stepBar li:not(:last-child):after {
  content: "";
  position: absolute;
  background: #dfe0df;
  bottom: -1px;
  left: 50%;
  z-index: 1;
  width: 100%;
  height: 3px;
}

.wpcf7 form .form-box {
  margin-bottom: 2em;
}

.wpcf7 form .form-box.title input {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #666;
  background: none;
  border-bottom: 1px solid #dfe0df;
}

.wpcf7 form .form-box select {
  vertical-align: middle;
}

.wpcf7 form .form-box select:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("../../images/arrow_down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 4px;
  vertical-align: middle;
  transition: all 0.3s;
}

.wpcf7 form .form-box select:hover:after {
  background-image: url("../../images/arrow_up.svg");
}

.wpcf7 form .must-icon {
  background: crimson;
  color: #fff;
  line-height: 1;
  padding: 2px 5px 4px;
  margin-left: 10px;
  font-size: 1.2rem;
  display: inline-block;
}

.wpcf7 form .wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7 form .wpcf7-form-control-wrap.your-gender .wpcf7-list-item:not(last-child) {
  margin-right: 20px;
  margin-left: 0 !important;
}

.wpcf7 form .form_left {
  width: 100%;
}

.wpcf7 form .form-input {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 1em;
  background: #fafafa;
  padding: 1em 1em 0;
}

.wpcf7 form .form-input .form-box {
  width: 24%;
  margin-bottom: 1em;
}

.wpcf7 form .form-input .form-box.questionnaire {
  width: 50%;
}

.wpcf7 form .form-input .form-box:last-of-type {
  width: 48%;
}

.wpcf7 form .form-input .form-box {
  font-size: 0.9em;
}

.wpcf7 form label {
  margin-bottom: 0.2em;
  display: inline-block;
  font-size: 1.1em;
  font-weight: bold;
}

.contact-form main .wpcf7 form p {
  margin-bottom: 0;
}

.wpcf7 form label span.red {
  color: red;
  margin-left: 1em;
  font-size: 90%;
}

.wpcf7 form select,
.wpcf7 form input,
.wpcf7 form textarea {
  width: auto;
  box-sizing: border-box;
  width: 100%;
  line-height: 1.2;
  padding: 16px 5px;
  background: #eee;
}

.wpcf7 form select[type=radio],
.wpcf7 form input[type=radio],
.wpcf7 form textarea[type=radio] {
  width: auto;
}

.wpcf7 form selectbutton,
.wpcf7 form select[type=button],
.wpcf7 form select [type=reset],
.wpcf7 form select[type=submit],
.wpcf7 form inputbutton,
.wpcf7 form input[type=button],
.wpcf7 form input [type=reset],
.wpcf7 form input[type=submit],
.wpcf7 form textareabutton,
.wpcf7 form textarea[type=button],
.wpcf7 form textarea [type=reset],
.wpcf7 form textarea[type=submit] {
  width: 30%;
  min-width: 150px;  
  text-align: center;
  background: #404040;
  color: #fff;
  border: solid 1px #404040;
}

.wpcf7 form selectbutton:hover,
.wpcf7 form select[type=button]:hover,
.wpcf7 form select [type=reset]:hover,
.wpcf7 form select[type=submit]:hover,
.wpcf7 form inputbutton:hover,
.wpcf7 form input[type=button]:hover,
.wpcf7 form input [type=reset]:hover,
.wpcf7 form input[type=submit]:hover,
.wpcf7 form textareabutton:hover,
.wpcf7 form textarea[type=button]:hover,
.wpcf7 form textarea [type=reset]:hover,
.wpcf7 form textarea[type=submit]:hover {
  background: #fff;
  color: #404040;
  transition: all 0.3s;
}

.wpcf7 form selectbutton:hover span:after,
.wpcf7 form select[type=button]:hover span:after,
.wpcf7 form select [type=reset]:hover span:after,
.wpcf7 form select[type=submit]:hover span:after,
.wpcf7 form inputbutton:hover span:after,
.wpcf7 form input[type=button]:hover span:after,
.wpcf7 form input [type=reset]:hover span:after,
.wpcf7 form input[type=submit]:hover span:after,
.wpcf7 form textareabutton:hover span:after,
.wpcf7 form textarea[type=button]:hover span:after,
.wpcf7 form textarea [type=reset]:hover span:after,
.wpcf7 form textarea[type=submit]:hover span:after {
  background-image: url(../../images/arrow_on.svg);
}

.wpcf7 form select[type=button],
.wpcf7 form input[type=button],
.wpcf7 form textarea[type=button] {
  background: #a8a8a8;
  border: solid 1px #a8a8a8;
}

.wpcf7 form select[type=checkbox],
.wpcf7 form input[type=checkbox],
.wpcf7 form textarea[type=checkbox] {
  width: auto;
}

.wpcf7 form .wpcf7-btn {
  text-align: center;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.wpcf7 form .wpcf7-btn p {
  width: 100%;
}

.wpcf7 form .wpcf7-btn p input {
  margin: 0 5px;
}

.wpcf7 form .wpcf7-btn p .wpcf7-spinner {
  display: none !important;
}

.wpcf7 form .acceptance p {
  font-size: 1.1em;
  text-align: center;
}

.wpcf7 [type="submit"] {
  cursor: auto;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: red;
  font-size: 16px;
  font-weight: bold;
  color: red;
  line-height: 1.4;
  text-align: center;
  padding: 1em;
}

/*フォームcss end*/

/* ============================================================
一覧ページ共通CSS
============================================================ */
/*カテゴリ*/
.arc-cat {
  padding: 2em 0;
}

.arc-cat ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.arc-cat ul li {
  margin: 5px;
}

.arc-cat ul li a {
  padding: 8px 16px;
  display: block;
  border: solid 1px #a8a8a8;
}

.arc-cat ul li a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transition: all 0.3s;
}

.arc-cat ul li.current-cat a {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.arc-cat .child-category-list {
  margin-top: 1em;
  background: #eee;
  padding: 1em;
}

.arc-cat .child-category-list li a {
  background: #fff;
}

.arc-cat .child-category-list li a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/*アイテムリスト*/
.arc-list {
  padding: 2em 0;
}

.arc-list .post-item{
    display: flex;
    border-bottom: solid 1px #ccc;
}
.arc-list .post-thumbnail{
    max-width: 200px;
}

.arc-list .post-item a{
    border-bottom: none!important;
}

.arc-list article {
  text-align: left;
  overflow: hidden;
  padding: 10px;
  transition: all .3s ease;
}

.arc-list article:hover {
  box-shadow: 2px 2px 20px rgba(190, 190, 189, 0.5), -2px -2px 20px rgba(255, 255, 255, 0.5);
}

.arc-list article .thumb {
  position: relative;
  text-align: center;
  margin-bottom: 2vh;
  overflow: hidden;
}

.arc-list article img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: all .3s ease;
}

.arc-list article:hover img {
  scale: 1.05;
  filter: brightness(1.2);
}

.arc-list article .descrip-wrap {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
}

.arc-list article .descrip-wrap .descrip-title {
  font-size: 1.1em;
  font-weight: bold;
  display: block;
  width: 100%;
}

/*ページネーション*/
.pagination {
  margin: 20px auto;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .nav-links .page-numbers {
  display: inline-block;
  margin-right: 20px;
  padding: 0.4em 2em;
  color: var(--color-text-main);
  border-radius: 4px;
  background: #fff;
}

.pagination .nav-links .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
}

.pagination .nav-links .prev,
.pagination .nav-links .next {
  background: transparent;
  box-shadow: none;
  color: var(--color-text-main);
}

.pagination .nav-links .prev:hover,
.pagination .nav-links .next:hover {
  color: var(--color-text-secondary);
}

.pagination .nav-links .dots {
  background: transparent;
  box-shadow: none;
}

/* ============================================================
一覧ページ個別CSS
============================================================ */


/* ============================================================
詳細ページ個別CSS
============================================================ */
/*施工実績詳細*/
.works-main {
  margin-bottom: 2vh;
}

.works-main img,
.works-images img {
  margin-bottom: 1em;
}

/*サイドナビ（newsあるとき）*/
.col-side {
  background-color: #eee;
}

.col-side h3 {
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.6em 0;
  border-bottom: dotted 1px var(--color-border);
  margin-bottom: 0.4em;
}

.col-side li {
  list-style-type: disc;
  margin-left: 2em;
  margin-bottom: 12px;
}

.col-side li::marker {
  color: #aaa;
  font-size: .8em;
}

.col-side li a {
  text-decoration: underline;
  color: var(--color-text-main);
}

.col-side li a:hover {
  color: var(--color-text-secondary);
}

/*news詳細ページ*/
.page_tag {
  display: flex;
  margin-bottom: 2em;
}

.page_tag .blog_cat{
    background: #999;
    color: #FFF;
    padding: 2px 10px;
    margin-right: 0.5em;
    border-radius: 5px;
}

.page_tag .page_time{
    font-weight: bold;
}

.page_tag .page_time {
  color: var(--color-text-secondary);
}

.page_tag .news_cat a {
  background-color: var(--color-primary);
  padding: .2em 1em;
  font-size: .8em;
  color: #fff;
  margin-right: 1em;
}

.single-news ol {
  margin: 2vh 1em;
  font-size: 0.9em;
}

.single-news ol li {
  list-style-type: decimal;
  margin: .5em 0;
}

/* ============================================================
news共通CSS
============================================================ */


.news-item .descrip-wrap span {
  color: var(--color-text-secondary);
  margin-bottom: .5em;
}

.news-item .descrip-wrap span.news_cat {
  background-color: var(--color-primary);
  line-height: 1;
  padding: 4px;
  font-size: small;
  color: var(--color-primary);
  margin-right: 16px;
}

.news-item .descrip-wrap p {
  color: var(--color-text-secondary);
}

.news-item a:hover .descrip-wrap p {
  color: var(--color-text-secondary);
}


/* ============================================================
トップページ
============================================================ */

/*トップページ動画*/
#bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/*KV*/
.kv {
  display: grid;
  place-items: center;
  height: 100dvh;
  background: rgba(22, 22, 25, 0.4);
  position: relative;
  overflow: hidden;
  /* はみ出し防止 */
}

.kv::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

/* KVスクロールテキスト */
.kv-scroll-text {
  position: absolute;
  bottom: -1.5vw;
  line-height: 1;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.kv-scroll-text-inner {
  display: flex;
  width: fit-content;
  animation: kv-scroll 40s linear infinite;
}

.kv-scroll-text-inner span {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  color: #fff;
  opacity: 0.2;
  /* 高級感を出すために少し透かす */
  white-space: nowrap;
  padding-right: 2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes kv-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* KVコンテンツ */
.kv-inner {
  position: relative;
  /* z-index: 1; */
  color: #fff;
  width: 100%;
  padding: 0 5%;
}

.kv-inner h1 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 2vh;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.kv-inner p {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 3vh;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.kv-btn-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.kv-btn-wrap .btn01,
.kv-btn-wrap .btn01-w {
  margin: 0;
}

@media (width < 768px) {
  .kv-btn-wrap {
    flex-direction: column;
    gap: 5px;
  }

  .kv-btn-wrap .btn01 a,
  .kv-btn-wrap .btn01-w a {
    width: 240px;
  }
}

/*トップページ共通CSS*/
hgroup:has(.section-title) {
  line-height: 1.1;
  font-weight: bold;
  margin-bottom: 5vh;
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap:20px;
}

hgroup .section-title {
  line-height: 1.3;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 2.8rem);

}

hgroup .section-title-en {
  font-size: clamp(6rem, 10vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  font-family: 'Poppins', sans-serif;
}

hgroup .section-title-en.whiteline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  text-stroke: 1px rgba(255, 255, 255, 0.8);
}

/* セクション共通 */
.home section {
  padding: 10vh 3vw;
}

/* Vision Section */
.sec-vision {
    background: url(../../images/top/vision.webp) no-repeat;
    background-position: right center;
    background-size: contain;
    background-attachment: fixed;
    background-color: #FFF;
}
@media (width < 768px) {
    .sec-vision {
        background-size: cover;
        background-color: rgba(255, 255, 255, 0.5);
        background-blend-mode: lighten;   
        background-position: center center;        
    }
}
.sec-vision hgroup:has(.section-title) {
  flex-direction: column;
}

.vision-text {
  flex: 1;
  max-width: 470px;
}

.vision-desc {
  line-height: 1.8;
  color: var(--color-text-sub);
}

@media (width < 768px) {
  .sec-vision {
    flex-direction: column;
    gap: 30px;
  }
}

/* Reason Section */
.sec-reason {
  position: relative;
  background: url('../../images/top/reason.webp');
  color: #fff;
}

.reason-card-wrap {
  margin-top: 5vh;
}

.reason-card-wrap img{
    margin-bottom: 10px;
}

.reason-card {
  background: #fff;
  padding: 5vh 3vw;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.reason-icon {
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--color-primary);
  margin-bottom: 1.5vh;
  display: block;
}

.reason-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1vh;
  color: var(--color-text-main);
}

.reason-card p {
  font-size: 1.4rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* Plan & Works Common Card */
.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 4vh;
  margin-bottom: 1em;
}

.image-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-card:hover img {
  transform: scale(1.1);
}

.image-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4vh 18% 4vh 5%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.image-card-content::after {
    content: "＞";
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    padding-left: 1px;
    box-sizing: border-box;
    right: 5%;
    bottom: 10px;    
}

.sec-works .image-card-content {
    background: #FFF;
    color: #333;
    padding: 2vh 18% 2vh 5%;    
}
.sec-works .image-card-content::after{
    border: 1px solid #333;
    background: #333;
}
.image-card-title {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 5px;
}

.image-card-sub {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Works Section */
.sec-works {
  color: #fff;
  position: relative;
  background: url(../../images/top/works.webp);    
}

/* Works List Simple (Archive) */
.works-list-simple {
  margin: 4vh 0;
  border-top: 1px solid var(--color-border);
}

.works-item-simple a {
  display: flex;
  align-items: center;
  padding: 1.5vh 1vw;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
  gap: 20px;
  color: var(--color-text-main);
  text-decoration: none;
}

.works-item-simple:hover {
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding-left: 1.5vw;
}

.works-item-simple .works-info {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 140px;
  font-family: 'Poppins', sans-serif;
}

.works-item-simple .works-info .date,.works-item-simple .date {
  font-size: 1.3rem;
  color: #888;
  margin-left: 10px;
}

.works-item-simple .works-info .cat,.works-item-simple .cat {
  background: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 2px;
}

.works-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.works-item-simple .works-title {
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  font-weight: 700;
  margin: 0;
  color: var(--color-text-main);
}

.works-item-simple .works-excerpt {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.works-item-simple i {
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.works-item-simple a:hover i {
  transform: translateX(5px);
  color: var(--color-primary);
}

@media (width < 768px) {
  .works-item-simple a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 2vh 0;
  }

  .works-item-simple .works-info {
    min-width: auto;
    gap: 10px;
  }
}

/* Company Section */
.sec-company {
  background-color: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 800px;
  display: flex;
  align-items: center;
}

/* 無限スライダーの外枠 */
.infinite-slider-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: skewY(-10deg) scale(1.3);
  rotate: 10deg;
  display: flex;
  justify-content: center;
  gap: 2vw;
  opacity: 0.9;
}

/* スライダーの列 */
.slider-column {
  display: flex;
  flex-direction: column;
  will-change: transform;
  height: max-content;    
}

.slider-column.scrolling-up {
  animation: scroll-up 60s linear infinite;
  /* 速度を少し落としてより優雅に */
}

.slider-column.scrolling-down {
  animation: scroll-down 70s linear infinite;
}

.image-list {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  padding-bottom: 2vh;
  /* リスト内のgapと同じ値を末尾にも追加して計算を合わせる */
}

.image-list img {
  width: 350px;
  height: 240px;
  object-fit: cover;
  filter: grayscale(0.3);
  border-radius: 4px;
}

/* アニメーション定義 */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

/* テキストコンテンツの重ね合わせ */
.sec-company .contentWrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.sec-company .section-title-en{
    filter: drop-shadow(0px 0px 2px #000);
}
.sec-company .section-title{
    text-shadow: 2px 2px 10px #333 ,
    -2px 2px 10px #333 ,
    2px -2px 10px #333 ,
    -2px -2px 10px #333;      
}

.company-item.main-text {
  padding: 6vh 5vw 6vh 0;
  max-width: 650px;
  margin-top: 4vh;
  border-radius: 4px;
    text-shadow: 2px 2px 10px #333 ,
    -2px 2px 10px #333 ,
    2px -2px 10px #333 ,
    -2px -2px 10px #333;  
}

.company-item.main-text .vision-h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2vh;
  line-height: 1.4;
}

.company-item.main-text p {
  line-height: 1.8;
  margin-bottom: 1em;
}
.sec-company .btn01-w a{
    box-shadow: 0px 0px 3px #333;
}
.sec-company .btn01-w a:hover{
    text-shadow: none;
}

@media (width < 768px) {
  .sec-company {
    min-height: 600px;
  }

  .infinite-slider-container {
    transform: skewY(-10deg) scale(1.5);
    gap: 10px;
  }

  .image-list img {
    width: 180px;
    height: 120px;
  }

  .company-item.main-text {
    padding: 40px 20px;
  }
}
/* Topics Section */
.sec-topics {
  color: #fff;
  position: relative;
  background: url(../../images/top/works.webp);    
}

.topics-box{
    width: 100%;
    height: 150px;
    overflow-y: scroll;
    background: #FFF;
}
.topics-box ul{
    padding: 10px 20px;
}
.topics-box ul li{
    display: flex;
    border-bottom: dotted 1px #ccc;
    padding: 5px;
}

.topics-box .news-item .news-date,.topics-box .news-item a{
  color: var(--color-primary);
  padding: 0 0.5em;
}
.topics-box .news-item .news-date{
    font-weight: bold;
}

@media (width < 768px) {
    .topics-box ul li{
        display: block;
    }
    .topics-box ul li span,.topics-box ul li span a{
        display: block;
    }
}
/* Contact Section */
.sec-contact {
  text-align: center;
}

.contact-banner {
  background: #cccccc;
  padding: 6vh 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 6vh auto;
}

.contact-banner a{
    display: inline-block;
    background: #333;
    padding: 1em 4em;
    margin: 1em auto;
    font-size: 1.9rem;
    color: #fff;
    border-radius: 8px;
    box-shadow: 5px 5px 5px #999;
}

.contact-banner-text h3 {
    font-size: clamp(1.8rem, 2.6vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFF;
}
.contact-banner 
.contact-info {
  display: flex;
  gap: 40px;
  font-size: 2.2rem;
}

.contact-info img{
    position: relative;
    margin-right:10px;
}

.contact-tel {
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;    
}
.contact-tel img{
    width: 30px;
}

.contact-tel i {
  margin-right: 10px;
}

.contact-info p {
  margin-bottom: 5px;
}



.contact-info p .fa-line {
  color: #06C755;
  margin-right: 5px;
}

@media (width < 768px) {
  .contact-banner {
    flex-direction: column;
    gap: 4vh;
  }

  .contact-info {
    flex-direction: column;
    gap: 2vh;
  }
}

/* ============================================================
SP
============================================================ */
@media (width<768px) {
  .col-1 {
    width: 96%;
  }

  .contentWrap {
    width: 100%;
    margin: 0 auto;
  }

  .sp_no {
    display: none !important;
  }

  .btn a,
  .btn_w a {
    font-size: 0.9em;
  }

  .sp_flexbox02,
  .sp_flexbox03,
  .sp_flexbox04 {
    display: flex;
    flex-wrap: wrap;
  }

  .sp_flexbox01>* {
    width: 96%;
    margin: 2vh 2%;
  }

  .sp_flexbox02>* {
    width: calc(47% - 1px);
    margin: 1.5%;
  }

  .sp_flexbox03>* {
    width: calc(100%/3 - 2% - 1px);
    margin: 1%;
  }

  .sp_flexbox04>* {
    width: calc(100%/4 - 2% - 1px);
    margin: 1%;
  }

  /*列並びレイアウト*/
  .sp_col01 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .sp_col02 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sp_col03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .sp_col04 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .sp_col05 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .sp_col06 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  /*ヘッダー*/
  header {
    position: absolute;
    z-index: 99;
    inset: 0 0 auto 0;
  }

  header #header-container.cloneNav {
    display: none;
  }

  #header-container #header-inner {
    width: 100%;
    min-height: 115px;      
    padding: 10px 3vw;
    background-color: rgba(30, 30, 30, 0.9);
  }

  #header-container #header-inner .header-logo {
    margin: 0 auto;
    width: 65%;
    max-width: 280px;
    text-align: center;
  }

  #header-container #header-inner .header-logo img {
    width: 100%;
  }

  #header-container #header-inner .header-logo span {
    color: #fff;
    font-size: 1rem;
  }

  .header-tel a {
    color: var(--color-primary);
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #fff;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 100;
  }
  .header-tel img {
    width: 25px;
    padding-top: 5px;
  }
  .header-mail a {
    color: var(--color-primary);
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #fff;
    position: fixed;
    top: 50px;
    left: 5px;
    z-index: 100;
  }

  .header-tel a i,
  .header-mail a i {
    font-size: 1.9em;      
    margin-top: 4px;
  }

  .header-sns a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #fff;
    border-radius: 10px;
    position: fixed;
    top: 50px;
    right: 5px;
    z-index: 100;
  }

  .header-sns i {
    font-size: 40px;
  }

  .navbar-toggle {
    z-index: 999;
    display: block;
    width: 40px;
    height: 40px;
    padding: 9px 10px;
    position: fixed;
    right: 5px;
    top: 5px;
  }

  .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 30%));
    transition: 0.4s;
    transform-origin: center;
  }

  .navbar-toggle .icon-bar:nth-child(1) {
    translate: 0 -4px;
  }

  .navbar-toggle .icon-bar:nth-child(3) {
    translate: 0 4px;
  }

  /* クリック後の変形 */
  .navbar-toggle.active .icon-bar:nth-child(1) {
    rotate: 45deg;
    translate: 0 2px;
  }

  .navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .icon-bar:nth-child(3) {
    rotate: -45deg;
    translate: 0 -2px;
  }

  #footer-nav {
    display: none;
    z-index: 99;
    padding: 20vh 14% 10vh;
    background: rgba(30, 30, 30, 0.9);
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: auto;
  }

  #footer-nav ul.sub-menu {
    margin-bottom: .5em;
  }

  #footer-nav ul li a {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
  }

  #topcontrol a {
    width: 40px;
    height: 40px;
  }

  /*フッター*/
  .footer-contact .footer-tel {
    margin-bottom: 3vh;
  }

  footer .footer-inner .footer-bnr {
    margin: 1.2em 0 2.4em;
  }

  footer .footer-inner .footer-info nav ul li {
    width: 100%;
    margin: 0;
  }

  /*お問い合わせFORM*/
  .wpcf7 form .stepBar {
    padding: 40px 0;
  }

  .wpcf7 form .form-input {
    flex-wrap: wrap;
  }

  .wpcf7 form .form-input .form-box {
    width: 48%;
  }

  .wpcf7 form .form-input .form-box.questionnaire {
    width: 100%;
  }

  .wpcf7 form .form-input .form-box:last-of-type {
    width: 100%;
  }

  .wpcf7 form .wpcf7-btn p input {
    width: 44%;
    font-size: 0.9em;
  }

  /*一覧ページ　list*/
  .arc-list article {
    margin-bottom: 3vh;
  }

  .arc-list article img {
    aspect-ratio: 16/9;
  }

  /*一覧カテゴリ*/
  .arc-cat {
    padding-bottom: 1em;
    font-size: small;
  }

  /*ページネーション*/
  .pagination {
    font-size: 0.9em;
  }

  .pagination .nav-links .page-numbers {
    padding: 8px 16px;
    margin-right: 8px;
  }

  /*ブログページ*/
  .col-2 {
    flex-direction: column;
    width: 94%;
  }

  .col-main {
    width: 100%;
    padding: 4% 0;
  }

  .col-side {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2em;
    margin-top: 2em;
  }

  .news-item .news-inner {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }

  /*トップページ*/
  .kv {
    height: 80vh;
  }

  .kv h1 {
    margin-top: 53px;
  }
}

/* ============================================================
TB・PC
============================================================ */
@media (width>=768px) {

  a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
  }

  .contentWrap {
    max-width: 1100px;
    margin: 0 auto;
  }

  .pc_no {
    display: none !important;
  }

  #nav-btn {
    display: none;
  }

  /*列並びレイアウト*/
  .pc_flex {
    display: flex;
    justify-content: center;
  }

  .pc_flex>* {
    margin: 1%;
  }

  .pc_flexbox02 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox02>* {
    width: calc(48% - 1px);
    margin: 1%;
  }

  .pc_flexbox03 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox03>* {
    width: calc(100%/3 - 4% - 1px);
    margin: 1%;
  }

  .pc_flexbox04 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox04>* {
    width: calc(100%/4 - 2% - 1px);
    margin: 1%;
  }

  /*列並びレイアウト*/
  .pc_col02 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pc_col03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pc_col04 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .pc_col05 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .pc_col06 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  /*ヘッダー*/
  header {
    position: absolute;
    width: 100%;
    z-index: 99;
    inset: 0 0 auto 0;
  }

  #header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: transparent;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, background-color 0.4s ease;
    transform: translateY(0);
    opacity: 1;
  }

  /* スクロール後に付与されるクラス */
  #header-container.is-show {
    position: fixed;
    z-index: 999;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    opacity: 1;
  }

  /* スクロール停止後に自動で隠す状態 */
  #header-container.is-idle-hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  /* スクロール中かつ、まだ表示位置に達していない時の待機状態 */
  #header-container.is-ready {
    position: fixed;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  #header-container #header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3vw;
    transition: padding 0.4s ease;
  }

  #header-container.is-show #header-inner {
    padding: 10px 3vw;
    /* スクロール時は少しコンパクトに */
  }


  #header-container #header-inner .header-logo {
    margin: 0 auto 0 0;
    width: 260px;
    text-align: center;
  }

  #header-container #header-inner .header-logo span {
    font-size: 1.2rem;
    color: #fff;
    margin: .5em 0;
    display: block;
  }

  .header-righttop {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
  }

  .header-tel span {
    display: flex;
    align-items: center;      
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 4rem);
  }
    .header-tel span img{
        position: relative;
        top: 3px;
    }
  .header-tel i {
    font-size: .6em;
    vertical-align: .2em;
    margin-right: .2em;
  }

  #gnav-container {}

  #gnav-container .gnav {
    max-width: 1100px;
    margin: 0 auto;
  }

  #gnav-container .gnav .nav {
    display: flex;
    width: 100%;
  }

  #gnav-container .gnav .nav>li {
    text-align: center;
    white-space: nowrap;
    flex-grow: 1;
    padding: 0 5px;
    position: relative;
  }

  #gnav-container .gnav .nav>li>a {
    display: block;
    padding: 5px;
    font-size: clamp(1vw, 1.3vw, 1.6rem);
    font-weight: bold;
    color: #fff;
  }

  #gnav-container .gnav .nav>li>a:hover {
    color: #eee;
  }

  #gnav-container .gnav .nav>li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition:
      opacity 0.3s ease-out,
      transform 0.3s ease-out,
      visibility 0.3s;
    z-index: 10;
    background-color: #fff;
    box-shadow: 2px 2px 20px rgba(190, 190, 190, 0.5), -2px -2px 20px rgba(255, 255, 255, 0.5);
    padding: 10px;
  }

  #gnav-container .gnav .nav>li:hover .sub-menu,
  #gnav-container .gnav .nav>li:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #gnav-container .gnav .nav li .sub-menu li a {
    display: block;
    padding: 5px;
    font-size: 1.2rem;
    color: var(--color-primary);
  }

  #gnav-container .gnav .nav li .sub-menu li a:hover {
    color: var(--color-secondary);
  }

  /*フッターcontact*/
  .footer-contact>div {
    padding: 5vh 3vw;
    max-width: 920px;
    display: flex;
    justify-content: center;
  }

  .footer-contact>div .footer-mail {
    margin-left: 2em;
  }

  /*フッター*/
  footer .footer-inner {
    padding: 4vh 3vw;
  }

  footer .footer-inner .footer-info .footer-logo {
    margin: auto 20px auto 0;
  }

  footer .footer-inner .footer-info nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer .footer-inner .footer-info nav ul {
    text-align: left;
    margin: 0 2em;
  }

  /*ブログページ*/
  .col-2 {
    flex-direction: row;
  }

  .col-main {
    width: 70%;
    padding: 2% 4% 2% 0;
  }

  .col-side {
    width: 30%;
    padding: 3vw;
  }

  /* トップページ */
  hgroup:has(.section-title) {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }

  hgroup .section-title {
  }

}

/* ============================================================
TB
============================================================ */
@media (768px <=width <=1100px) {
  footer .footer-inner .footer-info nav ul {
    margin: 0;
  }
}