@charset "UTF-8";

/* ==================================
  debug
================================== */
.header{
  /* display: none !important; */
}
.heiidn{
  display: none !important;
}
html .logged-in #wpadminbar{
  display: none;
}
html{
  margin-top: 0 !important;
}

/* body.logged-in{
  margin-top: 5px;
  border-top: 1px solid #000;
}
body.logged-in .header:not(.is-top) .header_inner{
  top: 35px;
} */

.debug{
  display: none;
  position: fixed;
  bottom: 5px;
  left: 5px;
  width: 15em;
  background-color: #000;
  text-align:center;
  font-size:12px;
  color:#fff;
  padding:10px;
  z-index:100"
}
html .logged-in .debug{
  display: block;
}


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

:root{
  /* Base Font Size 1.0rem = 10px */
  font-size: 10px;

  /* フォントカラー */
  --font-primary: #B5B5B6;       /* 本文（デフォルト） */
  --font-wht: #fff;      /* 背景がグレーの時の本文 */
  --font-lightgry: #AAABAB;      /* 本文（グレー） */

  --hover: #ccc;

  --boder-c: #B5B5B6;
  --bg-main: #fff;    /* 全体の背景 */
  --bg-a: #434343; /* 背景A */
  --bg-b: #EDEDED; /* 背景B */
  --bg-c: #707070; /* 背景C */

  --ff: "Noto Sans JP", sans-serif;
  --ff-en: "Jost", sans-serif;
  --ls-en: 0.08em;

    --wrapper: 1180px;          /* .wrapper の最大幅 */


}
/* spのときは、全体的にフォントサイズを下げる */
@media screen and (max-width: 767px){
    :root{
        /* font-size: 8.75px; */
        font-size: 10px;
    }
}
/* 320対応（374以下は、ルートベースフォントサイズを9pxに） */
@media screen and (max-width: 374px){
    :root{
        font-size: 9px;
    }
}


body {
  font-family: var(--ff);
  font-size: 1.6rem;
  line-height: 1.8;
  position: relative;
  color: var(--font-primary);
}
img,
iframe{
  max-width: 100%;
  width: auto;
  height: auto;
}

a,
a:hover,
a:hover img {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}
a:hover img{opacity: 0.9;}
ul,ol{
  padding-inline-start: 0;
  list-style-position: inside;
}

main{
  width: 100%;
  overflow: hidden;
}
.wrap1050,
.wrapper{
  max-width: var(--wrapper);
  width: 92.1875%;
  margin-inline: auto;
}
/* header.wrapper{
  width: 100%;
  padding-left: 1rem;
} */
.wrap1050{
  max-width: 1050px;
}
.wrapper1180{
  max-width: 1180px;
  margin-inline: auto;
}

.site-main > .wrapper:nth-of-type(1){
  padding-top: 20px;
}


.full-bleed {

}
@media screen and (max-width: 767px) {
  .full-bleed {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
  }
  
}



.item_container_r,
.item_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.item_container_r{
  flex-direction: row-reverse;
}

.itembox02{width: 48%;}
.itembox03{width: 30%;}

.pc_case{display: block;}
.sp_case{display: none;}

.sec{padding-block: 60px;}
.mb20{margin-bottom: 20px;}
.mb30{margin-bottom: 30px;}
.mb1em{margin-bottom: 1em;}
.mb50{margin-bottom: 50px;}
.mb70{margin-bottom: 70px;}
.font_s{font-size: 1.4rem!important;}

@media (max-width: 767px) {
  .pc_case{display: none;}
  .sp_case{display: block;}
  .itembox02{width: 100%;}
  .itembox03{width: 47%;}
  .sec{padding-block: 40px;}
}



/* ==============================
    TOP 共通設定
=============================== */
.sec{
  padding-block: 70px;
}
.mb20{margin-bottom: 20px;}
.mb30{margin-bottom: 30px;}
.mb1em{margin-bottom: 1em;}
.mb70{margin-bottom: 70px;}
.gry_text{color: var(--font-lightgry)!important;}


/* パンくずリスト */
.breadcrumb {
  font-size: 1.4rem;
  margin-bottom: 100px;
}
.breadcrumb ol,
.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.breadcrumb li::after {
  content: ">";
  margin-left: .5em;
  color: #aaa;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  text-decoration: none;
  color: var(--font-primary);
}

.breadcrumb li:last-child {
  color: var(--font-primary); /* 最後の要素はグレー */
}

/* ページごとのパンくず下の空き */
.medical-main .breadcrumb {
  margin-bottom: 70px;
}
.works-main .breadcrumb {
  margin-bottom: 100px;
}
.company-main .breadcrumb {
  margin-bottom: 70px;
}
.news-main .breadcrumb {
  margin-bottom: 120px;
}
.news_detail .breadcrumb {
  margin-bottom: 72px;
}
.contact-main .breadcrumb {
  margin-bottom: 100px;
}
.recruit-main .breadcrumb {
  margin-bottom: 94px;
}
.page-main .breadcrumb {
  margin-bottom: 100px;
}



/* タイトル */
.title_base_en{
  font-family: var(--ff-en);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: var(--ls-en);
  margin-bottom: 10px;
}
.title_base,
.title_base_wht{
  font-size: 4.0rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 50px;
}
.title_base_wht{
  color: var(--font-wht);
}
.title_base02{
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 50px;
}
@media (max-width: 767px) {
  .title_base,
  .title_base_wht{
    font-size: 3.2rem;
  }
  .sec{
    padding-block: 40px;
  }
}

/* .first_view */
/* .first_view{
  max-width: 1330px;
  width: 92.1875%;
  margin-inline: auto;
} */
.support span.title_base_en{
  display: block;
}

/* 背景 */
.theme,
.flow{
  background: var(--bg-a);
}
.work{
  background: var(--bg-b);
}

/* .support トータルコンサルティング */
.support .title_base{
  font-size: 5.0rem;
}
.support p{
  color: var(--font-lightgry);
  text-align: justify;
}
.support .itembox02:first-child{
  width: 55%;
}
.support .itembox02:last-child{
  width: 40%;
}
@media (max-width: 767px) {
  .support .title_base{
    font-size: 3.6rem;
  }
  .support .itembox02:first-child,
  .support .itembox02:last-child{
    width: 100%;
  }
  .support .itembox02:first-child{
    margin-bottom: 30px;
  }
}

/* .theme よくある課題 */
.theme{
  color: var(--font-wht);
}

.theme .theme_item:first-child,
.flow .item_topflow:first-child{
  width: 35%;
}
.theme .theme_item:last-child,
.flow .item_topflow:last-child{
  width: 65%;
}
.swiperThumbnailOnly {
  width: 100%;
  margin: 70px auto 0;
}

@media (max-width: 767px) {
  .theme .theme_item:first-child,
  .theme .theme_item:last-child,
  .flow .item_topflow:first-child,
  .flow .item_topflow:last-child{
    width: 100%;
  }
}

/* 選ばれる理由 */
.subtitle_base{
  display: flex;
  align-items: center;
  font-size: 2.0rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 25px;
  min-height: 4em;
  padding: 10px 0;
  word-break: break-word;
}
.item_reason_num{
  position: absolute;
  top: -85px;
  right: 20px;
  color: var(--font-lightgry);
  font-family: var(--ff-en);
  font-size: 8.0rem;
  font-weight: 300;
  letter-spacing: var(--ls-en);
}
.reason .title_base02{
  margin-bottom: 80px;
}
.reason .itembox03{
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #AAABAB;
  border-radius: 30px;
  width: 31%;
  padding: 40px 25px 30px;
}
.reason_text{
  border-top: 1px solid #AAABAB;
  text-align: justify;
  font-size: 1.6rem;
  padding-top: 25px;
}

@media (max-width: 767px) {
  .reason .itembox03{
    width: 100%;
    margin-bottom: 60px;
  }

}

/* .work 医院建築実例 */
.work .wrapper{
  position: relative;
}
.bgtext_work{
  position: absolute;
  top: -94px;
  right: -20px;
  color: #fff;
  font-family: var(--ff-en);
  font-size: 15.0rem;
  font-weight: 200;
  line-height: 1.0;
  letter-spacing: var(--ls-en);
}
.work .item_container,
.work_sub .item_container{
  margin-bottom: 70px;
}
.work .itembox03,
.work_sub .itembox03,
.news_archive .itembox03{
  margin-bottom: 45px;
}
.recruit_mood .itembox03{
  margin-bottom: 30px;
}
.work .itembox03 img,
.work_sub .itembox03 img,
.news_archive .itembox03 img,
.recruit_mood .itembox03 img{
  display: block;
  border-radius: 30px;
  margin-bottom: 1em;
}
.btn_work_whten,
.btn_work_wht{
  display: block;
  background: #fff;
  max-width: 510px;
  width: 90%;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 80px;
  letter-spacing: 0.08em;
  margin-inline: auto;
}
.btn_work_whten{
  font-family: var(--ff-en);
  letter-spacing: var(--ls-en);
  margin-bottom: 32px;
}
.btn_work_whten:hover,
.btn_work_wht:hover{
  background: var(--bg-a);
  color: #fff;
}
@media (max-width: 767px) {
  .bgtext_work{display: none;}
}

/* .flow 医院建築の流れ */
.flow{
  position: relative;
}
.bgtext_flow{
  position: absolute;
  left: -.6em;
  top: 2.1em;
  font-family: var(--ff-en);
  font-size: 15.0rem;
  font-weight: 200;
  line-height: 1;
  color: #363636;
  transform: rotate(-90deg);
}
.item_flowbg{
  box-sizing: border-box;
  position: relative;
  background: #939393;
  border-radius: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 30px;
}
.item_flowbg::after{
  content: "";
  position: absolute;
  bottom: -20px;
  left: 10%;
  border: 6px solid transparent;
  border-top: 7px solid #fff;
}
.item_flowbg:last-child:after{
  display: none;
}
.flow dl dt,
.flow dl dd{
  color: #fff;
  font-size: 1.8rem;
  font-weight: 400;
}
.flow dl dt{
  width: 20%;
}
.flow dl dt img{
  display: block;
  width: 80%;
  margin-inline: auto;
}
.flow dl dd{
  width: 80%;
  border-left: 1px solid #fff;
  line-height: 80px;
  padding-left: 30px;
}

@media (max-width: 767px) {
  .bgtext_flow{display: none;}
  .flow dl dt img{width: 100%;}
  .flow dl dd{
    line-height: 1.8;
    padding: 10px 10px 10px 30px;
  }
}


/* .vision 医院建築の想い */
.vision_img{
  display: block;
  max-width: 710px;
  width: 100%;
  margin-inline: auto;
}
.title_topvision{
  font-size: 6.0rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 45px;
}
.title_topvision span{
  display: block;
  font-family: var(--ff-en);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: var(--ls-en);
}
.vision .itembox03{
  position: relative;
}
/* .vision .itembox03:first-child::before,
.vision .itembox03:nth-child(2)::before{
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 1px;
  height: 100%;
  background: var(--bg-b);
} */
.vision .itembox03 p{
  text-align: justify;
}


.vision .itembox03{
  width: 30%;
}


@media (max-width: 767px) {
  .vision .itembox03{
    width: 100%;
    margin-bottom: 70px;
  }
  .vision .itembox03:first-child::before,
  .vision .itembox03:nth-child(2)::before{
    display: none;
  }
  .vision_img{margin-bottom: 60px;}
}

/* .ft_contactフッターお問い合わせ */
.title_ftcontact{
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 70px;
}
.title_ftcontact span{
  display: block;
  font-family: var(--ff-en);
  font-size: 8.0rem;
  font-weight: 300;
}
@media (max-width: 767px) {
  .ft_contact .itembox03{
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ==============================
  下層ページ
=============================== */
/* タイトル */
.title_other{
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 30px;
}
.subtitle_other{
  font-size: 1.8rem;
  font-weight: 500;
}
.border_b{
  border-bottom: 1px solid var(--bg-c);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.title_itembox{
  font-family: var(--ff-en);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: var(--ls-en);
}
.title_itembox span{
  display: block;
  color: var(--font-lightgry);
  font-size: 1.4rem;
  font-weight: 400;
}

/* old_title */
.subpage_title{
  position: relative;
  text-align: center;
  font-family: var(--ff-en);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 50px;
}
.subpage_title::after{
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background:var(--bg-a);
}
.subpage_maintitle{
  text-align: center;
  font-size: 1.6rem;
}

@media (max-width: 767px) {

}

#other_works .item_container,
.news_archive .item_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  gap: 5%;
}



/* ==============================
    医療建築
=============================== */
#medical_msgArea{
  margin-top: 60px;
  margin-bottom: 60px;
}
.medical_msg:last-child{
  width: 60%;
  padding-right: 5%;
  border-right: 1px solid var(--bg-c)
}
.medical_msg:first-child{
  width: 40%;
  padding:2.0em 0 0 5%;
}
.medical_msg p{
  line-height: 2.0;
}
ul.medical_msg li{
  position: relative;
  list-style: none;
  line-height: 1.4;
  padding-left: 30px;
  margin-bottom: 1em;
}
ul.medical_msg li::before{
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 11px;
  background: url(../images/icon_check.svg) no-repeat;
}

@media (max-width: 767px) {
  #medical_msgArea{margin-bottom: 40px;}
  .medical_msg:first-child,
  .medical_msg:last-child{
    width: 100%;
    padding: 0;
  }
  .medical_msg:last-child{
    border-right: none;
    margin-bottom: 30px;
  }
  #medical_select .item_container{
    flex-direction: column;
  }
  #medical_select .select_item{
    width: 100%;
  }
  .select_item .select_num{
    text-align: left;
  }
}


/* 課題解決方法 */
#kaiketsu{
  margin: 110px auto 100px;
}
#kaiketsu .item_container_r{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: flex-start;
  width: 100%;
  gap: 10%;
}
.medical_kaiketsu:first-child{
  width: 55%;
}
.medical_kaiketsu:last-child{
  width: 35%;
  padding-top: 100px;
}
ul.list_underline li{
  list-style: none;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-c);
}
@media (max-width: 767px) {
  .medical_kaiketsu:first-child,
  .medical_kaiketsu:last-child{
    width: 100%;
  }
  .medical_kaiketsu:first-child{
    margin-bottom: 30px;
  }
}

/* 選ばれる理由 */
#medical_select{
  background: var(--bg-b);
  padding: 75px;
}
#medical_select .item_container{
  margin-top: 80px;
}
.select_item{
  width: 29%;
}
.select_item:nth-child(2){
  padding-top: 60px;
}
.select_item:nth-child(3){
  padding-top: 120px;
}
.select_num{
  color: #AAABAB;
  text-align: right;
  font-size: 6.0rem;
  font-weight: 100;
  letter-spacing: 0.07em;
  line-height: 1.0;
  margin-bottom: 20px;
}

@media (max-width: 550px) {
  #medical_select {
    padding: 35px;
  }
}



/* ページャー */
.post_pager{
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 800px;
  padding: 0;
  margin: 40px auto 0;
}
.post_pager li a{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-decoration: none;
  color: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  padding: 10px 16px;
}
.post_pager li a::before,
.post_pager li a::after{
  content: "｜";
  opacity: .6;
}
.post_pager li a::after{
  margin-left: .2em;
}
.post_pager li a::before{
  margin-right: .2em;
}

.post_pager li a:hover,
.post_pager li a:focus-visible{
  color: var(--font-lightgry);
  outline: none;
}
.post_pager li a:hover::before,
.post_pager li a:hover::after,
.post_pager li a:focus-visible::before,
.post_pager li a:focus-visible::after{
  opacity: 1;
}

@media (max-width: 767px) {
}

/* ドクターの声 */
#medical_voice{
  padding: 130px 0 120px;
}
#medical_voice h2{
  font-size: 1.8rem;
  font-weight: 400;
}
#medical_voice .swiper {
  position: relative;
  width: 100%;
  padding: 40px 0; /* 上下に余白 */
}
#medical_voice .swiper-wrapper{
  margin-bottom: 100px;
}
#medical_voice .swiper-slide {
  width: 29%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.6;
}
#medical_voice .swiper-slide img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
/* 中央スライドだけ大きく＆はっきり */
#medical_voice .swiper-slide-active {
  transform: scale(1.2);
  opacity: 1;
  z-index: 2;
}
.btn_more{text-align: center;}
.btn_more span{
  display: inline-block;
  text-align: center;
}
.btn_more span::before,
.btn_more span::after{
  content: "｜";
  opacity: .6;
}
.btn_more span::after{
  margin-left: 1em;
}
.btn_more span::before{
  margin-right: 1em;
}
/* Swiper ページネーション */
/* -- ページネーションを横並び＆中央寄せ -- */
.mySwiper .swiper-pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  padding-top: 40px;
}

/* -- バレット（実体）を長方形にする -- */
.mySwiper .swiper-pagination-bullet{
  display: inline-block;
  width: 54px !important;
  height: 3px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: var(--bg-a) !important;
  opacity: 0.25 !important;
  border: none !important;
  transform: none !important;
  transition: opacity .25s, transform .25s;
}

/* -- アクティブ時の見た目 -- */
.mySwiper .swiper-pagination-bullet-active{
  opacity: 1 !important;
  transform: scale(1.06) !important; /* 少し拡大させる（お好みで） */
}

@media (max-width: 767px) {
}

/* ==============================
    医院建築の流れ
    page-medical.php
=============================== */
#medical_flow{
  background: var(--bg-b);
  padding: 90px 0;
}

.medical_flowbox:first-child{
  width: 40%;
}
.medical_flowbox:last-child{
  width: 60%;
}
dl.medical_flowbox > div{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-c);
}
dl.medical_flowbox dt,
dl.medical_flowbox dd{
  font-size: 1.8rem;
  font-weight: 400;
}
dl.medical_flowbox dt{
  width: 70%;
  display: flex;
  align-items: center;
  padding: 20px 10px;
}
dl.medical_flowbox dd{
  position: relative;
  width: 30%;
  padding: 20px 10px 20px 30px;
  margin: 10px 0;
}
dl.medical_flowbox dd::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  background: var(--bg-a);
  width: 1px;
  height: 80%;
}

.flow_icon{
  display: block;
  width: 40px;
  height: 40px;
  margin-right: 30px;
}

@media (max-width: 767px) {
}

/* ==============================
    施工事例一覧
=============================== */
.work_sub .itembox03 img{
  border-radius: 30px;
}
.work_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 100px 0;
  white-space: nowrap;
  /* overflow-x: scroll; */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.work_nav::-webkit-scrollbar {
  display: none;
}
.work_nav li,
.work_nav li:visited{
  color: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
}
.work_nav li:hover{
  color: var(--font-lightgry);
}
.work_nav li:first-child::after{
  content: "/";
  padding-left: 30px;
  /* margin-right: 1em; */
}
.work_nav li:last-child::after{
  content: "";
  margin-left: 10px;
  margin-right: 10px;
}
.peager{
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 auto .7em;
}
.peager li{
  box-sizing: border-box;
  border: 1px solid var(--font-primary);
  text-align: center;
  line-height: 2.0;
  padding-inline: 0.7em;
}
.peager li.active{
  background: var(--bg-b);
}

.peager li.prev,
.peager li.next{
  border: none;
}
.peager li.prev::before,
.peager li.next::before {
  content: "";
  display: inline-block;
  border: solid var(--font-lightgry);
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: rotate(135deg);
}
.peager li.next::before {
  transform: rotate(-45deg);
}
.peag_count{
  text-align: center;
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .work_nav {
    gap: 20px;
  }
  .work_nav::-webkit-scrollbar {
    display: none;
  }
  .work_nav li,
  .work_nav li:visited{
    color: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 400;
  }


}

/* ==============================
    施工事例詳細
=============================== */


.worksData {
    padding-bottom: 60px;
}
.worksData h1 {
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 2em;

}
.worksData h1 span {
    border-bottom: 1px solid #898989;
}
.worksData p {
    margin: 0;
    padding: 5px 0;
}
.worksData .data {
    padding-top: 30px;
}
.worksData p {
    margin: 0;
    padding: 5px 0;
}
.worksData .data dl {
    margin: 0;
    padding: 5px 0;
    display: flex;
    font-size: 14px;
}
.worksData .data dl dt {
    margin: 0;
    padding: 0;
    width: 120px;
    position: relative;
}
.worksData .data dl dt:after {
    content: "/";
    position: absolute;
    top: 0;
    right: 0;
}
.worksData .data dl dd {
    margin: 0;
    padding: 0 0 0 10px;
}

#entry p, .entry p {
    font-size: 16px;
    line-height: 1.8;
    padding: 1.2% 0;
    margin: 0;
    text-align: justify;
}
.bottomnav {
    clear: both;
    padding-top: 80px;
    font-size: 16px;
    font-weight: 300;
    margin-top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
bottomnav .back {
    width: 33.33333%;
}
.bottomnav .goback {
    width: 33.33333%;
    text-align: center;
}
.bottomnav .next {
    width: 33.33333%;
    text-align: right;
}

/* ==============================
    会社概要
=============================== */
.vision_mes{
  justify-content: space-between;
  /* justify-content: center; */
  gap: 35px;
  margin-bottom: 100px;
}
.vision_mes_img{
  max-width: 600px;
  flex: 1 1 47%;
}
.vison_mes_text{
  max-width: 540px;
  flex: 1 1 45%;
}
.vision .itembox03{
  position: relative;
  /* width: calc(100% - (95px 2) / 3); */
  width: 32%;
}
.vision .itembox03:nth-child(1){
  padding-right: 47.5px;
}
.vision .itembox03:nth-child(2){
  width: 36%;
  padding-inline: 47.5px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}
.vision .itembox03:nth-child(3){
  padding-left: 47.5px;
}

.vision .subpage_subtitle_sub{
  display: block;
  font-family: var(--ff-en);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: var(--ls-en);
  margin-bottom: 1em;
  margin-top: 1em;
}
.vision .subpage_subtitle{
  margin-bottom: 30px;
}


/* .vision .itembox03:first-child::before,
.vision .itembox03:nth-child(2)::before{
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 1px;
  height: 100%;
  background: var(--bg-c);
} */
.vision .itembox03 p{
  text-align: justify;
}

.item_combox:first-child{
  width: 35%;
}
.item_combox:last-child{
  width: 65%;
}
.bace_table{
  border-collapse:collapse;
}
.bace_table tr{
  border-bottom: 1px solid var(--bg-c);
}
.bace_table th,
.bace_table td{
  text-align: left;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 1em 0;
}
.bace_table th{
  width: 10em;
  vertical-align: top;
}
.bace_table td{
  width: calc(100% - 10em);
}

.title_com_career01,
.title_com_career02,
.title_com_career03{
  line-height: 1.8;
  letter-spacing: 0.1em;
}
.title_com_career01{
  letter-spacing: 0;
}
.title_com_career01,
.title_com_career03{
  font-size: 1.6rem;

}
.title_com_career02{
  font-size: 3.5rem;
  font-weight: 500;
}
.title_com_career03{
  font-family: var(--ff-en);
  font-weight: 300;
}

.bace_dl{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.bace_dl dt,
.bace_dl dd{
  display: inline-block;
  font-size: 1.6rem;
  padding: 0.5em 0;
}
.bace_dl dt{
  width: 7em;
  font-weight: 600;
}
.bace_dl dd{
  width: calc(100% - 7em);
}
.border_btmline{
  border-bottom: 1px solid var(--bg-c);
  padding-bottom: 50px;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .item_container.vison_point3{
    flex-direction: column;
  }
  .item_container.vision_mes{
    justify-content: center;
  }
  .item_container.vison_point3 .itembox03{
    width: 100%;
    padding: 2em 0;
    margin-bottom: 0;
  }
  .vision .itembox03:nth-child(1){
  }
  .vision .itembox03:nth-child(2){
    border-left: none;
    border-right: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }
  .vision .itembox03:nth-child(3){
  }


  .vision .itembox03:first-child::before,
  .vision .itembox03:nth-child(2)::before{
    display: none;
  }
  .vision_img{margin-bottom: 60px;}

  .item_combox:first-child,
  .item_combox:last-child{
    width: 100%;
  }
  .bace_table th{
    width: 7em;
  }
  .bace_table td{
    width: calc(100% - 7em);;
  }
}

/* ==============================
    NEWS
=============================== */
.news_archive .itembox03{
  margin-bottom: 45px;
}
.news_archive .itembox03 img{
  display: block;
  border-radius: 30px;
  margin-bottom: 1em;
}

/* 詳細ページ */
.news_titleArea{
  border-bottom: 1px solid var(--bg-c);
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.news_detail time{
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2em;
}
.news_category{
  border: 1px solid var(--bg-c);
  display: inline-block;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.0;
  padding: 6px 25px;
  margin-right: 45px;
}
.title_news{
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 400;
}
.news_story p{
  margin-bottom: 1em;
}
.news_story img{
  display: block;
  width: 100%;
  margin-bottom: 1em;
}

/* ナビゲーション */
.news_nav{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  margin: 70px 0;
}
.news_nav .newsnav_back{
  text-align: center;
}
.news_nav .newsnav_left{
  flex: 1;
  text-align: left;
  font-size: 1.5rem;
}
.news_nav .newsnav_center{
  text-align: center;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 0 30px;
}
.news_nav .newsnav_right{
  flex: 1;
  text-align: right;
  font-size: 1.5rem;
}
.news_nav a,
.news_nav a:visited{
  text-decoration: none;
  color: var(--font-primary);
}
.news_nav a:hover{
  color: var(--font-lightgry);
}

@media (max-width: 767px) {

}

/* ==============================
    contact
=============================== */
.contact,
.entry_form{
  max-width: 780px;
  width: 92.1875%;
  margin-inline: auto;
}
.form_group{
  margin-bottom: 1.5em;
}
.form_group label,
.title_group_labelen{
  display: block;
  font-family: var(--ff-en);
  font-size: 2.0rem;
  font-weight: 300;
  margin-bottom: .5em;
}
.title_group_label,
.form_group label.sub_formtitle{
  font-family: var(--ff);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .5em;
}
.name_wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.input_field {
  background-color: #E8E8E8;
  padding: 8px;
  border: 1px solid var(--bg-b);
  transition: background-color 0.3s;
  flex: 1;
  width: 100%;
  padding: 1.0em;
  border-radius: 0.5em;
}
/* チェックボックス */
/* ラジオボタン */
.checkbox_group,
.radio_group{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.checkbox_group label,
.radio_group label,
.checkbox_label{
  display: flex;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
  gap: 5px;
}
.checkbox_group label input,
.radio_group input[type="radio"] {
  margin-right: 5px;
}
textarea.input_field {
  width: 100%;
  height: 120px;
  padding: 8px;
  border: 1px solid var(--bg-b);
  background-color: #E8E8E8;
  transition: background-color 0.3s;
  resize: vertical;
}
.recruit_entry textarea.input_field{
  height: 240px;
}
::placeholder {
  color: #AAABAB;
  font-size: 1.4rem;
}

.form_policy{
  margin-top: 70px;
}
.form_policy p{
  font-size: 1.4rem;
  margin-bottom: 1em;
}
.form_policybox{
  box-sizing: border-box;
  border: 1px solid var(--bg-b);
  padding: 40px;
  height: 320px;
  overflow-y: auto;
  margin-block: 1.5em;
}

.submit_btn{
  box-sizing: border-box;
  display: block;
  border: 1px solid var(--bg-a);
  /* max-width: 500px; */
  max-width: 300px;
  width: 80%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 300;
  padding: .7em 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 70px auto 30px;
}

.submit_btn:hover {
  background-color: var(--bg-b);
}

.hissu{
  position: relative;
}
.hissu::after{
  content: "*";
  font-size: 1.8rem;
  margin-left: 5px;
}
.contact_en{
  font-family: var(--ff-en);
}


/* ==============================
    recruit
=============================== */
.title_recruit,
.title_recruit_c{
  font-size: 3.0rem;
  font-weight: 600;
  margin-bottom: 30px;
}
.title_recruit_c{
  text-align: center;
}
.recruit_msg p{
  color: var(--font-lightgry);
}
.recruit_ivw li{
  list-style: none;
  color: var(--font-lightgry);
  margin-bottom: 1em;
}
.recruit_ivw li a:hover{
  color: var(--font-primary);
}
.recruit_mood .itembox03{
  margin-bottom: 5%;
}
.recruit_mood .itembox03 img{
  display: block;
  border-radius: 30px;
}

/* table */
.recruit_table{
  border-collapse: separate;
  border-spacing: 0 10px;
}
.recruit_table th,
.recruit_table td{
  box-sizing: border-box;
  padding: 20px 30px;
}
.recruit_table th{
  width: 13em;
  background: var(--bg-b);
  text-align: left;
  font-size: 1.8rem;
  font-weight: 400;
  vertical-align: top;
}
.recruit_table td{
  width: calc(100% - 13em);
}
.recruit_table td p{
  margin-bottom: 1.6em;
}

/* ENTRY */
.recruit_entry{
  box-sizing: border-box;
  border: 1px solid var(--font-lightgry);
  border-radius: 2em;
  padding: 50px 30px;
}


@media (max-width: 767px) {
  .recruit_entry{
    padding: 30px 0;
  }
  .recruit_table th,
  .recruit_table td{
    display: block;
    width: 100%;
  }
}

/* ==============================
    Privacy Policy・利用規約
=============================== */
.poricy,
.terms{
  background: var(--bg-b);
  padding: 50px 70px;
}
@media (max-width: 767px) {
  .poricy,
  .terms{
    padding: 20px;
  }
}
.title_privacy,
.title_terms{
  font-size: 2.0rem;
  font-weight: 600;
  margin-bottom: 1.0em;
}
.title_privacy::before,
.title_terms::before{
  content: "｜";
  margin-right: 5px;
}
.list_num{
  list-style-type: decimal;
  margin-top: 30px;
}
.list_num li{
  text-indent: -1.6rem;
  margin-left: 1.6rem;
  margin-bottom: 5px;
}
.privacy_box,
.terms_box{
  padding-left: 50px;
}


@media (max-width: 767px) {

}



/* ===============================
  header
=============================== */



/* firstview表示中 */
.header.is-top{
  display: flex;
  justify-content: space-between;

}
.header.is-top .header_inner{

}
/* fv_imgの右側、はみ出し調整 */
@media screen and (min-width: 1180px){
  .header.is-top{
    /* max-width: 1310px; */
    max-width: 1180px;
    width: 100%
    /* padding-left: calc( (100vw - 1180px) / 2 ); */
  }
  
}
@media screen and  (min-width: 1440px) {
  .header.is-top{
    /* padding-left: 56.25px; */
  }
  /* 1440 * 92.1875% = 1,1327.5
  1440 * 7.8125% /2 = 56.25px 
  */
}

.header.is-top .item_container{
    width: 160px;
    padding-top: 50px;
    padding-right: 43px;
    /* flex: 0 0 160px; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* align-content: flex-end; */
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 100%;
}
.header.is-top .head_logo{
  width: 110px;
  margin-inline: auto 0;
}
.header.is-top .nav_outer{
  /* margin-top: 260px; */
}
.header.is-top .nav_menu{
}
.header.is-top .nav_menu li{
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 25px;
}
.header.is-top .nav_menu li a{

}
.header.is-top .head_sns{
  margin-top: 75px;
}
@media screen and (max-width: 1000px){
.header.is-top .item_container{
    padding-top: 10px;
  }
  .header.is-top .head_sns {
    margin-top: 0;
}
  
}
.header.is-top .head_sns {
    /* margin-top: 75px; */
}
.header.is-top .head_sns a{
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1em;
  color: var(--font-primary);
}
.header.is-top .head_sns a img{
  width: 1em;
  height: 1em;
  object-fit: contain;
}


/* キービジュアル＆テキスト */
.header .key_visual{
  flex: 1 1 auto;
  max-height: 740px;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.header .key_img img{
  height: 740px;
  width: 1150px;
  /* width: 1020px; */
  object-fit: cover;
}
.header .key_text{
  position: absolute;
  left: 7.5rem;
  bottom: 7.5rem;
  color: #fff;
  z-index: 100;
}
.header .key_text.top{
  top: 10%;
}
.header .key_text.top .key_text_title{
  font-size: clamp(1.0rem, 3.0vw, 3.0rem );
}

.header .key_text_title{
  font-size: clamp(1.0rem, 5.0vw, 5.0rem );
  line-height: 1.1;
}
.header .key_text_catch{
  font-size: clamp(1.0rem, 2.0vw, 1.8rem );
  line-height: 1;
  margin-top: .5em;
}
.home .header .key_text_catch{
  margin-top: 1em;
}
.home .slide5{
  display: none;
}

@media screen and (max-width: 767px){
  .home .slide5{
    display: block;
  }

  .header .key_text{
    bottom: 4rem;
    left: 3rem;
    color:#fff;
  }
  .header .key_text_title{
  letter-spacing: .05em;
  font-size: 2.8rem;
  line-height: 1;
  margin-top: .5em;
}
.header .key_text_catch{
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-top: 1.5em !important;
}
}



/* firstview表示後 */

.header:not(.is-top) .key_visual{
  padding-left: 160px;
}

.header:not(.is-top) .header_inner{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba( 255, 255, 255, .9);
  border-bottom: 1px solid var(--font-lightgry);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .1);
}
.header:not(.is-top) .item_container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-block: 32px 25px; */
  padding-block: 15px 15px;
  max-width: 1180px;
  width: 92.1875%;
  margin-inline: auto;
}


.header:not(.is-top) .nav_outer{
  display: flex;
  align-items: center;
  justify-content: right;
  column-gap: 70px;
  max-width: 1180px;
}



.header:not(.is-top) .nav_menu{
  display: flex;
  /* align-items: center; */
  justify-content: right;
  /* font-size: 2.0rem; */
  font-size: clamp(1.0rem, 1.5vw, 1.4rem);
  line-height: 1;
  column-gap: 7rem;
}
.header:not(.is-top) .nav_menu li {
  font-size: 1.4rem;

}
.header:not(.is-top) .head_logo{
  /* width: 110px; */

}
.header:not(.is-top) .head_sns{
  display: flex;
  align-items: center;
  justify-content: right;
  font-size: 1.4rem;
  /* font-size: clamp(1.0rem, 1.8vw, 2.2rem); */
  column-gap: 1em
}

.header:not(.is-top) .head_sns img{
  display: block;
  font-size: 1.9rem;
  /* font-size: clamp(1.0rem, 1.8vw, 2.2rem); */
  line-height: 1;
  width: 1em;
  height: 1em;
  object-fit: contain;
}



/* レスポンシブ */

@media screen and (max-width: 1000px){
  .header:not(.is-top) .nav_outer{
    flex-direction: column;
    row-gap: 1rem;
    justify-content: center;
    align-items: flex-end;
  }
  .header:not(.is-top) #gNav {
    /* width: initial; */
  }

  
}

#gNav-sp{
  display: none;
}
@media screen and (max-width: 767px){
  /* #gNav-sp{
    display: block;
  } */
  #gNav{
    display: none;
  }
  .head_logo{
    /* width: clamp(120px, 20vw, 140px); */
    width: 70px;
    /* height: 34px; */
  }
  .header:not(.is-top) .item_container{
    flex-direction: column;
    row-gap: 1.5rem;
    justify-content: center;
    align-items: center;
    padding-block: .3em;
  }
  .header:not(.is-top) .nav_menu{
    column-gap: 3em;
  }
  .header:not(.is-top) .nav_outer{
    align-items: center;

  }
  .header:not(.is-top) .head_sns{
    column-gap: 2em;
    align-items: center;
  }






}
@media screen and (max-width: 560px){
.header:not(.is-top) .nav_outer{
  column-gap: 3em;
}
}

/* ===============================
  footer
=============================== */

/* -----------------------
  aside
  CTA Buttons
----------------------- */

.ft_contact{
  text-align: center;
  background: var(--bg-b);
  position: relative;
  padding-bottom: 60px;
  margin-top: 5em;
}

.ft_contactgrid {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0px;
  align-items: start; */
  display: flex;
  flex-wrap: nowrap;
  justify-content:space-between
}



.ft_contactgrid .card {
  width: 26.864%;
  padding: 2em 1em 1em;
  text-align: center;
  flex: 1;
  font-size: clamp(1.0rem, 2.0vw, 1.5rem );
  line-height: 1.2;
  transition: background .5s ease-in-out;
  border-right: 1px solid var(--boder-c);
  padding-inline: 1em;
}
.ft_contactgrid .card:first-child,
.ft_contactgrid .card:last-child{
  width: 23.136%;
}
.ft_contactgrid .card:first-child{
    padding-inline: 0 1em;
}
.ft_contactgrid .card:last-child{
  padding-inline: 1em 0;
  border-right: none;
}

.card h2{
  /* font-size: clamp(1.0rem, 2.4vw, 2.5rem ); */
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 1em;
  font-weight: 500;
}


.card .icon{
  display: inline-block;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 auto 3rem;
}
.card p{
  font-size: 1.2rem;
  line-height: 1.5;
  margin-block: 1.5rem 3rem;
  min-height: calc(1.2rem * 1.5 * 3);
}
.card p.tel{
  font-size: 3.3rem;
  margin-bottom: 1rem;
}
.card p.holiday{
  font-size: 1.4rem;
}
.card .ft_btn{
  display: block;
  margin: 0 auto;
  max-width: min(100%, 229px);
  background: #B5B5B6;
  text-align: center;
  padding: .8em;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  transition: .3s;
}
.card .ft_btn:hover{
  background: var(--hover);
}

@media screen and (max-width: 767px) {
  .ft_contactgrid {
    flex-wrap: wrap;
    row-gap: 2rem;
  }
  .ft_contactgrid .card,
  .ft_contactgrid .card:first-child,
  .ft_contactgrid .card:last-child{
    width: 50%;
    flex: initial;
    border: none;
  }
  .ft_contactgrid .card:nth-child(odd){
    border-right: 1px solid var(--boder-c);
  }
  .card h2{
    font-size: 1.2rem;
  }
  .card p{
    font-size: 1rem;
  }
  .card p.tel{
    font-size: 1.8rem;
    margin-block: 1em 1em;
    min-height: initial;
  }
  .card p.holiday{
    font-size: 1rem;
    margin-block: 1em 1em;
    min-height: initial;
  }
  .card p.text{
    margin-bottom: 1.5em;
  }
  .card .ft_btn{
    font-size: 1rem;
    width: 140px;
  }



}


/* -----------------------
  会社情報
----------------------- */
.footer .ft_company_info{
    display: flex;
    justify-content: space-between;
    padding-block: 95px 45px;
}
.footer .ft_company_info .img_outer{
  width: 160px;
}
.footer .ft_company_info p{
  text-align: right;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1.2em;
}
.footer .ft_company_info .company_name{
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}
.footer .ft_company_info .company_address{
  font-size: 1.4rem;
}
.footer .ft_company_info .company_telfax{
  margin-top: 3em;
  font-size: 1.8rem;
}
@media screen and (max-width: 600px){
  .footer .ft_company_info{
    flex-direction: column;
    row-gap: 2.5rem;
    justify-content: center;
    align-items: center;
  }
  
}


/* -----------------------
  フッターリンク
----------------------- */
.footer .ft_links_inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
  column-gap: 1.6em;
  row-gap: 4em;
  padding: 65px 0 0;
  font-size: 1.4rem;
  border-top: 1px solid #707070;;
}
.footer .ft_column{
  width: 100%;
}
.footer .ft_column h2{
  font-size: 1.4rem;
  margin-bottom: 1.2em;
  /* font-weight: bold; */
}
.footer .ft_column ul{

}
.footer .ft_column li{
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1.2em;
}

@media screen and (max-width: 767px){
  .footer .ft_links_inner {
    grid-template-columns: repeat(auto-fit, minmax(5em, 1fr));
  }
  .footer .ft_column h2{
    font-size: 1.2rem;
    margin-bottom: 1.2em;
    /* font-weight: bold; */
  }

  .footer .ft_column li{
    font-size: 1.0rem;
    line-height: 1;
    margin-bottom: 1em;
  }
}

/* gNav-sp */
.gNav-sp .ft_links_inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  column-gap: 2em;
  row-gap: 2em;
  padding: 30px 0 0;
  font-size: 1.4rem;
  /* border-top: 1px solid #707070;; */
}
.gNav-sp .head_nav{
  width: 100%;
}
.gNav-sp .ft_column{
  width: 100%;
}
.gNav-sp .ft_column h2{
  font-size: 1.4rem;
  margin-bottom: 1.2em;
  font-weight: bold;
}
.gNav-sp .ft_column ul{

}
.gNav-sp .ft_column li{
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1.2em;
}



/* -----------------------
  コピーライト
----------------------- */
.footer .ft_copyright{
  padding: 25px 0;
  text-align: right;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10rem;
}
@media screen and (max-width: 600px){
  .footer .ft_copyright{
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
    justify-content: center;
  }
}



/* -----------------------
  archive用  ページャー 
----------------------- */
.pager .wp-pagenavi{
  text-align: center;
}
.pager .wp-pagenavi .pages,
.pager .wp-pagenavi .previouspostslink,
.pager .wp-pagenavi .nextpostslink{
  display: inline-block;
  border: none;
  width: max-content;
}
.pager .wp-pagenavi a{
  padding: 0 1em;
  border: none;
}
.pager .wp-pagenavi .page{

}
.pager .wp-pagenavi a,
.pager .wp-pagenavi span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 1px solid #BFBFBF;
    padding: 3px;
    margin: 0 .5em;
    font-size: clamp(1.1rem, 2.6vw, 2.0rem );
    line-height: 1;
    width: calc( 2em + 3px);
    height: calc( 2em + 3px);

}


/* ===============================
  front-page.php
=============================== */
/* タイトル */
.title_main{
  text-align: left;
  font-size: 3.0rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.title_main span{
  display: inline-block;
  font-size: 1.4rem;
  margin-left: 40px;
}
.subpage_subtitle{
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 45px;
}
.subpage_subtitle span{
  display: block;
  font-family: var(--ff-en);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: var(--ls-en);
  margin-bottom: 1.0em;
}
/* メッセージ */
#top_msg{
  padding-block: 100px;
}

#top_msg .item_container{
  flex-wrap: nowrap;
  align-items:flex-start;
  column-gap: 45px;
}
.top_msgbox:first-child{
  flex: 0 2 600px;
  align-self: flex-start;
  padding-top: 0;
}
.top_msgbox:last-child{
  flex: 1 1 500px;
  position: relative;
  /* width: calc(100% - 420px);
  padding-inline: 7vw 10vw; */
  margin-top: -.8em;
}
.top_msgbox:last-child p:not(:last-of-type){
  margin-bottom: 2em;
}
.top_msgbox:last-child p{
  font-size: 1.6rem;
  line-height: 3rem;
  margin-bottom: 4rem;
  padding-right: 2em;
}


.top_msgbox:last-child p{
  font-size: 1.4rem;
  line-height: 4rem;
  margin-bottom: 4rem;
  letter-spacing: .05em;

}
.top_msgbox:last-child p:last-of-type{
  margin-bottom: 0;
}

/* hover設定 */
a.btn_com{
  display: block;
  text-align: right;
  margin-top: 4rem;
  color: var(--font-primary);
  transition: 0.5s;
}
.header a:hover,
.footer a:hover,
a.btn_com span:hover,
#top_service .service-category-nav a:hover{
  text-decoration: underline;
  text-underline-offset: 7px; 
  color: var(--hover);
  transition: 0.3s;
}



@media (max-width: 600px) {
  #top_msg{
    padding-block: 30px;
  }
  .top_msgbox:first-child,
  .top_msgbox:last-child{
    flex: initial;
  }
  .top_msgbox:last-child p{
    font-size: 1.2rem;
    line-height: 2.15;
  }
  #top_msg .item_container{
    flex-direction: column;
    /* width: 85vw; */
    margin-inline: auto;
    row-gap: 3em;
  }
  .item_container .top_msgbox{

  }
  a.btn_com{
    font-size: 1.4rem;
  }
}

/* Service */
#top_service{
  /* background: var(--bg-b); */
  background: linear-gradient(to bottom, #fff 50%, #f2f2f2 50%);
  padding-bottom: 40px;
  padding-top: 0;
}
#top_service .item_container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
}
@media screen and (max-width: 767px) {
  #top_service .item_container{
    grid-template-columns: repeat(2, 1fr);
  }
  #top_service .item_container {
    row-gap: 3em;
  }
  #top_service .item_container {
    /* gap: 8%; */
  }
  #top_service .post_box03 img{
    /* aspect-ratio: 1 / 1; */
  }
  
}
.service-category-nav{
  display: flex;
  /* margin-bottom: 30px; */
  justify-content: flex-start;
}
.service-category-nav a{
  display: block;
  color: var(--font-primary);
  font-size: clamp(1.0rem, 2.7vw, 1.5rem );
  line-height: 1.4;
  border-right: 1px solid var(--font-primary);
  padding-inline: 1em;

}
.service-category-nav a:first-child{
  padding-left: 0;
}
.service-category-nav a:last-child{
  border-right: none;
  padding-right: 0;
}
@media screen and (max-width: 600px) {
  .service-category-nav{
    /* gap: 0.5em; */
    justify-content: center;
    margin-block: 2em;
  }


}

#top_service .item_container{
  justify-content: flex-start;
  gap: 4%;
  margin-bottom: 4%;
}
.post_box03{
  /* width: 29.333%; */
  /* padding-inline: 30px; */
}
.post_box03::not(.slick-active) > img{
  transform: scale(80%);
  /* transition: all .3s ease-in-out; */
}
#top_service .post_box03 h2,
.post_worksname{
  font-size: 1.8rem;
  font-weight: 400;
  margin: 20px 0;
}
#top_service{
  text-align: center;
}
#top_service .post_box03 h2{
  padding-bottom: 1em;
  margin-block: 0;
  font-size: 1.8rem;
}
#top_service .post_box03 h2 span{
  display: inline-block;
  padding: 0 0 .8em;
  border: none;
  border-bottom: 1px solid #D9D9D9;
  font-size: 1.8rem !important;

}
#top_service .post_box03 p.en{
  margin: -3em 0 0;
  font-size: 0.9rem;
}
#top_service .post_box03 .en span{
  background: #F2F2F2;
  display: inline;
  padding: 0 .5em;
  font-size: 0.9rem;
  line-height: 1;
  border: none;
}
#top_service .post_box03 p{
  margin-top: 2rem;
  font-size: 1.4rem;
  line-height: 1.8em;
}


/* デフォルト（SP）= スライダー用 */
#top_works .item_container {
  flex-wrap: nowrap;
  position: relative;
}
#top_works .itembox03{
  transition: .3s;
}
#top_works .itembox03:hover {
  opacity: .7;
}


@media screen and (max-width: 767px) {

  #top_works .itembox03 {
    width: 100%;         /* スライド幅（お好みで） */
    margin: 0 auto;
  }
  .swiper-button{
    display: flex;
    justify-content: space-between;
    margin-top: -70%;
    margin-bottom: 70%;
    width: 100%;
    margin-inline: auto;
    position: relative;
    top: initial;
    bottom: initial;
    left: initial;
    right: initial;
  }
  .service-swiper .swiper-button{
    margin-top: -75%;
    margin-bottom: 75%;
    width: clamp(340px, 65vw, 1100px)
  }
  @media screen  and (min-width: 400px){
    .service-swiper .swiper-button{
      margin-top: -65%;
      margin-bottom: 65%;
    }
  }


  @media screen  and (min-width: 450px){
    .service-swiper .swiper-button{
      display: none;
    }  
  }
  .swiper-button .swiper-button-next,
  .swiper-button .swiper-button-prev{
    position: relative;
    top: initial;
    bottom: initial;
    left: initial;
    right: initial;
    color: #fff;
    font-weight: 100;
  }
  .swiper-button .swiper-button-next:after,
  .swiper-button .swiper-button-prev:after{
    font-size: 1.7rem;
  }
  .works-swiper .swiper-button-next{
  }
  .works-swiper .swiper-button-prev{
  }
  
}



/* PC時はgridに変更（Swiper無効時） */
@media screen and (min-width: 768px) {
  #top_works .item_container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 4%;
    margin-bottom: 4%;
  }
  #top_works .itembox03 {
    width: 100%;
  }
  .swiper-button{
    display: none;
  }

}


#top_works .post_worksname,
#other_works .post_worksname{
  font-size: 1.5rem;
  line-height: 2rem;
  margin: 10px 0 0;
}
#top_works .category_list,
#other_works .category_list{
  font-size: 1.0rem;
    border: 1px solid var(--font-primary);
    line-height: 2.3rem;
    padding: 0 .5rem ;
    margin-right: .5rem;

}
.post_worksname{
  margin: 10px 0 0;
}
.post_sub{
  font-size: 1.2rem;
  line-height: 1.5;
  margin-block: .3em .5em;
}

.post_box03 span,
.category_list{
  display: inline-block;
  border: 1px solid var(--bg-c);
  font-size: 1.4rem;
  line-height: 1.5;
  padding: 5px 20px;
  margin: 20px 10px 0 0;
}
.post_box03 span:last-of-type{
  margin: 20px 0 0 0;
}
.category_list{
  margin: 10px 10px 0 0;
}
.category_list:last-of-type{
  margin: 10px 0 0 0;
}
/* #top_works .itembox03, */
#other_works .itembox03{
  margin-bottom: 60px;
  width: 30%;
}

@media (max-width: 600px) {
  /* #top_service .item_container{
    flex-direction: column;
    row-gap: 3em;
    width: 85vw;
    margin-inline: auto
  } */
  #top_service .item_container .post_box03{
    width: 100%;
  }
  .service-category-nav a{
    margin-bottom: 0px;
  }
  #top_service .post_box03 h2{
    font-size: 1.4rem !important;
  }
  #top_service .post_box03 p{
    margin-top: 2rem;
    font-size: 1.0rem;
    line-height: 2em;
  }
  #top_service .post_box03 p.en{
    margin: -2.75em 0 0;
  }

}


@media (max-width: 767px) {
  #other_works .itembox03{
    width: 47%;
    margin-bottom: 40px;
  }
    #top_works .itembox03{
      width: 100%;
      margin-inline: 20px;
    }
}

/* NEWS */
#top_news{
  /* padding-block: 60px 160px; */
  padding-block: 60px 60px;
}


.top_newsbox .title_main{
  line-height: 1;
}
.top_newsbox:first-child{
  width: 33.33%;
  display: flex;
  flex-direction: column;
}
.top_newsbox:last-child{
  width: 66.67%;
}
.top_newsbox:first-child ul {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-category-nav{
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1em;
  text-align: left;
}
.news-category-nav button{
  display: inline-block;
  font-size: clamp(1.0rem, 3.0vw, 1.5rem );
  line-height: 1;
}
.news-category-nav a{
    display: inline-block;
    font-size: clamp(1.0rem, 3.0vw, 1.5rem );
    line-height: 1;
}
.news-category-nav a:last-child{
  margin-top: 1em;
}

@media screen and (max-width: 767px) {
  #top_news{
    padding-bottom: 30px;
  }

  #top_news .item_container{
    flex-direction: column;
    column-gap: 1em;
    padding-block: 10px 10px;
  } 
  .news-category-nav{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-block: 1em 1.5em;
    padding-block: 1em;
    /* border-bottom: 1px solid var(--bg-c); */

  }
  .top_newsbox:first-child,
  .top_newsbox:last-child{
      width: 100%;
  }
  .top_newsbox .news-category-nav{
    text-align: center;
  }

  .news-category-nav button::before{
    content: "／";
    margin-right: 1em;
  }
  .news-category-nav button:first-child::before{
    display: none;
  }
  .news-category-nav a{
    margin: 0 0 0 3em;
  }
  .news-category-nav a:last-child {
      margin-top: 0;
  }
}
@media screen and (max-width: 500px) {
  .news-category-nav{
    gap: 0.5em;
  }
  .news-category-nav button::before{
    content: "｜";
    margin-right: 0.5em;
  }
    .news-category-nav a{
    margin: 0 0 0 1.5em;
  }
}


.news_list_item{

}
.news_list_item a{
  display: block;
  text-decoration: none;
  padding: 30px 0;
  border-bottom: 1px solid var(--boder-c);
  transition: background .5s ease-in-out;
}
.news_list_item a:hover{
  background: var(--hover);
}
.news_list_item:first-of-type{
  /* padding: 0 0 30px; */
}
.news_list_item a,
.news_list_item a:visited {
  position: relative;
  display: flex;
  color: var(--font-primary);
}
@media screen and (max-width: 767px) {
    .news_list_item a{
      display: block;
    }
    .news_list_item:last-child a{
      border-bottom: none;
    }
    .news_list_item a{
      padding: 15px 0;
    }
    #top_news .btn_com{
      margin-top: 0;
    }
}
.news_list_item a time{
  font-size: clamp(1.0rem, 3.0vw, 1.4rem );
  margin-top: .8em;
}
.news_list_date {
  font-size: clamp(1.0rem, 3.0vw, 1.5rem );
  display: flex;
  margin-right: 1.5rem;
  align-items: center;
}
.news_item {
  border: 1px solid var(--boder-c);
  display: inline-block;
  padding-inline: .5em;
  text-align: center;
  font-size: clamp(1.0rem, 3.0vw, 1.4rem );
  margin-left: 2.0rem;
  vertical-align: .3em;
}
@media (max-width: 767px) {

  .news_list_date {
    margin-bottom: .5em;
  }
   .news_list_item p{
    font-size: 1.2rem;
   }
}



/* ==================================================================
ハンバーガーメニュー 
================================================================== */
#menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: none;
}

.menu-trigger {
  width: 30px;
  height: 22px;
  position: relative;
  display: inline-block;
}

.menu-trigger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--font-primary);
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.menu-trigger span:nth-child(1) {
  top: 0;
}
.menu-trigger span:nth-child(2) {
  top: 10px;
}
.menu-trigger span:nth-child(3) {
  bottom: 0;
  /* width: 60%; */
}

#menu.active .menu-trigger span:nth-child(1) {
  transform: rotate(20deg);
  width: 120%;
  top: 11px;
  left: 0px;
}
#menu.active .menu-trigger span:nth-child(2) {
  opacity: 0;
}
#menu.active .menu-trigger span:nth-child(3) {
  transform: rotate(-20deg);
  width: 120%;
  bottom: 9px;
  left: 0px;
}

/* 通常ヘッダー（スライドインナビ部分） */
.header:not(.is-top) #gNav {
  width: calc(100vw - 190px);
  max-width: 830px;
  transition: 0.3s;
}

.header:not(.is-top) #gNav-sp.active {
  left: 0;
  display: block;
  z-index: 10000;
  position: relative;
  color: var(--font-primary);
  width: 100%;
}

/* 背景マスク */
.header:not(.is-top) #menupoint.closeui::before {
  content: "";
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: calc(100vh - 60px);
  background: rgba(255,255,255,.9);
  /* background: #faa; */
}

/* スクロール防止 */
.header:not(.is-top) .noscroll {
  overflow: hidden;
}
.header:not(.is-top) #gNav .nav_menu a{
  /* font-size: 2.2rem; */
  font-size: 1.4rem;
}

/* モバイル表示 */
@media (max-width: 820px) {
  .header:not(.is-top) .item_container {
    align-content: flex-start;
    z-index: 1000;
  }
  .head_logo {
    /* width: 80px; */
    width: 100%;
  }

  /* スライドインナビ */
  .header:not(.is-top) #gNav {
    position: fixed;
    top: 60px;
    left: 100%;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    z-index: 1000;
    transition: 0.3s;
    border-top: 1px solid #aaa;
  }
  
  .header:not(.is-top) #menu {
    display: block;
  }
  .header:not(.is-top) .nav_outer {
    align-items: flex-start;
    padding-left: 0em;
  }
  .header:not(.is-top) .nav_menu {
    display: block;
    margin-top: 5em;
  }
    .header:not(.is-top) .nav_menu li {
    margin: 3.5em 0;
    text-align: left;
  }
  .header:not(.is-top) .head_sns {
        column-gap: 2.5em;
  }
  .header:not(.is-top) .head_sns img{
    font-size: 2.5rem;
  }
}

/* ==================================================================
Swiper
================================================================== */
#top_service .service-swiper{
  position: relative;
  width: 100vw;         /* ビューポート幅に固定 */
  max-width: none;
  /* 中央寄せ .wrapper からはみ出させて左右を揃える */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* 左右チラ見せ用の余白（お好みで調整） */
  padding-left: 16vw;
  padding-right: 16vw;
  padding-top: 5em;
}

/* 画面幅に応じてチラ見せ量を調整 */
@media (max-width: 1024px){
  #top_service .service-swiper{ 
    padding-left: 12vw; 
    padding-right: 12vw; 
  }
}
@media (max-width: 767px){
  #top_service .service-swiper{ 
    padding-left: 0vw; 
    padding-right: 0vw;
    padding-top: 1em;

  }
}

#top_service .service-swiper .post_box03 {
  flex: 0 0 auto !important; /* 1/3幅などのflex-basisを無効化 */
}

/* ★ スライド幅は“中央用の大きい幅”を指定（左右は見切れる） */
#top_service .service-swiper .swiper-slide {
  width: clamp(340px, 65vw, 1100px); /* 画面に応じて可変 */
  overflow: hidden;
}

/* 画像のフィット */
#top_service .service-swiper .swiper-slide img { 
  width: 100%; height: auto; display: block;
}


#top_service .service-swiper .swiper-wrapper .swiper-slide {
  opacity: .8;
  transform: scale(.7); /*左右のスライドを小さくする*/
  transition: .7s; /* ゆっくり小さくさせる */
}
#top_service .service-swiper .swiper-wrapper .swiper-slide img {
  height: auto;
  width: 100%;
}
#top_service .service-swiper .swiper-wrapper .slide-text{
  opacity: 0;
}
#top_service .service-swiper .swiper-wrapper .swiper-slide-active {
  opacity: 1; /* 中央のスライドは薄くしない */
  transform: scale(1); /* 中央のスライドは小さくしない */
  z-index: 1; /* 中央のスライドを一番上にする */
}
#top_service .service-swiper .swiper-wrapper .swiper-slide-active .slide-text{
  opacity: 1;
}

/* ===============================
Swiper Pagination Custom Style
=============================== */
#top_service .service-swiper .swiper-pagination {
  position: absolute;
  top: 1em;
  right: 1em;
  left: initial;
  bottom: initial;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px; /* 間隔 */
  /* border: 1px solid #f00; */
}
#top_service .service-swiper .swiper-pagination-bullet {
  width: 50px;
  height: 1px; /* 通常時 1px */
  background-color: #B5B5B6;
  /* background-color: #f00; */
  opacity: 1;
  transition: all 0.3s ease;
  border-radius: 0;
}
#top_service .service-swiper .swiper-pagination-bullet-active {
  height: 2px; /* アクティブ時に太く */
  /* background-color: #B5B5B6; */
}
@media screen and (min-width: 1180px){
  #top_service .service-swiper .swiper-pagination {
    width: 1180px;
    right: calc((100vw - 1180px) / 2 );
  }  
}
@media screen and (max-width: 767px){
  #top_service .service-swiper .swiper-pagination {
    position: relative;
    top: initial;
    right: initial;
    left: initial;
    bottom: initial;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2em;
  }  
}


.ft_sns{
  display: none;
}

.sp-br{
  display: none;
}
@media screen and (max-width: 767px){

  .ft_sns{
    display: flex;
    gap: 20px;
    margin: 10px auto;
    justify-content: center;
    height: 1.5rem;
  }
  .ft_sns a{
    display: block;
  }
  .sp-br{
    display: inline-block;;
  }
}

.vertical-arrow{
  position: absolute;
  bottom: 1rem;
  right: 4rem;
  z-index: 1;
}
@media screen and (max-width: 767px){
  .vertical-arrow{
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
}