@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
*/
.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}
.btn {
    padding: 15px 70px;
    font-weight: bold;
    display: inline-block;
    font-size: 20px;
	text-align: center;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    border-radius: 5px;
}
    .btn04 {
        background-color: #3169d1;
        font-size: 20px;
        font-weight: bold;
        border: 2px solid #3169d1;
        color: #fff !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    .btn04:hover {
        background-color: transparent;
        border: 2px solid #998bfa;
        color: #998bfa !important;
    }
.q_button { min-width:390px; background-color:#535353; display:inline-block; vertical-align:middle; padding:.6em 1.3em .5em; font-weight:400; font-size:100%; color:#fff; margin:0; text-decoration:none; text-align:center; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; transition:all 0.3s ease-in-out 0s; box-shadow:0 1px 3px rgba(0,0,0,.15); }
.q_button:hover, .q_button:focus { text-decoration:none; color:#fff; background-color:#7d7d7d; box-shadow:0 2px 2px rgba(0,0,0,.15) inset; }
/* Button option */
.rounded { border-radius:6px; }
.pill { border-radius:50px; }
.sz_full { min-width:100px; max-width:100%; display:block; font-size:110%; padding:1em 1.5em .9em; }
.sz_l { min-width:350px; max-width:90%; font-size:110%; padding:.8em 1.5em .7em; }
@media screen and (max-width: 479px) {
  .sz_l { min-width:330px; max-width:95%; }
}
.sz_s { min-width:100px; max-width:90%; font-size:85%; padding:.4em 1em .3em; }
.bt_red{ background:#c01f0e; color:#fff; }
.bt_red:hover, .bt_red:focus { background-color:#d33929; color:#fff; }
.bt_yellow{ background:#f1c40f; color:#fff; }
.bt_yellow:hover, .bt_yellow:focus { background-color:#f9d441; color:#fff; }
.bt_blue{ background:#2980b9; font-size: 24px; font-weight: bold; color:#fff; width:100%; }
.bt_blue:hover, .bt_blue:focus { background-color:#3a91c9; color:#fff; }
.bt_green{ background:#27ae60; color:#fff; }
.bt_green:hover, .bt_green:focus { background-color:#39c574; color:#fff; }

table.company {
    width: 800px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
    font-size: 12px;
}
 
table.company th,
table.company td {
    padding: 10px;
}
 
table.company th {
    background: #FFE4E1;
    vertical-align: middle;
    text-align: left;
    width: 150px;
    overflow: visible;
    position: relative;
    color: #000000;
    font-weight: normal;
    font-size: 15px;
}
 
table.company th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #FFE4E1;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
    table.company th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #FFE4E1 10px solid;
        margin-top: -10px;
    }
}
.moviewaku {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.moviewaku iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

td {
text-align: left;
vertical-align: top;
}


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

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important; /* 強制的に非表示にする */
    }
}
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

.video-thumb {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
}

/* 画像 */
.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 再生ボタン */
.video-thumb .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.video-thumb .play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-thumb .play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 40px solid white;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  transform: translate(-40%, -50%);
}

/* 矢印の下の文字 */
.video-thumb .video-text {
  position: absolute;
  top: calc(50% + 80px); /* 矢印の下に配置（調整可） */
  left: 50%;
  transform: translateX(-50%);
  color: red;
  font-weight: bold;
  font-size: 20px;
  background-color: rgba(128,128,128,0.8); /* 半透明の灰色背景 */
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
  text-shadow: 1px 1px 2px black; /* 少し視認性アップ */
  pointer-events: none; /* クリック操作を邪魔しない */
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .video-thumb .play-button {
    width: 80px;
    height: 80px;
  }
  .video-thumb .play-button::after {
    border-left: 26px solid red;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
  }
  .video-thumb .video-text {
    top: calc(50% + 55px);
    font-size: 16px;
    padding: 3px 8px;
  }
}

@media screen and (max-width: 480px) {
  .video-thumb .play-button {
    width: 60px;
    height: 60px;
  }
  .video-thumb .play-button::after {
    border-left: 20px solid red;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }
  .video-thumb .video-text {
    top: calc(50% + 45px);
    font-size: 14px;
    padding: 2px 6px;
  }
}