@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
*/

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

/*記事の上の余白を無くす*/
.content{
    margin-top: 0px;
}
.article{
    margin-top: 0px;
}
.entry-content{
    margin-top: 0px;
}

/*グローバルメニューのマウスオーバー時にアンダーラインを表示*/
#navi .navi-in a:after{
    position: absolute;
    content: "";
    left: 0px;
    bottom: 1px;
    height: 5px;
    width: 100%;
    background: #000088;
    transform: scale(0,1);
    transition: 0.3s;
}

#navi .navi-in a:hover:after{
    transform: scale(1);
}

/*メニューの高さを変更*/
#navi .navi-in > ul li{
	height: 70px;
}

.navi-in > ul .menu-item-has-description > a > .caption-wrap {
    height: 70px;
}

/*動画のマージンを削除して100%幅で表示*/
.video-container {
  margin: 0px auto;
}

.wp-block-embed-youtube {
  width: 100%;
}

/*横スクロールバー非表示*/
body {
  overflow-x: hidden;
}

/*トップ領域*/
.my-top-paragraph {
  color: #ffffff;
  margin-top: -36px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-position: 0% 0%;
  background-size: cover;
  height: 300px;
  padding-top: 150px;
}

.my-top-paragraph-text {
  background-color: #00000088;
}

/*横幅いっぱい領域*/
.my-full-wide-regime {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-right: calc(20vw - 50px);
  padding-left: calc(20vw - 50px);
  padding-top: 50px;
  padding-bottom: 50px;
}

/*背景色：明るい灰色*/
.my-bg-lite-gray {
  background-color: #f0f0f0ff;
}

/*背景色：黒*/
.my-bg-black {
  background-color: #333333;
}

/*マーカー*/
.my-marker-under-red {
  background: linear-gradient(transparent 70%, #ff0000 0%);
}

.my-marker-under-green {
  background: linear-gradient(transparent 70%, #009900 0%);
}

.my-marker-under-blue {
  background: linear-gradient(transparent 70%, #0000ff 0%);
}

/*問い合わせフォーム用*/
.my-form-required:after {
	content: "必須";
    color: #ffffff;
    background: #cc0000;
    font-size: 0.8em;
    padding: 0.1em 0.3em;
	border-radius: 0.3em;
    margin-left:0.5em;
	vertical-align: middle;
}

.my-form-optional:after {
	content: "任意";
    color: #ffffff;
    background: #888888;
    font-size: 0.8em;
    padding: 0.1em 0.3em;
	border-radius: 0.3em;
    margin-left:0.5em;
	vertical-align: middle;
}

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

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

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