/*---------------------------------------------------------
サイト固有の定義を設定する場合は、このファイルに追記してください。
---------------------------------------------------------*/

/*ロゴの大きさを調整（header.php）*/
.logo {
    max-width: 240px;
    margin-top: 18px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
}
.logo_left {
    max-width: 240px;
    margin-top: 18px;
    margin-bottom: 18px;
}

/*ヘッダーの背景色を調整（header.php）*/
header {
    background-color: #333;
}

/*フロントページで使用する背景色（front-page.php）*/
.bgcolor-1 {
    background-color: #333;
}
.bgcolor-2 {
    background-color: #886F4A;
    margin-top: 2em;
    margin-bottom: 4em;
    padding-top: 2em;
    padding-bottom: 3em;
}

/*フロントページでスクロールする写真の大きさを調整（front-page.php）*/
.slick-slide img {
    width: 680px;
    height: 320px;
    max-height: 480px;
    object-fit: cover;
}

/*フロントページでスクロールする写真の加工（front-page.php）*/
.monotone {
    filter: sepia(80%);
}

/*フロントページのリンクメニュー（front-page.php）*/
.bgcolor-1.link_icon {
    padding: 1rem;
}

/*フロントページ<?php the_content(); ?>に上下の余白をつける（front-page.php）*/
.mt_3em {
    margin-top: 3em;
    margin-bottom: 3em;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-size: 1.25em;
    line-height: 2em;
}

.mt_2em {
    margin-top: 2em;
}

hr {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    border-top: 1px solid #ccc;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    display: block;
    background-color: #ede6dc;
    border-left: 4px solid #b89d72;
    margin: 0 0 0.5em 0;
    padding: 14px 0.5em 13px 0.25em;
    color: #333333;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

/*フロントページの白角丸の背景（front-page.php）*/
.frontpage_block {
    background-color: #fff;
    border-radius: 0.75em;
    box-shadow: 3px 3px 5px rgb(0 0 0 / 40%);
    padding-top: 1em;
    padding-bottom: 3.5rem;
    margin-bottom: 4rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
    .frontpage_block {
     max-width: 100%;
    }
    .col-md-10.w80vh {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/*フロントページのイベントループでカード様式の背景をつける（loop_sub_eventinfo_1.php）*/
.event_bg {
    background-color: #fff;
    padding: 0.8em;
    margin-bottom: 1em;
    box-shadow: 3px 3px 5px rgb(0 0 0 / 40%);
}

/*イベントループのサムネイル画像（loop_sub_eventinfo_1.php）*/
img.event_thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/*イベントループのリンクボタン（loop_sub_eventinfo_1.php）*/
.link_button a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 220px;
    padding: 10px 25px;
    color: #886F4A;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #eee;
}
.link_button a:hover {
    background: #ede6dc;
    color: #886F4A;
}
.link_button a:before, .link_button a:after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
.link_button a:before {
  top: 0;
  left: 0;
}
.link_button a:after {
  bottom: 0;
  right: 0;
}
.link_button a:hover:before, .link_button a:hover:after {
  width: 100%;
  height: 100%;
}
.link_button a:hover:before {
  border-top-color: #886F4A;
  border-right-color: #886F4A;
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}
.link_button a:hover:after {
  border-bottom-color: #886F4A;
  border-left-color: #886F4A;
  transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}

/*トッピクス一覧の「日付」や、イベント情報の「項目」に背景色を設定する*/
p.event_info ,
.topics-date {
    font-weight: bold;
    color: #fff;
    background-color: #333;
    text-align: center;
}

/*シングルページの画面高さをブラウザのサイズに合わせる（single.php）*/
.min-height {
    min-height: 80vh;
}

.event_photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 2em;
}

/*ページのタイトルを装飾する（single.php、archive.php、page-mini.php）*/
.page-title {
    position: relative;
    text-align: center;
    font-size: xx-large;
    color: #fff;
    padding: 1em 0;
    margin-bottom: 1em;
    background-color: #ede6dc;
    color: #333333;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

/*SP表示の時、ループのアイキャッチ画像の横幅を調整する（single.php、archive.php）*/
@media (max-width: 767px) {
    .img-wrap img {
        display: block;
        width: 100%;
        height: 250px;
        object-fit: cover;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.75em;
    }
}

/*メインループで設定されている画像の表示サイズを調整（元々はloop_main_archive.cssに記載あり）*/
.img-wrap img {
    display: block;
    width: 230px;
    height: 230px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

/*投稿記事の一覧、イベントの一覧、へのリンクボタン（Bootstrap）いち・配色を調整*/
.event_ichiran {
    display: block;
    text-align: center;
}
.event_ichiran a.btn.btn-default {
    border: none;
    border-radius: 18px;
    font-size: small;
    margin-top: 2em;
}

/*フロントページ以外のページのヘッダーで、ロゴ・ヘッダーメニューを画面左右両端に寄せる（header-2.php）*/
.container2 {
    margin-left: 2rem;
    margin-right: 2rem;
}

body.wp-autoresize {
    padding-left: 10px !important;
}

/*Contactform7の入力エリア調整*/
.wpcf7-submit,
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-previous {
    width: 100%;
}
.wpcf7-spinner {
    display: none;
}

/*------- page-mini.phpおよびsingle-eventinfo.phpで、コンテンツ下に余白を設定する -------*/
.mb2rem {
    margin-bottom: 2rem;
}






.H100vh {
    height: 100vh;
}
.vertical-align {
    margin-top: 20%;
}
