@charset "utf-8";
@import url("root.css");


/* CSS Document */

/* ==========================================================================
   テキスト装飾
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
}
html {
	line-height: 1.4;
}
body {
font-size:16px;
background-color: #ffffff;
color:#333333;
font-weight: 400;
min-width:1200px;
line-height: 2;
font-family: 'Noto Sans JP', sans-serif;
}

a {
color: #000000;
text-decoration: none;
text-decoration-skip-ink: none;
}
a:hover{
  color: #333333;
  text-decoration: none;
}

a:focus {
outline: none; /* デフォルトのフォーカス枠を無効化 */
text-decoration: none; /* 必要に応じて下線を無効化 */
}

img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

img.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1024px) {
body {
font-size: 16px;
line-height: 1.8;
min-width:100%;
}

}


img {
max-width: 100%;
vertical-align: bottom;
}
.pc {display: block;}
.sp {display: none;}



@media (max-width: 1024px) {
.pc {display: none;}
.sp {display: block;}


.child_01{order: 1;}
.child_02{order: 2;}
.child_03{order: 3;}
.child_04{order: 4;}
.child_05{order: 5;}
.child_06{order: 6;}
.child_07{order: 5;}
.child_08{order: 8;}
.child_09{order: 9;}


}


/* ==========================================================================
   テキスト装飾
   ========================================================================== */
.txt_b{font-weight: bold;}
.txt_big{font-size: 120%;}
.txt_big_02{font-size: 140%;}
.txt_red{color:var(--base-color_red);}
.txt_bl{color:#00479d;}
.txt_small{font-size: 80%;}
.txt_small_02{font-size: 60%;}



/* ==========================================================================
   リンク　共通
   ========================================================================== */
.view {
  display: flex;
  justify-content: flex-end;
  padding: 100px 0 40px 0;
}

.view-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  text-decoration: none;
  font-weight:400;
  line-height: 1.4;
  overflow: visible;
  margin-left: auto;
  padding: 0 70px 0 0;
  position: relative;
  z-index: 2;
}

.view-more .circle {
  position: absolute;
  right: 0;
  width: 50px;
  height: 50px;
  background:var(--base-color_bl);
  border-radius: 50%;
  z-index: 0;
  transform: scale(1);
  transition: transform 0.6s ease, opacity 0.6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* アイコンの見た目を整える（任意） */
.view-more .circle i {
  color: var(--base-color_w);
  font-size: 16px;
  transition: transform 0.4s ease;
}

/* ホバー時に「ほわっ」と拡大 */
.view-more:hover .circle {
  transform: scale(1.3);
  opacity: 0.8;
}


/* ホバー時に「ほわっ」と拡大 */
.view-more:hover .circle {
transform: scale(1.3);
opacity: 0.8; /* 少し濃くして強調してもOK */
}


.view-more_02 {
margin: 0 auto;
padding: 100px 0 0 0;
text-align: center;
}



.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color:var(--base-color_bl); 
  color:var(--base-color_w);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  padding: 12px 24px 12px 32px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* アイコン部分 */
.view-more-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* 白い円 */
  color: #008ad2; /* 矢印の色 */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ホバー時の動き */
.view-more-btn:hover {
  transform: translateY(-2px);
  color:var(--link-color_h);
}

.view-more-btn:hover .icon {
  transform: translateX(4px); /* 矢印が右に少し動く */
  background-color:var(--link-color_h);
}

@media (max-width: 1024px) {
.view {padding: 40px 0 20px 0;}
.view-more {
font-size: 16px;
padding: 0 60px 0 0;
}

.view-more .circle {
width: 50px;
height: 50px;
}

.view-more-btn .view-more {
  display: flex;
  justify-content: center;
  padding: 0 0 0 0;
}

.view-more_02 {
margin: 0 auto;
padding: 0 0 0 0;
text-align: center;
}

}
@media screen and (max-width: 767px) {

}





/* ==========================================================================
   共通レイアウト
   ========================================================================== */
.box{
width: 1000px;
margin: 0 auto 0;
padding:100px 0;
}


.row{
width: 100%;
display: flex;
margin: 0 auto 0;
padding:0 0;
justify-content: space-around;
flex-wrap: wrap;
}

.col{
width:440px;
margin: 0 60px 0 0;
}
.col:nth-last-child(){
margin: 0 0 0 0;
}



.col_03 {
  width: calc((1000px - 80px) / 3); /* 1000px幅からマージン80pxを引いて3分割 */
  margin-right: 40px;
}

.col_03:nth-child(3n){
  margin-right: 0;
}

.col_04{width: 288px;margin: 0 16px 0 0;}
.col_04:nth-child(4n){margin: 0 0 0 0;}

@media screen and (max-width: 1024px) {
.box{
width: 90%;
margin: 0 auto 0;
padding:20px 0;
}

.row{width: 100%;}
.col{width: 100%;margin:0;}

.col_03{width: 100%;margin: 0 auto 40px;}
.col_03:nth-child(3n){width: 100%;margin: 0 auto 40px;}
.col_03:nth-child(2n){width: 100%;margin: 0 auto 40px;}

.col_04{width: 48%;margin: 0 4% 0 0;}
.col_04:nth-child(2n){margin: 0 0 0 0;}
.col_04:nth-child(4n){margin: 0 0 0 0;}
}


/* ==========================================================================
   共通タイトル
   ========================================================================== */
.title_h2 {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.title_h2.visible {
  opacity: 1;
  transform: translateY(0);
}
.title_h2 h2{
margin: 0 auto 0;
color: var(--base-color_bl);
font-size: 90px;
font-family: "Roboto Condensed", sans-serif;
line-height: 1;
display: block;
width: 100%;
padding: 0 0 20px 0;

}

.title_h2 span{
font-size: 24px;
color: var(--base-color_bk);
line-height: 1;
font-weight: 600;
}

.title_h3 h3{
font-size: 36px;
font-weight: 600;
padding: 80px 0 40px 0;
margin:0 auto;
line-height: 1.6;
}


@media screen and (max-width: 1024px) {
.title_h2{margin: 0 auto 0;background-color: var(--base-color_ol);}

.title_h2 h2{
margin: 0 auto 0;
padding: 0 0 20px 0;
font-size: 40px;
}


.title_h3 h3{
font-size: 24px;
font-weight: 600;
padding: 40px 0 40px 0;
margin:0 auto;
line-height: 1.6;
}

}




/* ==========================================================================
   ヘッダ
   ========================================================================== */

header{
min-width:1200px;
position: relative;
}

header .header_wrap{
width:100%;
margin: 0 auto;
padding: 0 0;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
height: 100px;
position:absolute;
top:0;
left: 0;
}

header .header_col{width:50%;}

header .header_wrap h1 {
width: 45%;
display: flex;
flex-wrap: wrap;
justify-content:center;
align-items: center;
margin: -30px 0 0 0;
min-width:350px;
background-color: var(--base-color_bl);
height:100px;
position: relative;
z-index: 999;
}

header h1 img {max-width:100%;min-width:120px;}

header .header_menu{}

header .header_menu{
display: flex;
margin: 0 auto 0;
justify-content: flex-end;
padding: 0 50px 0 0;
}

header .navigation{
display: flex;
justify-content: center;
position: fixed;
top: 50px;
right: 50px;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

#page_link {
list-style: none;
padding:20px 10px 20px 30px;
margin: 0;
display: flex;
border-radius: 5px 0 0 5px;
background-color: var(--base-color_w);
}

#page_link li {}

#page_link li a {
text-decoration: none;
display: block;
transition: color 0.3s ease;
padding: 0 20px 0 0;
font-size: 18px;
line-height: 1;
}

#page_link li a:hover {
color: var(--base-color_bl);
}

#page_link_mail {
background-color:var(--base-color_bl);
color:  var(--base-color_w);
border-radius:0 5px 5px 0;
display: flex;
justify-content: center;
align-items: center;
padding: 0 20px;

}

#page_link_mail i{
color:  var(--base-color_w);
font-size: 30px;
transition: color 0.3s ease;
}
#page_link_mail:hover i {
color: var(--link-color_h);
}

#page_link_mail a{
line-height: 1;
}

#menu-btn-check,
.menu-btn,
.store_name {
display: none;
}

@media screen and (max-width: 1024px) {
header {
position: fixed;
top: 0;
left: 0;
padding:0;
height:60px;
width: 100%;
background: var(--base-color_w);
z-index: 999999;
display: flex;
align-items: center;
min-width: 100%;
}
header .header_wrap {
width:100%;
height:59px;
margin: 0 auto 0;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items:flex-start;
padding: 0;
box-sizing: border-box;
}

header .header_col {width: 80%;}
header .header_col:nth-child(2) {width: 20%;}

header .header_wrap h1 {
width:50%;
margin-left:0;
min-width:auto;
z-index: 999;
height: 60px;
padding: 0 0 0 5%;
margin: 0;
}

header .header_wrap a {
margin: -30px auto 0;
padding: 0;
}

header .header_wrap p {
font-size: 12px;
display: block;
padding: 0 0 5px 0;
width: 100%;
}
header .header_inq{display: none;}
header h1 img {
max-width:90%;
min-width:30%;
}
header .header_menu {
max-width: 100%;
margin: 0 0 0 0;
display: flex;
padding: 0;
}
.menu-btn {
position: fixed;
top:0;
right:0;
display: flex;
height:60px;
width:60px;
justify-content: center;
align-items: center;
z-index: 90;
background-color: var(--base-color_bk);
color: var(--base-color_w);
margin: 0 auto;
}

.menu-btn span.bar,
.menu-btn span.bar:before,
.menu-btn span.bar:after {
content: "";
display: block;
height: 2px;
width: 37px;
border-radius: 3px;
background-color: var(--base-color_w);
position: absolute;
}
.menu-btn span.txt {
position: absolute;
bottom: -5px;
}
.menu-btn span.bar:before {
top: -12px;
}
.menu-btn span.bar {
top: 30px;
}
.menu-btn span.bar:after {top: 12px;}
#menu-btn-check:checked ~ .menu-btn span.bar {
background-color: var(--base-color03);
}
#menu-btn-check:checked ~ .menu-btn span.bar::before {
top: 0;
transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span.bar::after {
top: 0;
transform: rotate(-45deg);
}


header .navigation {
width: 100%;
height:auto;
position: fixed;
top: 60px;
left: 100%;
z-index:99999;
background-color: var(--base-color_w);
color: var(--base-color_w);
transition: all 0.5s;
overflow-y: scroll;
padding-bottom: 40px;
}

header .navigation ul#page_link {
width: 100%;
padding:5%;
height: auto;
background-color: var(--base-color_w);
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
border: 0;
box-sizing: border-box;
list-style: none;
border-radius:0;
}


header .navigation ul#page_link li:not(:last-of-type)::after {content: none; }


header .navigation ul#page_link li{
height: auto;
width: 100%;
padding:0;
border-bottom: 2px solid var(--base-color_gr);
}

header .navigation ul#page_link li a{
padding: 20px 0;
display: block;
transition: color 0.3s ease;
padding:30px 0 20px 0;
 font-size: 18px;
line-height: 1.8;
color: var(--base-color_bl);
margin: 0 auto;
}

#menu-btn-check:checked ~ .navigation {left: 0;/*メニューを画面内へ*/}
header .navigation li.has-child {flex-wrap: wrap;  }






#page_link_mail{
display: none;
}
}



/* =========================================
   メインビジュアル
   ========================================= */
.top {
  position: relative;
  margin: 0 0 0 10%;
  width: 90%;
  height: 80vh;
  background-color: var(--base-color_w);
  overflow: visible;
}

/* === 背景レイヤー === */
.top_bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: url("../img/top_01.jpg") center/cover no-repeat; /* 白防止 */
}

/* === 背景3枚 === */
.top_bg::before,
.top_bg::after,
.top_bg div::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  z-index: 0;
  opacity: 0;
  animation: zoomInFade 18s ease-in-out infinite;
}

/* 各画像設定 */
.top_bg::before {
  background-image: url("../img/top_01.jpg");
  animation-delay: 0s;
}

.top_bg::after {
  background-image: url("../img/top_02.jpg");
  animation-delay: 6s;
}

.top_bg div::before {
  background-image: url("../img/top_03.jpg");
  animation-delay: 12s;
}

/* === フェード＋ズーム（常に動いているように） === */
@keyframes zoomInFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
    transform: scale(1.02);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  60% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* === テキストボックス === */
.top_txt {
  position: absolute;
  bottom: 0;
  left: -100px;
  background-color: var(--base-color_w);
  border-radius: 0 20px 0 0;
  padding: 30px 60px;
  z-index: 10;
}

.top_txt h1 {
  font-size: 60px;
  font-weight: 600;
  margin-top: 10px;
}


.top_txt h2 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
}

.top_txt span {
  color: var(--base-color_bl);
}

/* === レスポンシブ対応 === */
@media screen and (max-width: 767px) {
.top {
margin:-60px 0 0 0;
width: 100%;
height: 70vh;
}

.top_txt {
left: 50%;
transform: translateX(-50%);
bottom:-10px;
width:90%;
padding: 10px 20px;
border-radius: 0;
border-radius: 20px 20px 0 0;
margin: 0 auto;
box-sizing: border-box;
}

.top_txt h1 {
font-size: 42px;
text-align: center;
margin: 0 auto;
line-height: 1.6;
}

.top_txt h2 {
font-size: 14px;
text-align: center;
margin: 0 auto;
}
}


/* #################################  TOP SP*/
/* #################################  TOP SP*/

@media screen and (max-width: 1024px) {
.top_box_bg{
padding: 0 0 0 0;
background: url("../img/top_bg_sp.jpg") top left no-repeat var(--base-color_w);
background-size: 100%;
margin: 60px auto 0;
}


.top_box{
margin: 0 auto 0;
width:100%;
padding:0;
}

.top_box img{padding:0;}




}


/***************************************
------------- ABOUT US -------------
***************************************/
#about {
position: relative;
width: 100%;
height:95vh;
display: flex;
margin: 200px auto 0;
}

#about .image-wrap {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 40%;
overflow: hidden;
z-index: 1;
}

#about .image-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

#about .about_box {
position: relative;
z-index: 2;
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: flex-end;
flex-wrap: wrap;

padding:0;
box-sizing: border-box;
}

#about .about_txt {
width:50%;
padding:80px 0 0 0;
}

@media (max-width: 1024px) {
#about {
position: static !important;
width: 100%;
height:auto;
display: flex;
margin:80px auto 0;
flex-wrap: wrap;
}

#about .image-wrap {
position: static !important;
left: 0;
top: 0;
bottom: 0;
width: 100%;
overflow: hidden;
z-index: 1;
}

#about .image-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

#about .about_box {
position: relative;
z-index: 2;
width: 90%;
max-width:100%;
margin: 40px auto 0;
display: flex;
justify-content:space-between;
align-items: center;
padding:0;
box-sizing: border-box;
flex-wrap: wrap;
}

#about .about_txt {
width:100%;
padding:0;
}

}
@media screen and (max-width: 767px) {

}

/***************************************
------------- BUSINESS POLICY -------------
***************************************/
#business {
background-color: var(--bg-color_01);
margin: 250px auto 0;
position: relative;

}
#business .title_h2 {
  text-align: center;
  position: relative;
  top:-50px;
}

#business .title_h2 span {
  display: block;
  font-size:24px;
}

#business .row {
    position: relative;
	overflow: hidden;
}


#business .box {
    position: relative;
	overflow: hidden;
	padding: 60px 0 100px 0;
}


#business .col_03 .img-wrap {
    position: relative;
	overflow: hidden;
}


#business .col_03 .number {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: var(--base-color_bl);
    color: var(--base-color_w);
    font-size: 20px;
    font-weight:500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#business .col_03 .txt {
    position: absolute;
    bottom: 0;
    left: 0;
	width: 100%;
	background-color: hsla(0, 0%, 0%, 0.5);
	color: var(--base-color_w);
    font-size: 16px;
    font-weight:500;
	text-align: center;
	padding: 10px 0;
}
#business .col_03 .img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease; /* なめらかに動く */
}

#business .col_03 .img-wrap:hover img {
  transform: scale(1.08); /* ← 拡大率を調整（1.05〜1.15がおすすめ） */
}

@media (max-width: 1024px) {
#business {
margin: 100px auto 0;

}
#business .title_h2 {
text-align: center;
position: relative;
top:-20px;
}

#business .title_h2 span {
  display: block;
  font-size:24px;
}

#business .row {
    position: relative;
	overflow: hidden;
}


#business .box {
position: relative;
overflow: hidden;
padding:40px 0 100px 0;
}


#business .col_03 .img-wrap {
    position: relative;
	overflow: hidden;
}


#business .col_03 .number {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: var(--base-color_bl);
    color: var(--base-color_w);
    font-size: 20px;
    font-weight:500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#business .col_03 .txt {
    position: absolute;
    bottom: 0;
    left: 0;
	width: 100%;
	background-color: hsla(0, 0%, 0%, 0.5);
	color: var(--base-color_w);
    font-size: 16px;
    font-weight:500;
	text-align: center;
	padding: 10px 0;
}
#business .col_03 .img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease; /* なめらかに動く */
}

#business .col_03 .img-wrap:hover img {
  transform: scale(1.08); /* ← 拡大率を調整（1.05〜1.15がおすすめ） */
}
}
@media screen and (max-width: 767px) {
}


/***************************************
------------- service -------------
***************************************/
#service{
background: url("../img/service_bg.png") no-repeat top center;
margin: 0 auto;
text-align: center;
padding: 200px 0;
}

#service h3{
text-align: center;
line-height: 1.8;
margin: 60px auto 0;
font-size: 36px;
}
#service .row{
margin: 0 auto;
width: 1000px;
}

#service .col:nth-child(2){
padding: 150px 0 0 0;
margin: 0 0 0 0;
}

.business-item {
display: flex;
align-items: center;
padding:80px 0 20px 0;
border-radius: 5px;
}

/* 左の番号ボックス */
.number-box {
width: 40px;
height: 40px;
background-color:
color: #fff;
font-weight: 600;
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius:5px; 
flex-shrink: 0;
background-color: var(--base-color_bl);
color: var(--base-color_w);
}

/* 右側のテキスト */
.text {
font-size: 18px;
font-weight: 500;
color: #008ad2;
margin-left: 10px;
}

#service .view-more{
display: flex;
justify-content: center;
padding: 100px 0 0 0;
}

@media (max-width: 1024px) {
#service{
margin: 0 auto;
text-align: center;
padding: 100px 0;
}

#service h3{
text-align: center;
line-height: 1.8;
margin: 40px auto 40px;
font-size: 20px;
}
#service .row{
margin: 0 auto 40px;
width: 90%;
}

#service .col:nth-child(2){
padding: 0 0 0 0;
margin: 0 0 0 0;
}

.business-item {
display: flex;
align-items: center;
padding:20px 0 20px 0;
border-radius: 5px;
}

/* 左の番号ボックス */
.number-box {
width: 40px;
height: 40px;
background-color:
color: #fff;
font-weight: 600;
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius:5px; 
flex-shrink: 0;
background-color: var(--base-color_bl);
color: var(--base-color_w);
}

/* 右側のテキスト */
.text {
font-size: 18px;
font-weight: 500;
color: #008ad2;
margin-left: 10px;
}

#service .view-more{
display: flex;
justify-content: center;
padding: 100px 0 0 0;
}

}
@media screen and (max-width: 767px) {
}

/***************************************
------------- 企業情報 -------------
***************************************/


#company {
background-color: var(--bg-color_w);
margin: 0 auto 0;
background: url("../img/company_bg.jpg") repeat-x top center;
}

#company .title_h2 {text-align: center;
}

#company .title_h2 span {
display: block;
font-size:24px;
}

#company h3 {
text-align: center;
font-size: 36px;
font-weight: 600;
margin:60px auto 100px;
line-height: 1.6;
}

#company .row{width:1000px;margin: 0 auto;}
#company .col{width: 50%;margin: 0 auto;}
#company .col:nth-child(2){
width: 50%;
margin: 0 0 0 auto;
text-align: right;
}

#company dl{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
margin: 0 auto 0;
padding: 0;
width:100%;

}

#company dt{
width:25%;
text-align: left;
padding:10px 0 10px 0;
border-bottom: 2px solid var(--base-color_bl);
font-weight: 400;
box-sizing: border-box;
}


#company dd{
width:75%;
text-align: left;
padding:20px 0 0 40px;
box-sizing: border-box;
line-height: 1.4;

}

@media (max-width: 1024px) {
#company {
background-color: var(--bg-color_w);
margin: 0 auto 0;
padding: 10px 0 0 0;
}

#company .title_h2 {text-align: center;}

#company .title_h2 span {
display: block;
font-size:24px;
}

#company h3 {
font-size:24px;
margin:40px auto ;
}

#company .row{width:90%;margin: 0 auto;}
#company .col{width: 100%;margin: 0 auto;}
#company .col:nth-child(2){
width: 100%;
margin: 40px auto 0;
text-align:center;
}

#company dl{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
margin: 0 auto 0;
padding: 0;
width:100%;
font-size: 14px;

}

#company dt{
width:30%;
text-align: left;
padding:10px 0 10px 0;
border-bottom: 2px solid var(--base-color_bl);
font-weight: 400;
box-sizing: border-box;
}

#company dd{
width:70%;
text-align: left;
padding:20px 0 0 20px;
box-sizing: border-box;

}
}
@media screen and (max-width: 767px) {
}


/***************************************
-------------- CONTACT --------------
***************************************/

#contact{
width: 1000px;
margin: 0 auto 0;
padding: 200px 0 100px 0;
}

#contact .title_h2{
text-align: center;
margin: 0 auto;
}


span.must {
  display: block;
  width: 48px;
  font-size: 16px;
  text-align: center;
  background:#d70000;
  color:#ffffff;
  border-radius: 4px;
  margin:0;
  padding: 5px 0;
}

section form {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
  font-size: 16
}
.mailform {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
    border-bottom: 2px solid #dddddd;
	padding:30px 0;
}

form dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 40%;
  padding:0 20px 0 0;
  font-size:20px;
  box-sizing: border-box;
  
}
form dd {
  width: 60%;
  box-sizing: border-box;

}
form dd.check,
form dd.upload,
form dd.select {
  width: 100%;
}
form dd.check label,
form dd.upload input {
  font-size: 1.8rem;
}

form dd.select select {
  background: var(--base-color03);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 8px;
    border:2px solid #dddddd;
    font-size:20px;
    box-sizing: border-box;
	background-color: #ffffff;
    vertical-align: bottom;
}
#mailformpro select {
    padding: 8px;
border: 2px solid #dddddd;
    font-size:16px;
    box-sizing: border-box;
	width: 100%;
}

.wpcf7-select {
    padding: 8px;
    border: 2px solid #dddddd;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
}


button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    padding: 15px;
    border: none;
    background:var(--base-color_bl);
    color:var(--base-color_w);
    text-align: center;
    margin: 5rem auto;
    font-size: 1.8rem;
    border-radius: 12px;
}
button[type="submit"]:hover {
  opacity: 0.8;
  cursor: pointer; 
}

input[type="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px;
  border: none;
  background: var(--base-color_bl);
  color: var(--base-color_w);
  text-align: center;
  margin: 5rem auto;
  font-size: 1.8rem;
  border-radius: 12px;
  cursor: pointer;
}


#mailformpro input[type="checkbox"] {
  all: revert;
}


.selectbox-3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-3::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-3 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.radio-1 {
    display: flex;
    flex-wrap: wrap;
    gap: .3em 2em;
    border: none;
	font-size:18px;
}

.radio-1 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
	font-size:18px;
}

.radio-1 label::before,
.radio-1 label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.radio-1 label::before {
    width: 18px;
    height: 18px;
    background-color: #e6edf3;
}

.radio-1 label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #333333;
    animation: anim-radio-1 .3s linear;
}

@keyframes anim-radio-1 {
    0% {
        box-shadow: 0 0 0 1px transparent;
    }
    50% {
        box-shadow: 0 0 0 10px #333333;
    }
    100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.radio-1 input {
    display: none;
}

#form h3{
font-size: 30px;
    font-weight: 400;
    color: var(--base-color01);
}


/* =======================
  SP
======================== */
@media (max-width: 1024px) {
#contact{
width: 100%;
margin: 0 auto 0;
padding: 100px 0 50px 0;
}

#contact  .box {
padding:0 0 50px 0;
  }

  .mailform {
    flex-wrap: wrap;
	padding: 20px 0;
  }
  form dt {
    margin-bottom: 0;
	padding: 0 0 0 0;
  }
  form dt,form dd {
    width: 100%;
  }
.mfp {
padding: 0 0 10px 0;
}
}

@media (max-width: 767px) {
button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    padding: 15px;
    border: none;
    background:var(--base-color_bl);
    color:var(--base-color_w);
    text-align: center;
    margin: 20px auto;
    font-size:24px;
    border-radius: 12px;
}
button[type="submit"]:hover {
  opacity: 0.8;
  cursor: pointer; 
}

#mailformpro input[type="checkbox"] {
  all: revert;
}
}



/* ==========================================================================
   下部追撃
   ========================================================================== */
#page_top a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 100px;
    color: #ffffff;
    text-align: center;
    background:#333333;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
	font-size: 16px;
}
#page_top a::before {
    content: "";
    width: 1px;
    height: 1px;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    border-left: 10px solid transparent; 
    margin-bottom: 5px;
}
#page_top a span {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.0;
}

@media screen and (max-width: 1024px) {
#page_top a {
    bottom: 40px;
}
}

/* =======================
  フッター
======================== */
footer{
background-color: var(--base-color_bl);
color: var(--base-color_w);
margin: 0 auto;
padding: 100px 0;
text-align: center;
}
footer a{color: var(--base-color_w);}
footer a:hover{color: var(--link-color_h);}

footer ul{
display: flex;
margin: 0 auto;
justify-content: center;
list-style-type: none;
border-top: 1px solid var(--base-color_w);
padding: 40px 0 40px 0;
}

footer li{
padding:0 10px;
}



footer img{padding:0 0 20px 0;}
footer p{padding:0 0 60px 0;}


@media (max-width: 1024px) {
footer{
background-color: var(--base-color_bl);
color: var(--base-color_w);
margin: 0 auto;
padding: 100px 0;
text-align: center;
}

footer ul{
display: flex;
flex-wrap: wrap;
margin: 0 auto;
justify-content: center;
list-style-type: none;
padding: 0 0 40px 0;
width: 100%;
border-top: 0 dotted var(--base-color_w);
}

footer li{
width: 80%;
padding:0;
display: 100px;
border-bottom: 1px dotted var(--base-color_w);
}

footer li a{
padding: 15px 0;
display: block;
}

}

