body {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	/* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
  "Hiragino Sans", "Noto Sans", Meiryo, sans-serif; */
	/* color: #333333; */
	color: #2f2f2f;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h2,
h3 {
	font-size: 1.8rem;
	letter-spacing: 0.1em;
}

.button {
	background: #0267F4;
	border: 2px solid #0267F4;
	border-radius: 60px;
	color: #fff;
	display: block;
	font-weight: bold;
	max-width: 200px;
	padding: 15px 40px;
	text-align: center;
	cursor: pointer;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
	text-decoration: none;
	margin: 30px auto;
}

.button:hover {
	background: #fff;
	color: #0267F4;
}

/* .button {
  background: #eee;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 30px auto;
  max-width: 240px;
  padding: 18px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: bolder;
  font-size: 1em;
  z-index:0;
  border-left: solid 5px orange;
  
}

.button:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: orange;
  transition: .3s;
  left:0;
}

.button:hover {
  color: #fff;
}

.button:hover:before {
  width: 100%;
  z-index: -1;
} */

p {
	font-size: 16px;
	line-height: 1.8;
	/* font-weight: bolder; */
}

.wrapper {
	overflow: hidden;
}

/****************************        下部メニュー         **********************************/
#sp-fixed-menu {
	position: fixed;
	width: 100%;
	bottom: 0px;
	font-size: 0;
	/* opacity: 0.9; */
	z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#sp-fixed-menu li {
	justify-content: center;
	align-items: center;
	/* width: 50%; */
	width: 100%;
	padding: 0;
	margin: 0;
	/* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a {
	color: #fff;
	text-align: center;
	display: block;
	width: 100%;

	/* padding:20px 0; */
	padding: 0;
}

#sp-fixed-menu img {
	width: 100%;
	object-fit: contain;

}

#sp-fixed-menu li a img {
	width: 100%;
	object-fit: contain;
}

.title-frame {
	width: 100%;
	max-width: 200px;
	display: block;
	margin: auto;
	margin-top: -40px;
}

/* .fadein {
  transform: translateY(-30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

.is-fadein {
  transform: translateX(30px);
  opacity: 1;
  visibility: visible;
} */

.fade-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.show {
	opacity: 1;
	transform: translateX(0);
}

.fade-in-right {
	opacity: 0;
	transform: translateX(50px);
	/* 初期状態で右側から50pxずれている */
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.show {
	opacity: 1;
	transform: translateX(0);
	/* 右から元の位置に戻る */
}

/* SHUTTER ANIMATION */
.shutter {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	background-color: #fff;
	z-index: 99;
	-webkit-animation: byeShutter 3.5s forwards;
	animation: byeShutter 3.5s forwards;
}

.shutter-logo {
	width: 300px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	-webkit-animation: logo 0.8s forwards;
	animation: logo 0.8s forwards;
	animation-delay: 0.2s;
}

@keyframes byeShutter {
	50% {
		opacity: 1;
	}

	100% {
		display: none;
		opacity: 0;
		z-index: -1;
	}
}

@keyframes logo {
	0% {
		opacity: 1;
	}

	50% {
		transform: rotate(10deg);
	}

	100% {
		transform: scale(0.8);
	}
}

/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
	display: none;
}

#toggle {
	position: fixed;
	top: 30px;
	right: 30px;
	z-index: 3000;
	width: 50px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* ← 三本線。#toggle 直下の span をスタイルする */
#toggle>span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #000;
	position: absolute;
	transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle>span:nth-child(1) {
	top: 0;
}

#toggle>span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

#toggle>span:nth-child(3) {
	bottom: 0;
}


/* #toggle {
	position: fixed;
	top: 30px;
	right: 30px;
}

#toggle-box {
	position: relative;
	width: 50px;
	height: 40px;
	cursor: pointer;
}

#toggle-box>span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #000;
	position: absolute;
	transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
	top: 0;
}

#toggle-box>span:nth-child(2) {
	top: 50%;
	transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
	bottom: 0;
}

#toggle {
	z-index: 1000;
} */

#nav-content {
	z-index: 2000;
	overflow-x: hidden;
	width: 50%;
	height: 100%;
	/* color: #00256A; */
	/* background: rgb(240, 233, 106); */
	background: #EAF3F8;
	position: relative;
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	text-align: center;
}

body.is-open #nav-content {
	transform: translateX(0);
	z-index: 1002;
}

#nav-content ul {
	list-style: none;
	display: block;
	position: absolute;
	/* top: 10%; */
	top: 8%;
	left: 8%;
	padding-left: 10px;
	width: 80%;
	line-height: 2.5em;
}

#nav-content ul li {
	width: 100%;
	border-bottom: 1px solid #08549b;
	padding: 10px 0;
}

#nav-content ul li a {
	display: block;
	text-decoration: none;
	font-size: 1em;
	font-weight: bold;
	color: #08549b;
}

#nav-content a:hover {
	opacity: 0.6;
}

.is-open {
	overflow: hidden;
}

.is-open #toggle>span {
	background: #fff;
	color: #fff;
	z-index: 10000;
}

.is-open #toggle>span:nth-child(1) {
	top: 50%;
	transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle>span:nth-child(2) {
	width: 0;
}

.is-open #toggle>span:nth-child(3) {
	top: 50%;
	transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
	z-index: 999;
	transform: translateX(0);
	width: 100%;
}


/* SM */
@media(max-width:519px) {
	#hamburger {
		display: block;
	}

	.header-top .gnav {
		display: none;
	}
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
	.for-sp {
		display: none;
	}
}

@media(max-width:300px) {
	#toggle-box {
		width: 35px;
		height: 25px;
	}

	#nav-content ul li {
		padding: 15px 0;

	}

}


/* END HAMBURGER */



/* HEADER */
header {
	/* display: flex;
  align-items: center;  */
	position: fixed;
	z-index: 999;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	height: 130px;
}

.header-top {
	width: 100%;
	display: flex;
	justify-content: space-between;

}

.header-top .logo {
	width: 60%;
	height: 130px;
	object-fit: contain;
	margin: 0 20px;
}

/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
	/* margin-left: auto; */
	width: 90%;
	/* height: 70px; */
	display: flex;
	justify-content: space-between;
	padding: 20px 0 10px;
}

.gnav img {
	width: 20%;
	object-fit: contain;
	margin: 10px 0;
}

.gnav ul {
	display: flex;
	/* li要素を横並びにする */
	justify-content: space-between;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	align-items: center;
}

.gnav li {
	/* list-style-type: none; */
	text-align: center;
	width: calc(100%/8);
	list-style: none;
	border-right: 1px solid #333;
	height: 50px;
	line-height: 50px;

}

.gnav li:nth-child(6) {
	border-right: none;

}

.gnav li:nth-child(7) {
	border-right: none;
	background-color: orange;
	height: 80px;
	line-height: 80px;
	margin: 0 10px;
	color: #fff;
}

.gnav li:nth-child(8) {
	border-right: none;
	background-color: red;
	height: 80px;
	line-height: 80px;
	margin: 0 10px;
}

.gnav li:nth-child(7) a,
.gnav li:nth-child(8) a {
	color: #fff;
}

.gnav a {
	color: #333333;
	text-decoration: none;
	font-size: 1em;
	font-weight: bold;
}

/* .gnav li:nth-child(6) {
  background: #f1e767;
  background: -webkit-gradient(linear, left top, left bottom, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
}

.gnav li:nth-child(6):hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(bottom, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

.gnav li:nth-child(6) a {
  font-size: 1em;
  color: #fff;
} */

/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1 {
	/*描画位置※位置は適宜調整してください*/
	position: absolute;
	left: 50%;
	bottom: 100px;
	/*全体の高さ*/
	height: 50px;
	font-weight: bolder;
	z-index: 222;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
	/*描画位置*/
	position: absolute;
	left: -15px;
	top: -15px;
	/*テキストの形状*/
	/* color: #eee; */
	color: #fff;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after {
	content: "";
	/*描画位置*/
	position: absolute;
	top: 0;
	/*線の形状*/
	width: 1px;
	height: 30px;
	/* background: #eee; */
	background: #fff;
	/*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
	0% {
		height: 0;
		top: 0;
		opacity: 0;
	}

	30% {
		height: 30px;
		opacity: 1;
	}

	100% {
		height: 0;
		top: 50px;
		opacity: 0;
	}
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px) {

	.gnav ul {
		padding: 0;
		width: 100%;
	}

	.gnav a {
		font-size: .8em;
	}

}

@media(max-width:834px) {

	.header-top .logolink {
		width: 20%;
	}

	.header-top .logo {
		width: 80%;
	}

	.gnav {
		width: 100%;
	}

	.gnav a {
		font-size: .7em;
	}

	.gnav ul {
		width: 100%;
	}

	.gnav li:nth-child(7) {
		height: 70px;
		line-height: 70px;
	}

	.gnav li:nth-child(8) {
		height: 70px;
		line-height: 70px;
	}

	.contents-top .title h2 {
		width: 80%;
	}



}

@media(max-width:820px) {}

@media(max-width:768px) {
	.gnav a {
		font-size: .6em;
	}

}

@media(max-width:519px) {

	header {
		height: 90px;
	}

	.header-top .logolink {
		width: 30%;
	}

	.header-top .logo {
		width: 90%;
		height: 90px;
	}

	.scrolldown1 span {
		top: -10px;
		color: #333;
	}

	.scrolldown1::after {
		top: 55px;
		height: 20px;
		background: #333;
	}

	.top-button {
		display: none;
	}

}

@media(max-width:300px) {
	header {
		height: 70px;
	}

	.header-top .logo {
		max-width: 130px;
	}

}


/* END HEADER */

/* CONTENTS-TOP */

.contents-top {
	/* background: url(img/classimg.jpg) center center / cover no-repeat; */
	/* background-color: #EAF3F8; */
	background: url(img/top.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: 40px 20px;
	margin-top: 180px;
	text-align: center;
	position: relative;
	height: 200px;
}

.contents-top .title {
	z-index: 111;
	/* background: rgba(255, 255, 255, .8); */
	width: 30%;
	margin: 0 0 0 auto;
	/* padding: 30px 0; */
	position: absolute;
	right: 0;
	bottom: -30px;
	text-align: left;
}

.contents-top .title h1 {
	font-size: 3.5rem;
	margin: 10px 0 10px auto;
	color: #fff;
	background-color: #0267F4;
	padding-left: 30px;
}

.contents-top .title h2 {
	color: #fff;
	margin: 0 0 0 auto;
	background-color: #0267F4;
	padding-left: 30px;
	width: 60%;
}

@media(max-width:1024px) {
	.contents-top .title {
		width: 50%;
	}

}

@media(max-width:834px) {
	.contents-top .title {
		width: 60%;
	}

}

@media(max-width:519px) {

	.contents-top {
		padding: 30px 10px;
		margin-top: 100px;
	}

	.contents-top .en {
		font-size: 1rem;
	}

	.contents-top h1 {
		font-size: 2rem;
		margin: 0;
	}

	.contents-top .title h1 {
		font-size: 2rem;
	}

	.contents-top .title h2 {
		font-size: 1rem;
	}

}


@media(max-width:300px) {}

/* END CONTENTS-TOP */


/* TOP-TEXT */

.top-contents {
	width: 100%;
	position: relative;
	margin-top: 130px;
	position: relative;
}

.top-contents .top {
	width: 90%;
	height: 90vh;
	z-index: 111;
	position: absolute;
	top: 0;
	left: 0;
}

.top-contents .topcopy {
	position: absolute;
	top: 80px;
	left: 50px;
	z-index: 111;
	width: 70%;
}

.Vegas {
	width: 100%;
	height: 90vh;
	margin: 0 0 0 auto
}

.top-contents .copy {
	position: absolute;
	bottom: 100px;
	left: 20px;
	z-index: 111;
	width: 60%;
}


/****************************レスポンシブ CSS（top-text） ***********************************/

@media(max-width:1024px) {}

@media(max-width:834px) {

	.top-contents2 img {
		width: 60%;
	}


}

@media(max-width:768px) {
	.top-contents .copy {
		bottom: 200px;
		width: 95%;
		left: 10px;
	}


}

@media(max-width:519px) {

	.top-contents .topcopy {
		top: 150px;
		left: 20px;
		width: 90%;
	}

	.top-contents {
		margin-top: 80px;
	}

	.top-contents2 {
		display: block;
	}

	.top-text {
		width: 95%;
		margin: auto;
	}

	.top-text2 h2 {
		font-size: 9vw;
	}

	.top-text2 h3 {
		font-size: 4.34vw;
		padding-top: 0;
	}

	.top-text3 li {
		font-size: 3.15vw;
		padding-left: 5.5vw;
	}

	.top-text .text {
		left: 0;
	}



}

@media(max-width:300px) {}

/* END TOP-TEXT */


/* CONTENTS */
.contents-container {
	margin: 30px 0;
}

.content {
	list-style: none;
	width: 400px;
	height: 300px;
	margin: 5px;
	object-fit: contain;
}

.content:nth-child(1) {
	background: url(img/slide1.jpg);
	background-size: cover;
	background-position: center;
}

.content:nth-child(2) {
	background: url(img/slide2.jpg);
	background-size: cover;
	background-position: center;
}

.content:nth-child(3) {
	background: url(img/slide3.jpg);
	background-size: cover;
	background-position: center;
}

.content:nth-child(4) {
	background: url(img/slide4.jpg);
	background-size: cover;
	background-position: center;
}

.content:nth-child(5) {
	background: url(img/slide5.jpg);
	background-size: cover;
	background-position: center;
}

.slideshow {
	display: flex;
	padding: 0;
	animation: loop-slide 70s infinite linear .5s both;
}

.wrap {
	display: flex;
	align-items: center;
	overflow: hidden;

}

@keyframes loop-slide {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

@media(max-width:834px) {
	.content {
		list-style: none;
		width: 200px;
		height: 150px;
		margin: 5px;
		object-fit: contain;
	}

}

@media(max-width: 519px) {
	.contents-container {
		margin: 50px 0 30px 0;
	}

	.content {
		height: 250px;
	}

}

@media(max-width: 300px) {

	.content {
		height: 200px;
	}

}

/* END CONTENTS */

/* .parallax_box {
  height: 100vh;
  padding: 100px 0;
 
}

.img_bg_01{
  position: relative;
  height: 80vh;
  background-image: url(img/top-img1.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.img_bg_01::after {
  content: "";
  background: rgba(0,0,0,.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

}

.contents-text {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 50%;
  z-index: 1;
  color: #fff;
}

.contents-text h2 {
  font-size: 2.2em;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
}

.contents-text h2 span {
  display: block;
}

.contents-text p {
  line-height: 3em;
  margin-top: 50px;
}

@media(max-width:1024px) {
  .parallax_box {
    height: 60vh;
  }

  .contents-text {
    width: 70%;
  }

  .contents-text h2 {
    font-size: 3em;
    font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
    font-weight: normal;
  }
  
}

@media(max-width:834px) {
  .contents-text h2 {
    font-size: 2.7em;
  }


}

@media(max-width:768px) {
  .contents-text {
    width: 90%;
  }

}

@media(max-width: 519px) {
  
  .contents-text h2 {
    font-size: 1.3em;
  }
  
  .contents-text p {
    line-height: 2.2em;
    margin-top: 10px;
  }

} */

/* CONTENTS0 */
.contents0 {
	display: none;
}

@media(max-width: 519px) {
	.contents0 {
		display: block;
	}

	.contents0-container {
		display: flex;
	}

	.contents0-box a img {
		width: 90%;
		display: block;
		margin: 20px auto;
	}

	.reflection {
		display: inline-block;
		position: relative;
		overflow: hidden;
	}

	.reflection:after {
		content: "";
		height: 100%;
		width: 30px;
		position: absolute;
		top: -180px;
		left: 0;
		background-color: #fff;
		opacity: 0;
		-webkit-transform: rotate(45deg);
		-webkit-animation: reflection 4s ease-in-out infinite;
	}

	@keyframes reflection {
		0% {
			-webkit-transform: scale(0) rotate(45deg);
			opacity: 0;
		}

		80% {
			-webkit-transform: scale(0) rotate(45deg);
			opacity: 0.5;
		}

		81% {
			-webkit-transform: scale(4) rotate(45deg);
			opacity: 1;
		}

		100% {
			-webkit-transform: scale(50) rotate(45deg);
			opacity: 0;
		}
	}

}

/* END CONTENTS0 */

/* CONTENTS1 */

.contents1 {
	margin: 0 auto;
	padding: 10px 0;
/* 	background-color: #EAF3F8; */
}

.contents1-container {
	background-color: #fff;
	padding: 30px;
	margin: 0 200px;
}

.contents1-titles {
	margin-bottom: 30px;
	width: 95%;
}

.contents1-titles h2 {
	font-size: 2.5rem;
	border-bottom: 1px solid red;
	width: 50%;
	margin: 0;
}

.contents1-titles h2 span {
	color: #08549b;
}

.contents1-titles p {
	margin: 0;
	font-weight: bold;
}

/*お知らせ↓ここから*/
.info {
	-webkit-overflow-scrolling: touch;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	display: -webkit-box;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	/* max-width: 600px; */
	/*付け加えた*/
	width: auto;
	height: 13em;
	margin: auto;
	overflow-y: scroll
}


@media (min-width:768px) {
	.info {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		flex-direction: row;
		flex-wrap: wrap
	}
}

.info dd,
.info dt {
	box-sizing: border-box;
	width: 100%;
	padding-bottom: .5em;
	padding-left: .5em
}

.info dt {
	font-style: normal;
	font-weight: initial
}

@media (min-width:768px) {
	.info dt {
		width: 12.5em;
		margin-bottom: .5em;
		border-bottom: 1px dotted #343a40
	}
}

.info dt:first-of-type {
	padding-top: .5em;
	border-bottom: 1px dotted #343a40
}

.info dt time {
	/*margin-right: .5em;*/
	float: right;
}

.info dt span {
	box-sizing: border-box;
	display: inline-block;
	width: 7em;
	margin-right: .5em;
	padding: 0 .5em;
	background-color: orange;
	color: #fff;
	font-size: .8em;
	line-height: 1.75;
	text-align: center
}

.info time {
	color: #adb5bd
}

.info dd {
	margin-left: 0;
	margin-bottom: .5em;
	border-bottom: 1px dotted #343a40
}

@media (min-width:768px) {
	.info dd {
		width: calc(100% - 12.5em)
	}

	.info dd:first-of-type {
		padding-top: .5em;
		border-bottom: 1px dotted #343a40
	}
}

.info dd:nth-of-type(-n+3) {
	position: relative
}

@media(max-width: 1024px) {

	.contents1-container {
		/* background-color: rgb(251,249,244); */
		padding: 30px;
		margin: 50px;
	}

	.contents1 {
		padding-bottom: 30px;
	}


}


@media(max-width: 519px) {

	.info dt time {
		margin-right: 1.5em;
		float: left;
	}

	.contents1-container {

		margin: 50px auto;
	}



}


/* END CONTENTS1 */


/* CONTENTS2 */
.contents2 {
	margin: 30px auto;
	padding: 20px 0;
	width: 90%;
	/* background-color: #F7F8FA; */
}

.contents2-title {
	width: 90%;
}

.contents2-title h2 {
	font-size: 4rem;
	margin: 0;
	font-weight: bold;
	border-bottom: 2px solid red;
}

.contents2-title h2 span {
	color: #08549b;
}

.contents2-title p {
	font-size: 1.5rem;
	letter-spacing: 2px;
	margin: 0;
	font-family: 'Lato', sans-serif;
}

.contents2-container {
	display: flex;
}

.reverse {
	flex-direction: row-reverse;
}

.contents2-container img {
	width: 40%;
	height: 350px;
	object-fit: cover;
	display: block;
	margin: auto;
}

/* .contents2-container video {
	width: 40%;
	display: block;
	margin: auto;
	border: 3px solid #08549b;
} */

/* ===== 会社紹介動画ラベル ===== */
.contents2-video {
  position: relative;
  width: 40%;
  margin: auto;
}

.contents2-video video {
  width: 100%;
  border: 3px solid #08549b;
  display: block;
}

.video-label {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 30px;
  text-align: center;
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 2;
}

/* スマホ対応 */
@media(max-width:834px) {
  .contents2-video {
    width: 90%;
  }
	
	.video-label {
		  top: -44%;

	}
}


.contents2-text {
	width: 50%;
	margin: 30px auto;
}

.contents2-contents {
	text-align: center;
}

.contents2-contents h3 {
	font-size: 1.8rem;
	line-height: 4rem;
	margin: 0;
	text-align: left;
	display: inline-block;
}

.contents2-contents p {
	line-height: 3rem;
	text-align: left;
	display: inline-block;
}

@media(max-width:834px) {
	.contents2-container {
		display: block;
	}

	.contents2-container img {
		width: 90%;
	}
	
/* 	.contents2-container video {
		width: 90%;
	} */

	.contents2-text {
		width: 80%;
	}
}

@media(max-width:519px) {
	.contents2 {
		margin: 30px auto;
		padding: 0;
		/* background-color: #F7F8FA; */
	}

	.contents2-title {
		width: 90%;
	}

	.contents2-title h2 {
		font-size: 3rem;
	}

	.contents2-title p {
		font-size: 1.3rem;
	}

	.contents2-text h3 {
		font-size: 1.3rem;
		line-height: 3rem;
	}

	.contents2-text {
		width: 95%;
	}

	.contents2-container img {
		height: 250px;
	}

}




/* END CONTENTS2 */



/* CONTENTS3 */

/* END CONTENTS3 */


/* CONTENTS4 */

/* END CONTENTS4 */

/* CONTENTS5 */

.contents5 {
	margin: 50px auto;
	padding: 30px 0 50px;
	background: url(img/bg.jpg) 0 0 repeat;
	background-size: 291px 79px;

}

.contents5-title {
	width: 60%;
	text-align: center;
	margin: auto;
}

.contents5-title h2 {
	font-size: 4rem;
	margin: 0 auto;
	font-weight: bold;
	border-bottom: 2px solid red;
}

.contents5-title h2 span {
	color: #08549b;
}

.contents5-title p {
	font-size: 1.5rem;
	letter-spacing: 2px;
	margin: 0;
	font-family: 'Lato', sans-serif;
}

.contents5-container2 {
	width: 95%;
	margin: auto;
}

.contents5-container3 {
	display: flex;
	justify-content: space-between;
	background: rgba(255, 255, 255, .8);
}

.contents5-box {
	width: 30%;
	margin: 50px auto;
	background-color: #fff;
	padding: 20px 5px;
}

.contents5-box a img {
	width: 90%;
	display: block;
	margin: auto;
	transition: all 0.6s ease 0s;
}

.contents5-box a img:hover {
	opacity: .5;
}

.contents5-text {
	width: 80%;
	margin: auto;
}

.contents5-text h2 {
	font-size: 1rem;
	font-weight: normal;
}

.contents5-text p {
	color: #4780c5;
}

@media(max-width:834px) {
	.contents5-container3 {
		display: block;
	}

	.contents5-box {
		width: 80%;
	}

	.contents5-text p {
		font-size: 1.1rem;
	}

}

@media(max-width:519px) {
	.contents5-title {
		width: 90%;
		margin: 0 auto;
	}

	.contents5-container2 {
		padding: 10px 0;
	}

	.contents5-container3 {
		display: block;
	}

	.contents5-box {
		width: 80%;
	}

	.contents5-title h2 {
		font-size: 3rem;
	}

	.contents5-title p {
		font-size: 1.3rem;
	}

}

/* END CONTENTS5 */

/* CONTENTS6 */

/* END CONTENTS6 */

/* CONTENTS7 */

/* END CONTENTS7 */

/* CONTENTS8 */
.contents8 {
	background: url(img/recruit2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding: 80px 20px;
	position: relative;
}

/* .contents8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10,30,0,0.5);
} */

.contents8-container {
	width: 90%;
	padding: 50px 0;
	margin: 0 auto;
	background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8));
}

.contents8-title {
	text-align: center;
	letter-spacing: 1px;
	width: 60%;
	margin: auto;
}

.contents8-title h2 {
	font-size: 4rem;
	margin: 0;
	font-weight: bold;
	border-bottom: 2px solid red;
}

.contents8-title h2 span {
	color: #08549b;
}

.contents8-title p {
	font-size: 1.5rem;
	letter-spacing: 2px;
	margin: 0;
	font-family: 'Lato', sans-serif;
}

.contents8-text {
	width: 90%;
	margin: auto;
}

/* .contents8-text p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin: 0;
  font-family: 'Lato', sans-serif;
} */

@media(max-width:1024px) {}

@media(max-width:834px) {

	.contents8-title h2 {
		font-size: 2.5rem;
	}

	.contents8-title .read {
		font-size: 1rem;
	}

	.contents8-area {
		display: block;
		margin: 0;
	}

	.contents8-box a img {
		width: 70%;
		margin: 30px auto;
	}

	.contents8-title .read {
		font-size: 1.3rem;
	}


}

@media(max-width:768px) {}

@media(max-width:519px) {
	.contents8-title {
		width: 90%;
	}

	.contents8-title h2 {
		font-size: 3rem;
	}

	.contents8-title img {
		width: 55%;
	}

	.contents8-title a {
		font-size: 2.5rem;
	}

	.contents8-title a img {
		width: 10%;
	}

	.contents8-title a span {
		font-size: 1rem;
	}

	.contents8-box a img {
		width: 80%;
		margin: 30px auto;
	}

	.contents8-container {
		width: 95%;
		padding: 30px 0;
	}

}

@media(max-width: 300px) {}

/* END CONTENTS8 */


/* FOOTER */

.footer-container {
	display: flex;

}

.footer-map {
	width: 50%;
}

.footer-table {
	width: 50%;
	/* background: rgba(204, 204, 204, 0.8); */
	padding-bottom: 20px;
	color: #333;
}

.footer-table a {
	text-decoration: none;
	color: #333333;
	font-size: 1em;
	font-weight: lighter;
}

.footer-table p span {
	/* margin-left: 20px; */
	display: block;
}

.footer-table td span {
	display: block;
}

table {
	width: 85%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 100%;
	margin: 30px auto;
}

tbody {
	display: table-row-group;
	vertical-align: middle;
	border-color: inherit;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
	border-bottom: 2px solid gray;
}

th {
	display: table-cell;
	vertical-align: inherit;
	font-weight: bold;
	text-align: -internal-center;
	padding: 30px 0;
	white-space: nowrap;
	font-family: 'Prata', serif;
}

td {
	display: table-cell;
	vertical-align: inherit;
	padding-left: 50px;
}

.footer-bottom {
	padding: 60px 40px 0;
	display: flex;
	justify-content: space-between;
}

.footer-bottom_container {
	width: 90%;
	margin: auto;
}

.footer-bottom_container img {
	width: 20%;
	display: block;
	margin: 20px auto;
}

.footer-bottom_container ul {
	display: flex;
	justify-content: space-around;
	padding: 0;
}

.footer-bottom_container ul li {
	list-style: none;
	border-left: 2px solid #333333;
	margin: 30px 0;
	width: calc(100%/8);
	text-align: center;
	height: 30px;
}

.footer-bottom_container ul li:last-child {
	border-right: 2px solid #fff;

}

.footer-bottom_container ul li a {
	text-decoration: none;
	font-size: .8em;
	font-weight: bold;
	color: #333;
}

.footer-bottom_container ul li a:hover {
	color: #fff;
}

footer .copy {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: .06em;
	text-align: center;
	background-color: #0267F4;
	margin: 0;
	padding: 10px 0;
	color: #fff;
}

@media(max-width:1024px) {
	.footer-bottom_container {
		width: 100%;
	}
}

@media(max-width:834px) {

	.footer-table {
		width: 100%;
	}

	.footer-container {
		display: block;
	}

	.footer-map {
		width: 100%;
		height: 500px;
	}

	table {
		width: 65%;
	}

	.footer-bottom_container {
		width: 95%;
	}

	.footer-bottom_container ul li a {
		font-size: .6em;
	}

	.footer-bottom {
		padding: 60px 0 0;
		display: flex;
		justify-content: space-between;
	}

}

@media(max-width:519px) {

/* 	footer {
		margin-bottom: 80px;
	} */

	.footer-bottom {
		padding: 10px;
		margin-bottom: 0;
	}


	.footer-bottom_container ul {
		display: block;
		margin: 0;
/* 		line-height: 2em; */
	}


	.footer-bottom_container ul li {
		border-left: none;
		border-bottom: 1px solid #333;
		width: 65%;
		margin: auto;
		padding: 23px 30px;
		display: flex;
        align-items: center; /* ← 縦中央 */
		justify-content: center; /* ← 横中央（aを中央に） */
	}

	.footer-bottom_container ul li a {
		font-size: .8em;
	}

	.footer-bottom_container p {
		color: #fff;
		font-size: 10px;
		line-height: 30px;
		font-family: none;
	}

	.footer-bottom_container ul li:last-child {
		border-right: none;
	}

	.footer-table p span {
		display: block;
		margin: 0;
	}

	table {
		width: 90%;
	}

	.footer-bottom_container img {
		width: 40%;
		display: block;
		margin: 20px auto;
	}

	footer .copy {
		font-size: 10px;
	}

}

@media(max-width:300px) {
	.footer-bottom {
		margin-bottom: 140px;
	}

	table {
		font-size: .7em;
	}

	td {
		padding-left: 30px;
	}

	.footer-bottom_container img {
		width: 70%;
		display: block;
		margin: 20px auto;
	}

	.footer-bottom_container .insta {
		width: 90%;
	}

}

/* END FOOTER */

:root {
	--header-h: 120px;
}

/* 初期値：保険 */
#site-header {
/* 	position: sticky; */
	top: 0;
	z-index: 1000;
}

/* main {
	padding-top: var(--header-h);
} */

/* ← ここでオフセット */
html,
body {
	scroll-padding-top: var(--header-h);
}

/* アンカーずれ対策 */

.single {
	text-align: center;
}

.single-blog {
	margin-block: 100px;
	padding-block: 50px;
	background: #F2F2F2;
}

.single .single-hero {
	margin: 0 0 24px;
	padding: 0 50px;
	box-sizing: border-box;
}

.single .single-hero img {
	display: none;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* NEWS一覧 共通スタイル */
.contents1 .info {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.contents1 .info-item+.info-item {
	margin-top: 12px;
}

.contents1 .info-link {
	display: flex;
	gap: 16px;
	align-items: center;
	text-decoration: none;
}

.contents1 .info-date {
	font-feature-settings: "pnum";
	opacity: .7;
	white-space: nowrap;
}

.contents1 .info-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* single-news の本文下にフッター高さぶんの逃げを作る */
.single.single-news main,
.single.single-news .news-entry {
	padding-bottom: 50px;
	/* フッターの実高さに合わせて調整（例: 96px） */
}

/* NEWS一覧（トップページ用） */
.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-item {
	border-bottom: 1px solid #ddd;
	padding: 8px 0;

}

.news-item a {
	display: flex;
	align-items: center;
	gap: 20px;
	/* 日付とタイトルの間隔 */
	text-decoration: none;
	color: inherit;
	padding-bottom: 20px;
}

.news-date {
	min-width: 100px;
	/* 日付幅を固定して揃える */
	font-size: 0.9rem;
	color: #666;
	text-align: center;
}

.news-title {
	flex: 1;
	/* タイトルは残り幅いっぱい */
	color: #0000EF;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	text-decoration-color: #0000EF;
}

.news-label {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 6px;
	font-size: 0.7rem;
	font-weight: bold;
	color: #fff;
	background: #FFA405;
	/* 赤背景 */
	border-radius: 4px;
}

.contents1a-container {
	/* display: flex;
  justify-content: space-between; */
	/* width: 90%;
  margin: 50px auto; */
	max-width: 1100px;
	background: #fff;
	padding: 30px;
	margin: 0 200px;
}

.news-archive-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	justify-content: center;
	gap: 24px;
	list-style: none;
	padding: 50px;
	margin: 100px auto;
	background: #F2F2F2;
}

.news-archive-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	width: auto;
	max-width: 600px;
}

.news-archive-item .thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.news-archive-item .meta {
	padding: 14px 16px 16px;
	flex: 1;
}

.news-archive-item .meta a,
.news-archive-item .meta h2 {
	color: #000;
	text-decoration: none;
	font-size: 1.3rem;
}

.pagination {
	text-align: center;
}

.meta .title {
	width: 100%;
	display: block;
	margin: 30px 10px;
	font-size: 1.3rem;
}

.news-entry {
	margin-block: 100px;
	padding-block: 50px;
	background: #F2F2F2;
}

.news-hero img,
.news-list img {
	display: block;
	width: 100%;
	height: auto;
}

.news-hero {
	margin: 0 0 24px;
	padding: 0 50px;
	box-sizing: border-box;
}

.news-hero img {
	display: none;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.archive-item .thumb img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- SPドロワーの最小必須セット --- */
#toggle {
	position: fixed;
	top: 30px;
	right: 30px;
	z-index: 1002;
}

#nav-content {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 80%;
	/* 任意 */
	background: #EAF3F8;
	transform: translateX(100%);
	transition: transform .35s ease;
	z-index: 1001;
	display: block;
	/* UAのhiddenと競合しないように明示 */
}

/* hidden 属性があるときだけ確実に非表示 */
#nav-content[hidden] {
	display: none !important;
}

/* 開いた時にスライドイン */
body.is-open #nav-content {
	transform: translateX(0);
}

/* もし以前に .is-open #nav-content { width:100%; } があれば削除 or 無効化 */

/* === ハンバーガーOPEN時もボタンを常に最前面に === */
#toggle {
	z-index: 5000 !important;
	/* ドロワーより常に上 */
	position: fixed;
	top: 30px;
	right: 30px;
}

/* ドロワーは下のレイヤー */
#nav-content {
	z-index: 2000 !important;
}

/* ★競合ルール修正：is-open 時に nav-content を999にするのは削除/上書き */
body.is-open #nav-content {
	z-index: 2000 !important;
	transform: translateX(0);
	width: 100%;
	/* 全画面にしたいなら残してOK */
}

/* ×ボタン（OPEN時の三本線変形）を濃色にして見えるように */
.is-open #toggle>span {
	background: #08549b !important;
	/* 背景とコントラストを付ける */
}

/* ===== NEWS：はみ出さない＆気持ちよく縮む ===== */

/* 外枠：左右に余白を作りつつ幅制御 */
.contents1a-container {
	max-width: 1100px;
	width: min(100%, 1100px);
	margin: 0 auto;
	/* 中央寄せ */
	padding: 24px 16px;
	/* 端で潰れない */
	box-sizing: border-box;
}

/* リスト自体はグリッドで管理（モバイル1列） */
.news-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* 1件をカード風に（色は現状維持、線だけ） */
.news-item {
	border-bottom: 1px solid #ddd;
	/* 既存の下線よりカード感 */
	border-radius: 8px;
	background: #fff;
	/* 既存デザインと同じ白地 */
	overflow: hidden;
	/* 角丸外にはみ出さない */
}

/* クリック範囲を余白込みに */
.news-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	width: 100%;
	box-sizing: border-box;
	flex-wrap: wrap;
	/* せまい時に折り返し */
}

/* NEW + 日付の並び */
.news-item-inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

/* 既存色そのまま */
.news-label {
	background: #FFA405;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
}

/* 日付は小さめ、モバイルでは左寄せ */
.news-date {
	font-size: .9rem;
	color: #666;
	text-align: left;
}

/* タイトルは青・下線のまま。長い時に2行までで省略 */
.news-title {
	flex: 1 1 100%;
	color: #0000EF;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	text-decoration-color: #0000EF;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* 2行で省略 */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== ブレークポイント ===== */

/* タブレット：2列 */
@media (min-width: 600px) {
	.news-list {
		grid-template-columns: repeat(1, 1fr);
	}

	.news-item a {
		gap: 10px 14px;
	}

	.news-title {
		flex-basis: auto;
		/* 同一行に収まりやすく */
	}
}

/* PC：3列 */
@media (min-width: 960px) {
	.news-list {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* せまい画面での“はみ出しゼロ”仕上げ */
@media (max-width: 599.98px) {
	.news-item a {
		flex-direction: column;
		/* NEW+日付→上、タイトル→下 */
		align-items: flex-start;
	}

	.news-item-inner {
		width: 100%;
	}

	.news-title {
		width: 100%;
	}
}

/* ==== BLOG 3列レイアウトの最終上書き（frontの最新3件） ==== */

/* スマホ1列 */
.contents5-container3 {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
	background: rgba(255, 255, 255, .8);
	/* 既存を維持 */
}

/* タブレット2列 */
@media (min-width: 600px) {
	.contents5-container3 {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* PC3列 */
@media (min-width: 960px) {
	.contents5-container3 {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

/* 各カードはグリッドのセル幅いっぱいに */
.contents5-box {
	width: 100% !important;
	margin: 0 !important;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform .3s ease;
}

.contents5-box:hover {
	transform: translateY(-4px);
}

/* 画像は a 経由の指定に勝つために同じ特異性で上書き */
.contents5-box a img {
	width: 100% !important;
	height: 200px !important;
	/* 高さを揃える */
	object-fit: cover !important;
	display: block;
}

/* テキスト余白 */
.contents5-text {
	padding: 16px;
	text-align: left;
}

.contents5-text p {
	font-size: .9rem;
	color: #666;
	margin: 0 0 8px;
}

.contents5-text h2 {
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.5;
	margin: 0;
}

/* BLOGカードのサムネを同じ比率・高さに統一 */
.news-archive-item .thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	/* 枠を16:9で固定 */
	overflow: hidden;
}

.news-archive-item .thumb img {
	width: 100%;
	height: 100%;
	/* 枠いっぱいにフィット */
	object-fit: cover;
	/* はみ出しトリミング */
	display: block;
}

/* ブログ一覧（home.php） */
.archive-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	/* お好みで */
}

/* お知らせ一覧（archive-news.php） */
.news-archive-list {
	list-style: none;
	margin: 100px 0;
	padding: 50px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* 共通：各カード */
.archive-item,
.news-archive-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

/* 画像を横一杯に整える（比率違いのズレ対策） */
.archive-item img,
.news-archive-item img {
	width: 100%;
	height: 240px;
	/* お好みで */
	object-fit: cover;
	/* トリミングで統一 */
	display: block;
}

/* レスポンシブ：タブレット2列、スマホ1列 */
@media (max-width: 1024px) {

	.archive-list,
	.news-archive-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {

	.archive-list,
	.news-archive-list {
		grid-template-columns: 1fr;
	}

	.archive-item img,
	.news-archive-item img {
		height: 200px;
	}
}

/* ============================
   ページネーション（K-Line仕様）
============================ */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 60px 0;
	font-family: "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ ProN W3", sans-serif;
}

/* 数字リンク共通 */
.pagination .page-numbers {
	display: inline-block;
	width: 38px;
	height: 38px;
	line-height: 38px;
	text-align: center;
	border: 2px solid #0267F4;
	border-radius: 50%;
	color: #0267F4;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.25s ease;
	background-color: #fff;
}

/* 現在ページ */
.pagination .page-numbers.current {
	background-color: #0267F4;
	color: #fff;
	box-shadow: 0 0 6px rgba(2, 103, 244, 0.4);
}

/* ホバー時 */
.pagination .page-numbers:hover {
	background-color: #F7931E;
	border-color: #F7931E;
	color: #fff;
	box-shadow: 0 0 6px rgba(247, 147, 30, 0.4);
}

/* 前へ・次へボタン */
.pagination .prev,
.pagination .next {
	padding: 0 18px;
	height: 38px;
	line-height: 38px;
	border-radius: 20px;
	border: 2px solid #ddd;
	color: #333;
	background-color: #fff;
	font-weight: 600;
	transition: all 0.25s ease;
}

/* 前後ホバー */
.pagination .prev:hover,
.pagination .next:hover {
	border-color: #0267F4;
	background-color: #0267F4;
	color: #fff;
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
	.pagination {
		gap: 6px;
		margin: 40px 0;
	}

	.pagination .page-numbers {
		width: 32px;
		height: 32px;
		line-height: 32px;
		font-size: 0.9rem;
	}
}

.archive-list,
.news-archive-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	padding: 50px;
	margin: 100px auto;
	background: #F2F2F2;
}

@media (max-width: 1024px) {

	.archive-list,
	.news-archive-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {

	.archive-list,
	.news-archive-list {
		grid-template-columns: 1fr;
		padding-inline: 24px;
	}
}

a {
	text-decoration: none;
}

time {
	color: #000000
}


/* ブログ詳細ページのタイトル・本文を画像の位置と揃える */

/* .entry-title,
.post-title,
.title {
  text-align: left;
  padding: 0 50px;        画像と同じ左右パディングに統一
  margin: 0;
} */

/*bloglist*/

.entry-content,
.post-content,
.content {
  text-align: left;
  padding: 0 50px;        /* ここも左右50pxのパディング */
  margin: 0;
  line-height: 1.8;
}

.single-header,
.single-content {
	text-align: left;
}

/* .single-header h1,
.single-header time,
.single-content p {
	padding: 0 0 0 50px;
} */

/* PCデザイン（デフォルト） */
.single-content,
.single-header {
    max-width: 800px;    /* 読みやすい横幅に制限（任意） */
    margin: 0 auto;      /* ページ中央寄せ */
    padding: 0 40px;     /* 画面端と適度な余白（左右） */
}

/* 見出し・日付など共通整列 */
.single-header h1,
.single-header time,
.single-content p {
    text-align: left;
}

/* スマホ用 */
@media (max-width: 768px) {
    .single-content,
    .single-header {
        padding: 0 20px; /* スマホでは左右余白を少なめに */
    }
}



/*newslist*/

.entry-header,
.entry-content {
	text-align: left;
}

/* .entry-header h1,
.entry-header time,
.entry-content p {
	padding: 0 0 0 50px;
} */

/* PCデザイン（デフォルト） */
.entry-content,
.entry-header {
    max-width: 800px;    /* 読みやすい横幅に調整（必要なら変更OK） */
    margin: 0 auto;      /* ページ中央寄せ */
    padding: 0 40px;     /* 左右にゆとり */
}

/* 見出し・日付・本文などの整列 */
.entry-header h1,
.entry-header time,
.entry-content p {
    text-align: left;
}

/* スマホ用 */
@media (max-width: 768px) {
    .entry-content,
    .entry-header {
        padding: 0 20px; /* スマホは少し余白を小さく */
    }
}



/* まずは横はみ出しの元を根こそぎ封じる */
html, body {
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* CF7：ショートコードの html_class="form" に当てるレイアウト */
.form {
  /* 幅は画面に合わせて縮む＆中央寄せ */
  width: min(100%, 720px);
  margin-inline: auto;

  /* パディングは可変で、はみ出さない */
  padding: clamp(16px, 4vw, 40px);

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);

  /* 念のため。親が text-align:center でも本文は左揃え */
  text-align: left;
}

/* 親ブロックが中央寄せになっていても崩れないようガード */
.contents1,
.contents1-container,
.contents1-title {
  text-align: initial; /* ＝inheritを切る */
}

/* 入力UI */
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 16px;
  background: #fff;
}

/* 送信ボタンだけは中央配置のままに見せる */
.form input[type="submit"] {
  display: block;
  width: 160px;
  margin: 8px auto 0;  /* 中央 */
  padding: 12px 24px;
  border: 0;
  border-radius: 9999px;
  background: #0267F4;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.form input[type="submit"]:hover { opacity: .85; }

/* ラベルなどを縦並びに（テーマの横並び干渉を遮断） */
.form label,
.form .wpcf7-form-control-wrap {
  display: block;
}

/* スマホの左右余白を少し広めに（“右寄り”体感をなくす） */
@media (max-width: 520px) {
  .contents1-container { padding-inline: 12px; } /* 親の左右に薄く余白 */
  .form { padding: 20px; }                         /* パディングも控えめに */
}

/* もしページ全体が微妙にズレる場合の最終手段：フォーム行の余白を均等化 */
@supports (margin-inline:auto) {
  .form { margin-inline: auto; }
}

/* .top-contents {
	margin-top: 50px;
} */

.pagination {
  display: flex;
  justify-content: center; /* 水平方向中央揃え */
  align-items: center;     /* 垂直方向中央揃え（高さがある場合） */
  gap: 8px;                /* ページ番号と矢印の間隔 */
  margin: 60px 0;          /* 上下余白 */
  text-align: center;
}

.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;             /* 正方形にすることで矢印も中央に */
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 50%;      /* 丸く */
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination .page-numbers:hover {
  background: #F7931E;
  color: #fff;
}

.pagination .page-numbers:first-child:hover {
  background: #0267F4; /* ホバー時の色（K-LINEの青） */
  color: #fff;
}

.pagination .page-numbers:last-child:hover {
  background: #0267F4; /* ホバー時の色（K-LINEの青） */
  color: #fff;
}

.pagination .page-numbers.current {
  background: #0267F4;
  color: #fff;
  border-color: #0267F4;
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 90%;
    display: block;
    margin: 0 auto; /* これで中央寄せ */
}

/* .footer-sns {
  margin-top: 10px;
  text-align: center;
}

.footer-sns a img {
  width: 28px;
  height: 28px;
  transition: opacity 0.3s;
}

.footer-sns a:hover img {
  opacity: 0.7;
}
 */

.footer-sns {
  margin-top: 15px;
  text-align: center;
}

.footer-sns a {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.footer-sns a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.footer-sns img {
  width: 60%;
  height: auto;
  margin-top: 10px;
}

/* プライバシーポリシーコンテナ */
.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
  line-height: 1.8;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #222;
}

/* タイトル */
.privacy-container h2 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: left;
  font-weight: 700;
  color: #0b4fa3;
  border-left: 6px solid #0b4fa3;
  padding-left: 12px;
}

/* 見出し（h3） */
.privacy-container h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #0b4fa3;
  border-bottom: 1px solid #e4e8f0;
  padding-bottom: 6px;
}

/* 本文 */
.privacy-container p {
  margin-bottom: 14px;
  color: #333;
  font-size: 15px;
}

/* リスト */
.privacy-container ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.privacy-container ul li {
  margin-bottom: 8px;
  list-style: disc;
  font-size: 15px;
}

/* 企業情報ブロック */
.privacy-container p:last-child {
  margin-top: 24px;
  padding: 16px;
  background: #f7faff;
  border: 1px solid #d9e6f7;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
.privacy-container {
    padding: 24px 16px;
  }

.privacy-container h2 {
    font-size: 22px;
  }

.privacy-container h3 {
    font-size: 18px;
  }

.privacy-container p,
.privacy-container ul li {
    font-size: 14px;
  }
}

