/*!
Theme Name: tatami Underscores
Theme URI: http://qolp.net/
Author: Underscores.me
Author URI: http://qolp.net/
Description: spica QOLP
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: underscores
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Underscores is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
/*QOLP追加要素*/

.adobe-font-ff-cocon-pro{
font-family: ff-cocon-pro,sans-serif;
font-weight: 400;
    font-style: normal;}



.AB_ootori-Regular{

font-family: ab-ootori, sans-serif;
font-weight: 400;
font-style: normal;
    
    
}

.Heisei-Mincho-Std-W7
{
font-family: heisei-mincho-std, serif;
font-weight: 700;
font-style: normal;
}
.Heisei-Mincho-Std-W3
{
font-family: heisei-mincho-std, serif;
font-weight: 300;
font-style: normal;

}


h2.Heisei-Mincho-Std-W7{

font-size: 60px;
    
    
}


h1 {
    position: relative;
    display: inline-block;
    padding-top: 0;
    /* [disabled]padding-right: 55px; */
    /* [disabled]padding-left: 55px; */
    padding-bottom: 0;
}


h2.kako {
        position: relative;
        line-height: 1.4;
        padding: 0.25em 1em;
        display: inline-block;
}
h2.kako :before, h2:after {
        content: '';
        width: 20px;
        height: 30px;
        position: absolute;
        display: inline-block;
}
h2.kako :before {
        border-left: solid 1px #ff5722;
        border-top: solid 1px #ff5722;
        top: 0;
        left: 0;
}
h2.kako :after {
        border-right: solid 1px #ff5722;
        border-bottom: solid 1px #ff5722;
        bottom: 0;
        right: 0;
}
html {
        font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
#masthead {
        margin: 0;
}
.flexbox {
        display: flex;
}
.flexbox-wrap {
        display: flex;
        flex-wrap: wrap;
}
.all-title {
        margin-bottom: 3px;
}
.day {
    display: block;
    /* [disabled]height: 10px; */
    padding: 0px 10px;
    margin-bottom: 0px;
}
.cat {
    display: block;
    /* [disabled]height: 10px; */
    background-color: rgba(161, 163, 146, 1.00);
    padding: 2px 10px;
    color: rgba(243, 243, 243, 1.00);
    border-radius: 10px;
    font-weight: bold;
    font-size: x-small;
    line-height: 20px;
    margin-bottom: 13px;
}
.site-branding {
        background-color: rgba(3, 38, 33, 0.80);
        /* [disabled]background-image: url(site-img/moku.png); */
        width: 100%;
}
header#masthead {
        /* [disabled]height: 100vh; */
        margin: 0;
     border-bottom: 10px solid #3499D6;
}
.site-info {
        width: 100%;
        margin: 0 auto;
        background-color: #E1E1E1;
        color:#2E0B0C;
        text-align: center;
        padding-top: 20px;
}
.container {
        background-color: #FFFFFF;
}
/*.container-sub{
		background-color: bisque;
	  background-image: url(site-img/19815149_MotionElements_rustic-brown-weathered.png);
		
  display: flex;
	
}*/
/*
サイドバーの制御*/
#secondary {
    width: 27%;
    min-width: 200px;
    background-color: #F8F8F8;
    padding: 0px 1 20px 10px;
    /* [disabled]margin-top: -24px; */
    margin-left: 14px;
}
#secondary li {
        margin-left: -30px;
}


.wp-block-search__button
{width: 80px;}


.loose-leaf-box {
        background: #f8f0d7;
        border-left: 5px dotted rgba(0, 0, 0, .1);
        box-shadow: 0 0 0 5 #f8f0d7;
        padding: 25px;
        width: 100%;
        top: 5px;
        bottom: 5px;
        left: 5pt;
        right: 5px;
        margin: 14px;
}
.loose-leaf-box p {
        margin: 0;
        padding: 0;
}
.clear {
        clear: both;
}
.widget.widget_block.widget_search {
        padding: 10px;
}
footer {
        width: 100%;
}
/*ロゴ画像*/
img.custom-logo {
    width: 210px;
    opacity: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    padding-top: 5px;
    margin-left: 32px;
}
/*ナビ固定*/
.fixed {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
}
/* トップへ戻るボタン */
/* 上に戻るボタン */
.pagetop {
        color: #fff;
        background-color: rgba(0, 0, 0, 0.3);
        text-decoration: none;
        display: none;
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        width: 3.3rem;
        height: 3.3rem;
        line-height: 3.3rem;
        border-radius: 3.3rem;
        text-align: center;
        cursor: pointer;
        z-index: 10000;
}
.pagetop:hover {
        color: #fff !important;
        background-color: #ed702b;
        text-decoration: none;
}
/*---------------*/
/*==================================================
スライダーのためのcss
===================================*/
.slider {
        position: relative;
        z-index: -1;
        /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
        height: 500px;
        margin: 0 auto;
        max-width: 2000px;
    
}
/* 背景画像設定 */
.slider2 {
        position: relative;
        z-index: -1;
        /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
        height: 110px;
        ; /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
        overflow: hidden;
        /* [disabled]margin-bottom: -715px; */
        padding-bottom: 0px;
        margin-top: -110px;
}
/* 背景画像設定 */
.slider-item01 {
        background: url(img/1.jpg);
        padding-bottom: 0px;
}
.slider-item02 {
        background: url(img/2.jpg);
}
.slider-item03 {
        background: url(img/3.jpg);
}
.slider-item {
        width: 100%; /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
        height:500px; /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
        background-repeat: no-repeat; /*背景画像をリピートしない*/
        background-position: center; /*背景画像の位置を中央に*/
        background-size: cover; /*背景画像が.slider-item全体を覆い表示*/
}
.top-box {
        height: 500px;
        width: 50%;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.30);
        z-index: 4;
        position: absolute;
}
.top-box-text {
        margin-top: 100px;
        padding: 30px;
        color: #FFFFFF;
        font-size: 20px;
        text-align: center;
}
/*矢印の設定*/
.slick-prev, .slick-next {
        position: absolute;
        z-index: 3;
        top: 42%;
        cursor: pointer; /*マウスカーソルを指マークに*/
        outline: none; /*クリックをしたら出てくる枠線を消す*/
        border-top: 2px solid #fff; /*矢印の色*/
        border-right: 2px solid #fff; /*矢印の色*/
        height: 25px;
        width: 25px;
}
.slick-prev { /*戻る矢印の位置と形状*/
        left: 2.5%;
        transform: rotate(-135deg);
}
.slick-next { /*次へ矢印の位置と形状*/
        right: 2.5%;
        transform: rotate(45deg);
}
/*ドットナビゲーションの設定*/
.slick-dots {
        position: relative;
        z-index: 3;
        text-align: center;
        margin: -94px 0 0; /*ドットの位置*/
}
.slick-dots li {
        display: inline-block;
        margin: 0 5px;
}
.slick-dots button {
        color: transparent;
        outline: none;
        width: 8px; /*ドットボタンのサイズ*/
        height: 8px; /*ドットボタンのサイズ*/
        display: block;
        border-radius: 50%;
        background: #fff; /*ドットボタンの色*/
}
.slick-dots .slick-active button {
        background: #ffffff; /*ドットボタンの現在地表示の色*/
}
/*拡大*/
.slide-animation {
        animation: fadezoom 8s 0s forwards;
}
@keyframes fadezoom {
        0% {
                transform: scale(1);
        }
        100% {
                transform: scale(1.05);
        }
}
/*アニメーション要素 横から出現*/
.anim-box.slidein.is-animated {
        animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
@keyframes slideIn {
        0% {
                transform: translateX(180px);
                opacity: 0;
        }
        100% {
                transform: translateX(0);
        }
        40%, 100% {
                opacity: 1;
        }
}
/*アニメーション要素 フェードアップ*/
.anim-box.fadeup.is-animated {
        animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;
}
@keyframes fadeup {
        0% {
                transform: translateY(30px);
                opacity: 0;
        }
        80% {
                opacity: 1;
        }
        100% {
                opacity: 1;
                transform: translateY(0);
        }
}
/*囲み枠*/
.loose-leaf {
        background: #f8f0d7;
        border-left: 5px dotted rgba(0, 0, 0, .1);
        box-shadow: 0 0 0 5 #f8f0d7;
        padding: 1px 1em 1em;
        margin: 1em 5px;
}
.loose-leaf p {
        margin: 0;
        padding: 0;
}


/*囲み枠 シンプル黒枠 一覧用*/
.box-black {
    font-weight: bold;
    border: 1px solid #DFDFDF;
    /* [disabled]top: 22px; */
    bottom: 0px;
    width: 200px;
    margin-bottom: 32px;
    margin-right: 30px;
}


.icatch {

	width: 100%;
height: 200px;
	background: #000;
	overflow: hidden;
    
}



.icatch img{
  width: 200px;
  height: 200px;
  object-fit: cover;

    
    
}

.box-black h2 {
    margin-top: 0px;
    margin-left: 9px;
    font-size: 19px;
}




.all-width .box-black h2{
 border-bottom: none; 
    
}




.box-text-notice {
        position: relative;
        border: 3px double #da4033;
        border-radius: 5px;
        margin: 20px 0;
        padding: 20px 20px 5px 20px;
}
.box-text-notice::before {
        content: "重要！";
        position: absolute;
        background-color: #F9DDBD;
        color: #da4033;
        font-weight: bold;
        left: 20px;
        top: -23px;
        padding: 10px;
}
.box-text-point {
        position: relative;
        border: 3px solid #033;
        border-radius: 5px;
        margin: 20px 0;
        padding: 20px 20px 5px 20px;
}
.box-text-point::before {
        content: "POINT";
        position: absolute;
        background-color: #F9DDBE;
        color: #033;
        font-weight: bold;
        left: 20px;
        top: -23px;
        padding: 10px;
}
.box-text-memo {
        position: relative;
        border: 3px dashed #000055;
        border-radius: 5px;
        margin: 20px 0;
        padding: 20px 20px 5px 20px;
}
.box-text-memo::before {
        content: "MEMO";
        position: absolute;
        background-color: #FBDFBF;
        color: #000055;
        font-weight: bold;
        left: 20px;
        top: -23px;
        padding: 10px;
}
.box7 {
        padding: 0.5em 1em;
        margin: 0em 0 2em;
        color: #474747;
        background: whitesmoke; /*背景色*/
        border-left: double 7px #4ec4d3; /*左線*/
        border-right: double 7px #4ec4d3; /*右線*/
}
.box7 p {
        margin: 0;
        padding: 0;
}
.widget-area h2 {
        padding-left: 109px;
        margin-left: -218px;
        margin-top: 150px;
        display: none;
}

.relaxed-box {
    width: 100%;
    padding: 20px;
    max-width: 1100px;
    background-color: #FFFFFF;
    margin: 0 auto;
}


.all-width h1 {
    /* [disabled]background-color: #828282; */
    text-align: center;
    color: #000000;
    width: 100%;
  
    /* [disabled]margin-bottom: -42px; */
    padding-bottom: 10px;
}

.all-width.topmamargin150{
    padding-top: 150px;  
}


.all-width h2 {
    /* [disabled]background-color: #828282; */
    text-align: left;
    color: #000000;
    width: 100%;
    font-size: 20px;
    border-bottom: 1px solid #8F8F8F;
}

.all-width .right {
    font-size: 15px;
    text-align: right;
    margin-bottom: 26px;
}
   





.all-width{
    
    width: 100%;
}

.white {
    background-color: #ffffff;
}

.grey {
    background-color: #E9E9E9;
}

.notdecoration a{
    
  text-decoration: none;  
}



/*見出しに横線*/

.head-border {
    display: flex;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
}
 
.head-border:before,
.head-border:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
}
 
.head-border:before {
    margin-right: 1rem;
}
 
.head-border:after {
    margin-left: 1rem;
}


.all-width .box-black h2 {
        border-bottom: none;
}








.news-set ul {
    list-style-type: none!important;
    margin: 0 auto;
    max-width: 800px;
    padding-left: 0px;
}



.news-set li{
    padding: 0px 0 5px 20px;
    /* [disabled]border-top: 1px solid #444; */
}


.news-set li:first-child{
	border: none;
}










.text-relaxed-box {
    margin-top: 80px;
    /* [disabled]margin-right: 35px; */
    /* [disabled]margin-left: 35px; */
    margin-bottom: 79px;
    padding: 0px;
}

.drop-shadow{
filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.05));
    }

.pagenavi{
    
    
    
width: 80%;
    
    margin: 0 auto;
    padding-bottom: 50px;
    text-align: center;
}

.box-main {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 46px;
        padding-top: 76px;
    max-width: 1100px;
}
.box-main img {
     margin: 0 auto;
        width: 80%;
        height: auto;
        padding-top: 0px;
    display: block;
   
}







.box-three img{

opacity: 0.8;
    
}


.box-sub  {
    width: 45%;
    min-width: 300px
   
}






/*
3つ並べる箱*/
.box-three{
    width: 30%;
    min-width: 200px;
   
    margin-left: 2%;
  
     
}

.box-main {
        width: 80%;
        margin: 0 auto;
        padding-bottom: 46px;
        padding-top: 76px;
    max-width: 1100px;
}
.box-main img {
  
   
}
/*シングルページの画像サイズ制御*/
.post-thumbnail 
{
     margin: 0 auto;
        width: 80%;
        height: auto;
        padding-top: 0px;
    display: block;
   
}



/*コンタクトフォームへのリンクボタン　QOLP追加*/


.botton-contact{
 
    float: right;
    margin-top: -44px;
}

.button13 a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 13px auto 0;
    padding: 0.5em 1em;
  
    color: #333;
    font-size: 15px;
    font-weight: 700;
    background-color: #F2F2F2;
    box-shadow: 5px 5px 0 #3d9ec8;
    transition: 0.3s;
}

.button13 a:hover {
  text-decoration: none;
  background-color: #5573DEd3;
  box-shadow: 0 0 0;
}

/* Contact Form7 https://webicon.jp/wordpress/contactfoam7-setting/*/


/*QOLP追加要素*/
.contact7 .wpcf7-form-control{
    
    display: block;
    overflow: hidden;
    width: 100%;
}


.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}
.contact7 dd {
	margin: 0 0 30 0;
	background-color:#FFFFFF;
}
.contact7 dt {
	font-weight: normal;
}

/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}

/* 任意マーク */
.contact7 .optional {
	background: #999;
}

.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-left: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 100%;
	background-color: #005513;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #005513;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
    
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #005513; 
}
@media screen and (min-width: 768px) {
.contact7 dt {
	float: left;
	clear: left;
	width: 35%;
	padding: 5px 10px 5px 0;
	}
.contact7 dd {
	margin-left: 35%;
	}

.btn_contact7 input {
	width: 70%;
	background-color: #005513;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #005513;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #005513; 
}
}







/*QOLP追加要素おわり*/

















html {
        line-height: 1.15;
        -webkit-text-size-adjust: 100%;
        background-color:#E1E1E1;}
/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
        margin: 0;

}
/**
 * Render the `main` element consistently in IE.
 */
main {
        display: block;
       
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
        font-size: 2em;
        margin: 0.67em 0;
}
/*QOLP追加要素*/
h1.logo {
        margin: 0 0;
}
/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
        /*横線*/
        box-sizing: content-box;
        height: 0;
        overflow: visible;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
        /*整形済みテキスト*/
        font-family: monospace, monospace;
        font-size: 1em;
}
/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
        background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
        border-bottom: none;
        text-decoration: underline;
        text-decoration: underline dotted;
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b, strong {
        font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code, kbd, samp {
        font-family: monospace, monospace;
        font-size: 1em;
}
/**
 * Add the correct font size in all browsers.
 */
small {
        font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub, sup {
        /*上付きテキスト下付きテキスト*/
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
}
sub {
        bottom: -0.25em;
}
sup {
        top: -0.5em;
}
/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
        border-style: none;
}
/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button, input, optgroup, select, textarea {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button, input {
        overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button, select {
        text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button, [type="button"], [type="reset"], [type="submit"] {
        -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
        outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
        padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
        box-sizing: border-box;
        color: inherit;
        display: table;
        max-width: 100%;
        padding: 0;
        white-space: normal;
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
        vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
        overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"], [type="radio"] {
        box-sizing: border-box;
        padding: 0;
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
        height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */ ::-webkit-file-upload-button {
        -webkit-appearance: button;
        font: inherit;
}
/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
        display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
        display: list-item;
}
/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
        display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
        display: none;
}
/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*, *::before, *::after {
        box-sizing: inherit;
}
html {
        box-sizing: border-box;
        bottom: auto;
}
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body, button, input, select, optgroup, textarea {
        color: #404040;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
        font-size: 1rem;
        line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
        clear: both;
}
p {
        /*QOLP修正*/
        /* [disabled]margin-bottom: 1.F5em; */
}
dfn, cite, em, i {
        font-style: italic;
}
blockquote {
        margin: 0 1.5em;
}
address {
        margin: 0 0 1.5em;
}
pre {
        background: #eee;
        font-family: "Courier 10 Pitch", courier, monospace;
        line-height: 1.6;
        margin-bottom: 1.6em;
        max-width: 100%;
        overflow: auto;
        padding: 1.6em;
}
code, kbd, tt, var {
        font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
        border-bottom: 1px dotted #666;
        cursor: help;
}
mark, ins {
        background: #fff9c0;
        text-decoration: none;
}
big {
        font-size: 125%;
}
/* Elements
--------------------------------------------- */
body {
        min-height: 200px;
}
hr {
        background-color: #ccc;
        border: 0;
        height: 1px;
        margin-bottom: 1.5em;
}
ul, ol {
        margin: 0 0 1.5em 3em;
}
ul {
        list-style: disc;
}
ol {
        list-style: decimal;
}
li > ul, li > ol {
        margin-bottom: 0;
        margin-left: 1.5em;
}
dt {
        font-weight: 700;
}
dd {
        margin: 0 1.5em 1.5em;
}
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object {
        max-width: 100%;
}
img {
        height: auto;
        max-width: 100%;
}
figure {
        margin: 1em 0;
}
table {
        margin: 0 0 1.5em;
        width: 100%;
}
/* Links
--------------------------------------------- */
a {
        color: #6E6848;
}
a:visited {
        color: #6E6848;
}
a:hover, a:focus, a:active {
        color: #6E6848;
}
a:focus {
        outline: thin dotted;
}
a:hover, a:active {
        outline: 0;
}

.main-navigation .current-menu-item a:visited  {
 color: #018B78;}




/*QOLP追加要素NAV*/


a:hover {
      opacity: 0.7;
}





.main-navigation a {
    color: #000000;
}




.main-navigation a:visited {
    color: #000000;
}
.main-navigation a:hover, .main-navigation a:focus, .main-navigation a:active {
        color: #FF8000;
}
.main-navigation a:focus {
        outline: thin dotted;
}
.main-navigation a:hover, .main-navigation a:active {
        outline: 0;
}
/* Forms
--------------------------------------------- */
button, input[type="button"], input[type="reset"], input[type="submit"] {
        border: 1px solid;
        border-color: #ccc #ccc #bbb;
        border-radius: 3px;
        background: #e6e6e6;
        color: rgba(0, 0, 0, 0.8);
        line-height: 1;
        padding: 0.6em 1em 0.4em;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
        border-color: #ccc #bbb #aaa;
}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
        border-color: #aaa #bbb #bbb;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
        color: #666;
        border: 1px solid #ccc;
        border-radius: 3px;
        padding: 3px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
        color: #111;
}
select {
        border: 1px solid #ccc;
}
textarea {
        width: 100%;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
    /*QOLP追加要素*/
    min-width: 1100px;
    font-size: 15px;
    font-weight: bold;
    background-color: hsla(208, 100%, 97%, 0.90);
    padding: 19px;
    text-align: right;
    min-height: 60px;
    border-bottom: 10px solid #3499D6;
}
.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 236px;
}
.main-navigation ul ul {
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        float: left;
        position: absolute;
        top: 100%;
        left: -999em;
        z-index: 99999;
}
.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
        display: block;
        left: auto;
}
.main-navigation ul ul a {
        width: 200px;
}
.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
        left: auto;
}
.main-navigation li {
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
}
.main-navigation a {
        display: block;
        text-decoration: none;
}
/* Small menu. */
.menu-toggle, .main-navigation.toggled ul {
        display: block;
}

/* QOLP追加ハンバーガーメニュー*/
.menu-toggle  {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #FFFFFF;
    
    
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #000000;
    position: absolute;
}
.menu-toggle span:before {
    bottom: 8px;
}
.menu-toggle span:after {
    top: 8px;
}

/* QOLP追加ハンバーガーメニュー
開いた時にXマークに変える説明
https://www.asobou.co.jp/blog/web/css-menu

*/














/*QOLP追加要素*/
.main-navigation li + li {
        border-left: 1px solid #333;
}
@media screen and (min-width: 37.5em) {
        .menu-toggle {
                display: none;
        }
        .main-navigation ul {
                display: flex;
        }
}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
        margin: 0 0 1.5em;
}
.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
        display: flex;
}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
        flex: 1 0 50%;
}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
        text-align: end;
        flex: 1 0 50%;
}
@media screen and (max-width:37.5em) {
        /* QOLP追加要素 画面サイズが37.5em以下はここを読み込む */
        /*QOLP追加要素*/
     
        /*QOLP追加要素*メニューの縦線消し*/
        .main-navigation li + li {
                border-left: 0px solid #333;
        }
        /*QOLP追加要素*メニューの行間設定*/
        .main-navigation li {
                padding-top: 10px;
        }
        /*QOLP追加要素メニュー背景を不透明に*/
        .main-navigation {
    background-color: rgba(255, 255, 255, 1.00);
            
        }
    /*QOLP追加要素メニューの幅を狭く*/
    .main-navigation {
      
        min-width: 300px;
        widows: 100%;
        position: relative;
}

    
        /*ロゴ画像*/
img.custom-logo {
    margin-left: 10px;
  
}
    
  
.top-box {
        height:500px;
        width: 100%;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.30);
        z-index: 4;
        position: absolute;
}    
 
    
    .botton-contact{
 display: none;
}
    
    
    /*メニューの位置をリセット*/
    .main-navigation ul {
    padding-left: 0px;
    padding-top: 37px;
}

    
    .main-navigation {
    
        text-align:left;
}
    
    .main-navigation li {

    padding-left: 0px;
    padding-right: 0px;
}
    
    
  /*  サイドバーの制御*/
#secondary {
     display: none;   
}
    
    
    
   /* 並べる箱*/
.box-three
    {
    width: 80%;
    min-width:80%;
   

  margin: 0 auto;
      margin-bottom: 10px;  
     
}
    
    
    
    .main-sub{
  width: 100%;
   

}

    
.box-black {
  
width: 80%;
        margin: 0 auto;
    margin-bottom: 32px;
    
}
    
    

    .icatch img{
  width: 100%;
   height: 200px;
  object-fit: cover;

    
    
}
    
    .icatch {

	width: 100%;
height: 200px;
	background: #000;
	overflow: hidden;
    
    
    }
    

    
    
   /*ボックスのスマホでの折り返しを削除*/
    .flexbox-wrap{
    display: block;
    
}

    
    
}









/* Posts and pages
--------------------------------------------- */
.sticky {
        display: block;
}
.post, .page {
        margin: 0 0 1.5em;
}
.updated:not(.published) {
        display: none;
        width: auto;
}
.page-content, .entry-content, .entry-summary {
        margin: 1.5em 0 0;
}
.page-links {
        clear: both;
        margin: 0 0 1.5em;
}
/* Comments
--------------------------------------------- */
.comment-content a {
        word-wrap: break-word;
}
.bypostauthor {
        display: block;
}
/* Widgets
--------------------------------------------- */
.widget {
        margin: 0 0 1.5em;
}
.widget select {
        max-width: 100%;
}
/* Media
--------------------------------------------- */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {
        border: none;
        margin-bottom: 0;
        margin-top: 0;
        padding: 0;
}
/* Make sure logo link wraps around logo image. */
.custom-logo-link {
        display: inline-block;
}
/* Captions
--------------------------------------------- */
.wp-caption {
        margin-bottom: 1.5em;
        max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
        display: block;
        margin-left: auto;
        margin-right: auto;
}
.wp-caption .wp-caption-text {
        margin: 0.8075em 0;
}
.wp-caption-text {
        text-align: center;
}
/* Galleries
--------------------------------------------- */
.gallery {
        margin-bottom: 1.5em;
        display: grid;
        grid-gap: 1.5em;
}
.gallery-item {
        display: inline-block;
        text-align: center;
        width: 100%;
}
/*QOLP追加要素* エラーのためコメント/
/*.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}*/
.gallery-caption {
        display: block;
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
        display: none;
}
/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
        display: block;
}
/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
        border: 0;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute !important;
        width: 1px;
        word-wrap: normal !important;
}
.screen-reader-text:focus {
        background-color: #f1f1f1;
        border-radius: 3px;
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
        clip: auto !important;
        clip-path: none;
        color: #21759b;
        display: block;
        font-size: 0.875rem;
        font-weight: 700;
        height: auto;
        left: 5px;
        line-height: normal;
        padding: 15px 23px 14px;
        text-decoration: none;
        top: 5px;
        width: auto;
        z-index: 100000;
}
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
        outline: 0;
}
/* Alignments
--------------------------------------------- */
.alignleft {
        /*rtl:ignore*/
        float: left;
        /*rtl:ignore*/
        margin-right: 1.5em;
        margin-bottom: 1.5em;
}
.alignright {
        /*rtl:ignore*/
        float: right;
        /*rtl:ignore*/
        margin-left: 1.5em;
        margin-bottom: 1.5em;
}
.aligncenter {
        clear: both;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5em;
}