@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
  /*スマホで文字サイズが勝手に変わるのを防ぐ*/
  text-size-adjust: 100%; /*ブラウザの文字サイズ自動調整を制御する。noneを指定してはいけない。100%を指定する。*/
  -webkit-text-size-adjust: 100%; /* Chrome, safari*/
  -ms-text-size-adjust: 100%;     /* EgdeMobile */
  -moz-text-size-adjust: 100%;    /* firefox */
  
  user-select: none;
  overflow-x: hidden;
  
  /*touch-action: none;*/ /*スマホでタップしたままスワイプするとpointerupイベントが発生しない現象の防止。ただ、bodyでやると、ページの下にも行けなくなる。*/
  /*touch-action: pan-x pan-y pinch-zoom;*/
  /*font-size: 1rem;*/
  /*overflow: hidden;*/ /*最初からhiddenにしておくと，スクロールバーの幅が取得できない。*/
/*
touch-action: none; スマホでタップしたままスワイプするとpointerupイベントが発生しない現象の防止
user-select: none;　及び oncontextmenu="return false;" 長押し時のポップアップ停止
*/
}

.small-btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  /*vertical-align: top;*/
}

/*ここでは必要ない。cocoon-child のstyle.cssに必要。iframeを使うのはcocoonだから。*/
/* まちがい例：空白でつなげると、その子要素という意味になる
.room6-iframe iframe {
  display: block;
  position: relative; これで、width: 100%;が効く
  width: 100%;
  overflow: hidden; 
}
*/
/* 正しい例：くっつけて書くと、同時に満たす要素という意味になる*/
iframe.games-iframe  {
  display: block;
  position: relative; /* これで、width: 100%;が効く */
  width: 100%;
  overflow: hidden; 
}

.room6-iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden; 
  padding-top: 250%;

  @media screen and (min-width:480px) { 
    /* 画面サイズが480pxからはここを読み込む　*/
    padding-top: 250%;
  }
  @media screen and (min-width:768px) and ( max-width:1024px) {
    /* 画面サイズが768pxから1024pxまではここを読み込む　*/
    padding-top: 150%;
  }
  @media screen and (min-width:1024px) {
    /* 画面サイズが1024pxからはここを読み込む　*/
    padding-top: 100%;
  }
}

.room6-iframe-wrap iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:none;
  display:block;
}

input[type="button"], button {
  /*-webkit-appearance: none;*/
	padding: 4px 8px;
	margin: 0.4rem 0.2rem;
  touch-action: manipulation; /*ボタンのダブルタップを無効*/
}

input[type="text"], input[type="number"], input[type="password"] {
  margin: 0.2rem 0.1rem;
  font-size: 1.1rem;
}

.bunsuu {
  display: inline-block;
  vertical-align: -45%;
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.bunsuu>.bunsi, .bunsuu>.bunbo {
  display: block;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.bunsuu>.bunsi {
  margin-top: 1.5rem;
  line-height: 1.5rem;
  border-bottom: 1px solid #000;
}

.bunsuu>.bunbo {
  /*margin-top: -0.5rem;*/
  line-height: 1.5rem;
  margin-bottom: -1.5rem;
}
.bunsuu>.kigou {
  padding-left: 0;
  padding-right: 0;
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  /*color: #0000ff;*/
}

button.aco-btn {
  display: inline-block;
}

.aco-str {
  border: dashed 1px #67c5ff;
  background: #f2fcff;
  border-radius: 3px;
  
  height: 0;
  padding: 0.5rem 1rem;
  width: 100%;
  overflow: scroll;
  /*white-space: nowrap;*/
  opacity: 0;
}

.sousa-btn {
  display: inline-block;
  border: 1px solid #333;
  background-color: #ddd;
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
  line-height: 1rem;
  font-size: 0.8rem;
}

img {/*アイコン画像*/
  /*transition: 0.3s;*/ /*ここで指定すると、マウスカーソルがボタンから出ていくときrotateが元に戻る動きをする*/
}

button:hover img { /*ホバーでアイコン画像回転*/
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  transition: 0.3s;
}

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

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

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

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

.logo-text {
  pading-bottom: 0;
}

.tagline {
  font-size: 16px;
  font-weight:bold;
  margin-top: -1em;
  /*text-shadow: 1px 1px 0 yellow;*/ 
  color: white;
  background-color: blue;
  /*width:50%;*/
}

.header-in {
  text-align:center;
  width:45%;
}

.header-in .logo {
  text-align: center;
}

@media screen and (max-width: 768px){
  .tagline {
    font-size: 18px;
  }
}

/*---------------------------------
アコーディオンボックス
--------------------------------*/
.acbox{
  width: auto;
  font-size:0px; /* ラベルと開く部分を分離する時は数値を入れる */
  margin:0 10px; /* ボックス全体の位置調整 */
}

.acbox label{
  width: auto;
  font-size: 16px; /* ラベルの文字サイズ */
  font-weight: bold;
  text-align: center;
  background: #8BC34A; /* ラベルの背景色 */
  position: relative;
  display: block;
  padding:8px;
  border-radius: 4px; /* ラベルの角の丸み */
  cursor: pointer;
  color: #fff;
}

.acbox label:hover{
  background: #8BC34A; /* ラベルにマウスを乗せた時の背景色 */
}

.acbox input{
  display: none;
}

.acbox label:after{
  color: #fff;
  content:"▼"; /* ラベルのアイコン */
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -14px;
}

.acbox input:checked ~ label::after {
  content:"▲"; /* ラベルをクリックした後のアイコン */
}

.acbox div{
  height: 0px;
  overflow: hidden;
  opacity: 0;
  transition: 0.15s; /* 開閉スピードの設定 */
}

.acbox input:checked ~ div{
  height: auto;
  padding: 18px; /* 開いた部分の枠内の余白 */
  border-radius: 0px;
  background: #F3F4F5; /* 開いた部分の背景色 */
  opacity: 1;
}

.acbox input:checked ~ label {
  background: #8BC34A; /* クリック後のラベルの背景色 */
}

.acbox-under{
  font-size: medium; /*15px; /* 開いた部分の文字サイズ */
  /*color: #555555;*/ /* 開いた部分の文字色 */
}

/*---------------------------------
 吹き出し
-----------------------------------*/

/* ----- 共通 ----- */

.talk {
margin-bottom: 40px;
}

/*
.talk figure img {
width: 100%;
height: 100%;
border: 2px solid #9ce191;
border-radius: 50%;
margin: 0;
}
*/

/* 画像の下のテキスト */
.talk-imgname {
padding: 5px 0 0;
font-size: 10px;
text-align: center;
}

p.talk-text {
margin: 0 0 0px;
}

p.talk-text::last-child {
margin-bottom: 0px;
}

/* 回り込み解除 */
.talk::after,.talk::before {
clear: both;
content: "";
display: block;
}

/* ----- 左からの場合 ----- */

/* 左画像 */
.talk-Limg {
margin-left: 4px;
margin-top: -1px;
float: left;
width: 60px;
height: 60px;
}

/* 左からの吹き出しテキスト */
.talk-Ltxt {
color: #444;
position: relative;
margin-left: 80px;
padding: 0.3em 0.5em;
border: 3px solid #9ce191;
/*background-color: #fff;*/
background-color: #ebffe7;
border-radius: 5px;
}

/* 左の三角形を作る */
.talk-Ltxt::before {
position: absolute;
content: '';
border: 8px solid transparent;
border-right: 12px solid #9ce191;
top: 6px;
left: -20px;
}

.talk-Ltxt::after {
position: absolute;
content: '';
border: 8px solid transparent;
border-right: 12px solid #ebffe7;
top: 6px;
left: -16px;
}

/* ----- 右からの場合 ----- */

/* 右画像 */
.talk-Rimg {
margin-right: 4px;
margin-top: -1px;
float: right;
width: 60px;
height: 60px;
}

/* 右からの吹き出しテキスト */
.talk-Rtxt {
position: relative;
margin-right: 80px;
padding: 0.3em 0.5em;
border: 3px solid #9ce191;
/*background-color: #fff;*/
background-color: #ebffe7;
border-radius: 5px;
}

/* 右の三角形を作る */
.talk-Rtxt::before {
position: absolute;
content: '';
border: 8px solid transparent;
border-left: 12px solid #9ce191;
top: 6px;
right: -20px;
}

.talk-Rtxt::after {
position: absolute;
content: '';
border: 8px solid transparent;
border-left: 12px solid #ebffe7;
top: 6px;
right: -16px;
}

.kaisetu-impact {
  font-weight: bold;
  color: blue;
}

.kaisetu-impact-red {
  font-weight: bold;
  color: red;
}

p.kaisetu-heading {
  font-weight: bold;
  font-size: 1.5rem;
  /*text-align: center;*/
  /*margin: 0 auto;*/
}

.bold {
  font-weight: bold;
}

.red {
  color: red;
  font-weight: bold;
}

.blue {
  color: blue;
  font-weight: bold;
}

.round {
  border-radius: 0.5rem;
}

.kaisetu-title {
  display: inline-block;
  width: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  background: #c2edff;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.midasi {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background-color: blue;
  margin-bottom: 0.4rem;
  padding: 0.1rem 0.4rem;
  width: fit-content;
}
