@charset "utf-8";

/* あ */

header#masthead {
    background-image: url(/wp/wp-content/plugins/wtcustom/images/top.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


section.flex-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1.8;
}

div.oneday-item {
    margin: 1.0% 0.5%;
    padding: 1.0%;
    width: 99.0%;
}

div.oneday-item h4 {
    margin: 1.5% 0 1%;
}

div.contents-item {
    margin: 1.0% 0.5%;
    padding: 2.0%;
    width: 99.0%;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    box-shadow: 0 0 2px #cccccc;
    border-radius: 4px;
    transition: 0.5s;
}
div.contents-item:hover {
    border: 1px solid #999999;
    background-color: #ffffee;
}

div.contents-item p {
    margin: 0.5em 0;
    text-indent: 1.0em;
}

div.contents-item.flex-box div.wtcustom-left {
    width: calc( 100% - 160px );
    padding-right: 1.0em;
}

div.contents-item div.wtcustom-thumb {
    float: right;
    width: 120px;
    margin-left: 10px;
}
div.contents-item div.wtcustom-thumb img {
    border-radius: 4px;
}

@media screen and ( min-width: 1400px ) {
    div.oneday-item,
    div.contents-item {
        width: 49.0%;
    }
    div.contents-item div.wtcustom-thumb {
        width: 160px;
    }
}

div.contents-item div.wtcustom-title {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}
div.contents-item div.wtcustom-title a {
    color: #333399;
    text-decoration: none;
    transition: 0.2s;
}
div.contents-item div.wtcustom-title a:hover {
    color: #0000cc;
}

@media screen and ( min-width: 800px ) {
    div.contents-item div.wtcustom-title {
        font-size: 2.0rem;
    }
}

div.contents-item div.wtcustom-category-flex {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

div.contents-item div.wtcustom-category-flex a.wtcustom-category-item {
    display: block;
    margin: 0 2px 0 0;
    padding: 4px 8px;
    line-height: 1.0;
    color: #333333;
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #cccccc;
    background-color: #eeeeee;
    box-shadow: 0 0 2px #cccccc;
    transition: 0.2s;
}
div.contents-item div.wtcustom-category-flex a.wtcustom-category-item:hover {
    border: 1px solid #ffff00;
    background-color: #ffff99;
}

div.contents-item div.wtcustom-date {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 400;
    color: #666666;
}

div.contents-item div.wtcustom-content {
    margin: 16px 0 0 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #666666;
    font-weight: 400;
    clear: both;
}

@media screen and ( min-width: 800px ) {
    div.contents-item div.wtcustom-category {
        font-size: 1.4rem;
    }
    div.contents-item div.wtcustom-date {
        font-size: 1.4rem;
    }
    div.contents-item div.wtcustom-content {
        font-size: 1.4rem;
    }
}


table.ws-list {
    border-collapse: collapse;
}
table.ws-list > thead > tr > th {
    padding: 2px 8px;
    background-color: #ccffcc;
    border: 1px solid #cccccc;
}
table.ws-list > tbody > tr > td {
    padding: 2px 8px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}


/* ページネーション */
div.wtcustom-pagination {
    margin: 0;
    padding: 8px 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

div.wtcustom-pagination > span.current {
    display: block;
    margin: 0 2px;
    padding: 2px 10px;
    color: #ffffff;
    border: 1px solid #000099;
    border-radius: 4px;
    background-color: #000099;
}

div.wtcustom-pagination > a.page-numbers {
    display: block;
    margin: 0 2px;
    padding: 2px 10px;
    width: 64px;
    color: #000099;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #000099;
    border-radius: 4px;
    background-color: #ffffff;
    transition: 0.5s;
}

div.wtcustom-pagination > a.page-numbers:hover {
    color: #ffffff;
    border: 1px solid #000099;
    background-color: #000099;
}


/* テロップ */
nav.wtcustom-telop {
    width: 100%;
    overflow-x: hidden;
}
nav.wtcustom-telop > div.wtcustom-anim {
    display: inline-flex;
    flex-wrap: nowrap;
    min-width: 100%;
    /* animation: anim-telop 10.0s linear 0.0s infinite; */
}
@keyframes anim-telop {
    0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
nav.wtcustom-telop > div.wtcustom-anim > div {
    padding-right: 5.0em;
    white-space: nowrap;
    font-size: 1.6rem;
}

@media screen and ( min-width: 800px ) {
    nav.wtcustom-telop > div.wtcustom-anim > div {
        font-size: 2.0rem;
    }
}


/* WordPress Popular Posts */
#side aside ul.wpp-list {
    margin: 0;
}

#side aside ul.wpp-list li {
    margin: 0;
    padding: 1.0em 0;
    line-height: 1.4;
}

#side aside ul.wpp-list li + li {
    border-top: 1px dotted #cccccc;
}

#side aside ul.wpp-list li  a {
    display: block;
    margin: 0 0 1.0em 0;
    font-size: 1.3rem;
    font-weight: bold;
}


/* 年間予定表 */
div.wtcustom-nowmonth {
    font-size: 150%;
    font-weight: bold;
    text-align: center;
}

p.wtcustom-month-buttons {
    margin: 8px 0;
    display: flex;
    justify-content: center;
}

p.wtcustom-month-buttons > button {
    margin: 0 4px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.5s;
}

p.wtcustom-month-buttons > button:hover {
    background-color: #ffff99;
}

table.wtcustom-schedule {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    /* table-layout: fixed; */
    border-collapse: collapse;
}

table.wtcustom-schedule > thead > tr > th,
table.wtcustom-schedule > tfoot > tr > th {
    margin: 0;
    padding: 4px 8px;
    border: 1px solid #cccccc;
    background-color: #ccffcc;
    font-weight: bold;
}

table.wtcustom-schedule > tbody > tr > td {
    margin: 0;
    padding: 4px 8px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    transition: 0.5s;
}

table.wtcustom-schedule > tbody > tr.today > td {
    background-color: #eeffee;
}

table.wtcustom-schedule > tbody > tr:hover > td {
    background-color: #ffffcc;
}

section.wtcustom-schedule-mobile {
    margin: 1.0% 0;
    padding: 1.0%;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    transition: 0.5s;
}

section.wtcustom-schedule-mobile.today {
    background-color: #eeffee;
}

section.wtcustom-schedule-mobile:hover {
    background-color: #ffffcc;
}


table.wtcustom-sidebar-calendar {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table.wtcustom-sidebar-calendar caption {
    margin: 0;
    padding: 4px;
    caption-side: top;
    border: 1px solid #333333;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

table.wtcustom-sidebar-calendar thead tr th {
    margin: 0;
    padding: 6px;
    background-color: #333333;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

table.wtcustom-sidebar-calendar thead tr th + th {
    border-left: 1px solid #ffffff;
}

table.wtcustom-sidebar-calendar tbody tr td {
    margin: 0;
    padding: 6px;
    border: 1px solid #333333;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}

table.wtcustom-sidebar-calendar tbody tr td a {
    color: #0000cc;
    font-weight: bold;
    text-decoration: underline;
}

/* 問い合わせフォーム */
div.wtcustom-inquiry {
    margin: 8px 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}
div.wtcustom-inquiry > div.wtcustom-inquiry-title {
    margin: 0;
    padding: 0;
    width: 10.0em;
    display: flex;
    align-items: center;
    font-weight: bold;
}
div.wtcustom-inquiry > div.wtcustom-inquiry-form {
    margin: 0;
    padding: 0;
    width: calc( 100% - 10.0em );
    display: flex;
    align-items: center;
}
div.wtcustom-inquiry > div.wtcustom-inquiry-form > input {
    width: 100%;
}
div.wtcustom-inquiry > div.wtcustom-inquiry-form > textarea {
    width: 100%;
    height: 10.0em;
}
div.wtcustom-inquiry > div.wtcustom-inquiry-form > input.error,
div.wtcustom-inquiry > div.wtcustom-inquiry-form > textarea.error {
    border: 2px solid #ff0000;
}

div.wtcustom-thanks {
    margin: 16px;
    padding: 1.0em;
    background-color: #ffeeff;
    text-align: center;
}

input[type="submit"].wtcustom-button {
    margin: 0;
    padding: 12px 32px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    background-color: #000099;
    border: 0;
    outline: 0;
    transition: 0.5s;
}
input[type="submit"].wtcustom-button:focus {
    outline: 0;
}
input[type="submit"].wtcustom-button:hover {
    outline: 0;
    opacity: 0.5;
}
