@charset "UTF-8";

/*ヘッダー・フッターとmain部枠組みの各ページ共通スタイルの設定*/

/* IMPORT RESET ================================================== */
@import url("sanitize.css");

/* WEB FONT ====================================================== */
@import url('fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Noto+Sans+JP:wght@400;700&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css");

/* 変数設定 ======================================================== */

/*共通のサイズや色を変数で設定
　変数を使う時は数値で入れる箇所を var(--red) のように記載*/
:root{
	/*コンテンツの最大幅*/
	/*--contents-wide:1166px;*/
	--contents-wide:980px;
	/*文字サイズ*/
	--x-small:1rem;/*最小は10px*/
	--small:1.3rem;/*13px*/
	--medium:1.6rem;/*16px*/
	--large:2rem;/*20px*/
	--x-large:2.4rem;/*24px*/
	/*色*/
	--basecolor:#222222;
	--red:#c00;
	--navy:#133051;
	--mallcolor:#b60081;
	--linkcolor:#1a0dab;
	--2nd-bgcolor:#f1f5f4;
	/*フォント*/
	--headline:'Lato', sans-serif;
}

/* STYLES ======================================================== */

/* ルートのフォントサイズを10pxに設定（1rem=10px）*/
html {
  font-size: 62.5%;
}

/* bodyのフォントサイズを16pxに設定 */
body {
  font-size: var(--medium);
}

/* MEMO ++++++++++++++++++++++++++++++++
  フォントサイズはremで指定すること
  例）10pxは1rem、12pxは1.2rem
+++++++++++++++++++++++++++++++++++++ */

.font-xs{
  font-size: var(--x-small);
}

.font-s{
  font-size: var(--small);
}

.font-m{
  font-size: var(--medium);
}

.font-l{
  font-size: var(--large);
}

.font-xl{
  font-size: var(--x-large);
}

/*文字色*/
.font-red{
  color: var(--red);
}

.font-mcolor{
  color: var(--mallcolor);
}

/*共通設定（body、header、main、footer）──────────────────────────*/

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
	color: var(--basecolor);
}

img {
/*画像は最大で横幅100%表示、高さは横幅に合わせて自動調整*/
	width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  image-rendering: -webkit-optimize-contrast;/*Chromeで画像がぼやけるのを防止*/
}

a {
	text-decoration: none;
	color: var(--basecolor);
}

body{
 	overflow-x: hidden;
}

.bold{
	font-weight: bold;
}

/* ────────────────────────────────────────────────
  header
─────────────────────────────────────────────────*/

header {
  width: 100%;
  height: 100px;
  background: #ffffff;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: all 0.3s ease-out;
}
header #header_logo a {
  display: block;
  width: 63px;
  margin: 0 0 0 14px;
  transition: all 0.3s ease-out;
	img {
  	transition: all 0.3s ease-out;
	}
}
header nav {
  margin-left: auto;
}
header nav #global_nav {
  display: flex;
  align-items: center;
}
header nav #global_nav li.nav_lower .lower_list {
  display: none;
}
header nav #global_nav li {
  position: relative;
  z-index: 1;
	
	a {
		height: 64px;
		margin-top: 38px;
		padding: 0 16px;
		color: #222222;
		white-space: nowrap;
		position: relative;
		display:flex;
		align-items: center;
	}
	
	&:not(.nav_language):not(.nav_facility) a::after {
		content: "";
		width: calc(100% - 32px);
		height: 4px;
		margin: 0 16px;
		display: block;
		background: var(--navy);
		position: absolute;
		bottom: -4px;
		left: 0;
		opacity: 0;
	}
	
	/*他言語へのリンク*/
	&.nav_language {
		display:flex;
		position: absolute;
		top: 16px;
		right: 103px;
		z-index: 2;
		
		a {
			display: block;
			width: 80px;
			height: auto;
			margin: 0;
			padding: 0.4em 0;
			font-size: var(--small);
			line-height: 1;
			letter-spacing: 0;
			text-align: center;
			border-top: 1px solid #e2e2e2;
			border-left: 1px solid #e2e2e2;
			border-bottom: 1px solid #e2e2e2;
			
			&:last-of-type {
				border-right: 1px solid #e2e2e2;
			}
		}
	}
	
	/*施設紹介*/
	&.nav_facility {
		margin: 0 5px 0 8px;
		
		a{
			width: 90px;
			height: 90px;
			margin: 0;
			padding: 0;
			position: relative;
			font-size: var(--medium);
			letter-spacing: 0;
			line-height: 1.6;
			background: #f6f6f6;
			border-radius: 8px;
			flex-direction: column;
			justify-content: center;
			
			&::before{
				display: block;
				font-family: 'aeonmall';
				content: "\e909";
				font-size: var(--x-large);
				color: var(--navy);
			}
		}
	}
}

/* mini */
.mini_header header {
  height: 70px;
  box-shadow: 0px 8px 16px 0px rgba(53,56,65,.08);
}
.mini_header header #header_logo a {
  width: 50px;
}
.mini_header header nav #global_nav li a {
  height: 70px;
  margin-top: 0;
  padding: 0 16px;
	
	span {
  	margin-bottom: 0;
  	display: block;
  	color: var(--navy);
  	font-size: var(--x-small);
  	letter-spacing: 0;
	}
}
.mini_header header nav #global_nav li.nav_language {
  display: none;
}
.mini_header header nav #global_nav li.nav_facility {
  margin: 0 2px 0 16px;
	
	a {
  	width: 70px;
  	height: 70px;
  	border-radius: 0;
	
		&::before {
			margin-bottom: 0;
		}
	}
}
/* :hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) header nav #global_nav li a,
  body:not(.tab_view) header nav #global_nav li a:before,
  body:not(.tab_view) header nav #global_nav li a:after,
  body:not(.tab_view) header nav #global_nav li a span {
    transition: all 0.3s ease-out;
  }
  body:not(.tab_view) header nav #global_nav li a:hover {
    color: var(--navy);
  }
  body:not(.tab_view) header nav #global_nav li:not(.nav_language):not(.nav_facility) a:hover::after {
    bottom: 0;
    opacity: 1;
  }
  body:not(.tab_view) header nav #global_nav li.nav_language a:hover {
    background: #f6f6f6;
  }
  body:not(.tab_view) header nav #global_nav li.nav_facility a:hover {
    color: #ffffff;
    background: var(--navy);
  }
  body:not(.tab_view) header nav #global_nav li.nav_facility a:hover span {
    color: #ffffff;
  }
  body:not(.tab_view) header nav #global_nav li.nav_facility a:hover::before {
    color: #ffffff;
  }
}

@media only screen and (min-width: 769px) {
  header nav #global_nav li .lower_list {
    display: none!important;
  }
}

@media only screen and (max-width: 768px){
  header {
    min-width: auto;
    min-width: initial;
    width: 100%;
    height: 70px;
  }
  header.scroll_up {top: 0;}
  header.scroll_down {top: -70px;}
  header #header_logo a {
    width: 50px;
    margin: 10px;
    z-index: 1003;
  }
  header #btn_open {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: 0;
  }
  header #btn_open a {
    width: 70px;
    height: 70px;
    display: block;
    position: relative;
    z-index: 10;
  }
  header #btn_open a span {
    width: 35px;
    height: 2px;
    display: block;
    background: var(--navy);
    position: absolute;
    left: 16px;
  }
  header #btn_open a span:nth-child(1) {
    top: 16px;
  }
  header #btn_open a span:nth-child(2) {
    top: 24px;
  }
  header #btn_open a span:nth-child(3) {
    top: 32px;
  }
  header #btn_open .txt,
  #btn_close .txt {
    letter-spacing: 0;
    color: var(--navy);
    font-size: var(--small);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    position: absolute;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
  }

/* close btn */
  #btn_close {
    display: none;
    width: 70px;
    height: 70px;
    background: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1001;
    cursor: pointer;
  }
  .menu_open #btn_close {
    display: block;
  }
  #btn_close a {
    width: 70px;
    height: 70px;
    display: block;
  }
  #btn_close a span {
    width: 24px;
    height: 2px;
    display: block;
    position: absolute;
    top: 24px;
    left: calc(50% - 10px);
    background: var(--navy);
  }
  #btn_close a span:nth-child(1) {
    transform: rotate(45deg);
  }
  #btn_close a span:nth-child(2) {
    transform: rotate(-45deg);
  }

  html.menu_open {
    overflow: hidden;
  }
  .menu_open #rsp_layer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
  }
  header nav {
    width: 100%;
    display: none;
  }
  body.menu_open header {
    display: block;
		
		nav {
    	height: calc(100vh - 70px);
    	overflow: auto;
    	display: block;
    	position: relative;
    	box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
    	z-index: 9999;
 	 }
  }
  header nav #global_nav {
    width: 100%;
    display: block;
    margin-bottom: 10em;
    margin-top: 0;
		
		> li {
    	margin: 0!important;
    	border-bottom: 1px solid var(--navy);
			
			> a {
				width: 100%!important;
				height: auto!important;
				margin-top: 0;
				padding: 16px 12% 16px 4%!important;
				display: block;
				text-align: left;
				font-size: var(--medium)!important;
				letter-spacing: 0.1em!important;
				line-height: 1.4!important;
				border-radius: 0!important;
				background: #f6f6f6;
  		}
  	}
		
		li.nav_language {
    	position: relative;
    	top: 0;
    	right: 0;
			
			a {
				width: 50%;
				height: auto;
				margin: 0;
				padding: 16px 0!important;
				text-align: center;
				background: #ffffff;
			}
  	}
		
		li.nav_facility a::before {
			display: none;
		}
		
		li.nav_facility a span:nth-child(1) {
			display: block!important;
		}
  }
	
  header nav #global_nav li.nav_lower .sw_btn {
    width: 12vw;
    height: 3.5em;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  header nav #global_nav li.nav_lower .sw_btn::before {
    content: "\e900";
    font-family: 'aeonmall';
    text-align: center;
    font-size: var(--medium);
    color: var(--navy);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
  header nav #global_nav li.nav_lower.lower_open .sw_btn::before {
    content: "\e903";
  }
  header nav #global_nav li .lower_list ul li a {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
    padding: 16px 12% 16px 4%;
    white-space: normal;
    font-size: var(--medium);
    text-align: left;
    background: #ffffff;
    border-radius: 0;
    border-top: 1px solid #f6f6f6;
  }
}

/* ------------------------------------
  fixed_top
------------------------------------ */
#fixed_top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 11;
}
#fixed_top a {
  width: 40px;
  height: 40px;
  display: block;
  background: #32353C;
  box-shadow: 0px 6px 6px 1px rgba(0,0,0,0.08);
}
#fixed_top a::before {
  font-family: 'aeonmall';
  content: "\e903";
  color: #ffffff;
  font-size: 2.6rem;
  line-height: 40px;
}

/* =====================================
  サイト内検索
===================================== */

  .header_search-icon {
    display: none;
  }
  form table.gsc-search-box td.gsc-input {
    padding-right: 0;
    min-width: 150px;
  }
  table.gsc-input {
    background-color: #efefef;
    font-size: var(--small);
  }
  .gsc-input-box {
    padding: 0;
  }
  .gsc-input .gsc-input-box {
    border: none;
  }
  .gsc-input-box input.gsc-input {
    background-color: transparent !important;
    background-image: none !important;
    font-size: var(--small) !important;
  }
  .gsc-search-button {
    margin-left: 0px;
  }
  .gscb_a {
    line-height: 32px;
  }
  .gsc-search-button-v2 {
    padding: 0;
    height: 32px;
    aspect-ratio: 1/1;
    background-color: #313439;
    border: none;
    border-radius: 0px;
  }
  .search-wrap {
		max-width: 300px;
		position: absolute;
		top: 13px;
		right: 280px;
		z-index: 15;
  }
@media only screen and (min-width: 769px) {
	.search-wrap{
		padding-top: 0;
		margin-top: -23px;
	}

	.gsc-input,
	.gsc-search-button{
		padding-top: 0;
		margin-top: 0;
	}
}
  .mini_header header .search-wrap {
    display: none;
  }

  .gsc-table-cell-thumbnail .gs-web-image-box, .gs-promotion-image-box {
    width: 82px;
  }

  .gsc-orderby-container .gsc-orderby .gsc-selected-option-container {
    max-width: 100%;
  }

  .gsc-search-button.gsc-search-button-v2 {
    background-color: #f6f6f6;
    border-color: #e2e2e2;
    transition: all 0.3s ease-out;
  }
  .gsc-search-button.gsc-search-button-v2 svg{
    fill: var(--navy);
  }
  .gsc-search-button.gsc-search-button-v2:hover {
    background-color: var(--navy);
  }
  .gsc-search-button.gsc-search-button-v2:hover svg {
    fill: #ffffff;
  }

  @media only screen and (max-width: 768px) {
    .header_search-icon {
      display: block;
      width: 36px;
      position: absolute;
      right: 70px;
    }
    .search-wrap {
      display: none;
      border-radius: 4px;
      background-color: #fff;
      padding: 24px 24px;
      width: 90vw;
      max-width: unset;
      position: absolute;
      top: 120%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 999;
      box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 28%);
    }
    .search-wrap::after {
      display: block;
      content: "";
      width: 18px;
      height: 18px;
      background-color: #fff;
      position: absolute;
      bottom: 99%;
      right: 60px;
      clip-path: polygon(50% 26%, 0% 100%, 100% 100%);
    }

    .gsc-search-button.gsc-search-button-v2 {
      background-color: var(--navy);
      border-color: var(--navy);
      padding: 6px 16px;
      border-radius: 2px;
    }
    .gsc-search-button.gsc-search-button-v2 svg{
      fill: #fff;
    }
  }

/* ────────────────────────────────────────────────
  パンくずリスト
─────────────────────────────────────────────────*/
#breadcrumbs {
  padding: 0 0 16px;
	
	ol {
  	list-style-type: none;
		
		li {
			font-size: var(--small);
			display: inline-block;
			
			&:not(:last-of-type)::after {
				font-family: 'aeonmall';
				content: "\e902";
			}
			
			a {
				color: var(--linkcolor);
			}
		}
	}
}

/* ────────────────────────────────────────────────
  main（本文）
─────────────────────────────────────────────────*/

main{
  margin: 0 auto;
  padding-top: 100px;
  max-width: var(--contents-wide);
  background-color: #fff;
}
@media only screen and (max-width: 768px) {
  main {
    width: 100%;
    padding-top: 70px;
  }
}

main section{
	margin: 0 calc(50% - 50vw);
  padding: 10px calc(50vw - 50%) 20px;
}

.bgChange > section:nth-child(even){
	/*sectionの背景色を交互に変えたい場合、親要素にclass="bgChange"を設定*/
  background: var(--2nd-bgcolor);
}

/* ────────────────────────────────────────────────
  footer
─────────────────────────────────────────────────*/
footer{
  margin: 0 auto;
  padding: 0;
  max-width: var(--contents-wide);
}

footer > :is(article , nav){
	margin: 0 calc(50% - 50vw);
  padding: 10px calc(50vw - 50%);
}

#footer_nav {
  background: #313439;
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
	
	> ul > li {
  	margin-bottom: 1em;
		
		> a {
			margin-bottom: 1em;
		}
	}
	
	.lower_list ul {
		padding: 0 0 0 16px;
		border-left: 1px solid #5b5d63;
		
		> li {
			padding-bottom: 0.8em;
			
			> a {
				font-size: var(--small);
				opacity: .6;
				line-height: 1.4;
			}
		}
	}
}

#footer_nav li a {
  display: block;
  font-size: var(--medium);
  color: #ffffff;
}

/* :hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) #footer_nav > ul > li > a,
	body:not(.tab_view) #footer_nav > ul > li .lower_list ul > li > a {
    transition: all 0.3s ease-out;
  }
  body:not(.tab_view) #footer_nav > ul > li > a:hover {
    opacity: 0.7;
  }
  body:not(.tab_view) #footer_nav > ul > li .lower_list ul > li > a:hover {
    opacity: 1;
  }
  #footer_nav > ul > li .lower_list {
    display: block!important;
  }
}

@media (max-width: 768px){
	#footer_nav{
		display: none;
	}
}

#footer_info{
  background: #f4f4f4;
	
	> p{
		text-align: center;
	}
}

#footer_info ul {
  list-style-type: none;
	
	li{
		margin: 0.5em 0;
		
		&::before {
			font-family: 'aeonmall';
			content: "\e902";
			margin-right: 2px;
		}
	}
}


@media (min-width: 769px){
	#footer_info{
		display: flex;
		align-items: center;
	}
	#footer_info ul{
		display: flex;
	}
	
	#footer_info ul li {
  	display: inline-block;
		margin-right: 2em;
	}
}

#footer_sub > p{
	text-align: center;
}

@media (min-width: 769px){
	#footer_sub{
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
	}
}

#footer_sub > p > a:first-child{
	margin-right: 20px;
}

#footer_sub > p > a > img{
	width: auto;
	height: 30px;
}

@media (max-width: 1186px){
/*mainのmax-widthよりウィンドウ幅が狭くなった時にコンテンツとウィンドウが接しないように設定
  @mediaのmax-widthと下記paddingはサイトコンテンツのmax-widthに合わせて調整*/
	main,
	footer{
    padding-right: 4%;
    padding-left: 4%;
  }
}


/*ページトップスクロール ──────────────────────────────────────────────────*/
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 10;
}

.topbtn{
	display: block;
	background: #000;
	color: #fff;
	width: 36px;
	height: 36px;
	text-align: center;
	box-shadow: 0 0 0 3px #000;/*ボタンの背景色に合わせる*/
	border: 1px solid #fff;
	text-decoration: none;
	
	/*マウスオーバーした時*/
	@media (hover: hover) {
		/* hover指定できるPCを想定したスタイル */
		&:hover {
			background: #666;
			box-shadow: 0 0 0 3px #666;/*ボタンの背景色に合わせる*/
		}
	}
	@media (hover: none) {
		/* hoverが使えないタッチ端末を想定した装飾 */
		&:active {
			background: #666;
			box-shadow: 0 0 0 3px #666;/*ボタンの背景色に合わせる*/
		}
	}
	
	i {
		padding-top: 7px;
		font-size: var(--large);
		display: block;
	}
}

/* ▲ページトップスクロールここまで▲ */
