@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.required-form { color: #ce2e2e; }

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** ■問い合わせ調整
************************************/

.contact-form-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    border: 1px solid #cccccc;
}
.form-item:first-child {
    margin-top: 0;
}
.form-item {
    width: 70%;
    margin: 30px auto 0;
}
.form-item label{
    display: block;
    font-size: 20px;
    color: #333333;
}
.form-item > input{
    width: 100%;
    height: 50px;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.form-item input::placeholder,
.form-item textarea::placeholder {
    padding-left:15px;
}
.form-flex {
    display: flex;
    flex-direction: column;
}
.form-flex input {
    height: 50px;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.form-flex input.your-add-1 {
    width: 40%;
}
.form-flex input.your-add-1 {
    width: 100%;
}
.form-hissu {
    color: #ffffff;
    font-size: 13px;
    margin-left: 15px;
    padding: 3px 5px;
    background-color: red;
}
.form-free {
    color: #ffffff;
    font-size: 13px;
    margin-left: 15px;
    padding: 3px 5px;
    background-color: #1E3766;
}
.form-item textarea{
    height: auto;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.last-check {
    display: flex;
    align-items: center;
    vertical-align: middle;
}
.last-check > input {
    width: auto;
    height: auto;
    margin: 0 10px 0 0;
}
.last-check a {
    text-decoration: none;
}
.form-item.send-btn{
    max-width: 500px;
    margin: 40px auto 0;
}
.form-item.send-btn input{
    background-color: #1E3766;
    color: #ffffff;
    border-radius: 0px;
    font-weight: 700;
    cursor: pointer;
}
.form-item.send-btn input:hover {
    background-color: #FFFFFF;
    color: #1E3766;
    border: 1px solid #1E3766;
    transition: all .3s;
}
.center-list {
  text-align: center; /* 親要素で中央寄せを指定 */
}

.center-list ol {
  display: inline-block; /* インラインブロック化して中央に配置 */
  text-align: left;      /* リスト内の文字は左寄せに戻す */
/*  text-align: center;*/
}

@media screen and (max-width:768px) {
    .contact-form-inner {
        padding: 30px 15px;
        border: none;
    }
    .form-item {
        width: 95%;
        margin: 20px auto 0;
    }
    .form-item > input{
        height: 35px;
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-item textarea{
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-item input::placeholder {
        padding-left:5px;
    }
    .form-flex input {
        height: 35px;
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-flex input:first-child {
        width: 70%;
    }
    .form-hissu {
        margin-left: 5px;
    }
    .form-free {
        margin-left: 5px;
    }
    .last-check > input {
        margin: 0 5px 0 0;
    }
    .form-item.send-btn{
        width: 80%;
        margin: 30px auto 0;
    }
} 
/* カバーブロック用：インナーブロックの中央寄せを追加 */
.cstm-blk-fullwide-inner {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
}
/* カバーブロックの上下マージンを削除 */
.wp-block-cover {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/************************************
** ■コンテンツ領域の上下間調整
************************************/
.content {
  margin-top: 0px; /*ヘッダーとコンテンツ間の縦幅*/
  margin-bottom: 0px /*フッターとコンテンツ間の縦幅*/
}
.panel-layout {
  margin-top: 0;
  margin-bottom: 0;
}
.main {
  margin-top: 0;
  margin-bottom: 0;
}

.article-footer.entry-footer {
	display: none;
}

#main {
	padding-top: 0;
	padding-bottom: 0;
}

.entry-content,
#pl-318 {
	margin-top: 0;
	margin-bottom: 0;
}

#footer {
	margin-top: 0;
}

p:empty {
  display: none;
}

.date-tags {
  margin-bottom: 0;
}

/************************************
** ■画像の重ね合わせ
************************************/

.container2 {
position: relative;
/*width: 100%;*/
/*height: 1000px;*/
}

.gazou_red {
position: absolute;
top: 50px;
left: 800px;
width: 608px;
height: 620px;
/* width: 300px;*/
/* height: 300px;*/
/*opacity: 0.7;*/
z-index: 1; /* 背景画像が後ろ */
}

.gazou_blue {
position: absolute;
top: -50px;
left: 0px;
width: 640px;
height: 161px;
/*opacity: 0.7;*/ /* 透明度 */
z-index: 2; /* 上に重ねる */
}

/************************************
** ■水平スクロールバー非表示
************************************/

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/************************************
** ■水平スクロールバー非表示
************************************/

.content a {
font-weight:bold;
position: relative;
padding: 0.1em 0.3em;
transition: all 0.3s ease;
text-decoration: none;
}
.content a::before{
position: absolute;
content: '';
left: 0;
bottom:0;
width: 100%;
height: 1%;
transition: all 0.3s ease;
opacity: 0;
background-color:#0B81A6;/*ホバー時の背景色*/
}
.content a:after {
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 2px;
content: '';
transition: all 0.3s ease;
border-bottom: 3px solid #337ab7;/*下線の色*/
opacity: 1;
}
.content a:hover::before {
height: 100%;
opacity: 0.4;
}
.content a:hover::after {
left: 50%;
right: 50%;
width: 0%;
opacity: 0;
}
