@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kumar+One&family=Poller+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=New+Amsterdam&display=swap');

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #d0d0d0;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#header{
	position: relative;
    overflow:hidden;
    width:100%;
    height:568px;
}


#header img{
    position:absolute;
    left:50%;
    width:1280px;
    height:568px;
    margin-left:-640px;
}


#slogan{
	position: absolute;
  top: 50%; 
	width: 100%;
	-webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
}

#slogan h1{
	font-size: 40px;
	ont-family: "New Amsterdam", sans-serif;
 font-weight: 0;
 font-style: normal;
	margin-bottom: 20px;
}

#slogan h2{
	font-size: 20px;
	font-weight:normal;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}

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

section{clear:both;}

section h2{
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 50px;
}

.col2 li{
	display: inline-block;
	width: 100%;
 margin: 20px 0 20px 0;
}


/* SEC01 VISION
------------------------------------------------------------*/

.vision{
	width: 72%;
	margin: 0 auto;
	padding-bottom: 80px;
}


.vision .text{
 text-align: left;
 font-size: 32px;
 padding: 16px 0px;
 font-weight: bold;
 font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}

/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap{
	clear: both;
	width: 100%;
	background: #bdbdbd;
}

.bg{
	line-height: 0;
}

.txt h2{
	padding: 0 0 20px !important;
}


/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
#sec03 .inner{
 width: 94%;
 margin: 0 auto;
}


.col3 li{
	margin-bottom: 50px;
}

.col3 img{
	max-width: 240px;
	display: block;
	margin: -5px auto 20px;
}

.col3 .myh{
 text-align: center;
 font-weight: bold;
 font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}


/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
#sec04{
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
}


/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05{
	padding-top: 50px;
}

#sec05 dl{
	line-height: 1.2;
}

#sec05 dt{
	clear: left;
	float: left;
	display: block;
	width: 30%;
	margin-right: 10%;
	margin-bottom: 20px;
	text-align: right;
	line-height: 1.6em;
}

#sec05 dd{
	width: 60%;
	float: left;
	text-align: left;
	margin-bottom: 15px;
	line-height: 1.6em;
}

#sec05 header{
	display: none;
}

#map{
	position: relative;
	overflow: hidden;
 width: 100%;
}

#map p{
 font-weight: bold;
 font-size: 16px;
 text-align: center;
 padding: 8px 0 16px 0px;
}

.mail_form {
	max-width:100%;
	margin: 0 auto;
 font-size: 100%;
}

.mail_form dl {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.mail_form dl dt {
	clear: both;
	width: 30%;
	float: left;
	text-align: right;
	overflow: hidden;
}

.mail_form dl dd {
	width: 60%;
	float: right;
	}

.mail_form dl dt span {
	display: block;
	font-size: 85%;
	color: #2a2a2a;
}

input[type="text"]{
	width:98%;
  height: 35px;
  -moz-box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

input[type="email"]{
	width:98%;
  height: 35px;
  -moz-box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

input[type="tel"]{
	width:98%;
  height: 35px;
  -moz-box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

input:focus {
  border:solid 3px #e0e0e0;
}

textarea {
  width: 98%;
  height: 160px;
  line-height: 1.5em;
  -moz-box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

textarea:focus {
  border:solid 3px #e0e0e0;
}

.btn-stitch {
  width: 30%;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none !important;
  background: linear-gradient(#333333, #666666, #333333 );
  color: #FFF;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 5px #e0e0e0;
  border: dashed 1px #FFF;
  text-align: center;
  margin: 16px auto;
}

.btn-stitch:hover {
  border: dotted 1px #FFF;
}

/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
		padding-bottom: 120px;
	}
	section h2{
		padding: 70px 0 20px;
	}
	.txt h2{
		padding: 0 0 20px !important;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav{
		position:fixed;
		top: 0;
		width:100%;
		z-index:500;
	}

	#mainnav ul{
		text-align: right;
		padding-right: 30px;
	}

	#mainnav li{
		display: inline-block;
		padding: 45px 10px 20px;
		font-size: 14px;
		font-weight: 300;
	}
	
  #mainnav a{
		color: #000;
	}
	
	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}

	/* SEC02 MESSAGE
	-----------------*/
	.txt, .bg{
		width: 50%;
		float: left;
		display: table;
	background: #bdbdbd;
	}

	#sec02_02 .txt, #sec02_02 .bg{
		float: right;
	}

	.vMid{
		display: table-cell;
		padding: 0 100px;
		vertical-align: middle;
	}
	
	/* SEC03 SERVICE MESSAGE STORY
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 25%;
		padding: 0 1.5%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
	/* SEC05 PROFILE
	-----------------*/
	#sec05{
		padding-top: 120px;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}

@media only screen and (min-width: 641px){
	.col2 li{
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
}

@media only screen and (max-width: 640px){
	#map iframe{
	  width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	#slogan h1{
		font-size: 31px;
	}

	#slogan h2{
		font-size: 16px;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #fff;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #fff;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.col3 li{
		margin: 0 auto;
		display: block;
	max-width: 288px;
	}
}

@media only screen and (max-width: 1199px){
	section h2{
		padding: 50px 0 20px 0;
	}
	#sec01 h2{
		padding: 70px 0 20px;
	}
	.vMid{
		padding: 0 20px;
	}
}

/* table02 */

#table02{
 width: 100%;
 margin: 16px auto;
}

#table02 th{
 background-color: #4D4B4B;
}

#table02 th, #table02 td {
  text-align: center;
  width: 20%;
  min-width: 130px;
  padding: 4px;
  height: 60px;
  border: 1px solid #b5b1b1;
}

/* tab */
@media only screen and (max-width: 768px) {
  #table02 {
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
  }
}

.arrow {
  display: inline-block;
  width: 1em;
  margin-right: 0.5em;
  transition: transform 0.3s;
}
.arrow.open {
  transform: rotate(90deg);
}


.myh-section {
  padding: 60px 1rem 0px 1rem;
  background: #f9f9f9;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.myh-card {
  flex: 1 1 calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  max-width: calc(33.333% - 2rem); /* 保険的に */
}

.card-image {
  width: 100%;
  height: 250px; /* 必要に応じて調整可 */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.card-title .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.myh-card.open .card-title .arrow {
  transform: rotate(90deg);
}

.card-desc {
  display: none;
  padding: 1.5rem;
  background: #fff;
  border-top: 1px solid #ccc;
  flex-grow: 0; /* これが効く！！ */
}

.myh-card.open .card-desc {
  display: block;
}

.card-title .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.myh-card.open .arrow {
  transform: rotate(90deg); /* ▼→▶ */
}

.myh-meaning {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.myh-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
}

.myh-list li {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.myh-list .letter {
  font-weight: bold;
  color: #2C7A7B;
  display: inline-block;
  width: 1.2rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

.price-table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .myh-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.company-profile {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.3); 
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  border-left: none;
  padding-left: 0;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.3); 
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}

.profile-table th {
  background: #f7f7f7;
  font-weight: bold;
  width: 30%;
  color: #222; /* ← ここ変更！ */
  white-space: nowrap;
}

.profile-table td {
  color: #333; /* ← ここ追加！ */
}

.profile-table th,
.profile-table td {
  padding: 1.2rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  text-align: left;
  font-size: 1rem;
}

.profile-table th {
  background: #f7f7f7;
  font-weight: bold;
  width: 30%;
  color: #333;
  white-space: nowrap;
}

.profile-table i {
  margin-right: 0.5rem;
  color: #2C7A7B;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  .profile-table th {
    background: none;
    border-bottom: none;
    font-size: 1.1rem;
  }

  .profile-table td {
    border-bottom: 1px solid #eee;
    padding-top: 0;
  }
}
