/* font
------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');


/* general
------------------------------------------------------------*/
.float_l {
	float:left;
	margin-right:20px;
	margin-bottom:15px;
}
br.forsp {
	display:none;
}
.forsp {
	display:none;
}
.admt {
	margin-top:70px;
}
.xbig {
	font-size:180%;
	line-height:1.4em;
}
.acenter {
	text-align:center !important;
}
.box_blue{
	background-color:#edfbff;
	padding:15px;
	padding-top:25px;
	margin-bottom:20px;
}

/* ヘッダー
------------------------------------------------------------*/
#header{
	text-align: center;
}

#header h1{
	padding-top: 60px;
}
h1 {
	display:none;
}

#mainnav a{
	color: #000;
	font-weight:600;
}
#mainnav li.on a{
	color: #448bec;
	font-weight:600;
}



#logo {
	width:200px;
}

#mainImg{
	position: relative;
  overflow: hidden;
  width: 100%;
	text-align:right;
	background-color:#448bec;
	padding;0px;
}

#mainImg img{
  width: 100%x;
	height:400px;

}
#mainImg #topmsg {
	background-color:#f4bc24;
	text-align:center;
} 
#mainImg #topmsg a {
	color: #fff;
	font-weight:bold;
}

#mainImg #topcopy {
	position: absolute;
	top:100px;
	right:50%;
	font-weight:900;
	text-align:left;
	font-size:36px;
	padding-right:0px;
	z-index:12;
}
#mainImg #topcopy div.topline {
  display: inline-block;     /* 内容に合わせた幅 */
  background-color: #ffffff; /* 背景色 */
  margin-bottom: 10px;        /* 行間 */
  padding: 4px 20px;          /* 内側の余白（任意） */

}


	#mainnav li.forsp {
		display: none;
}



#page {
	border-top:2px solid #448bec;
}
.txtBox {
margin-top:30px !important;
}

.txtBox p {
margin-bottom:1.6em;
}
.txtBox p.delm {
margin-bottom:0.2em;
}
.txtBox p.big {
font-size:140%;
	line-height:1.3em;
}


.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 矢印全体 */
.arrow {
	margin-top:40px;
	margin-bottom:20px;
  position: relative;
  width: 2px;
  height: 100px;
  background-color: #4a90e2; /* 縦線の色 */
  animation: slideDown 4s ease-in-out infinite;
}
.arrow1 {
	margin-top:40px;
	width:80px;
	animation: dropDownLoop 5s ease-out infinite;
  display: inline-block;
}


@keyframes dropDownLoop {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  90% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* 斜めの線（右下向き） */
.arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: #4a90e2; /* 横線の色 */
  transform: rotate(-50deg);
  transform-origin: left top;
}
/* アニメーション定義 */
@keyframes slideDown {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    transform: translateY(20px);
    opacity: 1;
  }
  90% {
    transform: translateY(20px);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* フッター
------------------------------------------------------------*/
#footer {
 background-color:#448bec;
}
#copyright {
	text-align:center;
	color:#ffffff;
}
#footer a {
	color:#ffffff;
}

.horizontal-list {
  list-style: none;
  padding: 0 0 60px;
  margin: 0;
}

.horizontal-list li {
	float:left;
  color: white;
  position: relative;
}
.horizontal-list li:first-child {
border-right:1px solid #ffffff;
margin-right:20px;

}


/* liの間に縦線を入れる */

#footer_linklist p {
	padding-bottom:15px;
}
#footer_linklist {
	display:none;
}

/* 共通
------------------------------------------------------------*/
span.blue {
	color:#448bec;
}

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

section{
	clear:both;
	padding-top: 20px;
}
section .h2_sub {
	font-family: 'Dancing Script', cursive;
	font-weight:900;
	color:#d2e0f9;
	margin: 0 auto;
	font-size: 80px;
	text-align: center;
	line-height:1em;
}

section h2{
	margin: 0 auto 40px;
	font-size: 30px;
	font-weight:bold;
	text-align: center;
	line-height:1.2em;

}
h3 {
	color:#448bec;
	font-size:26px;
	border-bottom:1px solid #448bec;
margin-bottom:20px;
}

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

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 30px;
}

.see-more-button {
  text-align: center;           /* 中央揃え */
  padding: 10px 0 40px;               /* 上下に余白 */
}

.see-more-button a {
  display: inline-block;
  padding:10px 24px;
  background-color: #448bec;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.see-more-button a:hover {
  background-color: #3175d9;
  transform: translateY(-2px);
}


/* SEC02 profile
------------------------------------------------------------*/
#sec02 {
	background-color: #edfbff;


}
#gallery li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}

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


/* SEC03 Vision
------------------------------------------------------------*/
#sec03{
	background: #edfbff url(../images/vision_bg.png) no-repeat 0% 0%;
	background-size: cover;
	padding-bottom:100px;
}


/* SEC04 BRAND
------------------------------------------------------------*/
.col3 img{
	display: block;
	margin: 0 auto 5px;
}

.col3 li{
	line-height: 2.0;
}

.col3 .img{
	padding: 80px 50px;
	margin-bottom: 40px;
	line-height: 0 !important;
	background: #f6f6f6;
}

#bottom{
	background: url(../images/bottom_bg.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	text-align: center;
	padding: 220px 20px;
}

#sec04_02 img{
	width: 300px;
}


/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05 p{
	margin-bottom: 5px;
}


#sns img{
	padding: 35px 10px 5px 0;
}

#sns a:hover img{
	opacity: .8;
}


/* AGENCY
------------------------------------------------------------*/
.agencyBox {
	background-color:#eaf0fa;
	margin:20px 20px 50px;
	padding:30px 30px;
}
.agencyBox .photo {
 width:300px;
margin-bottom:15px;
}
.agencyBox .name,
.agencyBox .name_sp {
 font-size:30px;
font-weight:bold;
margin-bottom:15px;
color:#508bec;
}
.agencyBox .name_sp {
	display:none;
}
.agencyBox ul {
font-size:12px;
}

.agencyBox {
  display: flex;           /* 横並びにする */
  gap: 20px;               /* 左右の間隔 */
  align-items: flex-start; /* 上揃え */
}

.f_left {
  flex: 0 0 40%;           /* 左カラムの幅（40%） */
}

.f_right {
  flex: 1;                 /* 右カラムは残りを使用 */
}

.f_left img {
  max-width: 100%;         /* 画像がはみ出さないように */
  height: auto;
}



/* レスポンシブ
------------------------------------------------------------*/
@media only screen and (max-width: 1400px) {
  .agencyBox {
    flex-direction: column;  /* 縦並びに変更 */
  }
  .agencyBox .f_left,
  .agencyBox .f_right {
    width: 100%;            /* 幅を100%に */
  }
  .agencyBox .name {
	display:none;
}
 .agencyBox .name_sp {
	display:block;
  margin: 0 auto;      /* ブロック要素の中央寄せ */
  align-self: center;  /* 親がflexのとき有効 */
 font-size:20px;

}
 .agencyBox .photo {
  margin: 0 auto;      /* ブロック要素の中央寄せ */
  align-self: center;  /* 親がflexのとき有効 */
	width:100%;
}

.agencyBox {
	margin:5px 5px 50px;
	padding:15px 15px;
}


}



@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

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

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 20px 25px;
		font-size: 15px;
		font-weight:600;
	}

	/* SEC03 PROJECT
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 28%;
		padding: 0 2.5% 50px;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
  #footer{
		padding: 30px 10px 10px 0;
	}

}






@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 30%;
		padding-right: 4%;
	}

}


@media only screen and (max-width: 799px){
#mainImg #topcopy {
	position: absolute;
	top:200px;
	right:50%;
	font-weight:900;
	text-align:left;
	font-size:26px;
}

	#mainnav li.forsp {
		display: block;
}

}


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

p {
	font-weight:600 !important;
	line-height:1.6em;
	font-size:16px;
}

#footer {
font-size:14px;
padding-top:20px;
}
br.forsp {
	display:block;
}
.forsp {
	display:block;
}

.forpc {
	display:none;
}

#footer .col2 li{
		width: 100%;
		vertical-align: top;
	}
#footer.col2 li:first-child{
		width: 100%;
	}
.horizontal-list {
  display: block;
}

#toiawase{
	padding-bottom: 30%;
}
#copyright {
font-size:12px;
	padding-bottom: 10px;
}

.horizontal-list li:first-child {
border-right:0px solid #ffffff;
margin-right:20px;

}
#page {
	padding-top:90px;
}

#page .txtBox {
	font-size:16px;
}
#page .txtBox p.big {
	font-size:120%;
}
#bottom{
background:    linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), /* ← 半透明の白を上に重ねる */
    url(../images/bottom_bg.jpg) no-repeat 100% 100% local;
	background-size: 100%;
	padding: 50px 20px;
}

#mainImg #topcopy {
	position: absolute;
	top:130px;
	right:45%;
	font-weight:900;
	text-align:left;
	font-size:16px;
}

section .h2_sub {
	font-size: 40px;
}
section h2{
	font-size: 26px;
}

.see-more-button {
  padding: 10px 0 80px;               /* 上下に余白 */
}

.float_l {
    float: none;
    display: block;
    margin: 0 auto 15px !important;
	text-align:center;
}


/* 矢印全体 */
.arrow {
	margin-top:20px;
  height: 70px;
}

/* 斜めの線（右下向き） */
.arrow::after {
  width: 40px;
  height: 1px;
}

#sec03{
	padding-bottom:0px;
}



	.innerS{
		width: 90%;
		padding-bottom: 20px;
	}
	.col3 li{
		line-height: 1.7;
	}
	.col3 img{
		margin: 0 auto;
	}
	.col3 .img{
		padding: 30px;
		margin-bottom: 20px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
	#sec04_02{
		padding: 50px 20px;
	}
}





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



	#header{
		position: fixed;
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

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

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

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	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;
	}
h1 {
	display:block;
}

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

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}
	#mainnav li#logo	{
		display:none;
}
	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 600;
	}

	#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);
	}
	#mainImg{
		padding-top: 70px;
		z-index: -100;
	}
	.col3 li{
		margin: 50px auto 0 auto;
		display: block;
	}
	section{
		padding-top: 0px;
	}
	section h2{
		margin: 0 auto 20px;
	}
}



/* トップのスライダー
------------------------------------------------------------*/

.slider-fade {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slides-fade {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides-fade img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slides-fade img.active {
  opacity: 1;
  z-index: 1;
}

.slider-fade .prev,
.slider-fade .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.slider-fade .prev {
  left: 10px;
}
.slider-fade .next {
  right: 10px;
}

.slides-fade img.no-transition {
  transition: none !important;
}


@media only screen and (max-width: 640px){
.slider-fade {
  height: 180px;
  overflow: hidden;

}
.slides-fade img {
  object-fit: contain;
object-position: top center;
}

.slider-fade .prev,
.slider-fade .next {
display:none;

}

}



/* UPボタン
------------------------------------------------------------*/

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: white;         /* 白い丸 */
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

#scrollToTop::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #448bec; /* 青の三角（上向き） */
}

#scrollToTop.show {
  opacity: 0.9;
  pointer-events: auto;
}

#scrollToTop:hover {
  opacity: 1;
  transform: translateY(-2px);
}