@charset "UTF-8";

:root {
  /* jsによるvh算出時の保険 */
  --vw: 1vw;
  --vh: 1vh;

  /* ガター */
  --g: 20px;

  /* gap */
  --gap: 20px;

  /* Wrapper最大幅 */
  --w-l: 1200px;
  --w-m: 990px;
  --w-s: 780px;
  --w-c: calc(100% - var(--g) * 2);
  --w-c-l: min(var(--w-c), var(--w-l));
  --w-c-m: min(var(--w-c), var(--w-m));
  --w-c-s: min(var(--w-c), var(--w-s));

  /* 親要素に依存させない幅 */
  --w-c-l-vw: min( calc( var(--vw) * 100 - var(--g) * 2 ), var(--w-l) );

  /* 基本マージンサイズ */
  --m-s: 20px;
  --m-m: 40px;
  --m-l: 80px;
  --m-xl: 150px;

  /* カラー */
  --c-wt: #F6F3F0; /* 白 */
  --c-bk: #060300; /* 黒 */
  --c-pg: #E6E3E0; /* 薄いグレー */
  --c-gy: #C6C3C0; /* グレー */
  --c-dg: #666360; /* 濃いグレー */
}

@media (min-width: 900px){
  :root {
    /* ガター */
    --g: 60px;

    /* gap */
    --gap: 60px;

    /* 基本マージンサイズ */
    --m-s: 20px;
    --m-m: 60px;
    --m-l: 120px;
    --m-xl: 200px;
  }
}


/* ------------------------------------------------------------


common


------------------------------------------------------------ */

/* PC or SP
---------------------------------------- */

@media (max-width: 899px){
  .pc {
    display: none;
  }
}

@media (min-width: 900px){
  .sp {
    display: none;
  }

  a,
  button {
    transition: all 0.3s ease;
    backface-visibility: hidden;
  }

  a:hover,
  button:hover {
    cursor: pointer;
    opacity: .6;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }
}


/* scroll padding
---------------------------------------- */
html {
  scroll-padding-top: 100px;
}

@media (min-width: 900px){
  html {
    scroll-padding-top: 100px;
  }
}


/* font settings
---------------------------------------- */
html {
  font-size: 10px;
  line-height: 2;
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}


/* Basic Tags
---------------------------------------- */
* {
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--c-wt);
}

body {
  font-size: 1.4rem;
  letter-spacing: .1em;
  font-weight: 400;
  color: var(--c-dg);
  background: var(--c-wt);
  min-width: 320px;
}

a {
  color: var(--c-bk);
}

p, ol, ul, dl, figure, blockquote, pre,
h1, h2, h3, h4, h5, h6, table {
  margin: var(--m-s) 0 0;
}

ul {
  padding: 0 0 0 1.25em;
}

ol {
  padding: 0 0 0 1.5em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

table {
  width: 100%;
  border-collapse: collapse;
}

input, button, textarea, select {
  font: inherit;
}

@media (min-width: 900px){

}

/* ------------------------------------------------------------

g-l：ローディング

------------------------------------------------------------ */
.g-l {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--c-wt);
  z-index: 9999;
}

body.loaded .g-l {
  /* フェードしている間に背景要素をクリックできるように */
  pointer-events: none;
}

.g-l_spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-top: 3px solid var(--c-pg);
  border-right: 3px solid transparent;
  border-radius: 50%;
  animation: rotation .8s linear infinite;
  transform: rotate(0deg) translate(-50%, -50%);
}
@keyframes rotation{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}



/* ------------------------------------------------------------

modules：共通モジュール

------------------------------------------------------------ */
.grecaptcha-badge {
  z-index: 99;
}


/* m-external
---------------------------------------- */
.m-external {
  position: relative;
  padding-right: 14px;
}

.m-external::before,
.m-external::after {
  content: '';
  display: block;
  width: 8px;
  height: 6px;
  border: solid 1px var(--c-dg);
  position: absolute;
  right: 0;
  top: calc(50% - 4px);
}

.m-external::after {
  border-top: 0;
  border-right: 0;
  right: 2px;
  top: calc(50% - 2px);
}

/* 白抜き */
.m-external-w::before,
.m-external-w::after {
  border-color: var(--c-wt);
}


/* m-hover
---------------------------------------- */
@media (min-width: 900px){
  .m-hover:hover {
    animation: m-hover 1s ease-in-out forwards;
  }
}
@keyframes m-hover {
  0% {
    opacity: 1;
  }
  5% {
    opacity: .6;
  }
  100% {
    opacity: 1;
  }
}


/* m-ib
---------------------------------------- */
.m-ib {
  display: inline-block;
}

/* m-sec
---------------------------------------- */
.m-sec {
  margin-top: var(--m-xl);
}

.m-subSec {
  margin-top: var(--m-l);
}


/* m-secTtl
---------------------------------------- */
.m-secTtl {
  color: var(--c-bk);
}

.m-secTtl_en {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  padding: 0 0 0 60px;
}

.m-secTtl_en::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--c-dg);
  position: absolute;
  left: 0;
  top: 50%;
}

.m-secTtl_h {
  margin: 30px 0 0;
  font-size: 2.4rem;
  font-weight: 400;
}

.m-secTtl_ja {
  margin: 12px 0 0;
  font-size: 1.2rem;
  font-weight: 400;
}

@media (min-width: 900px){
  .m-secTtl_h {
    margin-top: 40px;
  }
}


/* m-link
---------------------------------------- */
.m-link {
  display: inline-block;
  text-decoration: none;
  padding: 0 20px 0 0;
  position: relative;
}

.m-link-r {
  padding: 0 0 0 20px;
}

.m-link::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 4px);
  right: 4px;
}

.m-link-r::after {
  left: 4px;
  right: auto;
  transform: rotate(-135deg);
}

.m-link-external::before,
.m-link-external::after {
  content: '';
  display: block;
  width: 8px;
  height: 6px;
  border: solid 1px var(--c-dg);
  transform: rotate(0);
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
}

.m-link-external::after {
  border-top: 0;
  border-right: 0;
  top: calc(50% - 2px);
  right: 2px;
}


/* m-btn
---------------------------------------- */
.m-btn {
  display: inline-block;
  position: relative;
  text-decoration: none;
  text-align: left;
  font-size: 1.2rem;
  line-height: 2;
  font-weight: 400;
  padding: 0 0 8px 0;
  color: var(--c-bk);
  transition: all .3s ease;
  overflow: hidden;
}

.m-btn::before,
.m-btn::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-dg);
}

.m-btn::after {
  left: auto;
  right: 0;
  width: 0;
  background: var(--c-gy);
  transition: all .3s ease;
}

.m-btn_i {
  display: block;
  padding: 0 32px 0 0;
  overflow: hidden;
  color: transparent;
  text-shadow: 0 -2em 0 var(--c-bk), 0 0 0 var(--c-bk);
  transition: text-shadow 0.3s;
}

.m-btn_i::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(45deg);
  position: absolute;
  right: 3px;
  top: 8px;
}

.m-btn-external .m-btn_i::before,
.m-btn-external .m-btn_i::after {
  content: '';
  display: block;
  width: 8px;
  height: 6px;
  border: solid 1px var(--c-dg);
  position: absolute;
  transform: rotate(0);
  right: 0;
  top: 8px;
}

.m-btn-external .m-btn_i::after {
  right: 2px;
  top: 10px;
  border-top: 0;
  border-right: 0;
}

@media (min-width: 900px){
  .m-btn:hover {
    opacity: 1;
  }

  .m-btn:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }

  .m-btn:hover .m-btn_i {
    text-shadow: 0 0 0 var(--c-bk), 0 2em 0 var(--c-bk);
  }

}

/* m-btn2
---------------------------------------- */
.m-btn2 {
  display: block;
  width: min(100%, 300px);
  margin: 0 auto;
  background: #fff;
  text-decoration: none;
  text-align: center;
  position: relative;
  border-radius: 4px;
  padding: 16px 40px;
}

.m-btn2::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(45deg);
  position: absolute;
  right: 20px;
  top: calc(50% - 4px);
}

.m-btn2_ja {
  display: block;
}

.m-btn2_en {
  display: block;
  font-size: 1rem;
}

@media (min-width: 900px){
  .m-btn2:hover {
    opacity: 1;
    background: var(--c-wt);
  }
}


/* m-pageTtl
---------------------------------------- */
.m-pageTtl {
  margin: var(--m-xl) auto 0;
  width: var(--w-c-l);
  color: var(--c-bk);
  position: relative;
  z-index: 2;
}

.m-pageTtl_en {
  font-size: 1.6rem;
  margin: 0;
}

.m-pageTtl-s .m-pageTtl_en {
  font-size: 1.4rem;
}

.m-pageTtl_ja {
  font-weight: 400;
  margin: 20px 0 0;
  font-size: 2.4rem;
  line-height: 1;
}

.m-pageTtl-s .m-pageTtl_ja {
  font-size: 1.6rem;
  margin: 12px 0 0;
}

.m-pageTtl_ja_i {
  display: inline-block;
  background: var(--c-bk);
  color: var(--c-wt);
  line-height: 1;
  padding: 0 12px 4px;
}

@media (min-width: 900px){
  .m-pageTtl_ja {
    font-size: 3.2rem;
  }

  .m-pageTtl-s .m-pageTtl_ja {
    font-size: 2rem;
  }
}


/* m-cover
---------------------------------------- */
.m-cover {
  margin: -15px 0 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.m-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px){
  .m-cover {
    margin: -20px 0 0;
    aspect-ratio: 3 / 1;
  }
}


/* m-lead
---------------------------------------- */
.m-lead {
  margin: var(--m-m) auto 0;
  width: var(--w-c-l);
}

.m-lead_ttl {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-bk);
}

@media (min-width: 900px){
  .m-lead_ttl {
    font-size: 2.4rem;
  }
}



/* m-ttl
---------------------------------------- */
.m-ttl {
  margin: 0;
  font-size: 1.8rem;
  color: var(--c-bk);
  font-weight: 400;
}

@media (min-width: 900px){
  .m-ttl {
    font-size: 2rem;
  }
}


/* m-next
---------------------------------------- */
.m-next {
  margin: var(--m-xl) auto 0;
  width: var(--w-c-l);
  background: var(--c-pg);
  padding: var(--m-m) var(--g);
  text-align: center;
}

.m-next_ttl {
  font-size: 1.6rem;
  margin: 0;
  color: var(--c-bk);
}



/* m-pagination
---------------------------------------- */
.m-pagination {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
}

.m-pagination .wp-pagenavi {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding: 0 100px;
}

.m-pagination span,
.m-pagination a {
  text-decoration: none;
}

.m-pagination .page,
.m-pagination .extend {
  display: none;
}

.m-pagination .pages {
  order: 2;
}

.m-pagination .pages,
.m-pagination .page,
.m-pagination .current,
.m-pagination .extend {

}

.m-pagination .nextpostslink,
.m-pagination .previouspostslink {
  display: block;
  font-size: 1.2rem;
  line-height: 2.8rem;
  font-weight: 400;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 20px 0 0;
}

.m-pagination .previouspostslink {
  right: auto;
  left: 0;
  padding: 0 0 0 20px;
}

.m-pagination .nextpostslink::before,
.m-pagination .previouspostslink::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(45deg);
  position: absolute;
  right: 4px;
  top: 10px;
}

.m-pagination .previouspostslink::before {
  transform: rotate(-135deg);
  left: 4px;
  right: auto;
}



@media (min-width: 900px){

  .m-pagination .wp-pagenavi {
    padding: 0 100px;
  }

  .m-pagination a:hover {
    opacity: 1;
  }

  .m-pagination .pages {
    display: none;
  }

  .m-pagination .page,
  .m-pagination .extend,
  .m-pagination .current {
    font-size: 1.4rem;
    display: block;
    text-align: center;
    width: 32px;
    margin: 0 4px;
    padding: 2px 0;
    background: #fff;
    color: var(--c-bk);
    border-radius: 4px;
  }

  .m-pagination .extend {
    background: none;
    color: var(--c-dg);
  }

  .m-pagination .current,
  .m-pagination a.page:hover {
    background: var(--c-bk);
    color: #fff;
  }

  .m-pagination .nextpostslink,
  .m-pagination .previouspostslink {
    font-size: 1.4rem;
    padding: 0 24px 0 0;
  }

  .m-pagination .previouspostslink {
    padding: 0 0 0 24px;
  }

  .m-pagination .nextpostslink:hover,
  .m-pagination .previouspostslink:hover {
    opacity: 1;
  }

  .m-pagination .nextpostslink:hover::after,
  .m-pagination .previouspostslink:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }

}


/* ------------------------------------------------------------

g-header：ヘッダー

------------------------------------------------------------ */

.g-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  transition: all .3s ease;
}

/*
body.home .g-header {
  opacity: 0;
  pointer-events: none;
}

body.home.scrolled .g-header {
  opacity: 1;
  pointer-events: auto;
}
*/

.g-header_logo {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .05em;
}

.g-header_logo_a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.g-header_logo_mark {
  display: block;
  width: 111px;
}

.g-header_logo_type {
  display: block;
}

.g-header_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  margin: 0;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.g-header_btn:hover {
  cursor: pointer;
}

.g-header_btn_bar {
  display: block;
  width: 48px;
  height: 48px;
  position: relative;
}

.g-header_btn_bar::before,
.g-header_btn_bar::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--c-bk);
  position: absolute;
  left: 0;
  top: 24px;
  transition: all .3s ease;
}

.g-header_btn_bar::before {
  transform: matrix(1,0,0,1,0,7);
}
.g-header_btn_bar::after {
  transform: matrix(1,0,0,1,0,-7);
}

/* menu open */
body.menuOpen {
  overflow: hidden;
}

body.menuOpen .g-header_btn_bar::before {
  animation: menuToggleBtn1 .3s ease both;
}
body.menuOpen .g-header_btn_bar::after {
  animation: menuToggleBtn2 .3s ease both;
}
@keyframes menuToggleBtn1 {
  0% { transform: matrix(1,0,0,1,0,7); }
  50% { transform: matrix(1,0,0,1,0,0); }
  100% { transform: matrix(0.7071,0.7071,-0.7071,0.7071,0,0);background: var(--c-wt); }
}
@keyframes menuToggleBtn2 {
  0% { transform: matrix(1,0,0,1,0,-7); }
  50% { transform: matrix(1,0,0,1,0,0); }
  100% { transform: matrix(0.7071,-0.7071,0.7071,0.7071,0,0);background: var(--c-wt); }
}

/* menu close */
body.menuClose .g-header_btn_bar::before {
  animation: menuToggleBtn1-r .3s ease both;
}
body.menuClose .g-header_btn_bar::after {
  animation: menuToggleBtn2-r .3s ease both;
}
@keyframes menuToggleBtn1-r {
  0% { transform: matrix(0.7071,0.7071,-0.7071,0.7071,0,0); }
  50% { transform: matrix(1,0,0,1,0,0); }
  100% { transform: matrix(1,0,0,1,0,7); }
}
@keyframes menuToggleBtn2-r {
  0% { transform: matrix(0.7071,-0.7071,0.7071,0.7071,0,0); }
  50% { transform: matrix(1,0,0,1,0,0); }
  100% { transform: matrix(1,0,0,1,0,-7); }
}

@media (min-width: 900px){
  .g-header_logo {
    left: 30px;
    top: 20px;
  }

  .g-header_btn {
    right: 30px;
    top: 20px;
    width: 64px;
  }

  .g-header_btn_bar {
    width: 64px;
  }

  .g-header_btn_bar::before,
  .g-header_btn_bar::after {
    width: 64px;
  }

}


/* g-nav
  ---------------------------------------- */
.g-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  transition: all .3s ease;
  overflow: hidden;
  pointer-events: none;
}

.g-nav_overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: rgba(0,0,0,.2);
  opacity: 0;
}

.g-nav a {
  text-decoration: none;
  color: var(--c-wt);
}

.g-nav_i {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 360px);
  background: var(--c-dg);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
  transform: translateX(100%);
  transition: all .3s ease;
}

.g-nav_i::-webkit-scrollbar{
  display: none;
}

.g-nav_i_i {
  min-height: calc(100% + 1px);
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.g-nav_i_i_i {
  padding: var(--m-l) 15%;
  width: 100%;
}

/* menu open */
body.menuOpen .g-nav_overlay {
  opacity: 1;
  pointer-events: auto;
}

body.menuOpen .g-nav_i {
  transform: translateX(0);
  pointer-events: auto;
}


/* g-nav_main
---------------------------------------- */
.g-nav_main {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  display: grid;
  gap: 8px;
}

.g-nav_main_a {
  display: inline-block;
}

.g-nav_main_a_ja {
  display: block;
}

.g-nav_main_a_en {
  display: block;
  font-size: 1rem;
  line-height: 1;
}


/* g-nav_sub
---------------------------------------- */
.g-nav_sub {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 1.4rem;
  display: grid;
  gap: 8px;
}



/* ------------------------------------------------------------

g-contents：コンテンツ

------------------------------------------------------------ */

.g-contents {
  display: block;
  margin: 0;
  padding: 0;
}






/* ------------------------------------------------------------

g-footer：フッター

------------------------------------------------------------ */
.g-footer {
  margin: var(--m-xl) 0 0;
}


/* g-footer_c
---------------------------------------- */
.g-footer_c {
  display: block;
  background: var(--c-gy);
  padding: var(--m-l) 0;
  text-decoration: none;
  position: relative;
}

.g-footer_c::before {
  content: '';
  display: block;
  background: var(--c-dg);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all .5s ease;
  opacity: 0;
}

.g-footer_c_i {
  width: var(--w-c-l);
  margin: 0 auto;
  position: relative;
}

.g-footer_c_btn {
  margin: var(--m-m) 0 0;
  line-height: 1;
  text-align: right;
}

@media (min-width: 900px){

  .g-footer_c:hover {
    opacity: 1;
  }

  .g-footer_c:hover::before {
    opacity: .6;
  }

  .g-footer_c_i {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  .g-footer_c_btn {
    margin: 0;
  }

  .g-footer_c .m-btn::after {
    background: var(--c-dg);
  }

  .g-footer_c:hover .m-btn_i {
    text-shadow: 0 0 0 var(--c-bk), 0 2em 0 var(--c-bk);
  }
}


/* g-footer_s
---------------------------------------- */
.g-footer_s {
  background: var(--c-pg);
  padding: 60px 0;
}

.g-footer_s_l {
  width: var(--w-c-m);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 8px;
}

@media (min-width: 900px){
  .g-footer_s {
    padding: 120px 0;
  }

  .g-footer_s_l {
    gap: var(--gap);
    grid-template-columns: repeat(3, 1fr);
  }
}


/* g-footer_p
---------------------------------------- */
.g-footer_p {
  text-align: center;
  width: var(--w-c);
  margin: 0 auto;
  padding: 120px 0 var(--m-m);
}

.g-footer_p_logo {
  margin: 0;
}

.g-footer_p_name {
  margin: 12px 0 0;
  font-size: 1.2rem;
  color: var(--c-bk);
}

.g-footer_p_ja {
  writing-mode: vertical-rl;
  margin: 40px auto 0;
  text-align: left;
  color: var(--c-bk);
  font-size: 1.2rem;
  line-height: 3;
  letter-spacing: .5em;
}

.g-footer_p_en {
  margin: 60px 0 0;
  font-size: 1rem;
}

@media (min-width: 900px){
  .g-footer_p {
    padding: 200px 0 100px;
  }

  .g-footer_p_en {
    margin: 100px 0 0;
  }


}

/* g-footer_n
---------------------------------------- */
.g-footer_n {
  background: var(--c-dg);
  padding: var(--m-m) 0;
}

.g-footer_n a {
  color: var(--c-wt);
  text-decoration: none;
}

.g-footer_n_main {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.g-footer_n_main_i {
  width: 100%;
}

.g-footer_n_main_a {
  display: inline-block;
}

.g-footer_n_main_a_ja {
  display: block;
}

.g-footer_n_main_a_en {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.g-footer_n_sub {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  text-align: center;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.g-footer_n_sub_i {
  width: 100%;
}


@media (min-width: 900px){

  .g-footer_n_main {
    gap: var(--gap);

  }

  .g-footer_n_main_i {
    width: auto;
  }

  .g-footer_n_sub {
    gap: 30px;
  }

  .g-footer_n_sub_i {
    width: auto;
  }

}


/* g-footer_credit
---------------------------------------- */
.g-footer_credit {
  background: var(--c-pg);
  padding: var(--m-m) 0;
}

.g-footer_credit_p {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
}

.g-footer_credit_p a {
  text-decoration: none;
}

.g-footer_credit_c {
  margin: 12px 0 0;
  font-size: 1rem;
  text-align: center;
}

@media (min-width: 900px){
  .g-footer_credit_i {
    margin: 0 auto;
    width: var(--w-c-l);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .g-footer_credit_p {
    order: 2;
  }

  .g-footer_credit_c {
    margin: 0;
  }
}



/* ------------------------------------------------------------

home：トップページ

------------------------------------------------------------ */

/* FV
---------------------------------------- */
.FV {
  position: relative;
  height: 100svh;
  background: var(--c-pg);
  overflow: hidden;
}

.FV_overlay {
  position: absolute;
  top:0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--c-dg);
  z-index: 2;
  transition: all 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.FV_overlay.small {
  top: 20px;
  right: 20px;
  bottom: 180px;
  left: 20px;
}

.FV_img {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 180px;
  left: 20px;
  overflow: hidden;
}

.FV_swiper {
  height: 100%;
}

.FV_swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.FV_swiper img.FV_img_01 {
  object-position: 80% 50%;
}

.FV_swiper img.FV_img_02 {
  object-position: 15% 50%;
}

.FV_swiper img.FV_img_03 {
  object-position: 70% 50%;
}

.FV_swiper img.FV_img_04 {
  object-position: 15% 50%;
}

.FV_swiper.start .swiper-slide-active img,
.FV_swiper.start .swiper-slide-duplicate-active img,
.FV_swiper.start .swiper-slide-prev img {
  animation: fvimg 7s linear forwards;
}
@keyframes fvimg {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.FV_cont {
  position: absolute;
  bottom: 40px;
  left: 10px;
  z-index: 2;
}

.FV_ttl {
  margin: 0;
  font-size: min(var(--vw) * 7.4, 2.4rem);
  line-height: 1.5;
}

.FV_ttl_i {
  display: inline-block;
  margin: 8px 0 0;
  background: var(--c-bk);
  padding: 0 8px 2px;
  color: #fff;
  font-weight: 400;
  line-height: 1;
}

.FV_txt {
  margin: 12px 0 0;
  font-size: 1.2rem;
  color: var(--c-bk);
}

.FV_logo {
  margin: 12px 0 0;
}

.FV_scroll {
  width: 1px;
  height: 20px;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 50%;
  background: var(--c-gy);
}

.FV_scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 100px;
  background: var(--c-dg);
  position: absolute;
  top: 0;
  left: 0;
  animation: scrollbar 3s ease infinite;
}
@keyframes scrollbar {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.FV_pagination.swiper-pagination-bullets {
  position: absolute;
  bottom: 40px;
  right: 10px;
  top: auto;
  left: auto;
  display: grid;
  width: 8px;
  gap: 8px;
}

.FV_pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0;
  width: 8px;
  height: 8px;
  background: var(--c-dg);
  border-radius: 0;
}

@media (min-width: 900px){

  .FV_overlay.small {
    top: 60px;
    right: 60px;
    bottom: 60px;
    left: 60px;
  }

  .FV_img {
    top: 60px;
    right: 60px;
    bottom: 60px;
    left: 60px;
  }

  .FV_cont {
    left: 30px;
  }

  .FV_ttl {
    font-size: 3.2rem;
  }

  .FV_ttl_i {
    padding-bottom: 4px;
  }

  .FV_txt {
    font-size: 1.6rem;
  }

  .FV_scroll {
    height: 30px;
    left: 50%;
  }

  .FV_pagination.swiper-pagination-bullets {
    position: absolute;
    bottom: 60px;
    right: 26px;
  }

}


/* homeC
---------------------------------------- */
.homeC {
  width: var(--w-c-l);
  margin: var(--m-xl) auto 0;
}

.homeC_i {
  text-align: center
}

.homeC_logo {
  margin: 0;
}

.homeC_ja {
  margin: 40px 0 0;
  font-size: 2rem;
  color: var(--c-bk);

  & p {
    margin: 1em 0 0;
  }
}

.homeC_en {
  margin: 40px 0 0;
  font-size: 1rem;
}

.homeC_btn {
  margin: var(--m-m) 0 0;
}



/* homeF
---------------------------------------- */
.homeF {
  margin: var(--m-xl) 0 0;
}

.homeF_i {
  width: var(--w-c-l);
  margin: 0 auto;
}

.homeF_img_i {
  margin: 0 calc( var(--g) * -1);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.homeF_img_i_i {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.homeF_img_ssss {
  display: flex;
  height: 100%;
}

.homeF_img_ssss img {
  height: 100%;
  width: auto;
}

.homeF_cont {
  margin: var(--m-m) 0 0;
}

.homeF_txt {
  margin: var(--m-m) 0 0;
}

.homeF_btn {
  margin: var(--m-m) 0 0;
}


@media (min-width: 900px){
  .homeF_i {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .homeF_img {
    order: 2;
    grid-column: span 2;
  }

  .homeF_img_i {
    aspect-ratio: auto;
    height: 100%;
    margin: 0 min( calc( var(--g) * -1 ), calc( var(--w-l) / 2 - var(--vw) * 50)) 0 0;
  }

  .homeF_cont {
    margin: 0;
  }
}


/* homeW
---------------------------------------- */
.homeW {
  margin: var(--m-xl) 0 0;
}

.homeW_h {
  width: var(--w-c-l);
  margin: 0 auto;
}

.homeW_h_txt {
  margin: var(--m-m) 0 0;
}

.homeW_swiper {
  margin: var(--m-m) 0 0;
  padding: 0 max( var(--g), calc( var(--vw) * 50 - var(--w-l) / 2 ) );
}

.homeW_f {
  width: var(--w-c-l);
  margin: var(--m-m) auto 0;
  display: flex;
  justify-content: space-between;
}

.homeW_f_c {
  display: flex;
}

.homeW_f_c_prev,
.homeW_f_c_next {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.homeW_f_c_prev::after,
.homeW_f_c_next::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(-135deg);
}

.homeW_f_c_next::after {
  transform: rotate(45deg);
}

.homeW_f_c_prev.swiper-button-disabled,
.homeW_f_c_next.swiper-button-disabled {
  opacity: .3;
}

.homeW_f_btn {
  margin: 0;
}

@media (min-width: 900px){
  .homeW_h {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .homeW_swiper .swiper-slide {
    width: calc((var(--w-c-l-vw) + (var(--vw) * 50 - var(--w-c-l-vw) / 2) - var(--g) - 10px) / 2);
  }

  .homeW_f_c_prev:not(.swiper-button-disabled):hover,
  .homeW_f_c_next:not(.swiper-button-disabled):hover {
    cursor: pointer;
  }
}



/* wli
---------------------------------------- */
.wli {
  display: block;
  height: 100%;
  text-decoration: none;
}

.wli_img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.wli_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s ease;
}

.wli_txt {
  margin: 8px 0 0;
  font-size: 1.2rem;
}

.wli_txt_num {
  display: inline-block;
  background: var(--c-bk);
  color: var(--c-wt);
  padding: 0 12px;
  line-height: 1.5;
  margin: 0 12px 0 0;
}

@media (min-width: 900px){
  .wli:hover {
    opacity: 1;
  }

  .wli:hover .wli_img img {
    transform: scale(1.1);
  }
}


/* homeN
---------------------------------------- */
.homeN {
  width: var(--w-c-l);
  margin: var(--m-xl) auto 0;
}

.homeN_l {
  margin: var(--m-m) 0 0;
  padding: 0;
  list-style: none;
}

.homeN_l_i {
  border-bottom: solid 1px var(--c-gy);
}

.homeN_l_i:first-child {
  border-top: solid 1px var(--c-gy);
}

.homeN_btn {
  margin: var(--m-m) 0 0;
  text-align: right;
}

@media (min-width: 900px){
  .homeN_l {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .homeN_l_i,
  .homeN_l_i:first-child {
    border: 0;
  }
}


/* nli
---------------------------------------- */
.nli {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: start;
  height: 100%;
  padding: 24px 0;
  position: relative;
  text-decoration: none;
}

.nli::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--c-bk);
  border-right: solid 2px var(--c-bk);
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 4px);
  right: 4px;
}

.nli_img {
  grid-column: span 4;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.nli_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s ease;
}

.nli_cont {
  grid-column: span 7;
}

.nli_info {
  font-size: 1.2rem;
  color: var(--c-dg);
  display: flex;
  gap: 12px;
}

.nli_cat {
  margin: 0;
}

.nli_ttl {
  margin: 4px 0 0;
}

@media (min-width: 900px){
  .nli {
    display: block;
    padding: 0 0 30px 0;
  }

  .nli::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--c-gy);
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .nli::after {
    border: 0;
    width: 0;
    height: 1px;
    background: var(--c-dg);
    transform: rotate(0);
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    transition: all .3s ease;
  }

  .nli:hover {
    opacity: 1;
  }

  .nli:hover::after {
    width: 100%;
  }

  .nli:hover .nli_img img {
    transform: scale(1.1);
  }

  .nli_cont {
    margin: 12px 0 0;
  }

  .nli_ttl {
    position: relative;
    padding: 0 30px 0 0;
  }

  .nli_ttl::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: solid 2px var(--c-bk);
    border-right: solid 2px var(--c-bk);
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
    right: 4px;
  }
}


/* homeB
---------------------------------------- */
.homeB {
  width: var(--w-c-l);
  margin: var(--m-xl) auto 0;
}

.homeB_l {
  margin: var(--m-m) 0 0;
  padding: 0;
  list-style: none;
}

.homeB_l_i {
  border-bottom: solid 1px var(--c-gy);
}

.homeB_l_i:first-child {
  border-top: solid 1px var(--c-gy);
}

.homeB_l_a {
  display: block;
  text-decoration: none;
  padding: 24px 30px 24px 0;
  position: relative;
}

.homeB_l_a::before,
.homeB_l_a::after {
  content: '';
  display: block;
  width: 8px;
  height: 6px;
  border: solid 1px var(--c-dg);
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
}

.homeB_l_a::after {
  border-top: 0;
  border-right: 0;
  top: calc(50% - 2px);
  right: 2px;
}

.homeB_l_date {
  font-size: 1.2rem;
  color: var(--c-dg);
}

.homeB_l_ttl {
  margin: 4px 0 0;
}

.homeB_btn {
  margin: var(--m-m) 0 0;
  text-align: right;
}

@media (min-width: 900px){
  .homeB {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .homeB_cont {
    grid-column: span 2;
  }

  .homeB_l {
    margin: 0;
  }

  .homeB_l_a {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
  }

  .homeB_l_a:hover {
    opacity: 1;
  }

  .homeB_l_date {
    font-size: 1.4rem;
  }

  .homeB_l_ttl {
    margin: 0;
    grid-column: span 3;
    transition: all .3s ease;
  }

  .homeB_l_a:hover .homeB_l_ttl {
    color: var(--c-dg);
  }

}




/* ------------------------------------------------------------

concept:コンセプト

------------------------------------------------------------ */

/* conceptM
---------------------------------------- */
.conceptM {
  margin: var(--m-m) auto 0;
  width: var(--w-c-l);
  text-align: center;
}

.conceptM_logo {
  margin: 0;
}

.conceptM_ja {
  margin: 40px 0 0;
  font-size: 2rem;
  color: var(--c-bk);

  & p {
    margin: 1em 0 0;
  }
}

.conceptM_en {
  margin: 40px 0 0;
  font-size: 1rem;
}

.conceptM_txt {
  margin: var(--m-m) 0 0;
  color: var(--c-bk);
  line-height: 3;

  & p {
    margin: 0;
  }
}

@media (min-width: 900px){
  .conceptM_txt {
    font-size: 1.6rem;
  }
}


/* conceptF
---------------------------------------- */
.conceptF {
  margin: var(--m-xl) auto 0;
  width: var(--w-c-l);
}

.conceptF_l {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--m-l);
}

.conceptF_cont {
  margin: var(--m-s) 0 0;
}

@media (min-width: 900px){
  .conceptF_l_i {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .conceptF_img {
    grid-column: span 2;
  }

  .conceptF_l_i:nth-child(even) .conceptF_img {
    order: 2;
  }

  .conceptF_cont {
    margin: 0;
    display: flex;
    align-items: center;
  }
}


/* ------------------------------------------------------------

home building：MDの家づくり

------------------------------------------------------------ */

/* hbImgs
---------------------------------------- */
.hbImgs {
  margin: var(--m-l) 0 0;
  overflow: hidden;
}

.hbImgs_i {
  display: flex;
  width: max-content;
}

.hbImgs_img {
  padding: 0 2vw 0 0;
}

.hbImgs_img_l {
  aspect-ratio: 3 / 2;
  height: 40vw;
  overflow: hidden;
}

.hbImgs_img_s {
  aspect-ratio: 2 / 3;
  height: 40vw;
  overflow: hidden;
}

.hbImgs_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px){

  .hbImgs_img_l,
  .hbImgs_img_s {
    height: calc(var(--vw) * 24);
  }
}


/* hbF
---------------------------------------- */
.hbF {
  margin: var(--m-l) 0 0;
  background: var(--c-pg);
  padding: var(--m-l) 0;
}

.hbF-nbg {
  background: none;
  padding: 0;
}

.hbF_i {
  width: var(--w-c-l);
  margin: 0 auto;
}

.hbF_l {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: var(--w-c-m);
}

.hbF_l_i {
  margin: var(--m-m) 0 0;
}

.hbF_l_img img {
  width: 100%;
}

.hbF_l_cont {
  margin: 12px 0 0;
}

@media (min-width: 900px){
  .hbF_l_i {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
  }

  .hbF_l_cont {
    margin: 0;
  }
}



/* ------------------------------------------------------------

works：施工事例

------------------------------------------------------------ */

/* worksList
---------------------------------------- */
.worksList {
  width: var(--w-c);
  margin: var(--m-m) auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--m-m) var(--gap);
}

@media (min-width: 900px){
  .worksList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px){
  .worksList {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* worksI
---------------------------------------- */
.worksI {
  margin: -15px 0 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.worksI img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px){
  .worksI {
    margin: -20px 0 0;
  }
}


/* worksD
---------------------------------------- */
.worksD {
  width: var(--w-c-l);
  margin: var(--m-m) auto 0;
}


/* worksP
---------------------------------------- */
.worksP {
  width: var(--w-c-l);
  margin: var(--m-m) auto 0;
  border-top: solid 1px var(--c-gy);
}

.worksP_i {
  margin: var(--m-m) auto 0;
  max-width: var(--w-s);

  & figure {
    margin: var(--m-s) 0 0;
    text-align: center;
  }

  & figcaption {
    margin: 0;
    font-size: 1.2rem;
  }
}


/* worksR
---------------------------------------- */
.worksR {
  width: var(--w-c-l);
  margin: var(--m-xl) auto 0;
}

.worksR_l {
  margin: var(--m-m) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--m-m) var(--gap);
}

.worksR_btn {
  margin: var(--m-m) 0 0;
  text-align: right;
}

@media (min-width: 900px){
  .worksR_l {
    grid-template-columns: repeat(3, 1fr);
  }
}




/* ------------------------------------------------------------

faq：よくあるご質問

------------------------------------------------------------ */
.faq {
  width: var(--w-c-l);
  margin: var(--m-l) auto 0;
}

.faq_l {
  margin: var(--m-m) 0 0;
  padding: 0;
  list-style: none;
}

.faq_l_i {
  border-bottom: 1px solid var(--c-gy);
}

.faq_l_i:first-child {
  border-top: 1px solid var(--c-gy);
}

.faq_i {
  margin: 0;
}

.faq_q {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: var(--gap);
  padding: 24px 0;
  transition: all .3s ease;
}

.faq_i.active .faq_q {
  background: var(--c-pg);
}

.faq_q_pre {
  font-size: 2.4rem;
  line-height: 2.8rem;
  color: var(--c-bk);
  text-align: center;
}

.faq_q_txt {
  margin: 0;
  color: var(--c-bk);
}

.faq_q_btn {
  text-align: center;
}

.faq_q_btn span {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 6px 0 0;
  position: relative;
}

.faq_q_btn span::before,
.faq_q_btn span::after {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--c-dg);
  position: absolute;
  top: 7px;
  left: 0;
  transition: all .3s ease;
}

.faq_q_btn span::after {
  transform: rotate(90deg);
}

.faq_i.active .faq_q_btn span::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq_i.active .faq_q_btn span::after {
  transform: rotate(180deg);
}

.faq_a {
  overflow: hidden;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: var(--gap);
}

.faq_a_pre {
  font-size: 2.4rem;
  line-height: 2.8rem;
  color: var(--c-gy);
  text-align: center;
  padding: 24px 0;
}

.faq_a_txt {
  padding: 12px 0 24px;
}

.faq_a_txt p {
  margin: 12px 0 0;
}

@media (min-width: 900px){
  .faq {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .faq_l {
    margin: 0;
    grid-column: span 2;
  }


  .faq_q {
    grid-template-columns: repeat(8, 1fr);
  }

  .faq_q:hover {
    cursor: pointer;
    background: var(--c-pg);
  }

  .faq_q_txt {
    grid-column: span 6;
  }

  .faq_q_btn span {
    margin: 8px 0 0;
  }

  .faq_a {
    grid-template-columns: repeat(8, 1fr);
  }

  .faq_a_txt {
    grid-column: span 7;
  }

}






/* ------------------------------------------------------------

news：お知らせ

------------------------------------------------------------ */

/* catList
---------------------------------------- */
.catList {
  margin: var(--m-m) auto 0;
  width: var(--w-c-l);
}

.catList_l {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catList_a {
  display: block;
  text-decoration: none;
  font-size: 1.4rem;
  background: var(--c-pg);
  padding: 2px 12px;
  border-radius: 4px;
}

.catList_a.active {
  background: var(--c-bk);
  color: #fff;
}

@media (min-width: 900px){
  .catList_a:hover {
    opacity: 1;
    background: var(--c-bk);
    color: #fff;
  }
}


/* newsList
---------------------------------------- */
.newsList {
  margin: var(--m-m) auto 0;
  width: var(--w-c-l);
  padding: 0;
  list-style: none;
}

.newsList_i {
  border-bottom: solid 1px var(--c-gy);
}

.newsList_i:first-child {
  border-top: solid 1px var(--c-gy);
}

@media (min-width: 900px){
  .newsList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .newsList_i,
  .newsList_i:first-child {
    border: 0;
  }
}



/* ------------------------------------------------------------

news post：お知らせ記事

------------------------------------------------------------ */

/* newsPost
---------------------------------------- */
.newsPost {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
}


/* newsH
---------------------------------------- */
.newsH {
  max-width: var(--w-s);
  margin: 0 auto;
}

.newsH_ttl {
  margin: 0;
  font-size: 2.4rem;
  line-height: 2;
  font-weight: 400;
  color: var(--c-bk);
}

.newsH_info {
  margin: var(--m-s) 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.newsH_date {
  font-size: 1.4rem;
}

.newsH_cat {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsH_cat_i a {
  display: block;
  background: var(--c-pg);
  text-decoration: none;
  padding: 0 12px;
  border-radius: 4px;
}

@media (min-width: 900px){
  .newsH_ttl {
    font-size: 3.2rem;
  }

  .newsH_cat_i a:hover {
    background: var(--c-bk);
    color: #fff;
    opacity: 1;
  }
}


/* newsI
---------------------------------------- */
.newsI {
  margin: var(--m-m) calc(var(--g) * -1) 0;
}

.newsI img {
  width: 100%;
}

@media (min-width: 900px){
  .newsI {
    max-width: var(--w-m);
    margin: var(--m-m) auto 0;
  }
}


/* newsC
---------------------------------------- */
.newsC {
  margin: var(--m-m) auto 0;
  max-width: var(--w-s);
  font-size: 1.6rem;
}

.newsC::after {
  content: '';
  display: block;
  clear: both;
}

.newsC strong,
.newsC b {
  font-weight: bold;
}

.newsC small {
  font-size: 0.85em;
}

.newsC h1,
.newsC h2 {
  font-size: 2.4rem;
  margin: var(--m-m) 0 0;
  color: var(--c-bk);
  font-weight: 400;
}

.newsC h3 {
  margin: var(--m-m) 0 0;
  font-size: 2rem;
  color: var(--c-bk);
  font-weight: 400;
}

.newsC h4,
.newsC h5,
.newsC h6 {
  font-size: 1.6rem;
  margin: var(--m-s) 0 0;
  color: var(--c-bk);
  font-weight: 400;
}

.newsC ol,
.newsC ul {
  padding-left: 2em;
}

.newsC figure {
  padding: 0;
  text-align: center;
}

.newsC figcaption {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
}

.newsC blockquote {
  background: var(--c-pg);
  padding: 1px 20px 20px;
  position: relative;
}

.newsC blockquote cite {
  display: block;
  margin: 10px 0 0;
  text-align: right;
  font-size: 1.2rem;
}

.newsC table {
  width: 100%;
  border-collapse: collapse;
}

.newsC figure table {
  margin: 0;
}

.newsC thead,
.newsC tfoot {
  background: var(--c-pg);
}

.newsC th,
.newsC td {
  border: solid 1px var(--c-gy);
  text-align: left;
  padding: 8px 12px;
  vertical-align: top;
}

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

.alignright {
  float: right;
  margin-bottom: var(--m-s);
  margin-left: var(--m-s);
}

.alignleft {
  float: left;
  margin-right: var(--m-s);
  margin-bottom: var(--m-s);
}

@media (min-width: 900px){
  .newsC blockquote {
    padding: 1px 30px 20px;
  }

}


/* newsS
---------------------------------------- */
.newsS {
  margin: var(--m-l) auto 0;
  max-width: var(--w-s);
}

.newsS_l {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.newsS_l li {
  width: 100%;
  margin: 0;
}

.newsS_l a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
  text-align: center;
  font-size: 1rem;
  line-height: 24px;
  border-radius: 4px;
}

.newsS_l a span {
  display: inline-block;
}

.newsS_fb a {
  background: #3b5998;
}

.newsS_fb a span {
  background: url(../img/news/ico_fb.png) no-repeat left center;
  padding-left: 20px;
}

.newsS_x a {
  background: #000;
}

.newsS_x a span {
  background: url(../img/news/ico_x.png) no-repeat left center;
  padding-left: 31px;
}

.newsS_ln a {
  background: #00b900;
}

.newsS_ln a span {
  background: url(../img/news/ico_ln.png) no-repeat left center;
  padding-left: 44px;
}

@media (min-width: 900px){

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


/* newsR
---------------------------------------- */
.newsR {
  width: var(--w-c-l);
  margin: var(--m-xl) auto 0;
}

.newsR_l {
  margin: var(--m-m) 0 0;
  padding: 0;
  list-style: none;
}

.newsR_l_i {
  border-bottom: solid 1px var(--c-gy);
}

.newsR_l_i:first-child {
  border-top: solid 1px var(--c-gy);
}

.newsR_btn {
  margin: var(--m-m) 0 0;
  text-align: right;
}

@media (min-width: 900px){
  .newsR_l {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .newsR_l_i,
  .newsR_l_i:first-child {
    border: 0;
  }
}


/* newsB
---------------------------------------- */
.newsB {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
  border-top: solid 1px var(--c-gy);
}

.newsB_i {
  margin: var(--m-s) 0 0;
}


/* ------------------------------------------------------------

company：企業情報

------------------------------------------------------------ */

/* companyL
---------------------------------------- */
.companyL {
  margin: -15px 0 0;
  aspect-ratio: 3 / 2;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--c-dg);
}

.companyL_i {
  max-width: 50%;
}

@media (min-width: 900px){
  .companyL {
    margin: -20px 0 0;
    aspect-ratio: 3 / 1;
  }
}


/* companySec
---------------------------------------- */
.companySec {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
}

.companySec_cont {
  margin: var(--m-m) 0 0;
}

@media (min-width: 900px){
  .companySec {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

  .companySec_cont {
    margin: 0;
    grid-column: span 2;
  }

  .companySec_cont > *:first-child {
    margin-top: 0;
  }
}


/* cPhilosophy
---------------------------------------- */
.cPhilosophy {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.6rem;
  color: var(--c-bk);
}

.cPhilosophy_i::before {
  content: '一、';
}


/* cMessage
---------------------------------------- */
.cMessage_img {
  float: right;
  width: min(50%, 255px);
  margin: 0 0 20px 20px;
}

.cMessage_cont > *:first-child {
  margin-top: 0;
}

@media (min-width: 900px){
  .cMessage {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: var(--gap);
  }

  .cMessage_img {
    grid-column: span 3;
    float: none;
    width: 100%;
    margin: 0;
    order: 2;
  }

  .cMessage_cont {
    grid-column: span 5;
  }
}


/* cOutline
---------------------------------------- */
.cOutline {
  margin: 0;
}

.cOutline_i {
  margin: 0;
  padding: var(--m-s) 0;
  border-bottom: solid 1px var(--c-gy);
}

.cOutline_i:first-child {
  border-top: solid 1px var(--c-gy);
}

.cOutline_ttl {
  font-weight: 400;
  color: var(--c-bk);
}

.cOutline_cont {
  margin: 8px 0 0;
}

@media (min-width: 900px){
  .cOutline_i {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
  }

  .cOutline_cont {
    grid-column: span 3;
    margin: 0;
  }
}


/* accessM
---------------------------------------- */
.accessM {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
}

.accessM_map {
  margin: var(--m-m) 0 0;
  aspect-ratio: 1;
}

.accessM_map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.5);
}

.accessM_info_btn {
  margin: var(--m-s) 0 0;
  text-align: right;
}

.accessM_info_p {
  margin: var(--m-m) 0 0;
}

.accessM_info_p_img {
  float: right;
  width: min(50%, 255px);
  margin: 0 0 20px 20px;
}

.accessM_info_p_cont {
  & h3 {
    font-size: 1.6rem;
    color: var(--c-bk);
    font-weight: 400;
    margin: 0;
  }
}

@media (min-width: 900px){
  .accessM_map {
    aspect-ratio: 3 / 1;
  }

  .accessM_info {
    margin: var(--m-m) 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
  }

  .accessM_info_btn {
    order: 2;
    margin: 0;
  }

  .accessM_info_p {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
  }

  .accessM_info_p_img {
    float: none;
    width: 100%;
    margin: 0;
  }
}






/* ------------------------------------------------------------

contact：お問い合わせ

------------------------------------------------------------ */

/* contactCols
---------------------------------------- */
.contactCols {
  width: var(--w-c-l);
  margin: var(--m-l) auto 0;
  border-top: solid 1px var(--c-gy);
  padding: var(--m-l) 0 0;
}

@media (min-width: 900px){
  .contactCols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }

}


/* contactTel
---------------------------------------- */
.contactTel_i {
  padding: 0 0 0 28px;
  position: relative;
}

.contactTel_i::before {
  content: '';
  display: block;
  width: 17px;
  height: 22px;
  background: url(../img/contact/ico_tel.svg) no-repeat left center / contain;
  position: absolute;
  top: 5px;
  left: 0;
}

.contactTel_num {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0;

  & a {
    text-decoration: none;
  }
}

.contactTel_info {
  margin: 0;
  font-size: 1.2rem;
}

@media (min-width: 900px){

}


/* contactForm
---------------------------------------- */
.contactForm {
  margin: var(--m-l) 0 0;
  border-top: solid 1px var(--c-gy);
  padding: var(--m-l) 0 0;
}

.contactForm_notes {
  margin-bottom: var(--m-m);
}

.contactForm_notes_txt {
  margin: 0;
}

.contactForm_item {
  margin: 30px 0 0;
  border-top: solid 1px #ddd;
  padding: 30px 0 0;
}

.contactForm_ttl {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-bk);
}

.contactForm_ttl::before {
  content: '任意';
  display: inline-block;
  font-weight: normal;
  border: solid 1px var(--c-gy);
  font-size: 1.2rem;
  line-height: 22px;
  margin: 4px 16px 0 0;
  padding: 0 12px;
  float: left;
  border-radius: 4px;
}

.contactForm_req::before {
  content: '必須';
  background: #c33;
  border-color: #c33;
  color: #fff;
}

.contactForm_cont {
  margin: 12px 0 0;
  padding: 0;
}

.contactForm input[type=text],
.contactForm input[type=email],
.contactForm input[type=tel],
.contactForm input[type=date],
.contactForm textarea {
  display: block;
  width: 100%;
  border: solid 1px var(--c-pg);
  background: var(--c-pg);
  padding: 13px 16px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
  line-height: 2;
  resize: none;
}

.wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 4px 0 0;
}

.wpcf7-radio label input {
  position: absolute;
  width: 0;
  height: 0;
}

.wpcf7-list-item-label {
  display: inline-block;
  padding: 4px 0 4px 40px;
  position: relative;
  font-size: 1.4rem;
}

input:checked + .wpcf7-list-item-label {
  color: var(--c-bk);
}

.wpcf7-list-item-label::before {
  box-sizing: border-box;
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background: var(--c-pg);
  border-radius: 16px;
  padding: 0;
  position: absolute;
  top: 4px;
  left: 0;
}

.wpcf7-list-item-label::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: var(--c-bk);
  border-radius: 8px;
  position: absolute;
  top: 12px;
  left: 8px;
  opacity: 0;
}

input:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

.contactForm textarea {
  height: 240px;
}

.contactForm input::placeholder,
.contactForm textarea::placeholder {
  color: var(--c-gy);
}

.contactForm input.wpcf7-not-valid,
.contactForm textarea.wpcf7-not-valid {
  border: solid 1px #c33;
}

.contactForm_address_ttl {
  margin: 8px 0 4px !important;
  font-size: 12px;
  line-height: 1.5;
}

.contactForm_address_num {
  width: 50%;
}

.contactForm_address_num_i {
  position: relative;
}

.contactForm_address_num_i::after {
  content: '〒';
  font-size: 16px;
  line-height: 2;
  font-weight: bold;
  color: var(--c-dg);
  position: absolute;
  top: 13px;
  left: 12px;
}

.contactForm_address_num_i input {
  padding-left: 36px !important;
}

.contactForm_address_txt {
  margin: 15px 0 0;
}

.contactForm_submit {
  margin: 30px 0 0;
  border-top: solid 1px #ddd;
  padding: 30px 0 0;
  position: relative;
}

.contactForm_submit input {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 16px 32px;
  background: var(--c-bk);
  color: #fff;
  font-size: 16px;
  text-align: center;
  border: 0;
  transition: all 0.3s ease;
}

@media (min-width: 900px){

  .contactForm {
    margin: 0;
    border-top: 0;
    padding: 0;
    grid-column: span 2;
  }

  .wpcf7-list-item label:hover {
    cursor: pointer;
  }

  .contactForm_submit input:hover {
    cursor: pointer;
    opacity: .6;
  }
}


/* CF7 ローディングアイコン変更 */
.contactForm .wpcf7-spinner {
  display: block;
  margin: 10px 0;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: transparent;
  border-top: 2px solid rgba(0,0,0, .3);
  border-left: 2px solid rgba(0,0,0, .3);
  border-bottom: 2px solid rgba(0,0,0, .3);
  border-right: 2px solid transparent;
  animation: g-ms-spinner .8s linear infinite;
  position: absolute;
  left: calc(50% - 12px);
  bottom: -44px;
}
@keyframes g-ms-spinner {
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}
.contactForm .wpcf7-spinner::before {
  content: none;
}
.contactForm .wpcf7-response-output {
  margin-top: 0;
}


/* thanksCont
---------------------------------------- */
.thanksCont {
  margin: var(--m-l) auto 0;
  width: var(--w-c-l);
}

.thanksCont_ttl {
  font-size: 2.4rem;
  margin: 0;
  color: #333;
}

@media (min-width: 900px){
  .thanksCont_ttl {
    font-size: 3rem;
  }

}



/* ------------------------------------------------------------

privacy：プライバシーポリシー

------------------------------------------------------------ */
.privacy {
  margin: var(--m-l) auto 0;
  width: var(--w-c-s);
}

.privacy h2 {
  margin: var(--m-m) 0 0;
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-bk);
}

.privacy ol {
  counter-reset: count;
  list-style: none;
  padding: 0;
}

.privacy li {
  counter-increment: count;
  padding: 0 0 0 2.5em;
  position: relative;
}

.privacy li::before {
  content: '（' counter(count) '） ';
  position: absolute;
  top: 0;
  left: 0;
}
