html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, dt, dd, table, tbody, thead, tfoot, tr, th, td {
	margin: 0;
	padding: 0;
	text-indent: 0;
	scroll-padding-top: 80px; 
}
* {
	box-sizing: border-box;
}
html {
	font-size: 62.5% !important;
	line-height: 1.5;
}

body {
	width: 100%;
	height: 100%;
	font-size: 1.6rem;
	line-height: 1.8em;
	position: relative;
	color: #232323;
	font-family:
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
	margin:	0 auto;
	overflow-x: hidden;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
.wrapper{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}
main {
	width: 100%;
	max-width: 100%;
	padding-top: 0;
	font-size: 62.5% !important;
	color: #232323;
	overflow: hidden;
}
main .container-fluid {
	height: 100%;
	overflow: auto;
}
#article01{
	width: auto;
}
.contents_innner {
  padding-top: 154px;
}

@media (max-width: 991px) {
.wrapper{
	background:none;
	}
main{
	padding-bottom: 0;
	overflow: visible;	/* 要修正 */
	}
}
@media (min-width: 991px) {
	.pc_hidden {
		display: none !important;
	}
}

/* ヘッダー
----------------------------------*/

header {
	width: 100%;
}
header nav {
	position: relative;
}

#gnav {
    padding: 30px 0 20px;
	width: 1050px;
    margin: 0 auto;
}
#gnav ul {
	display: flex;
	flex-wrap: wrap;
	column-gap: 45px;
}
#gnav ul li {
	list-style: none;
}
#gnav ul li a {
	text-decoration: none;
	color: #232323;
}
#gnav ul li a:hover span {
	text-decoration:underline;
}
#gnav ul li a span {
    display:inline-block;
}

#nav_head li{
	font-family: "Hiragino Sans";
	font-size: 15px;
}
#nav_pc{
    margin-top: 40px;
    display: inline-block;
}
#nav_pc img{
    padding-left: 20px;
}
#gnav li{
	font-family: "Hiragino Sans";
	font-size: 15px;
}
@media (min-width: 991px) {
header nav {
	display: table;
	width: 100%;
	padding: 0;
	}	
.pc { display: block !important; }
.sp { display: none !important; }
}
@media (max-width: 991px) {


.btn_open{
	padding: 8px;
	}
#nav_sp{
	height: 103px;
	text-align: center;
	}
#nav_sp img{
	padding-top: 20px;
	}
#nav_head ul{
	margin-top: 35px;
	line-height: 10px;
	}
#nav_head li{
	margin-top: 50px;
	}
#gnav{
	display: none;
	}
.sp_hidden {
	display: none !important;
	}
.pc { display: none !important; }
.sp { display: block !important; }

#nav_sp{
	height: 125px;
	text-align: center;
	background-color: rgb(0, 53, 89);
	}
#nav_sp img{
	width: 105px;
    padding: 38px 0;
	}
#globalmenu {
    width: 100%;  /* 375px → 100% に変更 */
    max-width: 100%;
	height: 0;
	font-size: 12px;
	line-height: 1;
	color: #fff;
	}
#globalmenu.active {
	display: block;
	height: 100svh;
	background-color: rgb(0, 53, 89);
	background-color: white;
	color: black;
	margin-top: 0;
	z-index: 1;
	position: absolute;
	}
#globalmenu ul li {
	display: block;
    width: 100%;     /*スマホは1カラム前提でOK*/
    max-width: 100%;
	text-align: center;
	vertical-align: middle;
	margin: 0 auto;
	}
#globalmenu ul li{
	padding-bottom: 45px;
	padding-top: 0;
	}
#globalmenu ul li a{
	padding: 8px;
	}

#globalmenu ul li a {
	display: block;
	font-weight: bold;
	text-decoration: none;
	}
#globalmenu ul li:hover {
	background-color: rgba(255,255,255,0.7);
	}
#globalmenu a{
	color: black;
	}
#nav a{
	color: black;
	}
}
@media (min-width: 991px) {
#globalmenu {
	display: table-cell;
	position: static;
	width: auto;
	line-height: 1;
	margin: 0;
	transition: all 0.3s linear 0s;
	}
#globalmenu ul {
	display: table;
	padding: 0;
	margin: 0 0 0 auto;
	}
#globalmenu ul li {
	display: table-cell;
	width: auto;
	margin: 0;
	height: 16px;
	border-right: none;
	padding: 0 10px;
	}
#globalmenu ul li:last-of-type {
	border-right: solid 1px #fff;
	}
}
#panel-btn {
	display: block;
	position: absolute;
	top: 11px;
	right: 11px;
	width: 38px;
	height: 38px;
	padding: 0;
	z-index: 1001;
	background-color: rgb(235, 235, 235);
	cursor: pointer;
	opacity: 1;
}
#panel-btn-icon {
	display: block;
	position: absolute;
	top: 50%;
	left: 7px;
	width: 22px;
	height: 2px;
	margin: -1px 0 0 0px;
	background: rgb(0, 53, 89);
	border-radius: 2px;
}
#panel-btn-icon:before,
#panel-btn-icon:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 22px;
	height: 2px;
	background: rgb(0, 53, 89);
	border-radius: 2px;
}
#panel-btn-icon:before {
	margin-top: -10px;
}
#panel-btn-icon:after {
	margin-top: 8px;
}
#panel-btn-caption {
	position: absolute;
	left: 0;
	bottom: 6px;
	width: 100%;
	font-size: 11px;
	padding: 0;
	line-height: 1;
	color: #000;
}
#panel-btn.close #panel-btn-icon {
	background: transparent;
}
#panel-btn.close #panel-btn-icon:before {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
#panel-btn.close #panel-btn-icon:before,
#panel-btn.close #panel-btn-icon:after {
	margin-top: 0;
}
#panel-btn.close #panel-btn-icon:after {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
#panel-btn.close #panel-btn-icon:before,
#panel-btn.close #panel-btn-icon:after {
	margin-top: 0;
}

@media screen and (max-width:991px){
header {
	position: sticky;
	top: 0;
	z-index: 1000;
}
header .wrapper{
	display: none;
	}
}

/* ファーストビュー
----------------------------------*/
#first_block {
	display: flex;
	max-width: 1280px;
	margin: 0 auto;
}
#first_block #logo_block {
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 55%;
	background-color: rgb(0, 53, 89);
}
#first_block #logo_block img {
	width: 33%;
	max-width: 186px;
}
#first_block #img_block {
    flex-basis: 45%;
}

@media screen and (max-width:991px){
	#first_block {
		background-color: rgb(0, 53, 89);
		display: flex;
		flex-direction: column;
		height: 100svh;
	}
	/* #first_block #logo_block {
		flex-basis: 30%;
	}
	#first_block #logo_block img {
		height: 30%;
		width: auto;
	}*/
	#first_block #img_block {
		flex-basis: 70%;
		padding: 0 20px 40px;
		display: flex;
        justify-content: center;
        align-items: center;
	}
	#first_block #img_block img {
		object-fit: cover;
		height: 100%;
		width: auto;
		max-height: calc(70svh - 40px);
	}
}
/* SHIPS SCHOOL YEARSとは
----------------------------------*/
#article02{
	position: relative;
	background-color: #fff;
}
#concept01{
	text-align: center;
}
.img00 img{
	margin-top: 70px;
	margin-bottom: 100px;
}
.img01 img{
	position: absolute;
	top: 6%;
	left: 67%;
	width: 240px;
}
.img02 img{
	position: absolute;
	top: 4%;
	left: 5%;
}
#sp{
	display: none;
}
@media screen and (max-width:991px){
#pc{
	display: none;
}
#sp{
	display: block;
}
#article02{
	width: 100%;
}
.sticky-top {
	position: sticky;
	top: 0px;
		}
/* 画像とテキストを格納する領域
この領域はそのままスクロールする */
#content-wrapper {
	padding: 0 20px;
		}
/* 背景画像領域
この領域は画面のトップで止まり親の領域と共にスクロールする*/
#background-content {
	height: 100svh;/* 画面いっぱいに拡大 */
	padding: 40px 0;
	box-sizing: border-box;
		}
#background-content:before {
	content: "";
	object-fit: cover;
	position: absolute;
	width:100%;
	height: calc(100% - 80px);
	top: 40px;
	left: 0;
	background: url(../img/mens2-1-2.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
}
/* 画像を切り替える場合CSSで背景を変更すると
読み込みが遅れて点滅することがあるため擬似要素を被せる */
#background-content2 {
	height: 100svh;
	margin-top: -100svh;
	z-index:10;
	box-sizing: border-box;
		}
#background-content2:before,
#background-content2:after {
	content: "";
	display: block;
	width: 100%;
	height: 40px;
	background-color: #fff;
	position: absolute;
}
#background-content2:before {
	top: 0;
}
#background-content2:after {
	bottom: 0;
}
/* 途中で画像を切り替えるのに使う */
#background-content.change:after {
	opacity: 1;
		}
/* テキスト領域
この領域の高さがスクロール領域を決める */
#text-content {
	padding: 4em 1em 100svh;
	width: 100%;
	color:#fff;
	text-align: center;
	line-height: 3;
	font-size: 12.5px;
	margin-top: -0svh;/* テキストの初期配置位置 */
	display: block;
		}
#text-content p {
	margin: 0;
	margin-left: 65px;
		}
.img01_a {
	display: block;
	width: 100%;
	position: relative;
	z-index: 10;
}
.img01_a img{
    margin: 15px 20px 0 auto;
    display: block;
	width: 100px;
}
}

/* メッセージ
----------------------------------*/
#video-wrapper{
	padding-top: 100px;
	padding-bottom: 100px;
}
@media screen and (max-width:991px){
#video-wrapper{
	padding-top: 80px;
	padding-bottom: 30px;
}	
}
/* コンセプト
----------------------------------*/
#concept{
	display: flex;
	align-items: stretch;
	padding-top: 100px;
	max-width: 1110px;
	column-gap: 3%;
}
.concept_img img {
	object-fit: cover;
	height: 100%;
}
.concept_text{
	text-align: center;
	flex-grow: 1;
	padding: 0 20px;
	align-content: center;
}
.concept_text img{
	margin-bottom: 15px;
}
.concept_text h3{
	font-size: 2rem;
	margin-bottom: 45px;
}
.concept_text p{
	font-size: 2rem;
	line-height: 2.8em;
}
@media screen and (max-width:991px){

#concept{
    flex-direction: column-reverse;
	padding-top: 0px;
	padding-top: 50px;
}
.concept_img img{
	width: 300px;
	padding-top: 45px;
	display: block;
	margin: 0 auto;
}
.concept_text img{
	width: 300px;
}
.concept_text h3{
	font-size: 1.3rem;
	margin-bottom: 20px;
}
.concept_text p{
	font-size: 1.3rem;
	line-height: 3em;
}
}

/* 特徴
----------------------------------*/
#concept02_pc{
	text-align: center;
	padding-top: 200px;
	padding-bottom: 100px;
}
#concept02_pc img{
	width: 1100px;

}
#concept02_sp{
	display: none;
}
@media screen and (max-width:991px){
#article04{
	width: 100%;
}
#concept02_pc{
	display: none;
}
#concept02_sp{
	display: block;
	text-align: center;
    margin-top: 100px;
	margin-bottom: 50px;
}
#concept02_sp img{
	width: 360px;
}
}

/* デザイン
----------------------------------*/
.title_styling{
	text-align: center;
	padding-top: 50px;
	padding-bottom: 100px;
}
.title_styling img{
	width: 300px;
}
#design ul{
	width: 100%;
	max-width: 1168px;
}
.row{
	list-style: none;
	display: flex;
	gap: 40px;
	margin: 0 auto 100px auto;
}
@media screen and (max-width:991px){
#article05{
	width: 100%;
}
.title_styling{
	padding-bottom: 50px;
}
.title_styling img{
	width: 200px;
}
.row{
	flex-direction: column-reverse;
	text-align: center;
}
}
/* SHIPSについて
----------------------------------*/
#article06{
	background-color: rgb(0, 53, 89);
	text-align: center;
}
#ships{
	padding-top: 80px;
	padding-bottom: 60px;
}
.ships_text{
	color: #ffffff;
	font-size: 2rem;
	line-height: 3.2em;
	margin-top: 40px;
	margin-bottom: 40px;
}
.ships-img{
	width: 800px;
	display: flex;
	gap: 60px;
	margin: 0 auto;
}
.spbr{
	display: none;
}
@media screen and (max-width:991px){
#ships{
	padding-bottom: 30px;
}
.title_ships img{
	width: 240px;
}
.ships_text{
	font-size: 1.3rem;
	line-height: 3.2em;
}
.ships-img{
	width: 240px;
	display: block;
}
.ships-img img{
	padding-bottom: 30px;
}
.spbr{
	display: block;
}
.row{
	flex-direction: column;
}
}

/*フッター*/
/*---------------------------------------------*/
footer {
	display:block;
	position:relative;
	z-index:9980;
	font-size:1.2rem;
	font-family:  "Hiragino Sans";
}
footer .wrapper{
	padding:16px 0;
	width:60%;
	margin: 0 auto;
}
footer p {
	text-align:right;
}
footer .footer_logo{
    text-align: right;
}
footer .footer_logo img{
    padding-left: 20px;
}
footer nav ul {
	list-style:none;
}

footer nav ul li {
	display:inline-block;
	margin:0 2em 0 0;
}

footer nav ul li a {
	text-decoration:none;
	color:inherit;
}

footer nav ul li a:hover {
    text-decoration:underline;
}

@media screen and (max-width:991px){
footer{
	font-size: 1.3rem;
}
footer .wrapper{
	padding:16px 0;
	width:auto;
	margin:0 20px;
}
footer .fl{
    width: 270px;
    margin: 0 auto;
}
footer nav ul {
    display:table;
    width:100%;
	margin-left: 6px;
}
footer nav ul li {
	display:table-cell;
	margin:0;
	text-align:center;
}
footer .footer_logo {
    margin: 10px auto 0;
    display: flex;
    margin-top: 10px;
    gap: 20px;
    width: 250px;
}
footer .footer_logo img {
	width: 100px;
	padding-left: 10px;
}
}

.fade-in {
	opacity: 0;
	transform-origin: center bottom;
	transform: translate(0, 10px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
	opacity: 1;
	transform: translate(0, 0);
}