@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*どのブレイクポイントを設定すれば良いですか？
一般的には、スマートフォン、タブレット、PCに合わせて、767px以下、768px〜1024px、1025px以上などがよく使われますが、Webサイトの内容に合わせて調整することが重要です。*/

/* まちがい例：空白でつなげると、その子要素という意味になる
.room6-iframe iframe {
  display: block;
  position: relative; /* これで、width: 100%;が効く
  width: 100%;
  border-width: none;
}
*/
/* 正しい例：くっつけて書くと、同時に満たす要素という意味になる*/
iframe.room6-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: 100%;
  }
  @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;
}

.fraction, .bunsuu{
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.fraction_n,.fraction_d,.bunsuu-bunsi,.bunsuu-bunbo{ /*_n=分子, _d=分母*/
  display: block;
}
.fraction_n, .bunsuu-bunsi{
  border-bottom: 1px solid/* #0000ff*/;
}

.kigou {
  padding-left: 0;
  padding-right: 0;
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  /*color: #0000ff;*/
}

.aco_str {
	border: dashed 1px #67c5ff;
	background: #f2fcff;
	border-radius: 3px;
	
	height: 0;
	padding: 0.5em 1em 0 1em;
	overflow: hidden;
	opacity: 0;
}

button.aco_btn {
	display: inline-block;
	margin-bottom: 0;
}

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){
  /*必要ならばここにコードを書く*/
}

input[type="button"], button {
	padding: 4px 8px;
	margin-bottom: 6px;
}

.logo-text {
	padding-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: fit-content;
user-select: none;
}

.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: 100px;
padding: 0.3em 0.6em;
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: 100px;
padding: 0.3em 0.6em;
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;
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/*　見出し　*/
.cf7-heading {
	width: 100%;
	background-color: #00f;
	border-left: 1em solid #6495ed;
	border-radius: 2px;
	color: #fff;
	font-weight: bold;
	padding: 1em .8em;
	margin: 0 0 2em;
}
.cf7-heading p {
margin: 0;
}

/* 必須マーク */
.cf7-must {
	background: #ff1a00;
}

/* 任意マーク */
.cf7-free {
	background: #666;
}

.cf7-must,
.cf7-free {
	color: #FFF;
	border-radius: 3px;
	font-size: 0.65em;
	margin-left: 10px;
	padding: 2px 6px;
	letter-spacing: 0.2em;
	vertical-align: middle;	
}

/*******************************
* コンタクトフォームのフォームの設定
********************************/
/* フォーム入力項目 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	 width: 100%;
	 padding: 8px 15px;
	 margin-right: 10px;
	 margin-top: 10px;
	 border: 1px solid #66f;
	 border-radius: 3px;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
	outline: none;
	border: 2px solid #00f;
}
/* 送信ボタン */
input.sub-btn {
	width: 300px;
	height: 60px;
	background: #0066ff;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #66f;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

/* 送信ボタンホバー */
input.sub-btn:hover{
	background: #0000ff;
	color: #fff;  
}

/* 送信ボタン中央寄せ */
.cf7-center {
	text-align:center;
}

/* エラー表示を見やすくする */
.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: #cc0000;
	font-weight: bold !important;
}

/*******************************
* 目次の表示
********************************/
.toc-list ul{
	display: flex;
} 
