@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);

/* 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 serif jp', sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #0096B7;
    background-image: url('../images/background.jpg'); /* ここに背景画像のパスを指定 */
	width: 100vw; /* ビューポートの幅いっぱい */
    height: 100vh; /* ビューポートの高さいっぱい */
    background-size: cover; /* 画像がコンテナ全体を覆うように拡大・縮小 */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像の繰り返し */
	text-align:center;
}

.image-vw {
	width : 70vw ; /* 画面幅の70%の幅で画像を表示 */
	padding-top: 150px ;
	padding-bottom: 150px ;
  }

.image-vw2 {
	width : 40vw ; /* 画面幅の70%の幅で画像を表示 */
	padding-top : 50px ;
	margin:0 auto;
	margin-top: 50px;
	margin-bottom: 100px
  }

.image-vw3 {
	width : 35vw ; /* 画面幅の70%の幅で画像を表示 */
	padding-top : 50px ;
	margin:0 auto;
  }

/* --- 通常の表示（デスクトップなど） --- */
.image-container {
    text-align: center; /* コンテナ内の画像を中央寄せ */
}

.image-container img {
    width: 400px; /* デフォルトの画像幅 */
    height: auto; /* 高さは幅に合わせて自動調整 */
    display: block; /* margin: auto を有効にするためブロック要素に */
    margin: 0 auto; /* 左右マージンを自動で設定し、中央寄せ */
    max-width: 100%; /* 親要素の幅を超えないようにする（重要！） */
	padding-top: 100px ;
}

/* --- 通常の表示（デスクトップなど） --- */
.image-container-a {
    text-align: center; /* コンテナ内の画像を中央寄せ */
}

.image-container-a img {
    width: 400px; /* デフォルトの画像幅 */
    height: auto; /* 高さは幅に合わせて自動調整 */
    display: block; /* margin: auto を有効にするためブロック要素に */
    margin: 0 auto; /* 左右マージンを自動で設定し、中央寄せ */
    max-width: 100%; /* 親要素の幅を超えないようにする（重要！） */
	padding-top: 200px;
}

a{
	color: #ffffff;
	text-decoration: none;
}

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

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


/* header */
/* =================================== 【トップ画像_opening】 */

header h1,
header h1 img {
    width: 100%;
}

header {
    margin-bottom: 60px;
}

#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;
	font-family: 'Pacifico', cursive;
	margin-bottom: 20px;
	font-weight:normal;
}

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

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

/* 共通
------------------------------------------------------------*/
h1{
	font-family: 'noto serif jp',serif;
	font-size: x-large;
}

h2{
	font-family: 'noto serif jp',serif;
	line-height: 2.5;
	margin-top: 200px;
	margin-bottom: 300px;
}

h3{
	font-family: 'noto serif jp',serif;
}

h4{
	font-family: 'noto serif jp',serif;
}

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

section{clear:both;}

/* 効いているフォントサイズ
------------------------------------------------------------*/

section h1{
	font-size: 25px;
	font-weight:normal;
	text-align: center;
	margin-top: 200px;
	margin-bottom: 500px;
}

section h2{
	font-size: 18px;
	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: 70%;
	margin: 0 auto;
	padding-top: 50px;
	padding-bottom: 0px;
	text-align:center;
	font-size: 20px;
}

.vision2{
	width: 70%;
	margin: 0 auto;
	padding-top: 150px;
	padding-bottom: 50px;
	text-align:center;
	font-size: 20px;
}

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

.wrap2{
	clear: both;
	width: 100%;
	background: #7a9ebe00;
}

.wrap3{
	clear: both;
	width: 100%;
	background: #c1427f;
}


.bg{
	line-height: 0;
}

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


/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li{
	margin-bottom: 50px;
}

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


/* 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;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


/* 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:18px;
		letter-spacing: 0.12em;
	}
	
  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: #ffffff00;
	}


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

	#sec02_03 .txt, #sec02_03 .bg{
		float: left;
		background: #c1427f;
	}

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

	.col3 li{
		display: inline-block;
		width: 30%;
		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){/* きいてる_SP用 */

	h2{
		margin-top: 0px;
		margin-bottom: 0px;
	}

	section h1{
		font-size: 18px;
		font-weight:normal;
		text-align: center;
		margin-top: 400px;
		margin-bottom: 400px;
	}
	
	section h2{
		font-size: 14px;
		font-weight:normal;
		text-align: center;
	}

	#map iframe{
	  width: 96% !important;
		left: 2%;
	}

	.image-vw {
		width : 85vw ; /* 画面幅の70%の幅で画像を表示 */
		padding-top: 100px ;
	  }

	.image-vw2 {
		width : 85vw ; /* 画面幅の70%の幅で画像を表示 */
		padding-top: 0px;
	  }

	  .image-vw3 {
		width : 70vw ; /* 画面幅の70%の幅で画像を表示 */
		padding-top: 10px;
		padding-bottom: 50px;
	  }

	.image-container img {
        width: 200px; /* スマートフォンでの画像幅 */
        height: auto; /* 高さは幅に合わせて自動調整 */
		padding-top: 0px;
    }

	.image-container-a img {
        width: 200px; /* スマートフォンでの画像幅 */
        height: auto; /* 高さは幅に合わせて自動調整 */
		padding-top: 0px;
		padding-bottom: 0px;
		margin-top: 200px;
    }
}

@media only screen and (max-width: 799px){ /* きいてるPAD */

	body {
        /* スマホ用の画像パス */
        background-image: url('../images/background_sp.jpg'); 
        
        /* スマホで見やすいように位置を微調整する場合 */
        background-position: center top; 
    }

	.image-container img {
        width: 280px; /* スマートフォンでの画像幅 */
        height: auto; /* 高さは幅に合わせて自動調整 */
		padding-top: 0px; 
    }

	.image-container-a img {
        width: 280px; /* スマートフォンでの画像幅 */
        height: auto; /* 高さは幅に合わせて自動調整 */
		padding-top: 0px; 
		padding-bottom: 50px;
    }

	#slogan h1{
		font-size: 31px;
	}

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

	.vision{
		font-size: 16px;
	}
	
	.vision2{
		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){ /* きいてるPAD2_SP2 */
	section h2{
		padding: 50px 0 20px 0;
	}
	#sec01 h2{
		padding: 50px 0 20px;
	}
	.vMid{
		padding: 0 20px;
	}

	.image-vw2 {
		width : 85vw ; /* 画面幅の70%の幅で画像を表示 */
		padding-top: 15px;
    }

	.image-container-a img {
		padding-bottom: 50px;
    }
}



/* 左右に横線 */
.heading {
	align-items: center; /* 横線を上下中央 */
	display: flex; /* 文字と横線を横並び */
	justify-content: center; /* 文字を中央寄せ */
  }
  .heading::before,
  .heading::after {
	background-color: #a0a0a0; /* 横線の色 */
	content: "";
	height: 1px; /* 横線の高さ */
	width: 60px; /* 横線の長さ */
  }
  .heading::before {
	margin-right: 15px; /* 文字との余白 */
  }
  .heading::after {
	margin-left: 15px; /* 文字との余白 */
  }


 
/* 追加CSS */

  .kasaneru{
	position: relative;/*親要素にrelative*/
  }
  .kasaneru p{
	position: absolute;/*重ねたい子要素にabsolute*/
	top:50%;
	left: 70%;
   -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
	-webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
	transform: translate(-50%,-50%);/*センター寄せの修正*/
	color: #a0a0a0;
	font-size: 1.2rem;
	margin: 0!important;/*文字がずれている場合や*/
	padding: 0!important;/*文字が折り返される場合*/
  }

  .line {
	border-top: 2px solid rgba(70, 130, 150);
	width: 330px;
	margin:  0 auto; 
  }

  .line2 {
	border-top: 2px solid rgba(123, 75, 131);
	width: 330px;
	margin:  0 auto; 
  }

  /* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}


.section {
	height: 100vh; /* 画面全体（100% viewport height）の高さ */
	background-size: cover; /* 画像をエリア全体に表示 */
	background-position: center; /* 画像を中央に配置 */
	background-repeat: no-repeat; /* 画像を繰り返さない */
  }
  
  .area1 {
	background-image: url('../images/suirin_pv_back.jpg'); /* ここに背景画像のパスを指定 */
  }



/* styles.css */

.image-container {
	display: flex;
	flex-wrap: wrap;
}

.image {
	width: 25%; /* 4つの画像を横並びにするために25%に設定 */
	padding: 20px;
	box-sizing: border-box;
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 600px) {
	.image {
		width: 50%; /* 画像2つを横並びにするために50%に設定 */
	}

}


.responsive {
	width: 100%;
	aspect-ratio: 16/9;
	margin-top: 100px;
	}

