/* 기본 설정 */

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, arial, "Apple SD Gothic Neo", "애플 SD 고딕 Neo", NanumGothic, 돋움, Dotum, sans-serif;
  overflow-y: auto;
  font-size: 100%;
  min-width: 320px;
  background-color: #fff;
}

ul, ol, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  padding: 0;
  margin: 0;
  word-break: keep-all;
}


/* 기본 레이아웃 설정 */

.alignleft   { float: left;  }
.alignright  { float: right; }

#container {
    width: auto;
    //max-width: 1920px;
    margin: auto;
    overflow: hidden;
}

.section {
    padding: 3vh;
    width: calc(100% - 6vh);
    min-height: 94vh;
    background-position: center;
    background-size: cover;
    position: relative;
    transition: opacity 1.2s;
}

.section-header {
    text-align: center;
    font-size: 18px;
    line-height: 30px;
    margin: 3.2em auto;
    z-index: 1;
    position: relative;
    top: 0;
}

.section-header i {
    font-size: 68px;
    line-height: 80px;
    display: block;
}

.content-wrap {
    max-width: 960px;
    width: calc(100vw - 160px);
    margin: 0 auto 7.5em;
    line-height: 1.55em;
    border-color: inherit;
    color: inherit;
}

.content-wrap h1 {
    font-size: 250%;
    line-height: 1.85em;
    margin: 0.2em 0 0.25em;
}

.content-wrap h2 {
    font-size: 130%;
    line-height: 1.85em;
    margin: 0.3em 0 0.35em;
}   

.content-wrap h3 {
    font-size: 125%;
    line-height: 1.75em;
    margin: 0.45em 0 0.45em;
}

.content-wrap h4 {
    font-size: 115%;
    line-height: 1.65em;
    margin: 0.25em 0 0.25em;
    padding: 0.45em 0 0;
}

.content-wrap h5 {
    font-size: 110%;
    line-height: 1.65em;
    margin: 0.25em 0 0.25em;
    padding: 0.45em 0 0;
}

.content-wrap img,
.content-wrap iframe {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.content-wrap p > img:first-child,
.content-wrap p > iframe:first-child {
    margin-top: 0;
}

.content-wrap p > img:last-child,
.content-wrap p > iframe:last-child {
    margin-bottom: 0;
}

.content-wrap a.button {
    padding: 15px 18px;
    background-color: #fff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    margin: 1em 0 1.5em;
    display: inline-block;
    color: inherit;
    border-width: 1px;
    border-style: solid;
    border-color: inherit;
}

.button-bg-transparent a.button {
    background-color: transparent;
}

.content-wrap.center {
    margin: auto;
    text-align: center;
}

.content-wrap.top {
    margin: 0 auto auto;
}

.content-wrap.bottom {
    margin: auto auto 0;
}

.content-wrap.left {
    text-align: left;
}

.content-wrap.right {
    text-align: right;
}


/* 커버 설정 */
#cover {
    z-index: 10;
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cover-wrap {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

#logo-wrap {
    width: calc(50% - 20px);
    height: 100%;
    margin-right: 20px;
    position: absolute;
    top: 0;
    display: flex;
}

#logo {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#cover-logo {
    width: 50vw;
    height: 100vh;
    max-width: 320px;
    max-height: 320px;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0;
    text-indent: -99999em;

    transition: opacity 0.4s;
}

#menu {
    width: calc(50% - 20px);
    max-height: 100%;
    margin: auto 0 auto calc(50% + 20px);
    color: inherit;
    border-color: inherit;
}

#menu a {
    height: 14.4vh;
    max-height: 82px;
    color: inherit;
    display: flex;
    padding: 2vh 0;
    position: relative;
    opacity: 0;
}

#menu a.show {
	opacity: 1;

	/* 자연스럽게 변경 */
	transition: opacity 0.6s;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	-ms-transition: opacity 0.6s;
}


#menu a::after {
    content: '';
    display: block;
    clear: both;
}

#menu i {
    font-size: 10vh;
    line-height: 10vh;
    margin: auto 0;
    float: left;
    display: block;
}

#menu i::before {
    padding: 0;
}

#menu .wrap {
    margin: auto auto auto 3vh;
    padding-left: 3.5vh;
    font-size: 2vh;
    line-height: 1.4em;
    color: inherit;
    position: relative;
}

#menu .wrap::before {
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: inherit;
    display: block;
    opacity: 0.45;
}

#menu a:hover .wrap::before,
#menu a:hover .summary {
    opacity: 1;
}

#menu h2 {
    font-size: 1.5em;
    margin-bottom: 0.35em;
}

.summary {
    opacity: 0.45;
    color: inherit;
}

#side-menu {
    position: fixed;
    width: 50px;
    right: -50px;
    height: 50px;
    bottom: calc(50vh - 25px);
    z-index: 9;
    opacity: 0;
    transition: opacity 1s, right 0.4s 0.6s;
}

#side-menu.show {
    right: 15px;
    opacity: 1;
}

#side-menu.menus-2 {
    height: 120px;
    bottom: calc(50vh - 60px);
}

#side-menu.menus-3 {
    height: 180px;
    bottom: calc(50vh - 90px);
}

#side-menu.menus-4 {
    height: 240px;
    bottom: calc(50vh - 120px);
}

#side-menu.menus-5 {
    height: 300px;
    bottom: calc(50vh - 150px);
}

#side-menu a {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    display: inline-block;
    
    transition: color 0.8s, width 0.4s, height 0.4s, font 0.4s;
}

#side-menu a:last-child {
    margin-bottom: 0;
}

#side-menu i {
    width: 50px;
    height: 50px;
    font-size: 42px;
}

#navigation {
    width: 100%;
    height: 70px;
    font-size: 112.5%;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    position: fixed;
    z-index: 99999;
    top: 0;

    transition: top 0.4s, background-color 0.4s;
}

#navigation ul {
    float: right;
    margin: 0 2em;
}

#navigation li:first-child,
#navigation li:last-child {
    padding: 0;
}

#navigation li {
    float: left;
    padding: 0 1em;
}

#navigation li a {
    display: block;
    height: 100%;
    line-height: 70px;
}

#navigation a#home {
    width: 70px;
    height: 100%;
    background-size: 55px;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    text-indent: -9999em;
    position: absolute;
    left: 0;
    top: 0;

    transition: top 0.4s, left 0.4s, opacity 0.4s;
}

#select-menu-container {
    width: calc(100% - 71px);
    height: 100%;
    position: absolute;
    width: calc(100% - 71px);
    right: 0;
    top: 0;
    display: none;
    cursor: pointer;
}

#select-menu {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

#selected-menu {
    position: relative;
    height: 100%;
    line-height: 70px;
    float: right;
    margin-right: 1em;
}

#selected-menu label {
    margin-right: 0.25em;
    color: inherit;
}

#selected-menu svg {
    width: 25px;
    height: 70px;
    float: right;
}


/* intro 설정 */
.section.intro {
    min-height: 100vh;
    display: flex;
    line-height: 1.65em;
}

.intro .content-wrap {
    width: calc(100% - 90px);
    padding: 45px;
    word-break: keep-all;
    
}

.intro .content-wrap.iframe-include {
    display: flex;
    margin: 0 auto;
}

.intro .content-wrap.iframe-include h5 {
    width: 100%;
    top: calc(50% + 3.5em);
    left: 0;
    position: absolute;
    text-align: center;
    margin: 0;
}

.intro iframe.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.8s 0.8s;
}

iframe.fullscreen.play {
    opacity: 1;
}

.intro i.play-button {
    display: inline-block;
    margin: auto;
    font-size: 6.5em;
    color: inherit;
    cursor: pointer;
}

.fullscreen .ytp-title-enable-channel-logo .ytp-title {
    display: none;
}


/* form 설정 */

.open-form {
    padding: 18px 25px 17px;
    font-size: 16px;
    line-height: 16px;
    position: absolute;
    bottom: 7em;
    width: 200px;
    left: 50%;
    margin-left: -125px;
    text-align: center;
}

.open-form-side {
    padding: 12px 18px 13px;
    font-size: 14px;
    line-height: 16px;
    position: fixed;
    left: 0;
    top: 50%;
    margin-top: -28px;
    width: auto;
    display: block;
    z-index: 9;

    transition: left 0.3s, opacity 0.3s;
}


/* tab 설정 */
.tab-wrap {
    max-width: 960px;
    width: calc(100vw - 160px);
    margin: 0 auto;
    border-color: inherit;
    color: inherit;
    position: relative;
}

.tabs {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}

.tabs.sticky {
    position: fixed;
    top: 0;
    left: 0;
}

.tabs li { 
    display: inline-block; 
    cursor: pointer;
    opacity: 0.35;

    transition: opacity 0.4s;
}

.tabs li.selected,
.tabs li:hover {
    opacity: 1;
}

.tabs li span {
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    padding: 6px 10px;
    border-radius: 15px;
    border-width: 1px;
    border-style: solid;
    border-color: inherit;
    margin: 4px;
    display: block;
}

/* .tabs-2 li { max-width: 50%; }
.tabs-3 li { max-width: 33.3333%; }
.tabs-4 li { max-width: 25%; }
.tabs-5 li { max-width: 20%; }
.tabs-6 li { max-width: 16.6666%; } */

.tab-content {
    margin-top: 30px;
    border-color: inherit;
}

.tab-content::after {
    content: '';
    display: block;
    clear: both;
}

.tab-content > div::after {
    content: '';
    display: block;
    clear: both;
}

.tab-content > div:not(.selected) {
    display: none;
}

.normal div.content-body {
    display: block;
    padding-bottom: 1.25em;
}

.accordion div.content-body {
    padding-bottom: 0.85em;
}

.normal .content-wrap,
.accordion .content-wrap {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: inherit;
}

.accordion h2.title {
    padding: 1.25em 0;
    margin: 0;
    line-height: 1.25em;
    cursor: pointer;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: inherit;
    transition: padding 0.3s;
}

.normal h2.title {
    padding: 1.25em 0 0.75em;
    margin: 0;
    line-height: 1.25em;
    cursor: pointer;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: inherit;
    transition: padding 0.3s;
}

.accordion h2.selected {
    padding-bottom: 0.25em;
}

.accordion div.selected {
    padding-bottom: 1.25em;
}


/* 포스트 연결 목록 설정 (공통) */

.posts-connect {
    margin-top: 4.8em;
}


/* 포스트 연결(연도별 3단) 목록 설정 */

.history-01 {
    margin: 0 auto;
}

.post-set {
    padding: 2.2em 0;
    position: relative;
}

.history-01 .post-set::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background-color: #fff;
    display: block;
    opacity: 0.35;
}

.history-01 .post-set:first-child::before {
    opacity: 1;
}

.history-01 .post-set ul.post-list {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 2em;
    -moz-column-gap: 2em;
    column-gap: 2em;
    margin-left: 25%;
}

.history-01 .post-set .label {
    float: left;
    font-size: 150%;
    font-weight: 600;
    font-family: Helvetica, sans-serif;
}

.history-01 .post-set .label::after {
    content: '';
    display: block;
    clear: both;
}

.post-set ul.post-list li {
    font-size: 87.5%;
    line-height: 1.35em;
    margin-bottom: 0.4em;
    color: #707070;
}

.post-set ul.post-list a {
    color: #fff;
    word-break: keep-all;
}

.post-set ul.post-list a.current {
    color: #FF6969;
    cursor: default;
}

.history-01 .embed-content {
    margin: 2em 0;
}

.history-01 h2.title {
    width: calc(25% - 25px);
    float: left;
    margin-top: 0;
    line-height: 1.2em;
    font-weight: 500;
    font-size: 112.5%;
    word-break: keep-all;
}

.history-01 ul.pj-summary {
    width: calc(25% - 25px);
    float: left;
    margin: 0.55em 0;
    padding: 1.2em 0;
    border-top: 1px solid #fff;
    line-height: 1.0em;
    clear: left;
}

.history-01 ul.pj-summary li {
    padding-left: 55px;
    position: relative;
    font-size: 75%;
    line-height: 1.35em;
    margin-bottom: 0.35em;
}

.history-01 ul.pj-summary li.address {
    padding-left: 0;
    margin-top: 1.35em;
}

.history-01 ul.pj-summary li.address i {
    font-size: 1.2em;
    margin-right: 0.15em;
}

.history-01 ul.pj-summary label {
    position: absolute;
    top: 0;
    left: 0;
}

.history-01 .embed-content .entry {
    margin-left: 25%;
    border: 10px solid #fff;
    position: relative;
    overflow: hidden;
}

.history-01 .embed-content a.thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background-size: cover;
    display: block;
}

.history-01 .embed-content a.thumbnail.no-image {
    background: url('../img/no-thumbnail.png') #eee no-repeat center;
    background-size: 32px;
}

.history-01 .embed-content a.thumbnail .hover {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    opacity: 0;
    z-index: 1;
    cursor: pointer;

    transition: opacity 0.3s;
}

.history-01 .embed-content a.thumbnail .hover i {
    margin: auto;
    font-size: 2.5em;
    color: #361E23;
}

.history-01 .embed-content a.thumbnail:hover .hover{
    opacity: 1;
}

.hidden-gallery {
    display: none;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    overflow: inherit !important;
}

.swiper-slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    opacity: 0.25;

    transition: opacity 0.2s;
}

.swiper-slide.swiper-slide-active {
    opacity: 1;
}

.history-01 .embed-content .acf-map {
    top: 0;
    left: 100%;
    z-index: 3;

    transition: left 0.4s;
}

.history-01 .embed-content .acf-map.show {
    left: 0;
}


/* 포스트 연결(썸네일/일자/제목/요약 01) 목록 설정 */

a.post-wrap {
    padding: 2.2em 0;
    position: relative;
    display: block;
}

a.post-wrap:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background-color: #B5B5B5;
    display: block;
}

.post-wrap::after {
    content: '';
    display: block;
    clear: both;
}

.post-wrap .thumbnail-wrap {
    width: 185px;
    height: 100px;
    position: relative;
    float: left;
    margin-right: 30px;
    background: url('../img/no-thumbnail.png') #eee no-repeat center;
    background-size: 32px;
}

.post-wrap .thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.post-wrap .date {
    font-size: 75%;
    opacity: 0.75;
    line-height: 1.2em;
}

.post-wrap .date i::before {
    font-size: 87.5%;
}

.post-wrap .excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5em;
	height: 4.5em;
    font-size: 75%;
    opacity: 0.75;
}

.post-wrap h2.title {
    font-size: 112.5%;
    line-height: 1.35em;
    margin: 0.35em 0;
}


/* 지도 설정 */
.acf-map {
    height: 100%;
    width: 100%;
    position: absolute;
}

.section > .acf-map {
    height: 418px;
    width: calc(100vw - 160px);
    max-width: 958px;
    border-width: 1px;
    border-style: solid;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.all-02 .acf-map,
.map-02 .acf-map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contact .content-wrap {
    padding-bottom: 2em;
}

.contact.all-02 .content-wrap,
.contact.map-02 .content-wrap {
    width: 878px;
    left: calc(50% - 480px);
    bottom: 55px;
    padding: 30px 40px 40px;
    font-size: 15px;
    line-height: 1.45em;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 6px 11px 0 rgba(0, 0, 0, 0.12);
    position: absolute;
    z-index: 999;
}


#popup-container {
    position: fixed;
    width: 0;
    height: 0;
    padding: 50vh 50vw;
    z-index: 99999;
    top: -100vh;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.65);

    transition: opacity 0.3s, padding 0.3s, width 0.3s, height 0.3s;
}

#popup-container.open {
    top: 0;
    opacity: 1;
    width: calc(100vw - 60px);
    height: calc(100vh - 60px);
    padding: 30px;
}

#popup-container.open.fullscreen {
    width: 100vw;
    height: 100vh;
    padding: 0;
    background-color: #000;
}

#popup-wrap {
    width: calc(100% - 102px);
    height: calc(100% - 102px);
    max-width: 858px;
    max-height: 800px;
    padding: 50px;
    margin: auto;
    border: 1px solid #C6C6C6;
    box-shadow: 15px 16px 0px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    position: relative;
}

#popup-container.open.fullscreen #popup-wrap {
    max-width: 100%;
    max-height: 100%;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    border: none;
    background: transparent;
}

#popup-content {
    overflow-y: auto;
    width: 100%;
    height: 100%;
    opacity: 0;

    transition: opacity 0.2s 0.2s;
}

.open #popup-content {
    opacity: 1;
}

* a.close-x {
    width: 40px;
    height: 40px;
    display: block;
    top: 7px;
    right: 7px;
    opacity: 0;
    position: absolute;

    transition: opacity 0.1s 0.3s;
}

.open a.close-x {
    opacity: 1;
}

a.close-x::before,
a.close-x::after {
    content: '';
    border-top: 2px solid #D3D3D3;
    position: absolute;
    display: block;
    width: 100%;
    top: 19px;
    transform: rotate(45deg);
}

a.close-x::after {
    transform: rotate(-45deg);
}


/* 팝업 form 설정 */
#popup-form {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 10;

    transition: left 0.4s; 
}

.open-contactform #popup-form {
    left: 0;
}

.open-contactform .open-form-side {
    left: -150px;
    opacity: 0;
}

#popup-form > div {
    margin: 0 auto;
    display: block;
    max-width: 400px;
    padding: 0 25px 25px;
    position: relative;
}

#popup-form .section-header {
    margin-top: 60px;
}

#popup-form p {
    line-height: 1.55em;
}

#popup-form p label {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 10px;
}

#popup-form input:not([type="submit"]), 
#popup-form textarea,
#popup-form select {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: inherit;
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    color: inherit;
    border-radius: 0;
    -webkit-appearance: none;
    background: transparent;
}

#popup-form .wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em;
    padding: 1em;
}

.grecaptcha-badge { 
    visibility: hidden;
}

i.close-x {
    width: 41px;
    height: 41px;
    z-index: 999;
    position: absolute;
    right: 20px;
    top: 12px;
    cursor: pointer;
    transition: top 0.3s, width 0.3s, height 0.3s;
}

i.close-x::before, 
i.close-x::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #000;
    left: 0px;
    top: 50%;
    display: block;
    position: absolute;
}

i.close-x::before {
    transform: rotate(-45deg);
}

i.close-x::after {
    transform: rotate(45deg);
}


/* 하단 설정 */
#footer {
    position: relative;
    padding: 40px 0;
    text-align: center;
    font-size: 10px;
    font-weight: lighter;
    line-height: 1.2em;
    width: 100%;
    z-index: 2;
    display: block;
}

#footer h2 {
    font-size: 14px;
    line-height: 24px;
}


.wp-block-jetpack-contact-info {
    display: none;
}


@media (max-width: 899px), (orientation: portrait) {

    .cover-wrap {
        display: block;
    }

    #logo-wrap {
        width: calc(100vw - 60px);
        height: calc(100vh - 60px);
        margin-right: 0;
        position: relative;
    }

    #menu {
        width: calc(100% - 20px);
        margin: auto auto 8%;
    }

    #menu::after {
        content: '';
        display: block;
        clear: both;
    }

    #menu a {
        width: 49%;
        float: left;
        max-height: 200px;
    }

    #menu a:nth-child(2n) {
        margin-left: 2%;
    }
    
    #menu .wrap {
        font-size: 85%;
    }

    .history-01 .post-set ul.post-list {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

}

@media (max-width: 720px) {
    #menu a {
        width: 100%;
        height: auto;
        float: none;
        margin-left: 0 !important;
        padding: 2vw 0;
    }

    #menu i {
        font-size: 12vw;
        line-height: 12vw;
    }

    #menu .wrap {
        font-size: 2.25vw;
        padding-left: 4vw;
        margin: auto auto auto 4vw;
    }

    #navigation {
        top: 0;
    }

    #navigation ul {
        display: none;
    }

    #select-menu-container {
        display: block;
    }

    /* 기본 템플릿 외 모든 템플릿에 적용 - 좌우 여백 없애기 */
    body:not(.page-template-default) .content-wrap {
        width: 100%;
        margin-bottom: 3.5em;
    }

    .intro .content-wrap {
        width: calc(100% - 50px);
        padding: 25px;
    }
}

@media (min-width: 580px) {
    #side-menu {
        background-color: transparent !important;
    }

}

@media (max-width: 579px) {

    #logo-wrap {
        max-height: 100vw;
    }

    #menu {
        margin: auto auto 10%;
        max-width: 600px;
    }

    #menu .wrap {
        font-size: 2.5vw;
    }

    .section-header {
        margin: 2.2em auto;
    }

    .tab-wrap {
        width: auto;
    }

    .content-wrap {
        width: 100%;
        margin-bottom: 3.5em;
    }

    .content-wrap h1,
    .content-wrap h2 {
        font-size: 150%;
        line-height: 1.35em;
    }

    .content-wrap h2,
    .content-wrap h3 {
        font-size: 125%;
        line-height: 1.55em;
    }

    .content-wrap h4,
    .content-wrap h5 {
        font-size: 110%;
        line-height: 1.55em;
    }

    .intro .content-wrap {
        width: 100%;
        padding: 0;
    }

    .post-wrap .thumbnail-wrap {
        display: none;
    }
    
    .acf-map {
        width: calc(100% - 2px);
    }

    .open-form {
        bottom: 3em;
    }

    #side-menu {
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 70px !important;
        margin: 0;
        z-index: 11;
    }

    #side-menu a {
        text-align: center;
        margin: 0;
        height: 70px;
        color: inherit !important;
    }

    #side-menu i {
        line-height: 70px;
    }

    #side-menu i::before {
        padding: 0;
    }

    #side-menu.menus-1 a { width: 100%; }
    #side-menu.menus-2 a { width: 50%; }
    #side-menu.menus-3 a { width: 33.3333%; }
    #side-menu.menus-4 a { width: 25%; }
    #side-menu.menus-5 a { width: 20%; }

    #footer {
        padding-bottom: 110px;
    }

}

@media (max-width: 400px) {

    .history-01 .post-set ul.post-list {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 2em;
        -moz-column-gap: 2em;
        column-gap: 2em;
        margin-left: 30%;
    }

}


@media (max-height: 56.24vw) {

    /* .section {
        min-height: calc(56.24vw - 4vh);
    } */

}


@media (min-height: 1200px) {
	
	#menu i {
		font-size: 100px;	
	}
	
	#menu .wrap {
		font-size: 22px;
	}
	
}