/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */

/* フォントの読み込み */
@font-face {
    font-family: 'LINESeedJP';
    font-weight: 400;
    /* 通常の場合は400 */
    font-style: normal;
    src: url('/fonts/LINESeedJP_TTF_Rg.eot');
    /* IE用 */
    src: url('/fonts/LINESeedJP_TTF_Rg.eot?#iefix') format('embedded-opentype'),
        url('/fonts/LINESeedJP_OTF_Rg.woff2') format('woff2'),
        url('/fonts/LINESeedJP_OTF_Rg.woff') format('woff');
}

@font-face {
    font-family: 'LINESeedJP';
    font-weight: bold;
    /* boldとして使用 */
    font-style: normal;
    src: url('/fonts/LINESeedJP_TTF_Bd.eot');
    src: url('/fonts/LINESeedJP_TTF_Bd.eot?#iefix') format('embedded-opentype'),
        url('/fonts/LINESeedJP_OTF_Bd.woff2') format('woff2'),
        url('/fonts/LINESeedJP_OTF_Bd.woff') format('woff');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'LINESeedJP', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'LINESeedJP', sans-serif;
    font-weight: bold;
}

a {
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

@media print {
    a[href]:after {
        content: "" !important;
    }

    abbr[title]:after {
        content: "" !important;
    }
}

@media (max-width: 768px) {

    .fl-col-small,
    .fl-col-small:not(.fl-col-small-full-width) {
        max-width: 100%;
    }
}


::selection {
    background-color: #278b99;
    color: #ffffff;
}

.fl-page {
    overflow: hidden !important;
}

.large {
    font-size: 1.3em;
}

.iconInstagram i {
    font-size: 24px;
    transform: translateY(2px);
}

header {
    filter: invert(1) brightness(100%);
}

header.fl-theme-builder-header-scrolled {
    filter: invert(0);
}

h1 .small {
    color: inherit !important;
    font-weight: inherit !important;
    font-size: 0.6em !important;
}

/* スマホのみ */
@media only screen and (max-width: 767.98px) {
    h1 .small {
        display: block !important;
        font-size: 0.6em !important;
    }
}

.onSp {
    display: none;
}

/* スマホのみ */
@media only screen and (max-width: 767.98px) {
    .onSp {
        display: inline-block;
    }

    .onPc {
        display: none;
    }
}

.iconX {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: translateY(-2px);
}

.iconX::before,
.iconX::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #3397a5;
    width: 100%;
    height: 1px;
}

.iconX::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.iconX::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.bgWhite .fl-icon {
    background-color: #ffffff;
    padding: 0px 10px;
    transform: rotate(15deg);
}


/*=== お問い合わせフォーム ===*/
.wpcf7-form {
    max-width: 800px !important;
}

.cf7-simple-responsive {
    margin: 0 auto;
    font-family: inherit;
}

.cf7-simple-responsive .form-row {
    margin-bottom: 24px;
}

/* ラベルのデザイン */
.cf7-simple-responsive label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

/* 必須バッジのデザイン */
.cf7-simple-responsive .required-badge {
    background-color: #e74c3c;
    /* 赤色 */
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* 入力エリアのデザイン */
.cf7-simple-responsive input[type="text"],
.cf7-simple-responsive input[type="email"],
.cf7-simple-responsive input[type="tel"],
.cf7-simple-responsive textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    /* 枠線を含めて幅を計算 */
    font-size: 16px;
    /* スマホでズームされないサイズ */
    transition: border-color 0.3s;
}

/* 入力エリア選択時の色 */
.cf7-simple-responsive input:focus,
.cf7-simple-responsive textarea:focus {
    border-color: #333;
    background-color: #fff;
    outline: none;
}

/* テキストエリアの高さ */
.cf7-simple-responsive textarea {
    height: 180px;
}

/* 送信ボタンのデザイン */
.cf7-simple-responsive .form-submit {
    text-align: center;
    margin-top: 32px;
}

.cf7-simple-responsive button[type="button"] {
    background-color: #333;
    /* ボタンの色 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 300px;
    /* ボタンの最大幅 */
}

.cf7-simple-responsive button[type="button"]:hover {
    opacity: 0.8;
}

/* スマホ表示時の微調整 */
@media screen and (max-width: 480px) {
    .cf7-simple-responsive button[type="button"] {
        width: 100%;
        max-width: 100%;
    }
}