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

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

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

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

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

.elementor.elementor-6 {
	margin-top: -120px;
}

main#main {
    background: #ffffff00;
}

div#toc {
	display: none;
}

table tr:nth-of-type(2n+1) {
	background: none;
}

.tablepress {
    font-size: 0.9em;
}

.nf-form-fields-required {
  display: none;
}

.elementor-element.elementor-element-224afd6.e-con-full.e-flex.e-con.e-child {
	color: #ffffff !important;
}

a {
    color: white;
}

/* フォーム全体 */
.wpcf7 form {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 各項目 */
.form-item {
    margin-bottom: 20px;
}

/* ラベル行 */
.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* 必須タグ */
.form-label.required::after {
    content: "必須";
    font-size: 11px;
    padding: 2px 8px;
    color: #fff;
    background: #e53935;
    border-radius: 4px;
}

/* 任意タグ */
.form-label:not(.required)::after {
    content: "任意";
    font-size: 11px;
    padding: 2px 8px;
    color: #666;
    background: #eee;
    border-radius: 4px;
}

/* 入力フィールド */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

/* フォーカス */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.15);
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

/* ラジオ */
.wpcf7 .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.wpcf7 .wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f7f7f7;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: normal;
}

/* 送信ボタン */
.form-submit input {
    width: 100%;
    padding: 14px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.form-submit input:hover {
    background: #43a047;
}

/* スマホ */
@media (max-width: 480px) {
    .wpcf7 form {
        padding: 16px;
    }

    .wpcf7 input,
    .wpcf7 textarea {
        font-size: 16px;
    }
}