@charset "utf-8";
/*
theme Name: take me back
Author: eyry
Description: 同窓会等の幹事様向けのテンプレートです
version： 1.0.0
*/


/* general */
body {
    font-family: "UD Reimin ExtraBold", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    background: url(./img/texture.png) repeat;
    background-size: contain;
    color: #FFF;
    font-size: 100%;
    line-height: 2;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#texture {
    background-blend-mode: overlay;
}

a {
    text-decoration: underline;
    color: #fff9ca;
}

a.noneDecoration {
    text-decoration: none;
}

p {
    margin-bottom: 1em;
}

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

h2 {
    font-size: 1.5rem;
    margin-bottom: 2em;
    line-height: 1.2;
	text-align: center;
}

h4 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2em;
    line-height: 1;
}

dialog {
    padding: 0;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 0 1em black;
    min-width: 480px;
    height: 360px;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

dialog + .backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

dialog > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

dialog  p {
    flex: 1;
    padding: 2em;
    margin: 3em 0 2em;
}

dialog i {
    font-style: normal;
    color: #a55;
    border: solid 1px #a55;
    padding: 0.5em;
    border-radius: 5px;
    margin-top: 1em;
}

address {
    margin: 1em 0;
    letter-spacing: 0.3em;
    font-size: 1.3rem;
}

input[type=text], input[type=password], input[type=email] {
    padding: 0.5em 1em;
    width: 100%;
    background: #f2faff;
    border-radius: 3px;
    border: solid 2px #a0abd2;
}

.defaultBtn {
    text-decoration: none;
    padding: 0.3em 2em;
    background: #a2975d;
    border-radius: 2px;
    border: none;
    color: #FFF;
}

.signinBtn {
    text-decoration: none;
    padding: 0.3em 2em;
    background: #588c48;
    border-radius: 2px;
    border: none;
    color: #FFF;
}


.centerBtn {
    margin: 0 auto;
}

.mx900 {
    max-width: 900px;
    padding: 0 2em;
    margin: 0 auto 5em;
}

.mx900p0 {
    max-width: 900px;
    padding: 0;
    margin: 0 auto 5em;
}

.mx100 {
    width: 100%;
    padding: 0 2em;
    margin: 0 auto 5em;
}

.flex50 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.flex50 .flex50Item {
    width: 48%;
}

figure, figure img {
    width: 100%;
}

.showMess {
    display: block;
}

.hideMesee {
    display: none;
}

.errorAlert {
    border: solid 1px #721c24;
    background: #f8d7da;
    border-radius: 2px;
    color: #721c24;
    padding: 0.8em;
    font-weight: 500;
    margin-bottom: 2em;
    font-family: -apple-system, "BlinkMacSystemFont", "Helvetica Neue", Helvetica, "Arial", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.invalid-feedback {
    color: #ff7682;
    border: solid 1px #ff7682;
    border-radius: 2px;
    padding: 0 0.5em;
    font-weight: 500;
    margin-top: 0.5em;
}

.invalid-OK {
    color: #b3f531;
    border: solid 1px #b3f531;
    border-radius: 2px;
    padding: 0 0.5em;
    font-weight: 500;
    margin-top: 0.5em;
}

.form-group {
    margin-bottom: 2em;
}

.form-group > * {
    display: block;
}

.form-flex {
    display: flex;
}
.form-flex > div > * {
    display: block;
}


/* header */
.header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    margin-bottom: 1em;
    background: -moz-linear-gradient(top, #0b0d13 0%, transparent); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #0b0d13 0%, transparent); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #0b0d13 0%, transparent); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.header > h1 {
    margin: 0;
}

.header > h1 a {
    display: block;
    font-size: 1.3rem;
    color: #FFF;
    text-decoration: none;
    margin: 0.5em;
}

#menu {
    align-items: center;
}

#menu > ul, #menu_logon > ul {
    display: flex;
    justify-content: flex-end;
    margin: 0 20px;
}

#menu a {
    flex: 1;
    font-size: 1rem;
    padding: 0.5em 2em;
    margin: 0 5px;
    display: block;
    white-space: nowrap;
    letter-spacing: 0.3em;
}

#mypageMenu {
    display: none;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

#hamburger {
    height: 2rem;
    width: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 300;
}

#hamburger > div {
    width: 100%;
    height: 5px;
    border-radius: 1px;
    background: #FFF;
    transition: all 0.3s ease-in;
    transform-origin: left center;
}

#hambugerMenu {
    flex-direction: column;
    background: #777;
    width: 480px;
    margin: 0 0 0 auto;
    padding: 20px 70px 20px 50px;
}

#mypageMenu .openMenu {
    top: 0;
}

#hambugerMenu li {
    text-align: center;
    margin: 1.5em 0;
}

#hambugerMenu li:after {
    content: "";
    background: url(./svg/menuLine.svg) no-repeat center center;
    width: 100%;
    display: block;
    height: 10px;
}

#mypageMenu a {
    padding: 0.5em 0.5em 0 0.5em;
    text-decoration: none;
    color: #fff0a8;
    display: block;
}

.closex > div:nth-of-type(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: left center;
}
.closex > div:nth-of-type(2) {
    opacity: 0;
}
.closex > div:nth-of-type(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transform-origin: left center;
}



/* main */
main {
    flex: 1;
}

#userInfo {
    font-size: 1.6rem;
    margin-bottom: 1em;
    background: #252d42;
    border-bottom: 2px solid #bfb68a;
    padding: 0.5em 2em;
}

section, nav#mainMenu {
    margin-bottom: 5em;
}

section h2,
section h4,
section .center,
section#fee ul li,
section address
{
    text-align: center;
}

section h2:after, section h4:after, article h2:after {
    content: "";
    display:block;
    background: url(./svg/line.svg)  no-repeat center center;
    width: 5em;
    height: 1em;
    margin: 0 auto;
}

#cover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
}

#cover:after {
    content: "";
    background: url(./img/main.jpg) no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#catch > p {
    border: solid 1px #FFF;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    color: #FFF;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 3rem;
    padding: 0.5em;
    margin: 0 auto;
    letter-spacing: 0.3em;
    line-height: 2.5;
}

#newsRelease ul {
    background: #dadada;
    border: solid 1px #777;
    height: 10em;
    overflow-y: scroll;
    padding: 1em 2em;
}

#newsRelease li {
    border-bottom: solid 1px #f9f9f9;
}

#newsRelease a {
    color: #1700da;
    text-decoration: none;
}

#catch > aside {
    text-align: center;
    letter-spacing: 0.3em;
    line-height: 3;
}

#overview p {
    margin-bottom: 2em;
}

.introBox {
    color: #f33;
    background: #fee;
    font-weight: bold;
    border-radius: 5px;
    padding: 1em;
    margin: 0 auto 2em;
}

#introImage {
    padding: 2em;
}

#introImage li {
    position: relative;
    background: #696d7d;
    margin-bottom: 1em;
    padding: 1em 2em 2em 3em;
    box-shadow: 0 0 50px rgba(0,0,0,0.3) inset;
    line-height: 1.3;
}

#introImage li:first-child {
    border-radius: 20px 20px 0 0;
}

#introImage li:last-child {
    border-radius: 0 0 20px 20px;
}

#introImage li::before {
    content: url(./svg/line2.svg);
}

#introImage li i {
    position: absolute;
    font-size: 2.5rem;
    left: 0;
    right: 0;
    top: -1em;
    margin: 0 auto;
    width: 2em;
    height: 2em;
    border: solid 10px #1f2537;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    font-style: normal;
    line-height: 1.6;
    font-weight: bold;
}
#introImage li:nth-child(1) i { background: #b53333; }
#introImage li:nth-child(2) i { background: #223bad; }
#introImage li:nth-child(3) i { background: #186515; }

#introImage li h5 {
    font-size: 1.5rem;
    text-align: center;
    margin: 1em auto 1em;
    background: #e6e6e6;
    width: 80%;
    padding: 0.2em 3em;
}

#introImage li:nth-child(1) h5 { color: #b53333; }
#introImage li:nth-child(2) h5 { color: #223bad; }
#introImage li:nth-child(3) h5 { color: #186515; }


section iframe {
    max-width: 100%;
    margin: 0 auto 2em;
    display: block;
}

#scroll {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50px;
    text-align: center;
}

#scroll:after {
    content: "";
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    width: 1em;
    height: 1em;
    display: block;
    margin: auto;
}

@-webkit-keyframes sdb {
    0% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      -webkit-transform: rotate(-45deg) translate(-5px, 5px);
    }
    40% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
  }
  @keyframes sdb {
    0% {
      transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      transform: rotate(-45deg) translate(-5px, 5px);
    }
    40% {
      transform: rotate(-45deg) translate(0, 0);
    }
  }


article {
    text-align: left;
}

article h2 a {
    color: #FFF;
    text-decoration: none;
}


/* footer */
footer {
    color: #CCC;
    padding-top: 5em;
    text-align: center;
    font-size: 0.8rem;
    line-height: 3;
}

footer small {
    display: block;
}

/* top */
#overview cite {
    text-align: right;
    display: block;
    margin-left: auto;
    margin-right: 0;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: normal;
}

#overview cite img {
    width: 10em;
    margin-left: 1.5em; 
}

#countdown {
    margin: 2em auto 0;
    width: 250px;
    background: #000;
    border-radius: 3px;
    padding: 1em;
}

#countdown h3 {
    font-size: 1rem;
    margin-bottom: 1em;
}

.venueList {
    border: solid 1px #FFF;
    border-radius: 5px;
    padding: 1em 2em;
    list-style-type: disc;
    margin-bottom: 2em;
}

section#fee .venueList li {
    text-align: left;
}

.feeList {
    margin-bottom: 1em;
    line-height: 2;
}

.display {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    width: 60px;
    height: 100px;
    border: solid 4px #111;
    background-color: #111;
    overflow: hidden;
    margin: 0 5px;
}

.display::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    box-sizing: content-box;
}

.display::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 12px;
    border-top: solid 30px #111;
    border-bottom: solid 30px #111;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-sizing: content-box;
}

.d0::before {
    background-color: #333;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #90af52,
                0px  30px #90af52,
                30px   0px #90af52,
                30px  30px #90af52;
}

.d1::before {
    background-color: #333;
    box-shadow: -30px -30px #333,
                0px -30px #90af52,
                -30px   0px #333,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #333;
}

.d2::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #333,
                0px  30px #90af52,
                30px   0px #333,
                30px  30px #90af52;
}

.d3::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #333,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #90af52;
}

.d4::before {
    background-color: #90af52;
    box-shadow: -30px -30px #333,
                0px -30px #90af52,
                -30px   0px #90af52,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #333;
}

.d5::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #333,
                -30px   0px #90af52,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #90af52;
}

.d6::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #333,
                -30px   0px #90af52,
                0px  30px #90af52,
                30px   0px #90af52,
                30px  30px #90af52;
}

.d7::before {
    background-color: #333;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #90af52,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #333;
}

.d8::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #90af52,
                0px  30px #90af52,
                30px   0px #90af52,
                30px  30px #90af52;
}

.d9::before {
    background-color: #90af52;
    box-shadow: -30px -30px #90af52,
                0px -30px #90af52,
                -30px   0px #90af52,
                0px  30px #333,
                30px   0px #90af52,
                30px  30px #90af52;
}

/* privacyPolicy */
.privacyPolicy h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1em;
}

.privacyPolicy p, .privacyPolicy ol {
    margin-bottom: 3em;
}

.privacyPolicy ol {
    list-style-type: decimal;
    margin-left: 2em;
}

ol li > ol {
    margin: 1em 0 0 2em;
}

.privacyPolicy ol li {
    margin-bottom: 1em;
}



/* login */
#newMemberBtn {
    margin: 3em 0;
}

#newMemberBtn a {
    background: #ffffff;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5em 2em;
    border-radius: 2px;
    margin: 0 auto;
    width: 80%;
    display: block;
    text-align: center;
}

/* signin */
.invalid-feedback, .invalid-OK {
    display: none;
}


/* mypage */
#mypageIcons {
    display: flex;
    flex-flow: wrap;
}

#mypageIcons li {   
    margin: 24px;   
}

#mypageIcons li a {
    color: #FFF;
}

#mypageIcons li img {
    background: #bfb68a;
    border-radius: 7px;
    padding: 12px;
    width: 128px;
    height: 128px;
}

#mypageIcons li p {
    font-size: 0.8rem;
    text-align: center;
    padding-top: 3px;
}

aside.asideMess {
    max-width: 640px;
    margin: 0 auto 2em;
    border: solid 1px #FFF;
    border-radius: 5px;
    padding: 1em;
}

fieldset {
    background: #5f687d;
    border-radius: 5px;
}

legend{
    text-indent: 1em;
    color: #333;
    background: #d5d5da;
    border-radius: 5px 5px 0 0;
}

input[type=radio] {
    display: none;
}

input[type=radio] + label {
    padding: 1em 2em;   
}

input[type="radio"]:checked + label {
    background: url(./svg/checkMark.svg) no-repeat center center;
}

.inline-radio {
    text-align: center;
}

#tmb_new_lastname {
    width: 10em;
    margin: 0 auto;
}

#tmb_postal-code {
    width: 15em;
}

.addressInput input[type=text] {
    border: solid 1px #e6e6e6;
    background: #35405e;
    color: #FFF;
}

.addressInput input::placeholder {
	color: #a2975d;
}

button#close {
    padding: 1em;
    margin: 1em;
    color: #FFF;
    background: #a2975d;
    border-radius: 2px;
    border: none;
}

/* photo */
.photo img {
    width: 100%;
}

.photoAll .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 6px;
}

.photoAll .gallery a {
    display: block;
}

.photoAll .gallery a img {
    width: 100%;
}


/* attendance */
#tmb_attendanceTable {
    width: 100%;
    background: #e0ddd6;
}

#tmb_attendanceTable thead {
    background: #bfb68a;
}

#tmb_attendanceTable th, #tmb_attendanceTable td {
    border: solid 1px #333;
    color: #111;
    text-align: center;
}

#tmb_attendanceTable td {
    padding: 0.5em 1em;
    position: relative;
    color: #afafaf;
}

#tmb_attendanceTable select.form-control {
    width: 90%;
}

#tmb_attendanceTable option {
    text-align: center;
}

#tmb_attendanceTable tr:nth-child(even) {
    background: #f9f9f9;
}

#tmb_attendanceTable tr td:nth-child(2) {
    text-align: left;
}

#tmb_attendanceTable tr.entry td {
    color: #111;
}

#tmb_attendanceTable tr.enable td:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 90%;
    height: 90%;
    margin: auto;
    background: linear-gradient(transparent 80%, #ffff66b0 80%);
}



/* imgUpload */
#imageUpload {
    margin: 0 auto;
    padding: 1em 2em;
    text-align: center;
    border: 2px dotted #FFF;
    border-radius: 10px;
    position: relative;
}

#imageUpload.standby:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #ce1e7e transparent transparent transparent;
    position: absolute;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
    animation: arrow 1.2s infinite;
    z-index: 500;
}

@keyframes arrow {
  50% {
    bottom: -10px;
    opacity: 1;
  }
  100% {
    bottom: -30px;
    opacity: 0;
  }
}

#imageUpload p {
    margin: 0;
}

#imageUpload input {
    display: none;
}

#fileUPBtn {
    display: none;
    position: relative;
    top: -1.5em;
}

#photoList {
    display: flex;
    flex-wrap: wrap;
}

#photoList li {
    margin: 5px;
    border: solid 2px #FFF;
}


/* contacts */
textarea {
    margin: 0 auto;
    max-width: 100%;
}


/* faq */
#tmb_faq dt {
    padding: 0.5em 1em;
    color: #000;
    background: #bfb68a;
}

#tmb_faq dd {
    margin: 1em 0 5em 3em;
    padding: 0.5em 1em;
}

#faqToContacts {
    text-align: center;
}


/* Responsive */
/* @media screen and (max-width: 600px) {
    .mx900p0 .gallery a {
        width: 180px;
    }
} */

@media screen and (max-width: 560px) {
    .mx900 {
        padding: 0 1em;
    }

    .mx900p0 {
        padding: 0;
    }

    .photoAll {
        padding: 0 16px;
    }

    #menu a {
        font-size: 0.7rem;
    }

    #loginH4 {
        display: none;
    }

    #introImage {
        padding: 0;
    }

    #introImage li h5 {
        padding: 0;
    }

    .flex50 {
        display: block;
        flex-wrap: nowrap;
        justify-content: initial;
        width: 100%;
    }

    .flex50 .mbileChange {
        width: 100%;
        display: none;
    }

    #mypageIcons li {
        margin: 24px auto;
    }

    .flex50 .flex50Item {
        width: 100%;
        margin-bottom: 2em;
    }

    .attendance {
        padding: 0 5px;
    }

    #tmb_attendanceTable {
        line-height: 1;
    }

    #tmb_faq dd {
        margin: 1em 0 5em 0;
        padding: 0.5em 1em;
    }

    #hambugerMenu {
        width: 100%;
        padding: 20px 50px;
    }

    dialog {
        min-width: 280px;;
    }
}

.wp-block-table table {
	background: #fbfbfb;
	color: #535353;
}
.wp-block-table table th, .wp-block-table table td {
	border: solid 1px #666;
	padding: 0.8em;
    line-height: 1.3;
}
.wp-block-table table td a {
	color: #2aa723;
}
strong {
	font-size: 1.5rem;
	text-decoration: underline;
	color:#ff796a;
}
.wp-block-image img {
	width:auto;
}