@charset "UTF-8";
/*------------------------------
共通
------------------------------*/
html {
  font-size: 62.5%;
}
@font-face {
    font-family: 'AxisB';
    src: url(../font/AxisStd-Bold.woff) format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AxisR';
    src: url(../font/AxisStd-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
 font-family: 'Bukhari';
 src: url(../font/Bukhari-Script.ttf) format('truetype');
	font-display: swap;
}
@font-face {
 font-family: 'AvenirB';
 src: url(../font/25381880192.ttf) format('truetype');
	font-display: swap;
}
body {
	font-family: 'AxisR';
	line-height: 1.7;
	letter-spacing: 0.08em;
	background-color: #f5f3e9;
	color: #102d8e;
	font-size: 1.6rem;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p {
	font-size: 1.5rem;
}
.wrapper {
	padding: 80px 20px;
}
.container {
	max-width: 1080px;
    margin: 0 auto;
	text-align: center;
}
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.space-between {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.flex-col3 {
	text-align: center;
    width: calc((100% / 3) - 20px);
}
.align-items {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
i{
	font-style: normal;
}
@media screen and (min-width: 768px) {
	.sp {
        display: none !important;
	}
}
@media screen and (max-width: 767px) {
	.pc {
		display: none !important;
	}
}
/*------------------------------
タイトル
------------------------------*/
h1 {
}
h2 {
	font-family: 'AvenirB';
	font-size: 2.8rem;
	margin-bottom: 40px;
	font-style: italic;
}
h3 {
	font-family: 'Bukhari';
	font-size: 7.0rem;
	color: #ffffff;
}
h4 {
	font-size: 2.3rem;
	margin-bottom: 20px;
}
.pb0 {
    padding-bottom: 0;
}
/*------------------------------
背景
------------------------------*/
.bg-white {
	background-color: #fff;
}
.blue{
	color: #102d8e!important;
}
/*------------------------------
ヘッダー
------------------------------*/
header {
	position: fixed;
    width: 100%;
    z-index: 999;
}	
.logo{
	width: 100%;
	padding: 14px 28px 13px 18px;
	background-color: rgb(255, 255, 255, 0.8);
	border-radius: 0 0 20px 0;
	box-shadow: 0 10px 10px 0 rgb(16,45,141,0.1);
	z-index: 1000;
}

nav {
	height: 60px;
	font-size: 1.6rem;
	font-weight:bold;
	display: -webkit-flex;
    display: -ms-flex;
	display: flex;
}
.header__inner {
	width: 140px;
	position: relative;
	display: -webkit-flex;
    display: -ms-flex;
    display: flex;
	-webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/*------------------------------
フッター
------------------------------*/
.footer {
	background-color: #102D8D;
	font-size: 1.0rem;
	padding: 50px 0;
}

.copyright{
	color: #fff;
	margin-top: 20px;
	font-size: 1.2rem;
}
/*------------------------------
追従　
------------------------------*/
.scroll-image {
  position: fixed;
  top: 45vh;
  left: 9%;
  transform: translate(-50%, -50%);
  width: 8vw;
  z-index: 9999;
  pointer-events: none;
opacity: 0;
  transition: opacity 0.6s ease;
}
.scroll-image.active {
  opacity: 1;
}

.scroll-image img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: none;
	transition: opacity 0.3s ease;
}

/* 止まってるときは眼鏡だけ表示 */
.scroll-image:not(.scrolling) .img2 {
  opacity: 1;
}

/* スクロール中は歩く画像のみ表示 */
.scroll-image.scrolling .img1 {
  opacity: 0;
}
.scroll-image.scrolling .img1.show {
  opacity: 1;
}



/*------------------------------
メインビジュアル
------------------------------*/
.ttl_kv_wrapper {
  position: relative;
  width: 100%;
  background: url("../images/main-pc.jpg") no-repeat;
  background-size: 100vw;
}
.ttl_kv_wrapper:before {
  content:"";
  display: block;
  padding-top: 99%;
}
/*------------------------------
リード文
------------------------------*/
.lead-about {
    max-width: 750px;
}
.lead-text{
	font-size: 2.0rem;
}
.anniversarylogo{
	margin: 40px 200px;
}
/*------------------------------
movie
------------------------------*/
.movie_mp4 video{
	max-width: 700px;
	height: auto;
	margin-bottom: 10px;
}
.movie_title{
	font-family: 'AvenirB';
	font-size: 2.8rem;
	font-style: italic;
}

/*------------------------------
message
------------------------------*/
.message_list {
	padding-bottom: 40px;
    align-items: flex-start;
    max-width: 760px;
    margin: 0 auto;
}
.message_texts {
	text-align: left;
	width: 60%;
}
.message_img{
	width: 40%;
	padding-left: 40px;
}
.message_list:nth-child(n+2) {
	margin-top: 40px;
}
.ceo{
	font-family: 'AxisB', sans-serif; 
 	font-weight: normal;
}
/*------------------------------
アニメーション
------------------------------*/
.slide-in {
  overflow: hidden;
    display: inline-block;
}
.slide-in_inner {
  display: inline-block;
}


/*ふわっ*/
.fadeUpTrigger{
    opacity: 0;
}
.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*------------------------------
history
------------------------------*/
.history_lists {
}
.history_list {
	align-items: center;
	position: relative;
}
.history_img {
	
}
.history_texts {
	text-align: center;
	position: absolute;
	 top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.history_texts p{
	font-family: 'AxisB', sans-serif; 
 	font-weight: bold; 
	color: #FFFFFF;
	font-size: 2.6rem;
}

/*------------------------------
popup
------------------------------*/
.more{
	font-family: 'AvenirB';
	cursor: pointer;
    text-align: center;
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
	color: #FFFFFF;
	font-size: 2.3rem;
	line-height: 0;
	padding: 20px 20px 10px;
	font-style: italic;
}

.arrowRight {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 2px;
  margin-top: 14px;
	margin-left: 10px;
  border-radius: 9999px;
  background-color: #ffffff;
	transition: 0.3s;
}
.arrowRight.blue {
  background-color: #102d8e;
}

.arrowRight::before {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  right: 0;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 1.2px) 50%;
	transition: 0.3s;
}
.arrowRight.blue::before {
  background-color: #102d8e;
}
.more:hover .arrowRight {
  width: 110px;
  margin-left: 30px;
	transition: 0.3s;
}

.more:hover .arrowRight::before {
  margin-left: 20px;
	transition: 0.3s;
}
.arrowLeft{
	position: relative;
  display: inline-block;
  width: 100px;
  height: 2px;
  margin-top: 16px;
	margin-right: 10px;
  border-radius: 9999px;
  background-color: #ffffff;
	transition: 0.3s;
}

.arrowLeft::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(-45deg);
  transform-origin: 1px 50%;
	transition: 0.3s;
}
.back:hover .arrowLeft {
  width: 120px;
  margin-right: 30px;
	transition: 0.3s;
}

.back:hover .arrowLeft::before {
  	margin-right: 30px;
	transition: 0.3s;
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
 	left: 0; top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 1);
	justify-content: center;
	align-items: center;
	opacity: 0;
  	transition: opacity 0.3s ease;
}

.modal-content {
    background: url(../images/history_popup_bg.png) no-repeat center center;
    background-size: contain; /* ← ここを重要ポイント！ */
    width: 90vw; /* 幅を画面に対して相対指定 */
    max-width: 1200px;
    aspect-ratio: 16 / 9; /* 画像の比率に合わせて。なければ消してOK */
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
	transform: scale(0.95);
 	transition: transform 0.3s ease;
}

#modal-img {
	max-width: 100%;
 	height: auto;
	width: 50%;
	margin: 0 auto 16px;
}

#modal-subimg {
	position: absolute;
	width: 12%;
	bottom: 0;
	left: 60px;
}

.back {
	font-family: 'AvenirB';
 	position: absolute;
	right: 0;
	left: 0;
	margin: 0 auto;
	bottom: 0;
  	cursor: pointer;
  	font-size: 2.3rem;
	font-style: italic;
	color: #ffffff;
	line-height: 0;
}
.modal.show {
  	display: flex;
  	opacity: 1;
}
.modal.show .modal-content {
  	transform: scale(1);
}
.text-columns {
	display: flex;
	width: 80%;
    margin: -20px auto 0;
}

.text-columns p {
  	flex: 1;
}
/*------------------------------
以下SP記述
------------------------------*/
@media screen and (max-width: 767px){
	html{
		width:100%;
	}
	nav{
		height: 50px;
	}
	h2{
		font-size: 2.0rem;
		margin-bottom: 20px;
	}
	h3{
		font-size: 11.2vw;
		margin: 12px 0 10px;
	}
	h4{
		font-family: 'AxisB', sans-serif; 
 	 font-weight: normal; 
 	 font-size: 4.8vw; 
  	transform: translateZ(0); 
 	 backface-visibility: hidden;
		
	}
	p{
		font-size: 3.6vw;
	}
	.logo img{
		height: 38px;
	}
	.wrapper{
		padding: 50px 20px;
	}
	.ttl_kv_wrapper {
		background: url(../images/main-sp.jpg) no-repeat;
		background-size: 100vw;
	}
	.ttl_kv_wrapper:before {
		padding-top: 135%;
	}
/*------------------------------
ヘッダー
------------------------------*/
	header{
		padding: 0;
		top: 0;
	}
	nav{
		background-color: transparent;
		box-shadow: none;
	}
	.header__inner{
		width: auto;
  		justify-content: space-between;
	}
	.logo{
		width: 100%;
		padding: 20px 24px 14px 16px;
		background-color: rgb(255, 255, 255, 0.8);
		border-radius: 0 0 20px 0;
		box-shadow: 0 10px 10px 0 rgb(16,45,141,0.1);
		z-index: 1000;
	}
/*------------------------------
リード文
------------------------------*/
	.lead-text{
		padding: 0 10px;
		font-size: 3.6vw;
	}
	.anniversarylogo{
	margin: 3vw 16vw 4vw 20vw;
	}
/*------------------------------
movie
------------------------------*/
	.movie_mp4 video {
		max-width: 100%;
		height: auto;
		margin-bottom: 0;
	}
	.movie_title{
	font-size: 2.0rem;
	}
/*------------------------------
message
------------------------------*/
	.message_list{
		flex-direction: column;
		align-items: center;
		padding: 0;
	}
	.message_texts{
		width: 100%;
	}
	.message_img{
		padding: 20px 10px 30px;
        width: 60%;
	}
	.order01{
		order: 1;
		padding: 0 10px;
	}
/*------------------------------
history
------------------------------*/
	.history_img{
		padding: 0;
		width: 100%;
		position: relative;
	}

	.history_texts{
		width: 100%;
	}
	.flex-col4{
		width: 100%;
	}
	.history_texts p{
		font-size: 5.0vw;
		font-family: 'AxisB', sans-serif; 
 	 	font-weight: bold; 
  		transform: translateZ(0); 
 		backface-visibility: hidden;
	}
	.more_sp{
		font-family: 'AvenirB';
		font-size: 3.4vw;
        position: absolute;
		font-style: italic;
        bottom: 20px;
		color: #fff;
		line-height: 0;
		left: 50%;
        transform: translate(-50%, -50%);
	}
	.arrowRight {
		width: 50px;
        height: 1px;
        margin-top: 8.0px;
        margin-left: -3px;
	}
	.arrowRight::before {
		width: 8px;
		height: 1px;
		transform-origin: calc(100% - 1.5px) 50%;
	}
	.history_description {
 		position: absolute;
 		top: 0;
 		left: 100%;
 		width: 100%;
 		height: 100%;
		background: #f5f3e9;
		transition: left 0.4s ease;
		z-index: 20;
		padding: 20px;
		box-sizing: border-box;
		overflow-y: auto;
		text-align: center;
	}
	.history_description p{
		font-size: 3.0vw;
	}
	.history_description img{
		width: 90%;
		margin-bottom: 10px;
		margin-top: 10px;
	}
	.history_list {
	  	position: relative;
	  	overflow: hidden;
	}

	.history_list.active .history_description {
	  	left: 0;
	}
	.arrowLeft {
		width: 50px;
        height: 1px;
        margin-top: 8.0px;
        margin-left: 3px;
		background-color: #102d8e;
	}
	.arrowLeft::before {
		width: 8px;
		height: 1px;
		background-color: #102d8e;
	}
	.back_sp{
		font-family: 'AvenirB';
	    position: absolute;
    	bottom: 20px;
    	line-height: 0;
    	left: 50%;
   		transform: translate(-50%, -50%);
		font-style: italic;
	}
	.description_column{
		display: flex;
		justify-content: space-between;
		margin-top: -10px;
	}
	.description_column p{
		text-align: left;
	}
/*------------------------------
フッター
------------------------------*/
	.footer{
		padding: 50px 20px;
		font-size: 3.0vw;
	}
}
