@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@800&family=Oswald:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=Noto+Sans+TC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&family=Noto+Serif+KR:wght@600&family=Noto+Serif+SC:wght@600&family=Noto+Serif+TC:wght@600&display=swap');

/* CSS Document */

body {
	transition: all 0.5s;
	opacity: 0;
}
body.show {
	opacity: 1;
}

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

	lang

-----------------------------------*/
.head_menu {
	width: 100%;
	height: 11vw;
	color: #fff;
	background-color: #022e3c;
	position: relative;
	display:-webkit-box;
	display: flex;
    justify-content: flex-end;
	-webkit-box-align: center;
	align-items: center;
	padding: 0 2vw;
}
#back_top {
    width: 32%;
	height: 9vw;
    margin-right: 1%;
	font-size: 3.5vw;
	border: 1px solid #fff;
	border-radius: 1.5vw;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
}
#back_top a {
    width: 100%;
    height: 100%;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
}
#back_top a img {
    width: 4.5vw;
    margin: 0 1.5vw 0 2vw;
}
#language {
	width: 39%;
}
#lang_change {
    width: 100%;
	height: 9vw;
	font-size: 4vw;
	border: 1px solid #fff;
	border-radius: 1.5vw;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	position: relative;
}
#lang_change.open::after {
    position: absolute;
    content: "";
    border-right: 1.3vw solid transparent;
    border-bottom: 1.5vw solid #fff;
    border-left: 1.3vw solid transparent;
	width: 0;
	height: 0;
	display: inline-block;
    right: 2vw;
	top: 0;
	bottom: 0;
	margin: auto;
}
#lang_change.close::after {
    position: absolute;
    content: "";
    border-right: 1.3vw solid transparent;
    border-top: 1.5vw solid #fff;
    border-left: 1.3vw solid transparent;
	width: 0;
	height: 0;
	display: inline-block;
    right: 2vw;
	top: 0;
	bottom: 0;
	margin: auto;
}
#lang_change img {
	width: 4.3vw;
	margin: 0 2.5vw 0 3vw;
}
.head_menu ul {
	display: none;
	position: absolute;
	top: 10vw;
	right: 0;
	width: 40%;
	background-color: #022e3c;
	padding-top: 3vw;
	z-index: 9999;
}
.head_menu ul li a {
	height: 14vw;
	border-top: 1px solid #496772;
	padding-left: 12vw;
	font-size: 4.5vw;
	letter-spacing: 0.08em;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	background: url("../img/arrow_wh_r.svg") no-repeat center left 4vw;
	background-size: 1.8vw;
}
#select_lang {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 99;
}
#select_lang iframe {
	width: 100%;
	height: 100%;
}



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

	home (guide)

-----------------------------------*/
#guide_head {
	max-width: 78vw;
	margin: 4vw auto 0;
}
#guide_head h2 {
	font-size: 11vw;
	font-weight: bold;
	font-family: 'Noto Serif JP', serif;
	border-bottom: 1px solid #022e3c;
	padding-bottom: 0.3em;
	margin-bottom: 0.3em;
    white-space: nowrap;
}
.lang_cn #guide_head h2 { font-family: "Noto Serif SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;}
.lang_tw #guide_head h2 { font-family: "Noto Serif TC", "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", sans-serif;}
.lang_kr #guide_head h2 { font-family: "Noto Serif KR", "Apple SD Gothic Neo", Gulim, "Malgun Gothic", sans-serif; }

#guide_head .head_txt {
	font-size: 4.7vw;
}
.back_btn {
	width: 100%;
	display:-webkit-box;
	display: flex;
	-webkit-box-pack: end;
	justify-content: flex-end;
	padding-right: 3%;
}
.back_btn .back_home {
	width: 186px;
	height: 40px;
    max-width: 25vw;
    max-height: 6vw;
	font-size: 2.65vw;
	letter-spacing: 0.1em;
	padding: 0 0 0 2vw;
	border-radius: 1.3vw;
	color: #fff;
	background-color: #022e3c;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
}
.back_btn .back_home img {
	width: 10%;
	margin-right: 1.4vw;
}
#guide_cont {
    padding: 5vw 0 15.4vw;
	counter-reset: number 0;
}
#guide_cont .btn_box {
	width: 700px;
	max-width: 94%;
	margin: 0 auto;
	display:-webkit-box;
	display: flex;
  	flex-wrap: wrap;
	-webkit-box-pack: justify;
	justify-content: space-between;
}
#guide_cont .btn_box li {
	align-self: stretch;
    width: 335px;
    max-width: 44.7vw;
	margin-bottom: 4vw;
}
#guide_cont .btn_box li a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 4.7vw;
	font-weight: 900;
	letter-spacing: 0.01em;
	overflow: hidden;
}
#guide_cont .btn_box li a rt {
	font-size: 0.4em;
	ruby-align: center;
	margin-bottom: -0.4em;
	transform: translateY(0);
}
#guide_cont .btn_img {
	width: 100%;
	height: 33vw;
	max-height: 244px;
	text-align: center;
	overflow: hidden;
	position: relative;
}
#guide_cont .btn_img::before {
	position: absolute;
	counter-increment: number 1;
	content: counter(number,decimal-leading-zero) ". ";
	bottom: 0;
	left: 6%;
	font-size: 9.5vw;
	font-family: 'Oswald', 'Hiragino Sans', Meiryo, sans-serif;
	font-weight: 800;
	line-height: 0.9em;
	color: #fff;
	z-index: 999;
}
#guide_cont .btn_img img {
	min-width: 100%;
	min-height: 100%;
}
#guide_cont .btn_txt {
	height: auto;
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	position: relative;
	padding: 0.15em 0.5em 0.3em;
	line-height: 1.1;
}

/*--- en ---*/
.lang_en #guide_head {
	margin: 2vw auto 0;
}
#hajimari .lang_en #guide_head h2 {
        font-size: 7vw;
    line-height: 1.3em;
}
.lang_en #guide_cont .btn_box li a {
    font-size: 3.5vw;
    line-height: 1.3em;
    letter-spacing: 0.01em;
}
.lang_en #guide_cont .btn_txt {
    padding: 0.5em 0.5em 0.6em;
}

/*--- kr ---*/
.lang_kr #guide_head h2 {
	font-size: 8.2vw;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
.lang_kr .back_select a {
    font-size: 3vw;
}





@media screen and (max-width: 350px){
	.back_btn .back_home {
		max-width: 27vw;
	}
}


/*--- ひょうごはじまり館 ---*/
#hajimari #single h2 {
    font-size: 6vw;
}
#hajimari #guide_head {
	max-width: 81vw;
}
#hajimari #guide_head h2 {
	font-size: 8vw;
    padding-bottom: 0.5em;
}
#hajimari .map_btn::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 11%;
    margin: auto;
    content: "";
    width: 1px;
    height: 72%;
    background-color: rgba(204,213,216,0.5);
}
.block_ttl {
    width: 100%;
    position: relative;
    font-size: 4.6vw;
    font-weight: bold;
    margin-bottom: 1em;
    padding-left: 0.6em;
}
.block_ttl::before {
    content: "";
    width: 0.3em;
    height: 1.4em;
    border-radius: 0 0.8vw 0.8vw 0;
    background-color: #231815;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.floor_list {
    width: 700px;
    max-width: 94%;
    margin: 0 auto;
    margin-bottom: 7vw;
}
.floor_list > li:nth-child(n + 2) {
    margin-top: 3vw;
}
.floor_list > li > a {
    font-weight: bold;
    background-color: #fff;
    display: flex;
	box-shadow: 2px 2px 2px 0 rgb(0 0 0 / 10%);
	border-radius: 1vw;
    overflow: hidden;
    border: 1px solid #fff;
    position: relative;
    z-index: 9;
}
.floor_list > li > a::after {
    content: "";
    width: 1px;
    height: 80%;
    background-color: rgba(204,213,216,0.5);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 11%;
    margin: auto;
}
.floor_list > li > a::before {
    content: "";
    width: 11%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
.floor_list .link_btn a::before {
    background: url("../img/link_list_arrow.svg") no-repeat center center / contain;
}
.floor_list .ac_btn a.close::before {
    background: url("../img/link_list_plus.svg") no-repeat center center / contain;
}
.floor_list .ac_btn a.open::before {
    background: url("../img/link_list_minus.svg") no-repeat center center / contain;
}
.floor_list .link_thumb {
    width: 26%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}
.floor_list .link_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-width: inherit;
}
.floor_list .link_txt {
    width: 56%;
    height: 100%;
    margin-left: 30%;
    padding: 1.2em 0;
    display: flex;
    align-items: center;
    line-height: 1.2em;
}
.floor_list .link_txt div {
    display: flex;
}
.floor_list .link_txt span {
    margin-right: 0.2em;
}
.ac_cont {
    display: none;
    width: 96%;
    margin: 0 auto;
    padding-top: 1vw;
	box-shadow: 2px 2px 2px 0 rgb(0 0 0 / 10%);
    font-weight: bold;
    background-color: #fff;
	border-radius: 0 0 1vw 1vw;
    overflow: hidden;
    position: relative;
}
.ac_cont li a {
    display: block;
    padding: 0.5vw;
}
.ac_cont li:nth-child(n + 2) {
    border-top: 1px solid #d3d1d0;
}
.ac_cont li:first-child .low_link {
    background-color: #c2e0f2;
}
.low_link {
    background-color: #e8f4fb;
    border-radius: 0.5vw;
    padding: 0.6em 0;
    position: relative;
    display: flex;
}
.low_link::before {
    background: url(../img/link_list_arrow.svg) no-repeat center center / contain;
    content: "";
    width: 9%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1%;
    margin: auto;
}
.low_link .low_nb {
    width: 25%;
    text-align: right;
    margin-right: 5%;
    font-size: 0.8em;
    line-height: 1.8em;
}
.low_link .low_txt {
    width: 60%;
    line-height: 1.2em;
}


/*--- まちあるきマップ ---*/
#machiaruki #guide_head {
	max-width: 80vw;
    margin: 6vw auto 0;
}
#machiaruki #guide_head h2 {
	font-size: 7vw;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
#machiaruki .lang_en #guide_head h2 {
    font-size: 5.5vw;
    padding-bottom: 0.7em;
    margin-bottom: 0.7em;
}
#machiaruki #guide_cont .btn_box li a {
    font-size: 4.2vw;
}
#machiaruki #guide_cont .btn_txt {
    padding: 0.7em 0.5em 0.8em;
}


/*--- マップを開く ---*/
.map {
    width: 700px;
    max-width: 94%;
    margin: 0 auto 6vw;
    position: relative;
}
.map_btn {
    height: 12vw;
    font-size: 4.5vw;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 1.5vw;
    color: #fff;
    background-color: #022e3c;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    position: relative;
}
.map_btn::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    width: 12%;
    height: 72%;
    background: url("../img/map_arrow.svg") no-repeat center right / contain;
    /*transition-duration: 0.5s;*/
}
.map_btn.open::after {
    transform:rotateX(180deg);
}
.map_btn.close .down, .map_btn.open .up { display: block; }
.map_btn.close .up, .map_btn.open .down { display: none; }
.map_img {
    display: none;
    max-width: 96%;
    margin: 0 auto;
    padding: 2% 1% 1%;
    border-radius: 0 0 1.5vw 1.5vw;
    background-color: #fff;
	box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .1);
}
.map_img_box {
    position: relative;
    padding: 1% 0;
}
.map_img_box:nth-child(n + 2)::after {
    content: "";
    width: 94%;
    border-top: 1px solid #9bacb2;
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    margin: auto;
}
.map_img_box .floor {
    position: absolute;
    bottom: 6%;
    right: 2%;
    display: flex;
    align-items: center;
}
.floor_nb img, .modal_btn img {
    height: 7vw;
}
.modal_btn {
    margin-left: 1.5vw;
}
.modal_cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,50%);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal_cont.active{
  opacity: 1;
  visibility: visible;
}
.modal_body{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}
.modal_close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -10vw;
    right: 0;
    width: 10vw;
    height: 10vw;
    font-size: 10vw;
    color: #fff;
    cursor: pointer;
}



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

	archive

-----------------------------------*/
#single h2 {
	font-size: 6vw;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
	color: #022e3c;
    white-space: nowrap;
}
.lang_cn #single h2 { font-family: 'Noto Serif SC', serif; }
.lang_tw #single h2 { font-family: 'Noto Serif TC', serif; }
.lang_kr #single h2 { font-family: 'Noto Serif KR', serif; }

#sound_btn {
	display:-webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
}
#sound_btn li {
	width: 160px;
	max-width: 21.5vw;
	margin-left: 2vw;
	cursor: pointer;
}

#main {
	position: relative;
	z-index: 1;
}
.main_img {
	position: relative;
	z-index: 1;
    min-height: 12vw;
}
.main_img img {
	width: 100%;
}
.article_box {
	width: 93.3vw;
	margin: -12vw auto 23vw;
	background-color: #fff;
	position: relative;
	z-index: 5;
	box-shadow: 2px 2px 3px 0 rgb(0 0 0 / 10%);
	border-radius: 1.3vw;
}
.article_box h3 {
	font-size: 6vw;
	font-weight: bold;
	padding: 3vw 4.5vw 3vw;
	position: relative;
    display: flex;
    align-items: flex-start;
}
.article_box h3::before {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	display: inline-block;
	margin: auto;
	content: "";
	width: 1.3vw;
	height: 40%;
	background-color: #231815;
	border-radius: 0 0.6vw 0.6vw 0;
}
.article_box h3.ruby::before {
	bottom: -2vw;
}
.article_box h3 span {
    display: inline-block;
    margin-right: 0.5em;
    white-space: nowrap;
}
.article_box h3.ruby span {
    padding-top: 3vw;
}
.article_box h3 rt {
	font-size: 2.3vw;
	ruby-align: center;
	margin-bottom: -0.4em;
	transform: translateY(0.2em);
}
.article_box .article_txt {
	width: 84vw;
	margin: 0 auto;
	padding: 2vw 0 5vw;
	font-size: 4.45vw;
	line-height: 1.9em;
	border-top: 1px solid #231815;
}
.article_box .article_txt rt{
	ruby-align: center;
	margin-bottom: -0.4em;
	transform: translateY(0);
	font-size: 0.5em;
}

/*--- en ---*/
.lang_en #single h2 {
	font-size: 5vw;
    line-height: 1.3em;
}
.lang_en .article_box h3 {
    font-size: 5vw;
    line-height: 1.3em;
    padding: 4vw 4.5vw 4vw;
}
.lang_en .article_box .article_txt {
	line-height: 1.5em;
}


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

	top

-----------------------------------*/
#top_mv img {
    width: 100%;
}
#top_nav {
    width: 90%;
    margin: 7vw auto 22vw;
}
#top_nav h2 {
    font-size: 7vw;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-bottom: 1.4em;
}
#top_nav h2::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #231815;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
}
#top_nav h2 span {
    display: inline-block;
    background-color: #f2f1f1;
    padding: 0 0.5em;
    position: relative;
    z-index: 10;
}
.top_link {
    width: 90%;
    margin: 0 auto;
}
.top_link li:nth-child(n + 2) {
    margin-top: 7vw;
}
.top_link a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 5.5vw;
	font-weight: 900;
	letter-spacing: 0.01em;
    text-align: center;
	overflow: hidden;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, .1);
    padding: 1.5px;
}
.top_link a .link_txt {
    height: 18vw;
    border: 1px solid #d3d1d0;
	border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.top_link a .link_txt::before {
    content: "";
    width: 4vw;
    height: 4vw;
    background: url("../img/top_arrow.svg") no-repeat center center / contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5%;
    margin: auto;
}
#top_link_en a { font-size: 4.5vw; line-height: 1.3em; }
#top_link_en a .link_txt { padding: 0 1.5em; }

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

	lang select

-----------------------------------*/
h3.select_cont_ttl {
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
    position: relative;
    width: 700px;
    max-width: 82%;
    margin: 1em auto 1.8em;
    color: #022e3c;
}
h3.select_cont_ttl span {
    display: inline-block;
    background-color: #f2f1f1;
    padding: 0 1.5em;
    position: relative;
    z-index: 10;
}
h3.select_cont_ttl::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #231815;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
}

.select_list {
    width: 700px;
    max-width: 82%;
    margin: 0 auto;
    margin-bottom: 7vw;
}
.select_list > li:not(:first-of-type) {
    margin-top: 4.8vw;
}
.select_list > li > a {
    height: 3em;
    font-size: 6vw;
    font-weight: bold;
    background-color: #fff;
    display: block;
	box-shadow: 2px 2px 2px 0 rgb(0 0 0 / 10%);
	border-radius: 4px;
    overflow: hidden;
    border: 1px solid #fff;
    position: relative;
    z-index: 9;
}
.select_list > li > a::before {
    content: "";
    width: 12%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1%;
    margin: auto;
    background: url("../img/link_list_arrow.svg") no-repeat center center / contain;
}
.select_list .link_txt {
    width: 100%;
    height: 100%;
    padding: 2px 0;
    border: 1px solid #d3d1d0;
	border-radius: 3px;
    text-align: center;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

