@charset "UTF-8";
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

a:hover {
    opacity: 0.8;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* 共通 */
body {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    color: #221815;
    font-family: 'Libre Baskerville', sans-serif;

}

a,
p,
span {
    text-decoration: none;
    color: #221815;
}

.page-top {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #FFFFFF;
    background-color: #419cdb;
    font-family: 'Allerta', sans-serif;
}



/* ヘッダー */
.header-pc {
    padding: 30px 40px;
    font-family: 'Libre Baskerville', serif;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
}

.header-sp {
    display: none;
}

.header-logo {
    font-family: 'Libre Baskerville', serif;
}

.header-logo p {
    font-size: 50px;
    font-family: 'Libre Baskerville', serif;
}

.header-logo span {
    font-size: 25px;
    margin-left: 20px;
}

.header-menu {
    display: flex;
    justify-content: flex-end;
    flex-grow: 2;
}
.header-menu ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
}

.header-menu li {
    color: #221815;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

@media screen and (max-width:768px) {
    .header-logo span {
        margin-left: 5px;
    }

    .header-logo {
        width: 100%;
        padding-bottom: 650px;
    }

    .header-pc {
        display: none;
    }

    .header-sp {
        display: block;
        z-index: 100;
        position: relative;
        position: relative;
    }

    .header-logo {
        float: left;
        margin-top: 25px;
        font-family: 'Libre Baskerville', serif;

    }

    .header-logo p {
        font-size: 50px;
        font-family: 'Libre Baskerville', serif;
    }

    .header-logo span {
        font-size: 25px;
        margin-left: 20px;
    }

    header {
        /*display: flex;*/
        position: fixed;
        width: 100%;
        height: 100px;
        z-index: 100;
        background: #ffffff;
        color: #221815;
        justify-content: center;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .header-logo-sp {
        float: left;
        font-family: 'Libre Baskerville', serif;
        font-size: 7.5vw;
        padding-left: 80px;
    }

    .header-logo-sp span {
        font-size: 25px;
        margin-left: 20px;
        font-size: 3.6vw;
    }

    /* ハンバーガーメニュー */


    /*@import url('https://fonts.googleapis.com/css?family=Encode+Sans+Condensed:400,600');*/

    * {
        outline: none;
    }

    strong {
        font-weight: 600;
    }

    .page {
        width: 100%;
        /*height: 100vh;*/
        /* background: #fdfdfd;*/
        /* font-family: 'Encode Sans Condensed', sans-serif;*/
        /* font-weight: 600;*/
        letter-spacing: .03em;
        color: #221815;
    }

    main {
        /*  padding: 70px 20px 0;*/
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    main > div {
        margin: auto;
        max-width: 650px;
    }

    main h2 span {
        color: #fff;
    }

    main p {
        line-height: 1.5;
        font-weight: 200;
        margin: 20px 0;
    }

    main small {
        font-weight: 300;
        color: #888;
    }

    #nav-container {
        position: fixed;
        height: 100vh;
        width: 100%;
        pointer-events: none;
        left: 0;
        top: 10px;
        z-index: 1000;
    }

    #nav-container .bg {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        visibility: hidden;
        opacity: 0;
        /*transition: .3s;
        background: #000;*/
    }

    #nav-container:focus-within .bg {
        visibility: visible;
        opacity: .6;
    }

    #nav-container * {
        visibility: visible;
    }

    .button-back {
        color: #947fff;
    }

    .button {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        border-radius: 0;
        height: 70px;
        width: 30px;
        cursor: pointer;
        pointer-events: auto;
        margin-left: 25px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        background-color: #947fff;
        width: 60px;
        height: 60px;
        padding: 18px 13px;
        border-radius: 5px;
        margin: 10px;
    }

    .icon-bar {
        display: block;
        width: 100%;
        height: 3px;
        background: #f5faf7;
        transition: .3s;
        color: #f5faf7;
    }

    .icon-bar + .icon-bar {
        margin-top: 5px;
    }

    #nav-container:focus-within .button {
        pointer-events: none;
    }

    #nav-container:focus-within .icon-bar:nth-of-type(1) {
        transform: translate3d(0, 8px, 0) rotate(45deg);
    }

    #nav-container:focus-within .icon-bar:nth-of-type(2) {
        opacity: 0;
    }

    #nav-container:focus-within .icon-bar:nth-of-type(3) {
        transform: translate3d(0, -8px, 0) rotate(-45deg);
    }

    #nav-content {
        margin-top: 90px;
        padding: 20px;
        width: 100%;
        max-width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        height: calc(100% - 70px);
        /*background: #ececec;*/
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        transform: translateX(-100%);
        transition: transform .3s;
        will-change: transform;
        contain: paint;
        background-image: url(../img/sp-menu-bg.png);
        background-size: cover;

        display: flex;
        flex-flow: column;
    }

    .logo-menu {
        margin: 0.5em auto 0.5em;
        text-align: center;
        font-size: 6vw;
        font-family: 'Libre Baskerville', serif;

    }

    .logo-menu span {
        font-size: 3vw;
        margin-left: 20px;

    }

    #nav-content ul {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    #nav-content li a {
        padding: 0.75em 5px;
        display: flex;
        align-items: center;
        justify-content:space-between;
        text-transform: uppercase;
        transition: color .1s;
        font-size: 3vw;
        border-bottom: solid 2px #5592dc;

    }

    #nav-content li a img {
        width: 24px;
    }

    #nav-content li a:hover {
        color: #fff;
    }

    #nav-content li:not(.small) + .small {
        margin-top: auto;
    }


    #nav-content li .arrow {
        margin-left: auto;
        padding: 2px;
        transform: scale(1, 0.5);
        border: 1px solid #7F7F7F;
    }

    #nav-content li .arrow:after {
        content: "";
    }


    #nav-container:focus-within #nav-content {
        transform: none;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html,
    body {
        height: 100%;
    }

    a,
    a:visited,
    a:focus,
    a:active,
    a:link {
        text-decoration: none;
        outline: 0;
    }

    a {
        color: currentColor;
        transition: .2s ease-in-out;
    }

    h1,
    h2,
    h3,
    h4 {
        margin: 0;
    }

    ul {
        padding: 0;
        list-style: none;
    }

    img {
        vertical-align: middle;
        height: auto;
        width: 100%;
    }
    header {
        left: 0;
    }

}

.link-event, .link-document {
    background-position: bottom;
    z-index: -2;
}
.link-event .link, .link-document .link {
    bottom: 0;
    right: 10%;
    margin: 0;
    margin-bottom: 3%;
    padding: 0;
    font-size: 1.4rem;
    z-index: -1;
}

@media screen and (max-width:1024px) {
    .link-event .link, .link-document .link {
        font-size: 1rem;
    }
}

@media screen and (max-width:768px) {
    .link-event .link, .link-document .link {
        font-size: 1vw;
    }
}



/*フッター*/
p.footer-txt {
  clear: both;
    padding: 40px 80px;
    line-height: 1.5;
    background-color: #fff;
}

@media screen and (max-width:768px) {
  p.footer-txt {
      padding: 20px;
  }
}

footer {
    z-index: -1;
}
footer .f-page-top img {
    width: auto;
    vertical-align: middle;
}
.f-page-top {
    bottom: 173px;
    right: 0;
}

@media screen and (max-width:768px) {
  .f-page-top {
      bottom: 190px;
      right: 0;
  }
}

.f-contact {
    padding: 50px 85px;
}

p.f-contact-ttl {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Libre Baskerville', serif;
}

p.f-contact-txt {
    line-height: 1.4;
}

a.mail {
    text-decoration: underline;

}
.f-adress {
    background-position: 7% center;
    display: flex;
}
.f-adress-icon-wrapper {
    width: 258px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-adress-txt {
    margin: auto 0;
    padding-right: 10px;
    padding: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    align-items: center;
    flex-grow: 1;
}

.f-adress-txt  a{
  text-decoration: underline;
}

@media screen and (max-width:768px) {
    p.footer-txt{
        max-width: 650px;
        margin: 0 auto;
    }
    footer {
        max-width: 650px;
        margin: 0 auto;
        background-image: url(../img/sp-bg-footer.png);
        width: 100%;
        background-size: cover;
        /* background-repeat: no-repeat; */
    }

    .f-contact {
        padding: 20px;
    }

    p.f-contact-ttl {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    .f-adress {
        max-height: 191px;
    }
    .f-adress-icon-wrapper {
        width: 83px;
    }
    .f-adress-txt {
        padding: 20px;
        height: 191px;
        font-size: 0.6rem;
        width: 60%;
    }
}
