/*
Theme Name: 事業
Theme URL: テーマのサイトのURL
Description: 個人事業のテーマ
Author: 作者の名前
Version: 2
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;
}

/* ==============================
      共通部分
      ============================== */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.center {
    text-align: center;
}

.center-left {
    display: inline-block;
    text-align: left;
}

.margin-auto {
    margin: auto;
}

.responsive-nav {
    display: none;
}

.footer-center {
    display: flex;
    justify-content: center;
}

/* ==============================
      reCAPTCHAのバッジを非表示
      ============================== */
.grecaptcha-badge {
    visibility: hidden;
}

/* ==============================
      トップスクロール
      ============================== */
#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: var(--wp--preset--gradient--pale-ocean) !important;
}

li.header-li {
    list-style: none;
    margin: 35px;
}

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;
    /*横方向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-nav ul li a::after {
    /*アンダーラインのスタイル*/
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFA500;
    bottom: 0;
    left: 0;
    /*横方向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) {}

@media screen and (min-width: 431px) and (max-width: 960px) {}

@media screen and (max-width: 430px) {}