/*
Theme Name: iouin
Author: Takahiro Watanabe
Description: iouin WordPress Theme
Version: 1.0
Text Domain: iouin
*/

/* ## All ## */
a {
  text-decoration: none;
}

.container {
    font-family: "Sawarabi Mincho", serif;
}

.kagami {
    font-family: 'font-kagami';
}

#body {
    background-image: linear-gradient(#ffffff 40%, #dcb5e5);
    background-repeat: no-repeat;
}

.left-padding-zero > div {
    padding-left: 0 !important;
}

.text-left-margin-250 {
    margin-left: 250px !important;
}

#wpcf7-f549-o1,
#wpcf7-f553-o1 {
    justify-items: anchor-center;
}

.required {
    color: red;
}

#event_calendar_table > table > thead {
    background-color: #E0C5DA;
}

.align-center {
    justify-self: center !important;
}

h2 {
    border-bottom: 1px solid #989898;
}

.contact-button {
    background: #eee;
    border-radius: 9999px;
    position: relative;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 15px 0 0;
    max-width: 250px;
    padding: 10px 25px;
    color: #333333;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-family: "Sawarabi Mincho", serif;
}

.contact-button:hover {
    background: #333333;
    color: #FFF;
}

.sb_instagram_header {
    border: 1px solid #989898;
}

/* ## PC ## */
@media screen and (min-width: 1080px) {

    .history_colum_right {
        width: 50%;
        justify-self: right;
    }

    /* ## Header ## */
    .header_area {
        position: sticky;
        top: 0;
        z-index: 999;
        background-color: white;
        padding: 0 40px 0 40px;
        line-height: 20px;
    }

    .header {
        width: 100%;
        border-collapse: collapse;
    }

    .header td {
        padding: 0;
    }

    .header tr td:first-child {
        width: 125px;
    }

    .header tr > td > a > img {
        width: 125px;
    }


    .global-menu_list {
        margin: 0 auto;
        padding: 0;
        display: flex;
    }

    .global-menu_list > li {
        width: 100%;
        height: 100px;
        line-height: 100px;
        text-align: center;
        align-content: center;
        list-style-type: none;
    }

    .global-menu_list > li > a {
        display: block;
    }

    /* ## main contents ## */
    .contents {
        margin: 0 40px 0 40px;
    }

    .catch {
        text-align: center;
        margin: 30px;
    }

    .notification {
        min-height: 10px;
        border: 1px solid #989898;
        background-color: #ffffff;
    }

    .notification > ul {
        padding-left: 50px;
        padding-right: 35px;
        line-height: 35px;
    }

    .notification > ul > li {
        list-style-type: none;
        display: flex;
        margin-bottom: 15px;
    }

    .notification > ul > li > span,
    .notification > ul > li > a {
        margin-left: 10px;
    }

    .info_monologue {
        border: 1px solid #7572fd;
        border-radius: 25px;
        height: fit-content;
    }

    .info_monologue > div {
        font-size: medium;
        padding: 0 10px 0 10px;
        color: #7572fd;
        width: 115px;
        text-align: center;
    }

    .info_notification {
        border: 1px solid #fc6666;
        border-radius: 25px;
        height: fit-content;
    }

    .info_notification > div {
        font-size: medium;
        padding: 0 10px 0 10px;
        color: #fc6666;
        width: 115px;
        text-align: center;
    }

    .priority > ul {
        display: flex;
        justify-content: space-evenly;
        margin: 0 0 20px 0;
        padding-left: 0;
    }

    .priority > ul > li {
        list-style-type: none;
        width: 100%;
        text-align: center;
        border: 1px solid #989898;
    }

    .priority > ul > li:nth-child(even) {
        margin-left: 20px;
        margin-right: 20px;
    }

    .priority > ul > li > a {
        display: block;
    }

    /* ## Custom single page ## */
    .single_page {
        margin-top: 50px;
    }

    .eye_catch {
        text-align: center;
        place-self: center;
        max-width: 1275px;
    }
    
    .eye_catch > img {
        width: -webkit-fill-available;
        height: auto;
    }

    .post_list > ul > li {
        list-style-type: none;

    }

    .post_list > ul > li > a {
        margin-left: 10px;
    }
    
    .old_img_size > img {
        width: 1024px;
    }

    /* ## Footer ## */
    .footer {
        margin: 0 40px 0 40px;
    }

    .line {
        width: 100%;
        color: #989898;
    }

    .f-contents {
        display: flex;
        margin: 0 60px 0 60px;
    }

    .f-info {
        width: 34%;
    }

    .f-menu {
        width: 22%;
    }

    .f-menu ul {
        padding-left: 0;
    }

    .f-menu ul > li {
        list-style-type: none;
        padding-left: 20px;
    }

    .f-menu ul > li:first-child {
        padding-left: 0;
        border-bottom: 1px solid #000;
        display: inline-block;
    }

    .copyright {
        text-align: center;
        padding-bottom: 10px;
    }

}

/* ## タブレット ##*/
@media screen and (min-width: 760px) {
}

/* ## スマホ ##*/
@media screen and (max-width: 500px) {

    .wp-block-list {
        margin-left: -15px !important;
    }

    .smp_text_media > figure > img {
        width: auto !important;
    }

    .history_colum_right {
        width: 90%;
        justify-self: right;
    }

    .text-left-margin-250 {
        margin-left: 235px !important;
    }

    /* ## Header ## */
    .header_area {
        position: sticky;
        top: 0;
        z-index: 999;
        background-color: white;
        padding: 0;
    }

    .header {
        width: 100%;
        border-collapse: collapse;
    }

    .header tr td:first-child {
        width: 85px;
    }

    .header tr > td > a > img {
        width: 85px;
    }

    .global-menu_list {
        margin: 0 auto;
        padding: 0;
        display: flex;
    }

    .global-menu_list > li {
        width: 100%;
        height: 100px;
        line-height: 100px;
        text-align: center;
        align-content: center;
        list-style-type: none;
    }

    .global-menu_list > li > a {
        display: block;
    }

    /* ## main contents ## */
    .contents {
        margin: 0 20px 0 20px;
        font-size: small;
    }

    .catch {
        text-align: center;
        margin: 30px;
    }

    .catch > img {
        width: -webkit-fill-available;
    }

    .notification {
        min-height: 10px;
        border: 1px solid #989898;
        background-color: #ffffff;
    }

    .notification > ul {
        padding-left: 15px;
        padding-right: 15px;
    }

    .notification > ul > li {
        list-style-type: none;
        display: flex;
        margin-bottom: 15px;
    }

    .notification > ul > li > span,
    .notification > ul > li > a {
        margin-left: 10px;
    }

    .info_monologue > div {
        border: 1px solid #7572fd;
        border-radius: 25px;
        height: fit-content;
    }

    .info_monologue > div {
        font-size: x-small;
        padding: 0 5px 0 5px;
        color: #7572fd;
        width: 70px;
    }

    .info_notification > div {
        border: 1px solid #fc6666;
        border-radius: 25px;
        height: fit-content;
    }

    .info_notification > div {
        font-size: x-small;
        padding: 0 5px 0 5px;
        color: #fc6666;
        width: 70px;
    }

    .priority > ul {
        display: inline;
        margin: 0 0 20px 0;
        padding-left: 0;
    }

    .priority > ul > li {
        list-style-type: none;
        width: 100%;
        text-align: center;
        border: 1px solid #989898;
        margin-bottom: 5px;
    }

    .priority > ul > li > a {
        display: block;
    }

    /* ## Custom single page ## */
    .single_page {
        margin-top: 50px;
    }

    .eye_catch {
        text-align: center;
        place-self: center;
    }

    .eye_catch > img {
        width: -webkit-fill-available;
        height: auto;
    }

    .post_list > ul > li {
        list-style-type: none;

    }

    .post_list > ul > li > a {
        margin-left: 10px;
    }

    .wp-block-group,
    .wp-block-media-text__content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #g-map {
        width: 340px !important;
        height: 300px !important;
    }

    .old_img_size > img {
        width: 350px;
    }

    /* ## Footer ## */
    .footer {
        margin: 0 20px 0 20px;
    }

    .line {
        width: 100%;
        color: #989898;
    }

    .copyright {
        text-align: center;
        padding-bottom: 10px;
        font-size: x-small;
    }

}
