/* CSS Document */
@charset "UTF-8";

* {
	box-sizing: border-box;
}

body {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-weight: 400;
	background-color: #EDE9E6;
	background: url("../img/bg.jpg") repeat;
	color: #2C2828;
}

/* レスポンシブ */
.sp { display: block; }
.pc { display: none; }

section {
    margin: 0 20px; 
}
section:last-child {
    margin-bottom: 120px; 
}
.anchor {
    margin-top: 40px;
    height: 20px;
}
.container {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 12px #432b2333;
}
.cont-inner {
    padding: 20px;
}
 /* main-visual */
.mv-margin {
    height: 0;
    background: #FFF;
}

.mv{ 
    background: url("../img/main_visual_bg.png") center bottom;
    position: relative;
    background-size: cover;
}
.mv-img img{
	width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 768px) {
    .sp { display: none; }
    .pc { display: block; }
    
    section {
        margin: 0 40px;
    }
    .anchor {
        margin-top: 10px;
        height: 120px;
    }

    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    .cont-inner {
        padding: 40px;
    }

    /* main-visual */
    .mv-margin { height: 100px; }

    .mv-img img{
        max-width: 100%;
    }
    .mv-img img.pc{
        display: block;
        object-fit: cover;
        max-width: 1200px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1160px;
    }
    .cont-inner {
        padding: 60px;
    }
}
/* レスポンシブ */


/* 共通 */
.container a { 
    text-decoration: none;
    padding-bottom: 1px;
    color: #2595A3;
    border-bottom: 1px solid #2595A3;
    transition: opacity .2s;
}
.container a:hover { 
   opacity: 0.8;
}
.container a:has(img) { 
    text-decoration: none;
    border-bottom: none;
}
a[target="_blank"]::after {
    content: url("../img/blank.svg");
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 1px;
}

.mb-0 {
    margin-bottom: 0!important;
}

.title-parent {
    margin:  0 auto 25px;
    background-color: #FFF;
    text-align: center;
    color: #8C3935;
    display: flex;
    align-items: center;
}
.title-parent::before,
.title-parent::after {
    content: '';
    height: 2px;
    background-color: #8C3935;
    flex-grow: 1;
}
h2 {
    display: inline-block;
	font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
    padding: 0 0.5em;
    letter-spacing: 1px;
    padding-left: calc(0.5em + 1px);
}
.en-title {
    margin-bottom: 0;
    display: block;
	font-size: 12px;
    letter-spacing: 1px;
    padding-left: 1px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #8C3935;
}
h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
    padding: 0.5em 0.25em;
    border-bottom: 1px solid #6B4D47;
    color: #6B4D47;
}
h4 {
    font-size: 18px;
    line-height: 1.2;
}
p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5em;
}
p.text {
    text-align: left;
    text-indent: 1em;
}

.container img {
    max-width: 100%;
}

/* flex */
.flex-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}
.flex-box .flex-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.flex-box .flex-content h4 {
    margin-top: 10px;
}
.flex-box .flex-content figure img {
    width: 100%;
    max-width: 300px;
}
.flex-content.align-left {
    text-align: left!important;
}
.flex-content .align-left {
    text-align: left!important;
    width: 100%;
}

/* table */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin: 40px auto;
    color: #3E3939;
}
table tbody th,
table tbody td {
    display: block;
}
table th {
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.2rem;
    padding-left: 0.2rem;
    text-align: center;
    background-color: #E8E4E2;
    vertical-align: middle;
}
table td{
    width: 100%;
    padding: 10px 10px 30px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    background-color: #ffffff;
}
table tr:last-of-type td {
    padding-bottom: 10px;
}
/* 共通 */

/* header */
header {
    width: 100%;
    height: 0;
	padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #F3F1F1E6;
    background: url("../img/header_bg.png") center bottom no-repeat;
    background-size: cover;
}

header .header__inner {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-bottom: 0;
}

header h1.header-logo {
    display: none;
    margin-right: 10px;
    max-width: 280px;
}
header h1.header-logo img { width: 100%; }

 /* nav */
header .pc_nav { display: none; }

 /* hamburger */
.hamburger {
    background-color: #FFFFFF99;
    cursor: pointer;
    height: 48px;
    width: 48px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    transition: all 0.6s;
}
.hamburger span {
    background-color: #6B4D47;
    height: 2px;
    left: 12px;
    position: absolute;
    transition: all 0.6s;
    width: 24px;
}
.hamburger_linetop { top: 16px; }
.hamburger_linecenter { top: 24px; }
.hamburger_linebottom { top: 32px; }

.nav_open .hamburger_linetop { top: 23px; transform: rotate(45deg); }
.nav_open .hamburger_linecenter { left: 50%; width: 0; }
.nav_open .hamburger_linebottom { top: 23px; transform: rotate(-45deg); }

.nav_open .overlay {
  opacity: 0.5;
  visibility: visible;
}

 /* sidemenu */
.sidemenu {
    text-align: left;
    height: 100vh;
    padding: 50px 10px 10px 20px;
    position: fixed;
    width: 40%; /*メニュー幅*/
    right: calc(-40% - 120px);
    min-width: 200px;
    top: 0;
    z-index: 2;
    background-color: #F3F1F1;
    transition: all 0.6s;
    overflow-y: auto;
}
.sidemenu nav ul li {
    font-size: 15px;
}
.sidemenu nav ul li a {
    padding: 10px 0;
}
.nav_open .sidemenu { right: 0; }
.overlay {
  background-color: #2C2828;
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100vw;
  z-index: 1;
}

.nav-logo:hover {
    opacity: 0.8;
}
.nav-logo img {
    width: 100%;
    padding: 10px;
    margin-top: 30px;
}

 /* hover animation */
header ul li a {
    display: block;
    color: #423C3C;
}
header ul li a span {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
header ul li a span::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: #8C3935;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
header ul li a:hover span {
    color: #423C3C;
}
header ul li a:hover span::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.sidemenu nav ul li.has_sub a {
    padding-bottom: 5px;
}
.sidemenu nav ul li.sub_nav {
    margin-left: 14px;
}
.sidemenu nav ul ul.sub_nav li a {
    font-size: 13px;
    padding: 8px;
    padding-left: 18px;
    text-decoration: none;
}
.sidemenu nav ul ul.sub_nav li:last-of-type a {
    padding-bottom: 10px;
}
/* header */


@media (min-width: 768px) {
    header {	
		height: 100px;
	}
    header h1.header-logo {
        max-width: 310px;
        display: inline-block;
    }
    header h1.header-logo img { width: 100%; }

    header .hamburger {
        width: 90px;
        height: 90px;
    }
    .hamburger span {
      background-color: #6B4D47;
      height: 2px;
      left: 20px;
      position: absolute;
      width: 50px;
    }
    .hamburger_linetop {
      top: 30px;
    }
    .hamburger_linecenter {
      top: 45px;
    }
    .hamburger_linebottom {
      top: 60px;
    }
    .nav_open .hamburger_linetop {
      top: 45px;
      transform: rotate(45deg);
    }
    .nav_open .hamburger_linecenter {
      left: 50%;
      width: 0;
    }
    .nav_open .hamburger_linebottom {
      top: 45px;
      transform: rotate(-45deg);
    }

    header .pc_nav ul li.has_sub {
        position: relative;
    }
    header .pc_nav ul ul.sub_nav {
        position: absolute;
        display: inline-block;
        width: 12em;
        background: #F3F1F1F2;
        box-shadow:0 0 3px #432b23cc;
        visibility: hidden;
        top: calc(1em + 40px);
        left: calc(-50% + 10px);
        padding: 15px;
        border-radius: 15px;
        opacity: 0;
        transition: all .2s ease;
    }
    header .pc_nav ul ul.sub_nav::before {
        content: url("../img/subnav.png");
        display: inline-block;
        position: absolute;
        width: 30px;
        height: 15px;
        top: -15px;
        left: calc(50% - 15px);
    }

    header .pc_nav ul ul.sub_nav li {
        padding: 6px;
        margin-left: 0;
        font-size: 14px;
    }
    header .pc_nav ul li.has_sub:hover ul.sub_nav {
        visibility: visible;
        opacity: 1;

    }

}

@media (min-width: 980px) {
    
    /* header */
	.globalNav {
		flex: 1;
	}
	.header-menu-nav {
		margin-right: -40px;
		justify-content: flex-end;
	}
	.sidemenu nav ul li {
        font-size: 18px;
	}
    /* header */
    
    /* nav */
    header .hamburger, .sidemenu, .overlay {
        display: none;
    }

    header .pc_nav {
        display: inline-block;
        margin-left: auto;
    }
    header .pc_nav ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    header .pc_nav ul li {
        font-size: 16px;
        padding: 20px 6px;
        margin-left: 6px;
    }
    header .pc_nav ul li:first-of-type {
        margin-left: 0;
    }
    /* nav */
}


/* intr */
#intr .flex-box .flex-content.fc_right {
    padding: 0 15px;
}
/* intr */

/* guide */
#guide table {
    margin: 0 auto;
}
#guide .tab_img {
    text-align: center;
    margin-top: 1em;
}

#guide .tab_img img{
    width: 100%;
    max-width: 570px;
}
/* guide */

/* exhibit */
#exhibit .ex_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
#exhibit  .ex_flex .ex_box {
    width: 100%;
}
#exhibit .cont-inner .ex_box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    padding: 10px;
    line-height: 1.2;
    border-bottom: none;
    color: #fff;
    background: #645450;
    border-radius: 10px;
    text-align: center;
}
#exhibit .cont-inner .ex_box h3 span {
    display: inline-block;
}
#exhibit .cont-inner .ex_box p {
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
}
#exhibit .cont-inner .ex_box .ex_img {
    text-align: center;
    margin-bottom: 10px;
}
#exhibit .cont-inner .ex_box .ex_img img {
    max-height: 250px;
}
#exhibit .cont-inner .ex_box .ex_box_gap {
    height: 30px;
}
/* exhibit */

/* event */
#event h3 { 
    margin-bottom: 1em;
    margin-top: -20px;
    padding-top: 20px;

}
.ev_box { 
    margin-bottom: 60px;
    position: relative;
}
.ev_box h4 {
    padding-left: 8px;
    border-left: 10px solid #C08D8A;
    margin-bottom: 10px;
    min-height: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ev_box h4 span {
    font-size: 80%;
    display: block;
}
.ev_box p {
    line-height: 1.75;
}
.ev_box p.ev_notice {
    max-width: 900px;
    margin: 10px auto 0;
    font-size: 14px;
    line-height: 1.5;
}

#event .notice {
    margin-top: 60px;
    padding: 20px;
    border-radius: 10px;
    background: #f1e6d3;
    flex-direction: column;
    color: #3a3932;
}
#event .notice h3 {
    color: #3a3932;
    border-bottom: none;
    padding: 0.5em 0;
    margin-bottom: 10px;
    margin-top: 0;
}

#event .notice h4 {
    border-bottom: none;
    padding: 0.5em 0;
}

img.youtube {
    width: 60px;
    display: inline-block;
}
/* event */

/* download */
#download .flex-box:last-of-type {
    margin-top: 40px; 
}
#download .flex-content img {
    border: 1px solid #DDDDDD;
}
#download .flex-box.flex2col .flex-content h3{
    display: block;
    width: 100%;
}
#download .flex-box.dl-flex{
     gap: 10px;
}

a.dl-btn {
    line-height: 2;
    padding: 2px 15px;
    color: #FFFFFF;
    background-color: #645450;
    margin-top: 10px;
    border: 0;
}
a.dl-btn.btn-r {
    margin-top: 0;
    margin-bottom: 20px;
    border: 0;
}
a.dl-btn:first-child {
    margin-top: 0;
    margin-bottom: 10px;
}

#download a.dl-btn[target="_blank"]::after {
    content: url("../img/blank_white.svg");
    display: inline-block;
}

#download .flex-box {
    margin-bottom: 40px;
}

/* download */

/* footer */
.footer-margin {
    background: url("../img/footer_bg.png") center top;
    width: 100%;
    height: 15px;
}
footer {
    width: 100%;
	position: relative;
	padding: 15px;
	line-height: 1.2;
	text-align: center;
	color: #FFF;
	background-color: #807773;
}
footer p {
	font-size: 12px;
	letter-spacing: .05em;
    padding-left: .05em;    
}
footer img{
    width: 80%;
    max-width: 280px;
}
.footer__copyMark {
	font-size: 14px;
	vertical-align: middle;
}

 /* scroll top */
.footer__scrollTop {
	width: 60px;
	position: fixed;
	bottom: 10px;
	right: 10px;
}
.footer__scrollTop:hover,
.footer__scrollTop:focus {
    opacity: 0.9;
}
.footer__scrollTop img {
	max-width: 100%;
	width: auto;
	height: auto;
}
footer a[target="_blank"]::after {
    content: url("../img/blank_white.svg");
    display: inline-block;
}
/* footer */

    
/* PCスタイル */
@media (min-width:768px){
    /* 共通 */
    p {
        font-size: 16px;
    }
    h2{
        font-size: 32px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    .title-parent {
        margin-bottom: 45px;
        width: 60%;
        min-width: 20em;
    }

    .en-title{
        font-size: 15px;
    }
    img.youtube {
        width: 80px;
    }

     /* flex */
    .flex-box {
        display: flex;
        flex-direction: row;
    }
    .flex-box .flex-content {
        width: 30%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .flex-box.flex2col .flex-content {
        width: 50%;
        justify-content: flex-start;
    }

     /* table */
    table {
        max-width: 900px;
    }
    table tbody th,
    table tbody td {
        border-bottom: 2px solid #FFF;
        display: table-cell;
    }
    table tbody tr:last-child td{
        border-bottom: none;
    }
    table th{
        width: 25%;
    }
    table td{
        width: 75%;
        padding: 20px;
    }
    table tr:last-of-type td {
    padding-bottom: 20px;
}
    tbody tr:last-child th,
    tbody tr:last-child td{
    border-bottom: none;
    }
    /* 共通 */
    
    /* intr */
    #intr .flex-box {
        align-items: flex-start;
    }
    #intr .flex-box .flex-content.fc_left {
        width: calc(100% - 320px);
    }
    #intr .flex-box .flex-content.fc_right {
        width: 320px;
        display: flex;
        justify-content: center;
        padding: 0;
    }
    /* intr */
    
    /* exhibit */
    #exhibit .ex_flex {
        gap: 60px;
    }
    #exhibit .cont-inner .ex_box {
        width: calc(50% - 30px);
    }
    #exhibit .cont-inner .ex_box h3 {
        font-size: 20px;
        border: none;
        color: #fff;
        background: #645450;
        border-radius: 10px;
        text-align: center;
    }
    #exhibit .cont-inner .ex_box p {
        line-height: 1.5;
        margin-bottom: 0;
        text-align: left;
    }
    #exhibit .cont-inner .ex_box .ex_img {
        text-align: center;
        margin-bottom: 20px;
    }
    #exhibit .cont-inner .ex_box .ex_img img {
        max-height: 250px;
    }
    .cont-inner .ex_box .ex_box_gap {
        height: 60px;
    }
    /* exhibit */

    /* event */
    #event h3 { 
        margin-top: -120px;
        padding-top: 120px;
    }
    .notice {
        padding: 30px;
        border-radius: 20px;
        background: #f1e6d3;
        flex-direction: column;
        color: #3a3932;
    }
    /* event */
    
    /* download */
    #download h3{
        text-align: left;
        width: 100%;
        padding: 12px;
        border-bottom: 1px solid #2C2828;
    }
    #download .flex-box.dl-flex {
        gap: 40px;
    }
    #download .flex-box.dl-flex .dl-btn{
        margin: 0 auto 20px 0;
    }
    /* download */

    /*footer*/
    footer img {
        width: 100%;
        max-width: 300px;
    }
	.footer__scrollTop {
		width: 100px;
	}
    /*footer*/

}
