/*
Theme Name: 事業
Theme URL: テーマのサイトのURL
Description: 個人事業のテーマ
Author: 作者の名前
Version: テーマのバージョン
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURL
*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
body {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}

a {
    text-decoration: none
}

img {
    vertical-align: bottom;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    user-select: none;
}

.sp-dis {
    display: none;
}

.responsive-nav {
    display: none;
}

/* ==============================
   reCAPTCHAのバッジを非表示
   ============================== */
.grecaptcha-badge {
    visibility: hidden;
}

/* ==============================
   Contact Form7デフォルトのスタイルを無効化する
   https://takechi-web.com/contactform7-submit-buttom-customize/
   ============================== */
input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 20px;
    font-weight: bold;
    width: 200px;
    padding: 10px;
    border-radius: 10px;
    background-color: #233b6c;
    border: none;
    color: #fff;
    cursor: pointer;
}

.wpcf7-list-item input[type="checkbox"] {
    width: 15px;
    height: auto;
    transform: scale(1.5);
    margin-right: 10px;
}

span.wpcf7-spinner {
    display: none;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 auto;
    font-size: 15px;
    max-width: 90%;
}

.wpcf7-not-valid-tip {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* ==============================
   いいねボタンを押した際のメッセージを消したい
   ============================== */
.wpulike-notification .wpulike-message.wpulike-success {
    display: none;
}

/* ==============================
   いいねボタンを取り消した際のメッセージを消したい
   ============================== */
.wpulike-notification .wpulike-message {
    display: none;
}

/* ==============================
   ページネーション関連
   ============================== */
/* ページネーション全体のスタイル */
.navigation.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* ページリンクのスタイル */
.navigation.pagination .nav-links .page-numbers {
    color: #333;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* 現在のページのリンクのスタイル */
.navigation.pagination .nav-links .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* ホバー時のスタイル */
.navigation.pagination .nav-links .page-numbers:hover {
    background-color: #0073aa;
    color: #fff;
}

/* 前後のリンクのスタイル */
.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next {
    font-weight: bold;
}

/* ==============================
   トップスクロール
   ============================== */
#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 25px;
    bottom: 50px;
    background: #3f98ef;
    opacity: 0.6;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* ==============================
   フェード
   ============================== */
/* 下からフェードイン前 */
.js-fade-bottom {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン後 */
.js-fade-bottom.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.js-fade-bottom.fadein {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* ==============================
   ヘッダー
   ============================== */
ul.header-nav-flex {
    display: flex;
    justify-content: end;
    background: linear-gradient(70deg, white, rgba(87, 230, 255, 0.8));
}

li.header-li {
    list-style: none;
    margin: 35px;
}

ul.sev-header-nav-flex {
    display: flex;
    justify-content: center;
    background: linear-gradient(70deg, white, rgba(87, 230, 255, 0.8));
}

li.sev-header-li {
    list-style: none;
    margin: 10px 50px;
}

img.rogo {
    width: 180px;
    display: block;
}

a.rogo {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 1;
}

/* ==============================
   ヘッダーホバーエフェクト
   ============================== */
.header-nav ul li a::after {
    /*アンダーラインのスタイル*/
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFA500;
    bottom: 0;
    left: 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.header-nav ul li a {
    position: relative;
    color: black;
}

.header-nav ul li a:hover::after {
    transform: scale(1, 1);
}

/* ==============================
   フッター
   ============================== */
li.footer-li {
    list-style: none;
    margin: 20px 20px;
}

.cp-margin {
    text-align: center;
    padding: 20px;
}

.footer {
    background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;
}

.footer-center {
    display: flex;
    justify-content: center;
}

/* ==============================
   フッターホバーエフェクト
   ============================== */
.footer-nav ul li a::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFA500;
    bottom: 0;
    left: 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.footer-nav ul li a {
    position: relative;
    color: black;
}

.footer-nav ul li a:hover::after {
    transform: scale(1, 1);
}

@media print {
    body {
        display: none
    }
}

@media screen and (max-width: 1024px) and (max-height: 1366px) {

    /* ==============================
   ページネーション関連
   ============================== */
    /* ページリンクのスタイル */
    .navigation.pagination .nav-links .page-numbers {
        padding: 8px 9px;
    }

    /* ==============================
  ヘッダー
  ============================== */
    li.header-li {
        margin: 35px 15px;
    }

    ul.sev-header-nav-flex {
        justify-content: end;
    }

    li.sev-header-li {
        margin: 10px 35px;
    }

    /* ==============================
   Contact Form7のスタイル
   ============================== */
    .wpcf7 form .wpcf7-response-output {
        max-width: 95%;
    }
}

@media screen and (min-width: 431px) and (max-width: 960px) {

    /* ==============================
   ページネーション関連
   ============================== */
    /* ページリンクのスタイル */
    .navigation.pagination .nav-links .page-numbers {
        padding: 0;
    }

    /* ==============================
   ヘッダー
   ============================== */
    li.header-li {
        margin: 35px 15px;
    }

    ul.sev-header-nav-flex {
        justify-content: end;
    }

    li.sev-header-li {
        margin: 10px 20px;
    }

    img.rogo {
        width: 130px;
    }

    a.rogo {
        left: 20px;
    }

    /* ==============================
   フッター
   ============================== */
    li.footer-li {
        margin: 20px 13px;
    }

    /* ==============================
   Contact Form7のスタイル
   ============================== */
    .wpcf7 form .wpcf7-response-output {
        max-width: 80%;
    }
}

/* 430px以下に適用されるCSS */
@media screen and (max-width: 430px) {
    .pc-dis {
        display: none;
    }

    .sp-dis {
        display: block;
    }

    /* ==============================
   ページネーション関連
   ============================== */
    /* ページリンクのスタイル */
    .navigation.pagination .nav-links .page-numbers {
        padding: 0;
        margin: 0;
    }

    /* ==============================
  ヘッダー
  ============================== */
    ul.header-nav-flex {
        display: none;
    }

    ul.sev-header-nav-flex {
        display: none;
    }

    img.rogo {
        width: 100px;
    }

    a.rogo {
        top: -4px;
        left: 20px;
    }

    li.footer-li {
        list-style: none;
        margin: auto;
        padding: 10px;
    }

    /* ==============================
   Contact Form7のスタイル
   ============================== */
    .wpcf7 form .wpcf7-response-output {
        max-width: 80%;
    }

    /* ==============================
   ハンバーガー
   https://rico-notes.com/programming/html/header-responsive/#toc2
   ============================== */
    #hamburger {
        position: relative;
        display: block;
        width: 80px;
        height: 20px;
        margin: 10px 10px 10px auto;
    }

    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0px;
        display: block;
        width: 100%;
        height: 2px;
        background-color: black;
        transform: translateY(-50%);
    }

    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 2px;
        background-color: black;
    }

    #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 70%;
        height: 2px;
        background-color: black;
    }

    .responsive-nav {
        z-index: 1;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        display: block;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }

    .responsive-nav ul {
        padding: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .responsive-nav li {
        margin: 0px;
        padding: 0px;
        color: white;
    }

    .responsive-nav li a {
        display: block;
        padding: 20px 0px;
        color: white;
        font-size: 20px;
    }

    .responsive-nav li span {
        display: block;
        padding: 20px 0px;
        color: white;
        font-size: 30px;
    }

    /*基準となるli要素*/
    .responsive-nav .close {
        position: relative;
        padding-left: 20px;
    }

    /*バツ印線1*/
    .responsive-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0px;
        display: block;
        width: 16px;
        height: 1px;
        background: white;
        transform: rotate(45deg);
    }

    /*バツ印線2*/
    .responsive-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0px;
        display: block;
        width: 16px;
        height: 1px;
        background: white;
        transform: rotate(-45deg);
    }

    .toggle {
        transform: translateY(0);
        opacity: 1;
    }
}