@charset "utf-8";

/* --------------------------------
   Reset
-------------------------------- */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Montserrat', "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
        "ヒラギノ角ゴ Pro W3", 'Noto Sans JP', 'Roboto', 游ゴシック体, "Yu Gothic",
        YuGothic, Meiryo, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    color: #5a4f4a;
    background: #fff;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* --------------------------------
   General
-------------------------------- */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    outline: none;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.century {
    font-family: Century;
}

.br-sp {
    display: none;
}

.post-password-form {
    margin-top: 30px;
}

.wp-block-embed iframe {
    width: 100%;
    height: 675px;
}

/* --------------------------------
   Visual Area
-------------------------------- */
.visualarea {
    width: 1200px;
    margin: 0 auto;
}

/* --------------------------------
   Link / List / Text
-------------------------------- */
#main a {
    text-decoration: none;
    color: #4169e1;
}

#main a:hover {
    color: #00a3db;
    text-decoration: underline;
}

#main ul,
ol {
    padding-left: 1.5em;
    margin-bottom: 15px;
}

ul.m7 li {
    margin-bottom: 7px;
}

ol li {
    margin-bottom: 10px;
}

ul.icon {
    padding-left: 0 !important;
}

ul.icon li {
    list-style: none;
}

ul.icon li::before {
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

ul.list {
    padding-left: 0 !important;
    margin-bottom: 30px;
}

ul.list li {
    list-style: none;
    border-bottom: 1px dotted #999;
    padding: 10px 0;
}

ul.list li:first-child {
    border-top: 1px dotted #999;
}

/* --------------------------------
   Form
-------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    font-family: "メイリオ";
    font-size: 18px;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #bbb;
}

input[type="text"] {
    width: 265px;
}

input[type="email"] {
    width: 500px;
}

input[type="password"] {
    width: 150px;
}

textarea {
    width: 500px;
    height: 100px;
}

input[type="submit"] {
    padding: 5px;
    border-radius: 3px;
    margin-top: 15px;
}

/* --------------------------------
   Layout（PC）
-------------------------------- */
#wrapper,
#main,
#mainall,
#side {
    width: 100%;
    height: auto;
}

#main {
    overflow: hidden;
    max-width: 54.688%;
    min-width: 1050px;
    margin: 0 auto;
    display: flex;
}

#mainall {
    max-width: 1050px;
    margin: 15px auto 0;
}

#main article {
    margin: 15px 2.5%;
}

#main aside {
    width: 0;
    margin: 15px 0;
}

#main article.top {
    width: 68%;
}

#main aside.top {
    width: 22%;
    margin: 15px 2.5%;
}

/* --------------------------------
   Header
-------------------------------- */
#toparea {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    background: #fff;
    border-top: 3px solid #0c0018;
    box-shadow: 0 9px 3px -3px rgba(0, 0, 0, .6);
    animation: rainbow 10s ease infinite alternate;
    z-index: 100;
}

@keyframes rainbow {
    0% {
        border-top-color: #662d91;
    }

    25% {
        border-top-color: #3fa9f5;
    }

    50% {
        border-top-color: #d9e021;
    }

    75% {
        border-top-color: #fbb03b;
    }

    100% {
        border-top-color: #c1272d;
    }
}

#title {
    display: flex;
    align-items: center;
    margin: 15px 0 15px 15px;
}

#title h1 {
    margin: 0 15px;
}

#title h1.sm {
    display: none;
}

#univ {
    position: absolute;
    top: 3px;
    right: 25px;
}

#univ a {
    background: #0c0018;
    color: #fff;
    padding: 5px;
    text-decoration: none;
}

#univ a:hover {
    text-decoration: underline;
}

#language {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
}

#language img {
    width: 100%;
    height: auto;
}

/* --------------------------------
   Navigation（PC）
-------------------------------- */
#humberger {
    display: none;
}

#drawernav {
    width: 100%;
    height: 50px;
    background: #0c0018;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 3px -3px rgba(10, 10, 10, .4);
    position: relative;
    z-index: 100;
}

#drawernav ul {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding-left: 0;
}

#drawernav ul li {
    list-style: none;
}

#drawernav ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 15px;
    text-decoration: none;
}

#drawernav ul li a:hover,
#drawernav ul li.current-menu-item a {
    color: #ccc32c;
}

/* Submenu – PC */
.menu-item-has-children {
    position: relative;
    cursor: pointer;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    background: #0c0018;
    padding: 0;
    z-index: 9999;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.sub-menu > .menu-item:not(:last-child) {
    border-bottom: 1px dotted #fff;
}

.sub-menu > .menu-item a {
    display: block;
    padding: .5em 0;
    color: #fff;
}

.sub-menu > .menu-item a:hover {
    color: #ccc32c;
}

/* --------------------------------
   Headings
-------------------------------- */
h2 {
    font-size: 32px;
    color: #0c0018;
    margin: 30px 0;
    padding-left: .7em;
    border-left: 7px solid #0c0018;
}

h3 {
    font-size: 26px;
    color: #0c0018;
    margin: 30px 0 15px;
    padding: .25em 0;
    position: relative;
}

h3::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(to right, rgba(12, 0, 24, 1), rgba(12, 0, 24, 0));
}

h4 {
    font-size: 18px;
    font-weight: bold;
    color: #ccc32c;
    margin: 5px 0;
}

.lar {
    font-size: 20px;
    font-weight: bold;
}

.huge {
    font-size: 32px;
    font-weight: bold;
}

.mid1 {
    font-size: 16px;
    font-weight: bold;
}

.mid2 {
    font-size: 24px;
    font-weight: bold;
}

/* --------------------------------
   Main Article
-------------------------------- */
#main article p {
    margin-bottom: 15px;
}

#main article figure {
    margin-bottom: 15px;
}

#main article figcaption {
    text-align: center;
}

#main article #map {
    width: 100%;
    margin-bottom: 15px;
}

#main article #map iframe {
    width: 100%;
    height: 350px;
}

p.about {
    background: #fff;
    color: #5a4f4a;
    font-weight: bold;
    padding: 15px 30px;
    line-height: 2;
}

#main article table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #0c0018;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#main article table tr:nth-child(odd) {
    background: #ebeff3;
}

#main article th,
#main article td {
    border: 1px solid #0c0018;
    padding: .5em;
}

/* --------------------------------
   Information
-------------------------------- */
#main article #information {
    width: 100%;
    height: 500px;
    overflow-y: scroll;
}

#main article #information li {
    margin-right: 1em;
}

/* --------------------------------
   Blog
-------------------------------- */
.blog-item {
    display: flex;
    width: 100%;
}

.blog-left {
    width: 150px;
    margin-right: 30px;
}

.blog-left img {
    max-width: 150px !important;
}

/* --------------------------------
   Banner
-------------------------------- */
#banner {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
}

#banner a img {
    padding: 15px;
}

/* --------------------------------
   Footer
-------------------------------- */
footer {
    border-top: 1px solid #0c0018;
    margin-top: 80px;
    background: #fff;
}

#footerarea {
    display: flex;
    align-items: center;
    padding-top: 30px;
    max-width: 49.48%;
    min-width: 950px;
    margin: 0 auto;
}

#footerleft {
    width: 40%;
}

#footerright {
    width: 60%;
}

#footerright iframe {
    width: 100%;
    height: 297px;
}

footer address.en {
    margin-top: 30px;
}

footer address.tw {
    margin-top: 15px;
}

address {
    font-size: 16px;
    font-style: normal;
}

#copy {
    font-size: 12px;
    padding: 30px 0;
    text-align: center;
}

#gototop {
    position: fixed;
    bottom: 3px;
    right: 10px;
}

#gototop img {
    width: 50px;
    height: 50px;
}

/* --------------------------------
   list9 Custom Counter
-------------------------------- */
ol.defaultlist {
    padding-left: 0 !important;
    margin-left: -2em;
}

.defaultlist li {
    list-style: none;
    margin: 15px 0 15px 30px;
}

.list9 {
    counter-reset: li;
}

.list9 li {
    position: relative;
    padding: 5px 0 5px 50px;
    background: #fff;
}

li.list9-count:nth-child(odd)::after,
li.list9-count:nth-child(even)::after {
    counter-increment: li;
    content: counter(li);
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    border-radius: 2px;
}

li.list9-count:nth-child(odd)::after {
    background: #a99973;
    border: 2px solid #a99973;
}

li.list9-count:nth-child(even)::after {
    background: silver;
    border: 2px solid silver;
}

li.list9-count::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 33px;
    border-top: 8px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid transparent;
}

li.list9-count:nth-child(odd)::before {
    border-left: 13px solid #a99973;
}

li.list9-count:nth-child(even)::before {
    border-left: 13px solid silver;
}

/* --------------------------------
   Tablet（〜1200px）
-------------------------------- */
@media screen and (max-width: 1200px) {

    /* レイアウト調整 */
    #main,
    #mainall,
    #footerarea {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* ヘッダー */
    #toparea {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        height: auto;
        text-align: left;
        border-bottom: 1px solid #0c0018;
    }

    #title {
        margin: 0;
        display: flex;
        align-items: center;
    }

    #title img {
        width: 150px;
        height: auto;
    }

    #title h1 img {
        width: 270px;
        height: auto;
    }

    #language {
        margin-right: 100px;
        display: flex;
    }

    #language img {
        width: 200px;
        height: auto;
    }


    #humberger {
        display: block !important;
    }

    .visualarea {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Drawer Menu ベース */
    #drawernav {
        height: auto;
        padding: 10px 0 0;
        box-shadow: none;
        background: none;
    }

    /* メイン */
    #main {
        flex-direction: column;
        max-width: 100% !important;
        padding: 0;
        margin: 0 auto;
    }

    #main article {
        margin: 0;
        padding: 20px;
    }

    #main aside {
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    /* 画像サイズ調整 */
    #main article img {
        width: 100%;
        height: auto;
    }

    #main article table th,
    #main article table td {
        padding: 0.3em;
    }

    /* ブログ一覧 */
    .blog-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .blog-left {
        width: 150px;
        margin-right: 15px;
    }

    .blog-left img {
        width: 150px !important;
    }

    /* 見出し調整 */
    h2 {
        font-size: 28px;
        margin-top: 20px;
    }

    h3 {
        font-size: 22px;
    }

    /* 情報一覧（スクロール高さ固定）*/
    #main article #information {
        height: 350px;
    }

    /* banner */
    #banner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    #banner a img {
        padding: 10px;
        max-width: 45%;
    }

    /* フッター */
    #footerarea {
        flex-direction: column;
        align-items: flex-start;
        min-width: auto;
        padding: 20px 20px 0;
    }

    #footerleft {
        text-align: left;
        width: 50%;
    }

    #footerright {
        width: 100%;
    }

    #footerleft img {
        margin-bottom: 30px;
    }

    #copy {
        padding: 20px 0;
    }

    /* br-sp 表示 */
    .br-sp {
        display: inline;
    }

    /* ドロワー基準位置 */
    #wrapper {
        position: relative;
        z-index: 2;
        left: 0;
        transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
    }

    #drawernav {
        position: fixed;
        top: 0;
        right: -245px;
        width: 240px;
        height: 100%;
        background: #ffffff;
        box-shadow: -3px 0px 3px -1px rgba(0, 0, 0, 0.6);
        color: #5a4f4a;
        z-index: 1;
        padding-top: 40px;
        transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
        border-left: 1px solid #0c0018;
    }

    #drawernav ul {
        display: none;
    }

    #humberger {
        position: absolute;
        top: 5px;
        right: 10px;
        z-index: 3;
        width: 25px;
        padding: 20px 10px;
        cursor: pointer;
    }

    #icon-bar1,
    #icon-bar2,
    #icon-bar3 {
        height: 2px;
        background: #5a4f4a;
        display: block;
        margin-bottom: 6px;
        transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
    }

    .fixed-content {
        right: inherit;
        width: 100%;
        z-index: 2;
        transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
    }

    #overlay {
        z-index: -1;
        opacity: 0;
        background: #ffffff;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        position: fixed;
        transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
    }

    body.drawer-opened #wrapper {
        left: -240px;
    }

    body.drawer-opened .fixed-content {
        left: -240px;
    }

    body.drawer-opened #drawernav {
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* ドロワーメニュー全体で縦方向の間隔を均等にする */
    body.drawer-opened #drawernav ul {
        list-style: none;
        padding-left: 0;
        margin-top: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    body.drawer-opened #drawernav ul li {
        width: 100%;
        height: auto;
        padding-top: 30px;
        text-align: center;
    }

    /* 子メニューも均等に並べる */
    body.drawer-opened #drawernav ul li ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }

    /* サブメニュー行 */
    body.drawer-opened #drawernav ul li ul li a {
        font-size: 12px;
        padding: 8px 0;
    }

    body.drawer-opened #drawernav ul li a {
        color: #5a4f4a;
    }

    body.drawer-opened #drawernav ul li a:hover,
    body.drawer-opened #drawernav ul li.current-menu-item a {
        color: #ccc32c;
    }

    body.drawer-opened #humberger {
        position: fixed;
        top: 5px;
        right: 10px;
        z-index: 3;
        width: 25px;
        padding: 20px 10px;
        cursor: pointer;
    }

    body.drawer-opened #humberger #icon-bar1,
    body.drawer-opened #humberger #icon-bar2,
    body.drawer-opened #humberger #icon-bar3 {
        background: #5a4f4a;
    }

    body.drawer-opened #humberger #icon-bar1 {
        transform: translate(0, 8px) rotate(45deg);
    }

    body.drawer-opened #humberger #icon-bar2 {
        opacity: 0;
    }

    body.drawer-opened #humberger #icon-bar3 {
        transform: translate(0, -8px) rotate(-45deg);
    }

    body.drawer-opened #overlay {
        z-index: 3;
        opacity: 0.3;
        left: -240px;
    }
}

/* --------------------------------
   Smartphone（〜768px）
-------------------------------- */
@media screen and (max-width: 768px) {

    /* 全体フォント調整 */
    html,
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    /* 余白調整 */
    #main,
    #mainall,
    #footerarea {
        padding: 0 15px;
    }

    input[type="text"],
    input[type="email"] {
        width: 100%;
    }

    input[type="password"] {
        width: 200px;
    }

    textarea {
        width: 100%;
        height: 150px;
    }

    /* ヘッダー */
    #title img {
        width: 100px;
        height: auto;
    }

    #title h1 img {
        width: 180px;
        height: auto;
    }

    #univ {
        position: static;
        margin-top: 10px;
    }

    #language {
        margin: 10px auto 0;
        justify-content: center;
    }

    #language {
        display: none !important;
    }

    #humberger {
        display: block !important;
        position: absolute;
        top: 5px;
        right: 10px;
        z-index: 3;
        width: 25px;
        padding: 20px 10px;
        cursor: pointer;
    }

    /* サイドメニュー */
    #main {
        flex-direction: column;
        padding: 0;
    }

    #main article {
        max-width: 100%;
        margin: 0;
        padding: 20px 20px;
    }

    #main aside {
        max-width: 100%;
        padding: 10px 10px;
        margin: 0;
    }

    /* ブログカード縦並び */
    .blog-item {
        flex-direction: column;
        padding: 15px 0;
    }

    .blog-left {
        width: 150px;
        margin: 0 auto;
        text-align: center;
    }

    .blog-left img {
        max-width: 150px !important;
        height: auto;
    }

    /* iframe幅100% */
    .wp-block-embed iframe,
    #main article #map iframe {
        height: 250px;
        width: 100%;
    }

    /* info（お知らせ）高さ調整 */
    #main article #information {
        height: 300px;
    }

    /* 見出し */
    h2 {
        font-size: 24px;
        border-left-width: 5px;
        margin-top: 20px;
    }

    h3 {
        font-size: 20px;
        margin-top: 20px;
    }

    h4 {
        font-size: 16px;
    }

    /* スマホ専用改行 */
    .br-sp {
        display: inline;
    }

    /* バナー */
    #banner a img {
        max-width: 48%;
        padding: 8px;
    }

    /* フッター */
    #footerarea {
        padding: 20px 0 0;
    }

    #footerleft,
    #footerright {
        width: 100%;
        text-align: center;
    }

    #copy {
        font-size: 11px;
        padding: 10px 0 20px;
    }

    /* list9 */
    .list9 li {
        padding-left: 45px;
        font-size: 14px;
    }

    li.list9-count::after {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 14px;
    }

    li.list9-count::before {
        top: 6px;
        left: 28px;
    }
}
