/*
Theme Name: peacefromenagasaki
Theme URI: https://wordpress.org/themes/peacefromenagasaki/
Author: the WordPress team
Author URI: https://wordpress.org/
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
*/

/* 共通 */

table,
tbody,
th,
td,
tr {
    border-collapse: collapse !important;
    border-spacing: 0;
    border-width: 0.8px;
    border-style: solid;
}

input[type="submit"] {
    -webkit-appearance: none;
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

h2,
h3,
h4 {
    line-height: 1.3;
    font-weight: 600;
    color: #000;
    text-align: center;
    font-family: Shin Go B, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

h2 {
    margin-bottom: 40px;
    margin-bottom: clamp(30px, 5vw, 40px);
    font-size: 33px;
    font-size: clamp(24px, 4vw, 33px);
}

h3 {
    margin-bottom: 40px;
    margin-bottom: clamp(30px, 5vw, 40px);
    font-size: 27px;
    font-size: clamp(23px, 4.5vw, 27px)
}

li {
    list-style: none;
}

figure {
    margin: initial;
}

h4 {
    margin-bottom: 40px;
    margin-bottom: clamp(30px, 5vw, 40px);
    font-size: 20px;
    font-size: clamp(18px, 3vw, 20px);
}

.border-ttl {
    border-bottom: solid 2px #135fbc;
    display: inline-block;
    text-align: center;
    font-size: 22px;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 600;
    padding-bottom: 3px;
}

.white-radius {
    background: #fff;
    border-radius: 20px;
}

.t-right {
    text-align: right;
}

#MenuBtn {
    display: block;
    position: fixed;
    bottom: 7%;
    right: 5%;
    width: 40px;
    height: 40px;
    z-index: 999;
}

@media screen and (min-width: 768px) {
		.pc-auto{margin:auto!important;}
    .link {
        padding-top: 110px;
        margin-top: -110px;
    }

    #MenuBtn {
        display: none;
    }
}

#MenuBtn span {
    display: block;
    width: 45px;
    height: 4px;
    background: #888;
    position: absolute;
    transition: 0.5s;
}

.out {
    opacity: 0.3;
    pointer-events: none;
}

#MenuBtn span:first-child {
    top: 0;
}

#MenuBtn span:last-child {
    top: 10px;
}

#MenuBtn.is-active span:first-child {
    transform: rotate(45deg);
    top: inherit;
}

#MenuBtn.is-active span:last-child {
    top: 0;
    transform: rotate(-225deg)
}


picture {
    display: block;
}

a {
    text-decoration: none;
}

div,
a,
span {
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* 共通 */
section {
    max-width: 1400px;
    margin: 0 auto;
}

.inner-wrap {
    margin: auto;
    max-width: 1000px;
    width: 90%;
}

.inner-wrap-s {
    margin: auto;
    max-width: 900px;
}

.separation {
    margin-bottom: 100px;
    margin-bottom: clamp(50px, 12vw, 100px) !important;
}

.relative {
    position: relative;
}

.separation-m {
    margin-bottom: 60px;
    margin-bottom: clamp(30px, 8vw, 60px) !important;
}

.separation-s {
    margin-bottom: 40px;
    margin-bottom: clamp(30px, 6vw, 40px) !important;
}

.top-logo {
    position: absolute;
    width: 400px;
    max-width: 80%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

ul.sns-btn {
    display: block;
    text-align: right;
    max-width: 300px;
    margin: 0 0 auto auto !important;
}

@media screen and (max-width:767px) {
    ul.sns-btn {
        text-align: left;
        margin: 0 !important;
    }
}

.sns-btn li {
    display: inline-block;
    width: 30%;
    text-align: right;
    margin-bottom: 15px;
}

.sns-btn li img {
    width: 60%;
    max-width: 40px;
    margin: 0 auto;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.6%;
    margin: auto;
    object-fit: cover;
}

.iframe-wrapper iframe,
.iframe-wrapper video,
.iframe-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.inblo span,
span.inblo {
    display: inline-block;
}

@media screen and (min-width:768px) {
    nav.headerlist {
        border-bottom: solid 1px #dedede;
        padding: 5px 0;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 150;
    }

    nav.headerlist ul {
        display: flex;
        width: 100%;
        max-width: 1200px;
        margin: auto auto 5px;
    }

    nav.headerlist ul.sns img {
        width: 40%;
        max-width: 140px;
        display: block;
        margin: auto;
    }

    nav.headerlist li {
        display: flex;
        font-size: 12px;
        font-size: clamp(10px, 2.5vw, 12px);
        justify-content: center;
        align-items: flex-start;
        height: auto;
        width: 100%;
        position: relative;
    }

    nav.headerlist ul li:after,
    nav.headerlist ul li:first-child::before {
        content: none;
        display: block;
        position: absolute;
        top: 40%;
        height: 20px;
        width: 1px;
        background: #999;
    }

    nav.headerlist ul li:after {
        right: 0;
    }

    nav.headerlist ul.sns li:first-child::before {
        content: none;
    }

    nav.headerlist ul li:first-child::before {
        left: 0;
    }

    nav.headerlist ul.sns li:after {
        content: none;
    }
}


@media screen and (max-width:767px) {
    .headerlist {
        width: 0%;
        opacity: 0;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -70%;
        z-index: -1;
        transition: .5s;
        overflow: scroll;
    }

    nav.headerlist ul li:first-of-type {
        order: 10;
        font-size: 1.2em;
    }

    nav.headerlist ul {
        width: 100%;
        height: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        align-items: center;
        padding-top: 10%;
    }

    nav.headerlist ul li {
        display: block;
        width: 100%;
        text-align: left;
        color: #3e3a39;
        padding: 10px 0 20px 20px;
    }

    nav.headerlist ul.sns {
        height: auto;
        justify-content: space-between;
        width: 50%;
    }

    nav.headerlist ul.sns li {
        width: 30%;
        padding: 0;
    }

    nav.headerlist ul.sns img {
        max-width: 50px;
        width: 100%;
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Shin Go B', sans-serif;
    font-weight: 400;
    color: #595757;
    line-height: 1.8;
    text-align: center;
    font-size: 16px;
    font-size: clamp(14px, 3.5vw, 16px);
}

.t-red {
    color: #cc0012;
}

.t-blue {
    color: #135fbc;
}

.t-lightblue {
    color: #a9c3e4;
}

.t-white {
    color: #fff;
}

.t-black {
    color: #000;
}

html {
    margin-top: 0 !important;
}


.t-center {
    text-align: center;
}

.top-text {
    font-size: 28px;
    font-size: clamp(18px, 5.5vw, 28px);
    font-weight: 400;
}

.bg-space {
    padding: 80px 5%;
    padding: clamp(50px, 8vw, 80px) 5%;
}

.headerlist.is-active {
    width: 70%;
    opacity: 1;
    background: #fff;
    right: 0;
    z-index: 100;
}

.headerlist span {
    width: 100%;
    display: block;
    text-align: center;
}

.headerlist img {
    width: 80%;
    max-width: 25px;
    height: 30px;
    margin: 10px auto;
}

.headerlist .sns img {
    max-width: 50px;
    height: auto;
}

.headerlist a {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.3;
    align-items: center;
}

.headerlist a span:first-child {
    height: 50px;
}

@media screen and (max-width:767px) {

    .headerlist a span:first-child {
        text-align: left;
        width: 20%;
        height: auto;
    }

    .headerlist a span:last-child {
        text-align: left;
        width: 80%;
        height: auto;


    }

    .headerlist img {
        margin: 0 0 0 3%;
    }

    .headerlist a {
        flex-wrap: nowrap;
    }

    .headerlist a img {
        margin-right: 5px;
    }
}

footer {
    background: #231815;
    padding: 2% 5%;
}

.footer-inner {
    background: #231815;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.footer-list * {
    font-size: 12.5px;
}

ul.footer-list li:last-child {
    margin-top: 20px;
    font-size: 11px;
}

@media screen and (max-width:767px) {
    .footer-inner {
        display: block;
    }

    .footer-inner img {
        display: block;
        margin: 2rem auto;
        width: 100%;
        max-width: 150px;
    }

    .footer-inner ul {
        width: 90%;
        margin: 0 auto 2rem;
    }

    .footer-inner li,
    .footer-inner li a {
        font-size: 0.9rem;
        text-align: left;
    }
}

.aria-controller {
    cursor: pointer;
}

footer img:first-child {
    width: 250px;
}

.Sponsorship {
    font-size: 13px;
    font-size: clamp(11px, 3vw, 13px);
}

footer * {
    color: #fff;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

footer li,
footer li a {
    width: 100%;
    text-align: right;
}