* {
	box-sizing: border-box;
}
html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
}
article,
footer,
header,
nav,
section {
	display: block;
}
[hidden],
template {
	display: none;
}
a {
	text-decoration: none;
	background-color: transparent;
}
a:active,
a:hover {
	outline: 0;
}
h1,
h2,
h3,
h4,
p {
	margin: 0;
}
b,
strong {
	font-weight: bold;
}
ol, ul {
	margin: 0;
	padding:0;
	list-style: none;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	border: 0;
    vertical-align: bottom;
}
svg:not(:root) {
	overflow: hidden;
}
hr {
	box-sizing: content-box;
	height: 0;
}
button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}
button {
	overflow: visible;
}
button,
select {
	text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}
button[disabled],
html input[disabled] {
	cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input {
	line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
textarea {
	overflow: auto;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td,
th {
	padding: 0;
}

/*-------------------------
	Common
--------------------------*/
html,
body {
	width: 100%;
	height: 100%;
	font-family: 'Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #555;
	animation-name: fade;
	animation-duration: 1.2s;
	animation-timing-function: ease;
	animation-iteration-count: 1;
}
@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
h2 {
	line-height: 140%;
	margin-bottom: 42px;
	font-family: "YuMincho", "Yu Mincho", serif;
	font-size: 40px;
	color: #000;
}
.entry {
	display: block;
	width: 320px;
	line-height: 62px;
	text-align: center;
	font-family: "YuMincho", "Yu Mincho", serif;
	font-size: 26px;
	font-weight: bold;
	color: #FFF;
	background-color: #0C3A71;
	border-radius: 4px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.entry:hover {
	background-color: #8CA8CA;
}
.entry-wide {
	width: 700px;
}

/*-------------------------
	Catch
--------------------------*/
.catch {
	position: relative;
	width: 100%;
	height: 100%;
}
.catch a img {
	z-index: 8;
	position: absolute;
	top: 30px;
	left: 5%;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.catch img:hover {
	opacity: 0.7;
}
.catch div {
	z-index: 6;
	position: absolute;
	top: calc(50% - 150px);
	left: calc(50% - 440px);
	width: 880px;
	text-align: center;
	font-family: "YuMincho", "Yu Mincho", serif;
	font-size: 40px;
	color: #FFF;
}
h1 {
	margin: 10px 0 16% 0;
	font-size: 56px;
}
.catch div a {
	display: block;
	z-index: 8;
	position: relative;
	width: 360px;
	line-height: 62px;
	margin: 0 auto;
	font-size: 26px;
	color: #FFF;
	background-color: rgba(0,0,0,0.7);
	border: 1px solid #FFF;
	border-radius: 4px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.catch div a:hover {
	color: #000;
	background-color: #FFF;
}
.catch > a:nth-last-of-type(1) {
	display: block;
	z-index: 5;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: default;
}
.catch > a:nth-last-of-type(1)::before {
	display: block;
	position: absolute;
	left: calc(50% - 7px);
	width: 26px;
	height: 10px;
	content: '';
	background-color: #FFF;
	cursor: pointer;
	transform: rotate(-45deg);
	animation-name: arrow;
	animation-duration: 1.6s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
}
.catch > a:nth-last-of-type(1)::after {
	display: block;
	position: absolute;
	right: calc(50% - 7px);
	width: 26px;
	height: 10px;
	content: '';
	background-color: #FFF;
	cursor: pointer;
	transform: rotate(45deg);
	animation-name: arrow;
	animation-duration: 1.6s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
}
@keyframes arrow {
	0% {
		bottom: 30px;
	}
	50% {
		bottom: 42px;
	}
	100% {
		bottom: 30px;
	}
}
.slide li {
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
	animation-duration: 15s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
}
.slide li:nth-child(1) {
	background-image: url(img/catch1.jpg);
	animation-name: catch1;
}
.slide li:nth-child(2) {
	background-image: url(img/catch2.jpg);
	animation-name: catch2;
}
.slide li:nth-child(3) {
	background-image: url(img/catch3.jpg);
	animation-name: catch3;
}
@keyframes catch1 {
	0% {
		opacity: 1;
	}
	23% {
		opacity: 1;
	}
	33% {
		opacity: 0;
	}
	90% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes catch2 {
	0% {
		opacity: 0;
	}
	23% {
		opacity: 0;
	}
	33% {
		opacity: 1;
	}
	56% {
		opacity: 1;
	}
	66% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
@keyframes catch3 {
	0% {
		opacity: 0;
	}
	56% {
		opacity: 0;
	}
	66% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/*-------------------------
	Merit
--------------------------*/
.merit {
	position: relative; /* 画像を絶対配置するための基準点として機能させる */
	background-color: #F0F0F0;
	overflow: hidden;
}

.merit-container {
	/* このコンテナはテキストブロックのみを管理 */
	max-width: 1200px;
	margin: 0 auto;
	/* 上下の余白はpaddingで確保 */
	padding: 80px 0 80px 80px;
}

.merit-text {
	width: 55%; /* テキストが占める幅の割合（画像と重ならないように） */
	text-align: left;
	position: relative;
	z-index: 1;
}

/* 画像用のカラムの新しいスタイル */
.merit-image {
	position: absolute; /* 絶対配置に変更 */
	top: 0; /* 親要素の上端に配置 */
	bottom: 0; /* 親要素の下端に配置 */
	right: 10%; /* 親要素の右から10%の位置に配置 */
	width: 40%;
	
	/* 画像を中央に配置するための指定 */
	display: flex;
	align-items: center;
	justify-content: center;
}

.merit-image img {
	width: auto;
	height: 100%; /* 高さをコンテナいっぱいに広げる */
	max-width: none; /* max-widthの制限を解除 */
}

/*-------------------------
	About
--------------------------*/
.about {
	/* padding: 80px 0 0 0; */
	text-align: center;
}
.about div:nth-of-type(1) {
	position: relative;
	margin: 0 auto 30px auto;
}
/*
.about div:nth-of-type(1)::before {
	display: block;
	position: absolute;
	bottom: -65px;
	left: calc(50% - 40px);
	width: 80px;
	height: 1px;
	content: '';
	background-color: #111;
}
*/

/*-------------------------
	Counter
--------------------------*/
.counter {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 130px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 !important;

    /* 数字と単位を横並びにして、ベースラインを揃えるための指定 */
    display: flex;
    align-items: baseline;
    justify-content: center;
}

/* 単位（「回」「人」）用の新しいスタイル */
.counter-unit {
    font-size: 80px;
    margin-left: 10px; /* 数字と単位の間の隙間 */
}


/*-------------------------
	Vertical Slideshow
--------------------------*/
.slideshow-wrapper {
	display: flex; /* スライドとドットを横並びにする */
	justify-content: center; /* 中央寄せ */
	align-items: flex-start;
	width: 1000px;
	margin: 60px auto 0 auto;
}

.slideshow-container {
	width: 90%; /* 横幅を調整 */
	height: 70vh;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	border: 1px solid #eee;
	background-color: #013F78;
	overscroll-behavior-y: contain;
}
/* スクロールバーを非表示にする */
.slideshow-container {
	scrollbar-width: none;
}
.slideshow-container::-webkit-scrollbar {
	display: none;
}

.slide {
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.slide h3 {
	margin-bottom: 20px !important;
}

/* --- スライドショー内のレスポンシブ調整 --- */
.slide h3 {
	font-size: 3.5vh; /* 画面の高さの3.5%のサイズ */
}

.slide .counter {
	font-size: 13vh; /* 画面の高さの13%のサイズ */
}

.slide .counter-unit {
	font-size: 8vh; /* 画面の高さの8%のサイズ */
}

.slide > img {
	max-height: 25vh; /* 画像の最大の高さを画面の25%に制限 */
	width: auto;      /* 画像の縦横比を維持 */
	height: auto;     /* 高さは自動調整 */
}

/* テキスト */
.slide > span {
	font-size: 1.4vh; /* 画面の高さの1.8%のサイズ */
	color: #ffffff;
}


/* ドットナビゲーションの新しいスタイル */
.slideshow-dots {
	width: 50px; /* ドット自体の幅を確保 */
	position: sticky; /* ページスクロールに合わせて固定 */
	top: 50%; /* 画面の上下中央に配置 */
	transform: translateY(-50%);
	z-index: 100;
}
.slideshow-dots ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.slideshow-dots li {
	margin: 15px auto; /* 中央に配置 */
	width: 12px; /* クリック範囲を広げるためにliに設定 */
	height: 12px;
}
.slideshow-dots a {
	display: block;
	width: 100%;
	height: 100%;
	background-color: #ccc;
	border-radius: 50%;
	transition: background-color 0.3s;
}
.slideshow-dots .active a {
	background-color: #333;
}


/*-------------------------
	Slideshow Scrollbar & Dots
--------------------------*/
/* スクロールバーを非表示にする */
.slideshow-container {
	scrollbar-width: none; /* Firefox */
}
.slideshow-container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}

/* ドットナビゲーションのスタイル */
.slideshow-dots {
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	z-index: 100;
}

/* ul, li, a のスタイル */
.slideshow-dots ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.slideshow-dots li {
	margin: 15px 0;
}
.slideshow-dots a {
	display: block;
	width: 12px;
	height: 12px;
	background-color: #9a9a9a;
	border-radius: 50%;
	transition: background-color 0.3s;
}
/* アクティブなドットのスタイル */
.slideshow-dots .active a {
	background-color: #ffffff;
}


/*-------------------------
	Contents
--------------------------*/
.sub-contents {
	width: 100%;
	max-width: 1200px;
	min-width: 1000px;
	height: 100%;
	margin: 0 auto;
	padding: 0 5vh 0 30vh;
	font-size: 0;
}
.sub-contents > div:nth-child(1) {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 400px);
}
.sub-contents h2 {
	width: 100%;
	line-height: 100px;
	margin: 60px 0 46px 0;
	padding-left: 30px;
	font-size: 30px;
	font-weight: 400;
	border-left: 6px solid #8CA8CA;
}
.sub-contents h3 {
	width: 100%;
	line-height: 40px;
	margin: 60px 0 46px 0;
	padding-left: 30px;
	font-size: 20px;
	font-weight: 400;
	border-left: 6px solid #8CA8CA;
}
.sub-contents p {
	margin-bottom: 20px;
	font-size: 16px;
}
.sub-contents p b {
	display: inline-block;
	margin: 0 5px;
	font-size: 18px;
	color: #000;
}
.sub-contents div:first-of-type ul {
	margin: 40px 20px;
}
.sub-contents div:first-of-type ul li {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
}
.sub-contents div:first-of-type ul li::before {
	display: inline-block;
	margin-right: 8px;
	color: #8CA8CA;
	content: '\25CF';
}

/*-------------------------
	History
--------------------------*/
.history li {
	position: relative;
	line-height: 200%;
	margin: 0 0 30px 120px;
	padding-left: 42px;
	font-size: 16px;
	text-align: left
}
.history li:last-child {
	margin-bottom: 0;
}
.history li::before {
	display: block;
	z-index: 1;
	position: absolute;
	top: 5px;
	left: 0;
	width: 12px;
	height: 12px;
	content: '';
	background: #FFF;
	border: 4px solid #8CA8CA;
	border-radius: 50%;
}
.history li:not(:last-child)::after {
	display: block;
	z-index: 0;
	position: absolute;
    top: 16px;
    left: 9px;
    width: 1px;
    height: calc(100% + 20px);
    content: '';
    background: #CCC;
}
.history time {
	display: block;
	position: absolute;
	left: -120px;
	width: 120px;
	padding-right: 20px;
	text-align: right;
	font-weight: bold;
	color: #a5a5a5;
}


/*-------------------------
	Step
--------------------------*/
.step {
	text-align: center;
}
.about h3, .step h3 {
	font-family: "YuMincho", "Yu Mincho", serif;
	margin-bottom: 20px !important;
	font-size: 24px;
	color: #000;
}
.step dl {
	display: block;
	width: 800px;
	margin: 0 auto 42px auto;
	text-align: left;
	font-size: 0;
}
.step dt {
	display: inline-block;
	width: 200px;
	margin: 0;
	padding-top: 28px;
	vertical-align: top;
	font-size: 20px;
	font-weight: bold;
	color: #333;
}
.step dd {
	display: inline-block;
	position: relative;
	width: 600px;
	margin: 0;
	padding: 30px;
	vertical-align: top;
	font-size: 13px;
	background: #E6EBF1;
	border-left: 8px solid #0C3A71;
}
.step dl:not(:last-child) dd::before {
	display: block;
	position: absolute;
	bottom: -62px;
	left: 0;
	width: 600px;
	height: 80px;
	line-height: 80px;
	text-align: center;
	font-size: 80px;
	color: #DDD;
	content: '▼';
	transform: scale(1,0.3);
}
.step dt span {
	display: block;
	font-size: 10px;
	font-weight: 400;
	color: #666;
}
.step dd span {
	font-size: 13px;
	font-weight: 400;
	color: #666;	
}
.step b {
	display: block;
	margin-bottom: 12px;
	font-size: 17px;
	color: #333;
}
.kome li {
	display: block;
	position: relative;
	padding-left: 16px;
}
.kome li::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	content: '※';
}
.kome li:not(:last-child) {
	margin-bottom: 6px;
}
.test {
	margin: 16px 0 0 20px;
}
.test a,
.memo a {
	color: #0C3A71;
	text-decoration: underline;
}
.test a:hover,
.memo a:hover {
	text-decoration: none;
}
.step .entry {
	width: 520px;
	height: 66px;
	line-height: 66px;
	margin: 60px auto 0 auto;
}


/*-------------------------
	Button Container
--------------------------*/
.button-container {
	display: flex; /* 中の要素（ボタン）を横並びにする */
	justify-content: center; /* ボタン全体を中央に配置する */
	gap: 20px; /* ボタンとボタンの間の隙間を20pxに設定 */
}


/*-------------------------
	Memo
--------------------------*/
.memo {
	width: 800px;
	margin: 80px auto 60px auto;
	padding: 2px 30px 24px 30px;
	text-align: left;
	font-size: 12px;
	background-color: #F0F0F0;
}
.memo b {
	display: block;
	font-size: 14px;
	margin: 24px 0 6px 0;
}
.memo p {
	margin-bottom: 6px;
}
.memo ul {
	margin: 16px 30px;
}

/*-------------------------
	Contact
--------------------------*/
.contact {
	width: 800px;
	margin: 0 auto 60px auto;
	padding: 30px;
	font-size: 12px;
	border: 1px solid #CCC;
}
.contact ul {
	line-height: 180%;
}
.contact ul:not(:last-child) {
	margin-bottom: 24px;
}
.contact b {
	display: block;
	margin: 0 0 4px -6px;
	font-size: 14px;
}

/*-------------------------
	Footer
--------------------------*/
footer {
	line-height: 60px;
	background-color: #333;
}
footer ul {
	text-align: center;
}
footer li {
	display: inline-block;
	line-height: 18px;
	padding: 0 18px;
	font-size: 12px;
	color: #999;
	border-right: 1px solid #999;
}
footer li:nth-child(1) {
	padding-right: 40px;
}
footer li a {
	color: #999;
}
footer li a:hover {
	text-decoration: underline;
}



/* === スマートフォン表示用の特別対応 (ここから) === */
@media screen and (max-width: 768px) {

	/* h2見出しのサイズをスマホ用に調整 */
    h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    /* --- ヘッダースライドの調整 --- */
    .catch {
        /*
         * 高さを「画面の高さの45%」に設定します。
         * これでブラウザの高さが変わっても適度なサイズを保ちます。
        */
        height: 45vh;
    }
    .catch a img {
	    /* ロゴのサイズと位置を調整 */
   		width: 110px; /* ロゴのサイズ */
    	left: 10px; /* 左からの位置を指定 */
    	top: 10px; /* 上からの位置を指定 */
    	transform: none; /* 中央寄せの設定を解除 */
	}
    .slide li {
        /* スマホでの背景画像の表示を最適化 */
        background-attachment: scroll;
    }
    .catch > a:nth-last-of-type(1) {
        /* スクロール矢印はスマホでは非表示に */
        display: none;
    }


    /* --- 青いスライドの調整 --- */
    .slideshow-wrapper {
        width: 100%; /* 横幅いっぱいに広げる */
        margin: 40px auto 0 auto;
        padding: 0 15px; /* 左右に少し余白を追加 */
        flex-direction: column; /* ドットナビをスライドの下に配置するため */
    }
    .slideshow-container {
        width: 100%;
        /*
         * 高さを「画面の高さの**%」に設定
        */
        height: 50vh;
    }
    /* スライド内の文字や画像のサイズを、画面横幅(vw)基準で再調整 */
    .slide h3 {
        font-size: 3vw;
        padding: 0 10px;
    }
    .slide .counter {
        font-size: 12vw;
    }
    .slide .counter-unit {
        font-size: 7vw;
    }
    .slide > img {
        max-height: 22vw;
    }
    .slide > span {
        font-size: 2.2vw;
    }
    /* ドットナビゲーションをスライドの下に移動 */
    .slideshow-dots {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    .slideshow-dots li {
        display: inline-block;
        margin: 0 10px;
    }
	/* ページ下部の特定h3メッセージのサイズを調整 */
    .about > h3 {
        font-size: 16px;
        line-height: 1.7;
    }
	/* ページ下部の20周年記念ロゴのスマホ表示サイズを調整 */
	.about > img {
    	width: 200px !important;
	}

    /* --- その他の部分の最低限のレイアウト調整 --- */
    .merit-container {
        padding: 40px 20px;
        flex-direction: column; /* 代表挨拶を縦並びに */
    }
    .merit-text {
        width: 100%;
        order: 2; /* テキストを下に */
        margin-top: 20px;
    }
    .merit-image {
        position: static;
        height: 40vh; /* 高さを画面の高さの**%に設定 */
        width: auto; /* 横幅は画像の比率に合わせて自動調整 */
        margin: 0 auto;
        order: 1; /* 画像を上に */
    }
    .sub-contents {
        min-width: 0; /* 横幅の最小制限を解除 */
        padding: 0 10px; /* 左右の余白を狭くして、表示幅を広げる */
    }
    .history li {
        margin: 0 0 30px 20px;
        padding-left: 30px;
    }
    .history time {
        position: static;
        display: block;
        margin-bottom: 5px;
        text-align: left;
    }
    .button-container {
        padding: 0 15px;
    }
    .entry-wide {
        width: 100%;
        font-size: 18px; /* 文字サイズ */
        line-height: 50px; /* ボタンの高さ */
    }
    footer ul {
        padding: 15px 0;
    }
    footer li {
        display: block;
        border-right: none;
        padding: 8px 0;
        line-height: 1.5;
    }
    footer li:nth-child(1) {
        padding-right: 0;
    }
}
/* === スマートフォン表示用の特別対応 (ここまで) === */