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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#header-container, h1.entry-title {
    display: none;
}

.content, .entry-content {
    margin-top: 0px!important;
}

.main{
	padding: 0px!important;
    max-width: 500px;
    margin: 0 auto!important;
}

form.wpcf7-form {
    padding: 0 15px;
}

.entry-content.cf {
    position: relative;
}

.consultation-button {
    position: absolute;
    top: 0.25%;
    right: 3px;
    background-color: #115bac;
    font-size: 70%;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.consultation-button:hover {
  	background-color: #ffffff;
    color: #115bac;
	border: 2px solid #115bac
}

.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 600px; /* 最大幅の上限を設定しておくと大画面でもバランス◎ */
    margin: 10px auto; /* 上下に余白 & 中央寄せ */
    background: linear-gradient(135deg, #115bac, #71b898);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: #fff;
    color: #115bac;
    border: 2px solid #115bac;
}


.wpcf7 input[type="submit"] {
  background-color: #E60012;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
  display: block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #c7000b;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.privacy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.privacy-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  margin: 5% auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
}

.privacy-modal-content iframe {
  width: 100%;
  height: 850px;
  border: none;
}

.privacy-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

figure.wp-block-image.size-full {
    margin: 0px !important;
}

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

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

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