@charset "UTF-8";
/* CSS Document */
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

a {
  text-decoration: none;
  color:#231815;
}
#contents img{
    width:100%;
    vertical-align: bottom;
}
#header{
    margin:0 auto;
    min-width:980px;
    border-bottom: none;
}
@media screen and (max-width: 980px){
#header{
    min-width:auto;
}
}
.header-nav {
    margin-top: 8px;
}
@media screen and (max-width: 768px){
.header-nav {
    margin-top: 16px;
}
}

#contents{
    width:750px;
    margin:0 auto;
	font-family: 'Noto Sans JP', sans-serif;
}
@media screen and (max-width: 768px){
#contents{
    width:100%;
}
    
}
#contents .sp_only{
    display:none;
}
@media screen and (max-width: 768px){
#contents .pc_only{
    display:none;
}
#contents .sp_only{
    display:block;
}
}


/*-----------------------------------------------

title

------------------------------------------------*/

#maintitle{
    margin-top:50px;
}
@media screen and (max-width: 768px){
#maintitle{
    margin-top:9vw;
}  
}
#section .flex{
    display:flex;
    justify-content: space-between;
    width:618px;
    margin:0 auto;
	flex-wrap: wrap;
}
#section .flex div{
    width:296px;
	margin-bottom:24px;
}
@media screen and (max-width: 768px){
#section .flex{
    width:82.4%;
}
#section .flex div{
    width:47.89644%;
	margin-bottom:2em;
}
}

.subtitle_note h3{
    font-size:24px;
    color:#e4daae;
}
@media screen and (max-width: 768px){
.subtitle_note h3{
    font-size: 5.33333vw;
}
}
.subtitle_note p{
    font-size:15px;
    line-height: 2em;
    color:#ffffff;
    margin-top:15px;
}
@media screen and (max-width: 768px){
.subtitle_note p{
    font-size:3.73333vw;
    margin-top:4vw;
}
}
#section01,#section02,#section03,#section04,#section05{
	background-color:#fffcd1;
}
#section01{
	margin-top:44px;
}
@media screen and (max-width: 768px){
#section01{
	margin-top:5.86666vw;
}
}
#section03,#section04{
	padding-bottom:77px;
}
@media screen and (max-width: 768px){
#section03,#section04{
	padding-bottom:10.26666vw;
}
}

#section03 .first{
	margin-bottom:12px;
}
@media screen and (max-width: 768px){
#section03 .first{
	margin-bottom:1.6vw;
}
}
#section04 .first,#section05 .first{
	margin-bottom:9px;
}
@media screen and (max-width: 768px){
#section04 .first,#section05 .first{
	margin-bottom:1.2vw;
}
}
#section05{
	padding-bottom:40px;
}
@media screen and (max-width: 768px){
#section05{
	padding-bottom:5.3333vw;
}
}
#section06{
	background-color:#e0f1f2;
}
#section06{
	padding-top:52px;
	padding-bottom:75px;
	margin-bottom:70px;
}
#section06 .img{
	margin:20px 0 60px;
}
@media screen and (max-width: 768px){
#section06{
	padding-top:6.9333vw;
	padding-bottom:10vw;
	margin-bottom:9vw;
}
#section06 .img{
	margin:3vw 0 8vw;
}
}
#bottom{
	background-color:#ffffff;
}



/*-----------------------------------------------

youtubearea

------------------------------------------------*/
#youtubearea{
    background-image: url(../img/26hankyuhanshin_section01_03_bg.jpg);
    background-repeat:repeat-y;
	padding-top:20px;
	padding-bottom:20px;
}
@media screen and (max-width: 768px){
#youtubearea{
    background-size:contain;
}  
}
#youtubearea .youtubearea{
    width:560px;
	aspect-ratio: 16 / 9;
    margin:0 auto; 
}
@media screen and (max-width: 980px){
	#youtubearea .youtubearea{
    width:74.66666%;
}
}
#youtubearea .youtubearea iframe{
    width:100%;
	height:100%;
}


/*-----------------------------------------------

share

------------------------------------------------*/
#ft_info{
    margin-top:70px;   
}

#ft_info .share {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin: 100px auto 40px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}
#ft_info .share:first-child {
  margin-top: 0;
}
#ft_info .share:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #ft_info .share {
    margin: 70px auto 40px;
    gap: 0;
  }
}
#ft_info .share li {
  margin: auto 15px;
}
#ft_info .share li:nth-child(2) {
  -webkit-transform-origin: top;
  -ms-transform-origin: top;
  transform-origin: top;
  scale: 1.1;
  margin-top: 4px;
}
#ft_info .share li:nth-child(2) iframe {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
#ft_info .share li:nth-child(2) iframe:hover {
  opacity: 0.6;
}
@media (max-width: 500px) {
  #ft_info .share li:nth-child(2) {
    -webkit-transform-origin: bottom;
    -ms-transform-origin: bottom;
    transform-origin: bottom;
    scale: 0.9;
    margin-top: 0;
  }
}
@media (min-width: 769px) {
  #ft_info .share li:nth-child(2) {
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    margin-top: 0;
    scale: 1.25;
  }
}
@media (max-width: 500px) {
  #ft_info .share li {
    margin: auto 10px;
  }
}
#ft_info .share a {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 35px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 0 15px;
  padding-left: 10px;
  white-space: nowrap;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media (max-width: 768px) {
  #ft_info .share a {
    font-size: 12px;
    height: 30px;
    padding: 0 10px;
  }
}
@media (max-width: 500px) {
  #ft_info .share a {
    font-size: 10px;
    height: 25px;
    padding: 0 7px;
  }
}
#ft_info .share a:hover {
  opacity: 0.6;
}
#ft_info .share a:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  margin-right: 8px;
}
@media (max-width: 768px) {
  #ft_info .share a:before {
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }
}
#ft_info .share .facebook {
  background-color: #2c5aa0;
  border-radius: 4px;
}
#ft_info .share .facebook:before {
  background-image: url(../img/sns_facebook.png);
}
#ft_info .share .line {
  background-color: #06c755;
  border-radius: 4px;
}
#ft_info .share .line:before {
  background-image: url(../img/sns_line.png);
}



/*-----------------------------------------------

modal

------------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(76,76,76,0.9);}
.modal-box {
    background-color: #fff;
    margin: 120px auto;
    max-width: 618px;
    width: 88%;
	height: 75%;
    overflow: scroll;      
    animation-name: modalopen;
    animation-duration: 1s;
    position: relative;
}
.modal-box .modalBtn{
	margin-top:-25%;
}
.modal-box p{
	overflow: hidden;
}
.modal-box p img{
	overflow: hidden;
}
@media (max-width: 768px) {
.modal-box {    
    height: 80%;
}
}
@media (max-width: 460px) {
.modal-box { 
	margin: 100px auto;
    height: 80%;
}
}
@media (max-width: 400px) {
.modal-box {
    height: 80%;
}
}

.modalCloseCross{
  position: relative;
  width: 30px;
  margin-left:auto;
  color:rgba(255,255,255,0.8);
  top:50%;
  left:-5%;
}
.modalCloseCross::before, .modalCloseCross::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  width: 3px;
  height: 30px;
  background: rgba(255,255,255,0.8);
}
.modalCloseCross::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.modalCloseCross::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.modalCloseBox{
	width:40px;
	height:40px;
    position: relative;
	top:-13%;
	left:calc(50% - 20px);
	z-index:10;
}
@media (max-width: 768px) {
.modalCloseBox{
	top:-13%;
}
}
@media (max-width: 700px) {
.modalCloseBox{
	left:calc(50% - 15px);
}
.modalCloseBox{
	width:30px;
	height:30px;
}
.modalCloseCross{
  width: 20px;
  left:-7%;
}
.modalCloseCross::before, .modalCloseCross::after { 
  height: 20px;
}
}
@media (max-width: 460px) {
.modalCloseBox{
	top:-12%;
}
}
@media (max-width: 400px) {
}


/*-----------------------------------------------

note

------------------------------------------------*/
.wrapper .note{
    width:540px;
    margin:0 auto 40px;
}
@media (max-width: 768px) {
.wrapper .note{
    width:74%;
    margin:0 auto 40px;
}
}
    
/*-----------------------------------------------

pagetop

------------------------------------------------*/

#pagetop {
    display: none;
    position: fixed;
    right: 54px;
    bottom: 30px;
    z-index: 1;
}
#pagetop a{
    display:block;
    width:63px;
    height:68px;
    transition: all 0.3s 0s ease-in-out;
}
#pagetop.on{
    display: block;
}

@media screen and (max-width: 768px){
#pagetop {
    right: 4vw;
    bottom: 10vw;
}
#pagetop a{
    width: 16vw;
    height: 19vw;
}
}