@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav.gnav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav.gnav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size: 16px;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
.contents {
	width: 980px;
	margin: 0 auto;
}

#main {
	box-sizing:border-box;
	overflow:hidden;
	float:right;
	width:68%;
}

#mainone {
	box-sizing:border-box;
	overflow:hidden;
	width:100%;
	margin-bottom: 50px;
}

#sub {
	box-sizing:border-box;
	overflow:hidden;
	float:left;
	width:28%;
}

header + #contents {
	padding-top: 50px;
}

.inner {
	position: relative;
	width: 980px;
	margin: 0 auto;
}

header .inner {
	position: relative;
	width: 1260px;
	margin: 0 auto;
}

a {
	color: #043771;
}
a:hover {
	color: #144d8d;
}

h1 {
	font-size: 28px;
}

h2 {
	margin-top: 50px;
	margin-bottom: 0.5em;
	font-size: 28px;
	color: #333;
	text-align: center;
	line-height: 1.0;
}

h2 span {
	position: relative;
	font-size: 12px;
}

h2 span:before {
	position: absolute;
	top: 50%;
	left: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

h2 span:after {
	position: absolute;
	top: 50%;
	right: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

h3 {
	margin-bottom: 0.25em;
	font-size: 18px;
}

h4 {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	font-size: 16px;
	font-weight: bold;
}

h5 {
	margin-bottom: 0.25em;
	padding-left: 25px;
	font-size: 16px;
	background: url('../images/bg_arrow_black.png') 0 50% no-repeat;
}

h6 {
	margin-bottom: 0.25em;
	padding-left: 5px;
	font-size: 16px;
	font-weight: bold;
}

p {
	margin:0 0 1em 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

em {
	font-weight: bold;
}

strong {
	font-weight: bold;
	color: #ff0000;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px dotted #ddd;
	border-left: 5px solid #ddd;
}

ul,ol,dl {
	margin: 0 0 1em 0;
}
ul li {
	list-style: disc;
}
ol li {
	list-style: decimal;
}
li {
	margin-left: 2em;
}

dt {
	margin-bottom: 0.5em;
	border-bottom: 1px dotted #ddd;
}
dd {
	margin-bottom: 1em;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
th {
	width: 50%;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
}
td {
	width: 50%;
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

iframe {
	width: 100%;
	margin: 0 auto;
} 

/*================================================
 *  汎用クラス
 ================================================*/
/* 中央寄せ */
.center {
	text-align: center;
}

/* 左寄せ */
.left {
	text-align: left;
}

/* 右寄せ */
.right {
	text-align: right;
}

/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin: 0 auto 50px auto;
	margin-bottom:50px;
	text-align:center;
}
.imgC img {
	margin-bottom:10px;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgL img {
	float:left;
	margin:0 10px 0 0;
}

@media screen and (max-width:767px) {
	.imgL {
		margin-bottom:20px;
	}
	.imgL img {
		float:none;
		margin:0 0 10px 0;
	}
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgR img {
	float:right;
	margin:0 0 0 10px;
}

@media screen and (max-width:767px) {
	.imgR {
		clear:both;
		overflow:hidden;
		margin-bottom:20px;
	}
	.imgR img {
		float:right;
		margin:0 0 10px 0;
	}
}

/* 写真ズーム */
.zoom {
	overflow: hidden;
}
.zoom img {
	display: block;
	-moz-transition: -moz-transform 0.8s linear;
	-webkit-transition: -webkit-transform 0.8s linear;
	-o-transition: -o-transform 0.8s linear;
	-ms-transition: -ms-transform 0.8s linear;
	transition: transform 0.8s linear;
}
.zoom img:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
}
.zoom img {
	margin-bottom: 0;
}

/* オーバーレイ */
.overlay {
	position: relative;
}
.overlay::after{
	background: rgba(0,0,0,.5);
	content: "　";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: all .3s ease-out;
	pointer-events: none;
}
.overlay:hover::after {
	background: rgba(0,0,0,.1);
	transition: all .3s ease-out;
}
.overlay img {
	margin-bottom: 0;
}

/* ボタン */
.btn a {
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #000;
}
.btn a:hover {
	color: #fff;
	background: #333;
}

/* 2カラム（スマートフォンでは1カラム) */
.twoCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position:relative;
	overflow:hidden;
	margin-bottom:60px;
}
.twoCol .inner {
	position: relative;
	overflow:hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 48.98%;
	width: calc((480 / 980) *100%);
	height: auto;
	margin:0 0 20px 0;
}
.twoCol .inner div:nth-child(2n+1) {
	clear:both;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.twoCol .inner img {
	width:100%;
}
.twoCol .inner h4 {
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	text-align: left;
}
.twoCol .inner p {
	width: 100%;
	margin-bottom: 0;
	margin-top: 0;
	text-align: justify;
}
.twoCol .inner p.title {
	color: #333333;
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
	font-size: 18px;
	font-weight: 600;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.twoCol .inner img {
	width: 100%;
}
.twoCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.twoCol {
		display: block;
		margin-bottom:20px;
	}
	.twoCol .inner {
		width :100%;
		margin:0 0 10px 0;
	}
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 32.14%;
	width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;
}
.threeCol .inner:nth-child(3n+1) {
	clear:both;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.threeCol .inner > a {
	width: 100%;
	height: 100%;
}
.threeCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.threeCol .inner img {
	width: 100%;
}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 0;
	}
}

/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
}
.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 23.46%;
	width: calc((230 / 980) *100%);
	margin: 0 0 20px 0;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.fourCol .inner img {
	width: 100%;
}

@media screen and (max-width:767px) {
	.fourCol {
		display: block;
		margin-bottom: 20px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 50%;
		margin: 0;
	}
	.fourCol .inner:nth-child(odd) {
		clear: both;
		float: left;
		padding: 0 5px 10px 0;
	}
	.fourCol .inner:nth-child(even) {
		float: right;
		padding: 0 0 10px 5px;
	}
}

/* お知らせ */
.information {
	margin-bottom: 80px;
}

.information dt {
	clear: both;
	float: left;
	margin: 0;
	padding: 10px 0;
	vertical-align: top;
	border-bottom: none;
}

.information dd {
	margin: 0;
	padding: 10px 0 10px 8em;
	vertical-align: top;
	border-bottom: 1px dotted #333;
}

/* ブログ更新情報 */
dt.blog{
  font-size: 10px;
  float: left;
}

dt.blog::after{
  font-size: 12px;
  content: "："
}

@media screen and (max-width:767px) {
	.information {
		margin-bottom: 40px;
	}

	.information dt {
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		vertical-align: top;
		border-bottom: none;
	}

	.information dd {
		margin: 0;
		padding: 0 0 10px 0;
		vertical-align: top;
		border-bottom: 1px dotted #333;
	}
}

.box {
    width: 80%;
    margin: 60px auto;
    padding: 20px;
    position: relative;
    border: double 3px #009FB7;
    }
 
.box .box-title {
    position: absolute;
    display: inline-block;
    top: -10px;
    left: 40px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #009FB7;
    font-weight: bold;
    }

.box h3 {
    background: #009FB7;
    color: #fff;
    font-weight: bold;
    }

.box input#submit_button {
    display: inline-block;
    padding: 0.5em 1em;
    margin-left: 10px;
    text-decoration: none;
    background: #009FB7;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}

.example {/*親div*/
  margin-top: 10px;
  position: relative;/*相対配置*/
  }

.example p.coming {
  position: absolute;/*絶対配置*/
  background-color: rgba(255,255,255,0.9);
  color: #494949;
  font-weight: 600;
  text-align: center;
  top: 10px;
  left: 0;
  width: 100%;
  }

.example img {
  width: 100%;
  }

/*================================================
 *  ヘッダー
 ================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #000;
	z-index: 100;
}

header:after {
	content: ""; 
	display: block;
	clear: both;
}

header h1 {
	float: left;
	height: 90px;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 110px;
	color: #fff;
}

header h1 a {
	color: #fff;
	font-size: 1.2em;
	font-family: Times New Roman;
	text-decoration: none;
}

header h1 a .small {
	color: #fff;
	font-size: 0.6em;
	font-family: Times New Roman;
	text-decoration: none;
}

header h1 a:hover {
	color: #fff;
	text-decoration: none;
}

header h1 hover {
	color: #fff;
}

header h1 img {
	vertical-align: middle;
	width: 250px;
	height: auto;
}

@media screen and (max-width:870px) {
	header h1 img {
		vertical-align: middle;
		width: 220px;
		height: auto;
	}

}

@media screen and (max-width:768px) {
	header h1 {
		padding: 0 0 0 10px;
	}
	header h1 {
		height: 50px;
	}
	header h1 img {
		margin-top: 20px;
		vertical-align: top;
		width: 180px;
		height: auto;
		}

}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
/* PC用 */
@media print, screen and (min-width:769px) {
	nav.gnav:after {
		content: '';
		display: block;
		clear: both;
	}
	nav.gnav {
		float: right;
	}

	/* 共通 */
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li {
		position:  relative;
		line-height: 120px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	nav.gnav ul li a {
		display: block;
		background: #000;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		text-decoration: none;
	}
	nav.gnav ul li a span {
		display: block;
		margin-top:-20px;
		background: #000;
		color: #fff;
		font-size: 11px;
		font-weight: bold;
		text-decoration: none;
	}
	nav.gnav ul li:hover > a {
		color: #fff;
		background: #333;
	}
	nav.gnav ul li:hover > a span {
		color: #fff;
		background: #333;
	}

	/* 1段目 */
	nav.gnav > ul > li {
		position: relative;
		width: 120px;
		float: left;
		margin: 0;
		padding: 0;
		text-align: center;
		list-style: none;
		line-height: 80px;
	}
	nav.gnav > ul > li.sns-button {
		width: auto;
		float: left;
		margin: 0;
		padding: 0;
		text-align: center;
		list-style: none;
		line-height: 80px;
	}
	nav.gnav > ul > li span {
		position: relative;
		width: 120px;
		float: left;
		margin: 0;
		padding: 0;
		text-align: center;
		list-style: none;
		line-height: 40px;
	}
	nav.gnav > ul > li.subnav a {
		padding-right: 20px;
	}
	nav.gnav > ul > li.subnav > a:after {
		position: absolute;
		content: "";
		top: 50%;
		width: 0;
		height: 0;
		margin-top:  -2.5px;
		margin-left: 10px;
		border: 5px solid transparent;
		border-top-color: #fff;
	}

	/* 2段目 */
	nav.gnav ul li ul {
		position: absolute;
		z-index: 3;
		top: 100%;
		left: 0;
		width: 180px;
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li ul li {
		overflow: hidden;
		height: 0;
		color: #fff;
		transition: .2s;
	}
	nav.gnav ul li ul li a {
		padding: 0 15px;
		text-align: left;
		background: #333;
		font-weight: normal;
	}
	nav.gnav ul li ul li a:hover {
		background: #444;
	}
	nav.gnav ul li:hover > ul > li {
		overflow: visible;
		height: 40px;
		line-height:  40px;
		border-bottom: 1px solid #555;
	}
	nav.gnav ul li:hover ul li:last-child {
		border-bottom: none;
	}
	nav.gnav > ul > li:last-child > ul {
		left: -60px;
	}
	nav.gnav ul li ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: -20px;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #fff;
	}
	nav.gnav > ul > li:last-child ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: 200%;
		margin-left: -20px;
		border: 5px solid transparent;
		border-right-color: #fff;
	}

	/* 3段目 */
	nav.gnav ul li ul li ul {
		top: 0;
		left: 100%;
	}
	nav.gnav ul li ul li ul li {
		width: 100%;
	}
	nav.gnav ul li ul li:hover > ul > li {
		border-bottom: 1px solid #555;
	}
	nav.gnav > ul > li:last-child > ul li ul {
		left: -100%;
	}
	nav.gnav ul li ul li ul li a {
		background: #444;
	}
	nav.gnav ul li ul li ul li a:hover {
		background: #666;
	}

	/* 3段目 */
	nav.gnav > ul {
		display: block !important;
	}
	#spMenu {
		display: none;
	}
}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {
	nav.gnav {
		display:  none;
	}
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav > ul {
		z-index: 2;
		overflow: auto;
		position: fixed;
		top: 50px;
		right: 0;
		width: 100%;
		height: 88%;
		height: -webkit-calc(100% - 50px);
		height: calc(100% - 50px);
	}
	nav.gnav li {
		position: relative;
		width: 100%;
		float: none;
		margin: 0;
		text-align: left;
		list-style: none;
		border-bottom: 1px solid #333;
		background: #000;
	}
	nav.gnav li.sns-button a.btn_sns {
		padding: 0 0 0 20px;
		margin: 0;
		display: block;
		width: 100% !important;
		border-radius: 0;
		text-align: left;
	}
	nav.gnav li:first-child {
		border-top: 0;
	}
	nav.gnav li:last-child {
		border-bottom: 0;
	}
	nav.gnav li a {
		display: block;
		padding: 10px 20px;
		color: #fff;
		text-decoration: none;
		background: #000;
	}
	nav.gnav li a span {
		padding-left: 10px;
		color: #fff;
		font-size: 0.8em;
		text-decoration: none;
		background: #000;
	}
	nav.gnav li a:hover {
		color: #fff;
		background: #222;
	}
	nav.gnav ul ul {
		display: none;
		position: relative;
	}
	nav.gnav li li a {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 30px 10px 34px;
		text-align: left;
	}
	nav.gnav li li li a {
		padding: 10px 20px 10px 48px;
	}

	nav.gnav .subnav > a:before {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -5px;
		background: #f1f1f1;
	}
	nav.gnav .subnav > a:after {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -10px;
		background: #000;
	}
	nav.gnav .subnav a:hover:after {
		background: #222;
	}
	nav.gnav .subnav.active > a:before {
		margin-top: 0;
	}
	nav.gnav .subnav.active > a:after {
		margin-top: 5px;
	}

	.spMenuWrap {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		-webkit-transition:  all 1s;
		-moz-transition:  all 1s;
		-ms-transition:  all 1s;
		-o-transition:  all 1s;
		transition:  all 1s;
		background: transparent;
	}

	#spMenu {
		position: absolute;
		top: 10px;
		right: 10px;
	}

	#spMenu:hover {
		cursor: pointer;
	}

	#navBtn {
		display: inline-block;
		position: relative;
		width: 30px;
		height: 30px;
		border-radius: 5%;
		background: #333;
	}
	#navBtnIcon {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #f1f1f1;
		transition: .2s;
	}
	#navBtnIcon:before,
	#navBtnIcon:after {
		display: block;
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 14px;
		height: 2px;
		background: #f1f1f1;
		transition: 0.3s;
	}
	#navBtnIcon:before {
		margin-top: -6px;
	}
	#navBtnIcon:after {
		margin-top: 4px;
	}
	#navBtn .close {
		background: transparent;
	}
	#navBtn .close:before,
	#navBtn .close:after {
		margin-top: 0;
	}
	#navBtn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#navBtn .close:after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
	
	.box .box-title {
    top: -10px;
    left: 20px;
    padding: 0 9px;
    line-height: 1;
    font-size: 14px;
    background: #FFF;
    color: #009FB7;
    font-weight: bold;
    }
    
    input[type='text'] {
    	width: 210px;
    }

    textarea {
    	width: 210px;
    }
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	margin-top: 80px;
	background: #ddd;
}

.fnav {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: censpace-betweenter;
	justify-content: space-between;
	margin: 0 50px;
	padding: 20px 0;
}

.fnav > ul {
	width: 33%;
	margin-bottom: 0;
	font-size: 12px;
}
.fnav > ul li {
	text-align: left;
}

.copyright {
	padding: 20px 0;
	color: #fff;
	font-size: 11px;
	text-align: center;
	background: #000;
}

@media screen and (max-width:767px) {
	footer {
		margin-top: 40px;
	}

	.fnav {
		display: block;
		margin: 0;
	}
	.fnav > ul {
		width: 100%;
	}
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
	z-index:1;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#111;
}
.totop img:hover {
	background:#222;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
	padding-top: 90px;
	overflow: hidden;
	position: relative;
}
.slideInner {
	list-style: none;
	margin: 0;
	padding: 0;
}
.slideInner li {
	position: absolute;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	background-position: 50% 0;
	background-repeat: no-repeat;
}

.ex{
	position: absolute;
	left: 20%;
	top: 50%;
	width: 50%;
	height: 50%;
	/* background-color: rgba(204,204,204,0.7); */
}
.ex span{
	color: #fff;
	font-size: 1.5em;
	text-shadow: 5px 5px 4px #999999;
}

/*================================================
 *  SNS
 ================================================*/
.sns {
    margin: 0 auto;
    max-width: 100%;
    background-size: 100% auto;
    padding: 100px;
    text-align: center;
    background-image: url(../images/slide05.jpg);
    background-repeat: no-repeat;
}
.sns h3 {
	color: #fff;
	font-size: 2.8em;
	text-shadow: 5px 5px 2px #494949;
}

.btn_sns_share{
  text-align: center;
}

.btn_sns{
  display: inline-block;
  text-decoration: none;
  background: #009FB7;
  color: #FFF;
  margin-top:20px;
  margin-bottom:20px;
  width: 60px !important;
  height: 60px !important;
  line-height: 60px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  transition: .4s;
}

.btn_sns i{
  color: #FFF;
  line-height: 60px;
}

.btn_sns:hover{
    background: #668ad8;
}

/*================================================
 *  DVDメニュー
 ================================================*/

.price {
    font-size: 1.3em;
    font-weight: 700;
    font-family: Times New Roman;
    border-bottom: solid 1px;
    padding: 5px 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.square_btn{
    display: inline-block;
    padding: 0.5em;
    text-decoration: none;
    background: #F0E68C;/*ボタン色*/
    color: #494949;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}
.square_btn:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}
.square_btn a {
	text-decoration: none;
	color: #494949;
}

/*================================================
 *  PUBLICITY
 ================================================*/

h4.pub {
	color: #494949;
	font-size: 1.2em;
	margin-left: 10px;
	padding: 0.3em 0;/*上下の余白*/
	border-top: solid 1px #494949;/*上線*/
	border-bottom: solid 1px #494949;/*下線*/
}

img.pub_mini {
	width: auto !important;
	height: 100px; 
	display: block; 
	margin: 0 auto;
}

img.pub_mini2 {
	width: 180px !important;
	height: auto; 
	display: block; 
	margin: 0 auto;
}

img.pub {
	width: auto !important; 
	height: 280px; 
	display: block; 
	margin: 0 auto;"
}

.box_pub {

	width: 95%;
	padding: 10px;
}

.box_pub p {
	padding-top: 10px;
	padding-left: 10px;
}

img.pub2 {
	width: 380px !important; 
	height: auto; 
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	margin-left: 10px;
}

img.pub_detail {
	width: 150px !important; 
	height: auto; 
	display: inline-block;
	float: left;
}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {
	img.pub_detail {
		display: none;
}

}


/*================================================
 *  PROFILE
 ================================================*/

.btn_pro{
  display: inline-block;
  text-decoration: none;
  background: #009FB7;
  color: #FFF;
  margin-top:20px;
  margin-bottom:20px;
  width: 150px !important;
  height: 150px !important;
  line-height: 150px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
}

.name {
	font-size: 1.8em;
	text-shadow: 2px 2px 1px #d8d8d8;
}

.profile{
	width: 100%;
	text-align: center;
	padding: 10px;
}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {

	#main {
		float:none;
		width:100%;
	}

	#sub {
		float:none;
		width:100%;
	}

	.slide {
		padding-top: 60px;
		overflow: hidden;
		position: relative;
	}

	.ex{
		left: 5%;
		top: 40%;
		width: 90%;
		height: 50%;
		/* background-color: rgba(204,204,204,0.7); */
	}

    .ex span{
	color: #fff;
	font-size: 1.0em;
	}
	
	.sns {
	    margin: 0 auto;
	    max-width: 100%;
	    background-size: 100% auto;
	    padding: 10px;
	    text-align: center;
	    background-image: url(../images/slide05.jpg);
	    background-repeat: no-repeat;
	}
	.sns h3 {
		color: #fff;
		font-size: 2.0em;
		text-shadow: 5px 5px 2px #494949;
	}
	
	.btn_sns{
	  margin-top:20px;
	  margin-bottom:20px;
	  width: 60px !important;
	  height: 60px !important;
	  line-height: 70px;
	  border-radius: 50%;
	  text-align: center;
	  vertical-align: middle;
	  overflow: hidden;
	  transition: .4s;
	}

	.btn_sns i{
	  color: #FFF;
	  line-height: 60px;
	}

	#modal_content{
	    width:420px;
	    background:#fff;
	    margin:15% auto;
	    padding:10px;
	    position:relative;
	    animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}
	}

}

/*================================================
 *  タブレット・スマートフォン向けデザイン
 ================================================*/
/* テンプレートより小さくなった場合に適用 */
@media screen and (max-width:979px) {
	.inner {
		width: 100%;
	}

	.contents {
		box-sizing: border-box;
		width: 100%;
		padding: 0 10px;
	}

	footer {
		width: 100%;
	}

	.lock {
		overflow: hidden;
	}
}

 ================================================*/
/* 本の修正 */

.book_title {
	color: #093 !important;
}

.book01 {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #ddd;
	display: flex;
  align-items: center;
  justify-content: space-between;
}

.change01 {
	width: 40%;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	background: #f1f1f1;
}

.change02 img{
 		width: 80%; /* 原本の80%のサイズにする */
    max-width: 600px; /* 最大幅600px */
    height: auto;
}

.change02 {
	width: 50%;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
}

.change02 {
	width: 50%;
	padding: 10px;
	vertical-align: middle;
	border: 1px solid #ddd;
}

.cover img{
 		width: 80%; /* 原本の80%のサイズにする */
    max-width: 200px; /* 最大幅600px */
    height: auto;
}

.cover02 {
  margin-left: 20px;
}

.book01-alternative {
  display: none;
}

/* スマホ版用のメディアクエリ */
@media screen and (max-width: 767px) {
  
 .book_title {
	margin-top: 0px;
	margin-bottom: -15px;
}

  /* テーブルを非表示 */
  .book01 {
    display: block; /* テーブルを使わないレイアウトに変更 */
  }
  
  .cover {
    width: 100%; /* 画像をフル幅に */
    margin-bottom: 20px; /* 画像とテキストの間にスペース */
   text-align: center;   
  }

  .cover02 {
    margin-top: 20px; /* テキストの上に余白を追加 */
    margin-bottom: 20px; /* テキストの上に余白を追加 */
    text-align: left; /* テキストを中央揃え */
  }

  /* tableを非表示にする */
  table.book01_cover {
    display: none;
  }

  /* 代替のレイアウト */
  .book01-alternative {
    display: block;
  }
}

/* 本のキャンペーン */


/* メインタイトルのスタイル */
.book_big_title {
  margin: 20px 0;
  font-size: 26px;
  color: #00acb9;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

/* 通常版の本のレイアウト */
.book01_cover {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  display: table;
  border-spacing: 20px;
}

.book01_cover .cover {
  width: 40%;
}

.book01_cover .cover img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.book01_cover .cover02 {
  width: 55%;
}

.book01_cover .cover02 h3 {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
}

/* スマホ版の代替レイアウト */
.book01-alternative {
  display: none;
}

@media (max-width: 768px) {
  /* スマホ版の本のレイアウト */
  .book01-alternative {
    display: block;
    margin-top: 20px;
    text-align: center;
  }

  .book01-alternative .cover {
    width: 100%;
    margin-bottom: 20px;
  }

  .book01-alternative .cover img {
    width: 80%;
    height: auto;
  }

  .book01-alternative .cover02 h3 {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
  }
}

/* イベントボックスのレイアウト */
.event_container {
  margin-top: 30px;
}

.event_container .heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.event_container .left-box {
  width: 30%;
  background-color: #f5feff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event_container .right-box {
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.event_container .column {
  width: 30%;
  background-color: #f5feff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* CTAボタン */
.cta {
  margin-top: 30px;
  background-color: #ff5722;
  color: white;
  padding: 15px 30px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
}

.cta:hover {
  background-color: #e64a19;
  transform: scale(1.1);
}

/* スマホ対応 */
@media (max-width: 600px) {
  /* イベントボックスのレイアウト */
  .event_container .heading {
    flex-direction: column;
    align-items: center;
  }

  .event_container .left-box {
    width: 100%;
  }

  .event_container .right-box {
    width: 100%;
    display: block;
  }

  .event_container .column {
    width: 100%;
    margin-bottom: 15px;
  }

  /* CTAボタン */
  .cta {
    font-size: 18px;
    padding: 12px 25px;
  }
}


/* 『すごい補助金＆助成金のもらい方』出版記念ウェブセミナー第2弾 */
        /* 広告全体のスタイル */
        .ad-container {
            width: 100%;
            max-width: 900px;
            margin: 20px auto;
            padding: 30px;
            background-color: #f5feff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        /* メインタイトル */
        h1 {
            font-size: 36px;
            color: #d32f2f;
            margin-bottom: 15px;
            text-transform: uppercase;
            font-weight: bold;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        }

@media screen and (max-width: 768px) {
    .top_title_text {
      line-height: 0.8;
    }
  }
        /* サブタイトル */
        h2 {
            font-size: 26px;
            color: #093;
            margin: 20px 0;
            font-weight: bold;
        }

        /* 本文 */
        p {
            font-size: 20px;
            color: #555;
            line-height: 1.6;
            font-weight: bold;
        }

        /* 強調部分 */
        .highlight {
            color: #0000FF;
            font-weight: bold;
            font-size: 24px;
        }

        /* サブヘッディング */
        .subheading {
            font-size: 22px;
            color: #000;
            margin-top: 25px;
            font-weight: bold;
        }

        /* CTAボタン */
        .cta {
            margin-top: 30px;
            background-color: #ff5722;
            color: white;
            padding: 15px 30px;
            font-size: 20px;
            text-decoration: none;
            border-radius: 10px;
            display: inline-block;
            transition: background-color 0.3s, transform 0.2s;
        }

        .cta:hover {
            background-color: #e64a19;
            transform: scale(1.1);
        }


        /* 【開催趣旨】 */
        .ad-reason {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            color: #ff00b0;
            text-align: left;
            border: 2px solid #000;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-reason .ad-re-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: #000;
            font-weight: bold;
        }

        .ad-reason .ad-re-content {
            font-size: 18px;
            color: #ff00b0;
            font-weight: bold;        
        }


        /* 【開催日時】 */
        .ad-box {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            background-color: #000;
            color: #FFEB3B; /* 明るい黄色 */
            text-align: center;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-box .ad-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #FFEB3B;
            font-weight: bold;
        }

        .ad-box .ad-content {
            font-size: 20px;
            color: #FFEB3B;
        }

        .ad-box .ad-highlight {
            font-size: 24px;
            font-weight: bold;
            color: #FFEB3B;
        }

        .ad-box .ad-highlight2 {
            font-size: 24px;
            font-weight: bold;
            color: #ffb000;
        }

        /* 【開催予定】 */
        .ad-plan {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            text-align: center;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-plan .ad-plan-title {
            font-size: 28px;
            margin-bottom: 10px;
            color: #F00;
            font-weight: bold;
            text-align: center;
 				    display: inline-block; /* インライン要素として表示 */
      			border-bottom: 2px solid #000; /* 黒色の2pxライン */
      			padding-bottom: 0px; /* 文字とラインの間にスペースを追加 */            
        }


        /* 【開催予定の内容】 */
        .ad-plan-detail {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            background-color: #eae8e9;
            padding: 15px;
            color: #ff00b0;
            text-align: left;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-plan-detail .ad-plan-de-content {
            font-size: 20px;
            margin-bottom: 10px;
            color: #000;
            font-weight: bold;
            text-align: left;
         
        }


        /* 【注意事項】 */
        .ad-notice {
            width: 90%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            color: #F00; 
            text-align: left;
            border-radius: 10px;
						border: 1px solid #d3d3d3;
            font-size: 16px;
            line-height: 1.6;
        }

        /* スマートフォン対応 */
        @media (max-width: 768px) {
            h1 {
                font-size: 28px;
            }

            h2 {
                font-size: 20px;
            }

            p {
                font-size: 18px;
            }

            .cta {
                font-size: 18px;
                padding: 12px 25px;
            }

            .subheading {
                font-size: 18px;
            }

            .ad-box {
                width: 90%;
                padding: 20px;
                font-size: 18px;
            }

            .ad-box .ad-title {
                font-size: 24px;
            }

            .ad-box .ad-content {
                font-size: 18px;
            }

            .ad-box .ad-highlight {
                font-size: 22px;
            }
             .ad-box .ad-highlight2 {
                font-size: 22px;
            }

        .ad-reason {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            color: #ff00b0;
            text-align: left;
            border: 2px solid #000;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-reason .ad-re-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: #000;
            font-weight: bold;
        }

        .ad-reason .ad-re-content {
            font-size: 18px;
            color: #ff00b0;
            font-weight: bold;        
        }


        /* 【開催日時】 */
        .ad-box {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            background-color: #000;
            color: #FFEB3B; /* 明るい黄色 */
            text-align: center;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-box .ad-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #FFEB3B;
            font-weight: bold;
        }

        .ad-box .ad-content {
            font-size: 20px;
            color: #FFEB3B;
        }

        .ad-box .ad-highlight {
            font-size: 24px;
            font-weight: bold;
            color: #FFEB3B;
        }

        .ad-box .ad-highlight2 {
            font-size: 24px;
            font-weight: bold;
            color: #ffb000;
        }

        /* 【開催予定】 */
        .ad-plan {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            text-align: center;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-plan .ad-plan-title {
            font-size: 24px;
            margin-bottom: 10px;
            color: #F00;
            font-weight: bold;
            text-align: center;
 				    display: inline-block; /* インライン要素として表示 */
      			border-bottom: 2px solid #000; /* 黒色の2pxライン */
      			padding-bottom: 0px; /* 文字とラインの間にスペースを追加 */            
        }


        /* 【開催予定の内容】 */
        .ad-plan-detail {
            width: 80%;
            max-width: 800px;
            margin: 20px auto;
            background-color: #eae8e9;
            padding: 15px;
            color: #ff00b0;
            text-align: left;
            border-radius: 10px;
            line-height: 1.6;
        }

        .ad-plan-detail .ad-plan-de-content {
            font-size: 20px;
            margin-bottom: 10px;
            color: #000;
            font-weight: bold;
            text-align: left;
         
        }










         /* 【開催日時】 */
        .ad-notice {
            width: 85%;
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            color: #F00; 
            text-align: left;
            border-radius: 10px;
						border: 1px solid #d3d3d3;
            font-size: 16px;
            line-height: 1.6;
        } 










        }





 /* 大きくて目立つボタンのスタイル */
.button-container {
  text-align: center; /* ボタンを中央揃え */
}

.cta-button {
  padding: 25px 60px; /* ボタンを大きく */
  background-color: #008a0e; /* 明るい赤色 */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px; /* 角を丸く */
  font-size: 26px; /* ボタン文字を大きく */
  transition: all 0.3s ease; /* ホバー時の変化を滑らかに */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* ボタンにシャドウ */
}

.cta-button:hover {
  background-color: #00680a; /* ホバー時に少し暗くなる */
  transform: scale(1.1); /* ホバー時に少し大きくなる */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* ホバー時にシャドウを強調 */
}

.cta-button:active {
  background-color: #00680a; /* クリック時の色 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* クリック時にシャドウを軽減 */
}

/* スマートフォン版 */
@media (max-width: 768px) {
  .cta-button {
    width: 100%; /* スマートフォンではボタンを横幅いっぱいに */
    font-size: 22px; /* モバイルサイズに合わせてフォントサイズを調整 */
  }
}


/* スマホ版用のメディアクエリ */
@media (max-width: 768px) {
  /* すべての要素を中央揃えにする */
  .cover, .cover02, .box-container, .button-container {
    text-align: center; /* テキストとボタンを中央揃え */
    margin: 0 auto; /* 幅を中央に配置 */
  }

  /* スマホ版の本のレイアウト */
  .book01-alternative {
    display: block;
    margin-top: 20px;
    text-align: center;
  }

  /* ボタンのスタイル */
  .cta-button {
    width: 100%; /* ボタンを横幅いっぱいに */
    font-size: 22px; /* モバイルサイズに合わせてフォントサイズを調整 */
    padding: 15px 0; /* スマホ用にパディングを調整 */
  }

  /* イベントコンテナ */
  .event_container .heading {
    flex-direction: column;
    align-items: center;
  }

  .event_container .left-box, .event_container .right-box, .event_container .column {
    width: 100%; /* 全幅を占める */
    margin-bottom: 20px; /* 各要素の間に余白 */
  }

  /* ad-container */
  .ad-container {
    width: 90%; /* スマホで幅を少し狭く */
    padding: 20px;
    text-align: center;
    margin: 0 auto; /* センター揃え */
  }

  /* ad-box */
  .ad-box {
    width: 100%; /* 幅を100%にして中央揃え */
    padding: 20px;
    font-size: 18px;
  }

  /* その他の要素（例：book01_cover） */
  .book01_cover {
    width: 100%; /* スマホで全幅を使用 */
    margin: 0 auto; /* センター揃え */
    display: block; /* テーブルではなくブロックに */
  }
}


/* 開催日時のボックスずれのスマートフォン対応 */
/* スマートフォン対応 */
@media (max-width: 768px) {
  /* ad-container */
  .ad-container {
    width: 90%; /* スマホで幅を少し狭く */
    padding: 20px;
    text-align: center;
    margin: 0 auto; /* センター揃え */
  }

  /* ad-box */
  .ad-box {
    width: 90%; /* 幅を90%に設定 */
    padding: 20px;
    font-size: 18px;
    margin: 0 auto; /* 中央揃え */
    text-align: center; /* テキストを中央揃え */
  }

  /* ad-box 内のタイトルや内容の調整 */
  .ad-box .ad-title,
  .ad-box .ad-content,
  .ad-box .ad-highlight {
    text-align: center; /* テキストも中央揃え */
  }
}


/* box-container */
.box-container {
  width: 60%; /* 幅を60%に変更 */
  margin: 0 auto; /* センターに配置 */
  border: 2px solid #dcdcdc; /* 薄いグレーの枠線 */
  box-sizing: border-box; /* 枠線を含めて計算 */
  padding: 0 20px;
}

/* 上段のスタイル */
.top-box {
  background-color: #ad0d00; /* 薄い青 */
  padding: 20px;
  text-align: center; /* コンテンツを中央揃え */
  display: flex;
  justify-content: center;
  align-items: center; /* 上下中央に配置 */
  height: 30px; /* 高さを調整 */
}

.top-box p {
  color: #fff;
  margin: 0; /* pタグのデフォルトのマージンをリセット */
  padding: 10px; /* 上下の余白を小さく */
}

/* 2列のボックスを格納するmiddle-box */
.middle-box {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  width: 100%; /* middle-box は親の幅100%を取る */
  justify-content: space-between;
  /* 幅は自動的に分割されます */
}

/* 左側のボックス (PC版の比率を3:7に) */
.left-box {
  width: 30%; /* 幅を30%に設定（3:7の比率） */
  background-color: #ad0d00;
  padding: 20px;
  border-radius: 10px;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center; /* 上下中央に配置 */
}

/* 右側のボックス (PC版の比率を3:7に) */
.right-box {
  width: 70%; /* 幅を70%に設定（3:7の比率） */
  background-color: #f0e1e1;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  display: flex;

  align-items: center; /* 上下中央に配置 */
}

/* 下段のスタイル */
.bottom-box {
  padding: 20px;
  text-align: center; /* ボタンを中央揃え */
}

/* ボタンのスタイル */
.bottom-box button {
  padding: 20px 40px;
  background-color: #ff9800; /* オレンジ色 */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px; /* 角を丸く */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* シャドウで立体感を追加 */
  font-size: 20px; /* 少し大きめのフォントサイズ */
}

.bottom-box button:hover {
  background-color: #fb8c00; /* ホバー時に少し暗くなる */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* ホバー時のシャドウを強調 */
}

.bottom-box button:active {
  background-color: #f57c00; /* クリック時の色 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* クリック時にシャドウを軽減 */
}



/* 2列のボックスを格納するmiddle-box-sm */
.middle-box-sm {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  width: 100%; /* middle-box は親の幅100%を取る */
  justify-content: space-between;
  /* 幅は自動的に分割されます */
}

/* 左側のボックス (PC版の比率を3:7に) */
.left-box-sm {
  width: 30%; /* 幅を30%に設定（3:7の比率） */
  border-radius: 10px;
  text-align: right;
}

/* 右側のボックス (PC版の比率を3:7に) */
.right-box-sm {
  width: 70%; /* 幅を70%に設定（3:7の比率） */
  border-radius: 10px;
  text-align: left;
}




/* 2列のボックスを格納するmiddle-box-sm */

.all_box-container {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

/* PC版 */
.all_middle-box {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  width: 100%;
  justify-content: space-between;
}

.all_left-box {
  width: 30%;
  text-align: center;
  padding-top: 40px; /* PC版の上余白 */
}

.all_left-box img {
  width: 100%;
  height: auto;
}

.all_right-box {
  width: 70%;
  text-align: left;
  font-size: 1.2em;
  padding-top: 40px; /* PC版の上余白 */
}

/* スマホ版の設定 */
@media (max-width: 768px) {
  .all_middle-box {
    flex-direction: column;      /* 画像が上、文字が下 */
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 5px;             /* 左右の余白を小さく */
    box-sizing: border-box;
  }

  .all_left-box {
    width: 100%;
    padding-top: 10px;           /* 上余白 */
    text-align: center;
  }

  .all_left-box img {
    width: 100%;                  /* 画面幅いっぱい */
    max-width: 300px;             /* 最大幅 */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .all_right-box {
    width: 100%;
    margin-top: 10px;
  }

  .all_right-box h1 {
    width: 100%;                  /* 幅いっぱい */
    margin: 0;
    padding: 0;
    font-size: 1.6em;             /* 調整可 */
    line-height: 1.3;
  }

  .all_right-box h1 span {
    display: block;               /* 幅いっぱい */
    width: 100%;
  }
}










/* スマートフォン版 */
@media (max-width: 768px) {
  /* box-container の幅を100%に設定 */
  .box-container {
    width: 100%; /* 幅を100%に変更 */
    padding: 10px;
    box-sizing: border-box; /* paddingとborderを含めて幅を計算 */
  }

  /* middle-boxのスタイル */
  .middle-box {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    width: 100%; /* middle-boxの幅を100%に設定 */
    margin: 0 auto;
    gap: 5px; /* ボックス間に5pxの間隔を追加 */
  }

  /* left-box */
  .left-box {
    width: 100%; /* 幅を100%に変更 */
    margin: 5px auto 5px auto; /* 中央配置、下に5pxの余白 */
    text-align: center;
    padding: 0; /* 左右の余白は無くす */
    display: flex;
    justify-content: center;
    align-items: center; /* 上下中央に配置 */
      }

  /* right-box */
  .right-box {
    width: 100%; /* 幅を100%に変更 */
    margin: 0 auto; /* 中央配置 */
    text-align: left;
    padding: 0; /* 左右の余白は無くす */
    display: flex;
    justify-content: center;
    align-items: center; /* 上下中央に配置 */
  }



/* スマートフォン版 middle-box-sm*/
@media (max-width: 768px) {
  /* box-container の幅を100%に設定 */
  .box-container {
    width: 100%; /* 幅を100%に変更 */
    padding: 10px;
    box-sizing: border-box; /* paddingとborderを含めて幅を計算 */
  }

  /* middle-boxのスタイル */
  .middle-box-sm {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    width: 100%; /* middle-boxの幅を100%に設定 */
    margin: 0 auto;
    gap: 5px; /* ボックス間に5pxの間隔を追加 */
  }

  /* left-box */
  .left-box-sm {
    width: 100%; /* 幅を100%に変更 */
    margin: 5px auto 5px auto; /* 中央配置、下に5pxの余白 */
    text-align: center;
    padding: 0; /* 左右の余白は無くす */
    display: flex;
    justify-content: center;
    align-items: center; /* 上下中央に配置 */
      }

  /* right-box */
  .right-box-sm {
    width: 100%; /* 幅を100%に変更 */
    margin: 0 auto; /* 中央配置 */
    text-align: left;
    padding: 0; /* 左右の余白は無くす */
    display: flex;
    justify-content: center;
    align-items: center; /* 上下中央に配置 */
  }







  /* top-boxのスタイル */
  .top-box {
    height: 30px; /* 高さを調整 */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* ボタン */
  .bottom-box button {
    font-size: 20px; /* フォントサイズを少し大きく */
    padding: 20px 40px;
  }
}

/* 画像を中央揃えにするためのコンテナ */
.image-container {
  text-align: center; /* 中央揃え */
  margin-top: 20px;    /* 上に20pxの余白を追加 */
}

/* 画像のサイズ調整 */
.image-container img {
  width: 80%;         /* 親要素の80%に画像の幅を合わせる */
  max-width: 800px;   /* 最大幅を800pxに設定 */
  height: auto;       /* 高さを自動で調整 */
  border-radius: 10px; /* 画像の角を丸くする */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 画像に影をつける */
}

/* スマホ版（画面幅が768px以下の場合） */
@media (max-width: 768px) {
  .image-container img {
    width: 100%; /* スマホでは画像の幅を100%に設定 */
    max-width: none; /* 最大幅の制限を外す */
  }
}

/* さらに小さい画面（例えば、モバイル端末）では、追加の調整 */
@media (max-width: 480px) {
  .image-container img {
    width: 100%;  /* モバイルでも画像を100%表示 */
    max-width: none; /* 最大幅を解除 */
    border-radius: 5px; /* 画像の角をさらに丸くする */
  }
}



.customtbl001 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.customtbl001 th,
.customtbl001 td {
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle; /* 縦方向中央揃え */
}

/* 列幅指定 */
.customtbl001 col.col1 { width: 45%; }
.customtbl001 col.col2 { width: 10%; }
.customtbl001 col.col3 { width: 45%; }

/* 高さを固定することで中央揃えが目に見える */
.customtbl001 td {
    height: 50px; /* 必要に応じて調整可 */
}

.pagetitle{
	text-align:center; 
	background-color:#dbdbdb; 
	font-size:24px; 
	color: red;
}

.page_arrow{
	color:red; 
	font-weight: bold; 
	font-size:24px;
}



    /* QR */

/* テーブル全体 */
.box-table {
  margin-left: auto;
  margin-right: auto;
  border-spacing: 30px; /* セルの間隔 */
}

/* 各セルのボックススタイル */
.box-table td {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;       /* セル内のテキストと画像を中央揃え */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 250px;             /* PC用固定幅 */
  vertical-align: top;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .box-table {
    border-spacing: 0;     /* セル間隔をリセット */
    border: none;          /* テーブル自体のborderを消す */
  }
  .box-table td {
    display: block;        /* 縦並びにする */
    width: 100%;           /* 幅100% */
    margin-bottom: 15px;   /* セル間の余白 */
    box-sizing: border-box;
    border: none;          /* セルのborderを消す */
  }

  .box-table img {
    max-width: 150px;      /* QRコードが大きすぎないように調整 */
    height: auto;
  }
}







