/* 
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 2.0.0
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ========== ページ上部の空白をなくす ========== */
/* elementor編集画面では余白ができるけど、本番環境では余白がない。シークレットモードで確認可 */
/* widgetにデフォルで設定されてたgapを0に変更 */

/* ========== ページ全体のpaddingをなくす ========== */
#content.site-main,.elementor-element {
	padding: 0;
}

/* ========== common ========== */
ul {
  list-style: none;
}

.page-content a {
  text-decoration: none;
	color: #00d1d8;
}
a:hover {
	color: #fc00ff;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

/* ========== header ========== */
/* front-page */
/* ▼ 固定ヘッダー */
#header-front.elementor-element-7f1fbf2 {
  position: fixed;
  top: 0;
  left: 0;
	height: 60px;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
}

/* ▼ スクロール後に背景と影を表示 */
#header-front.elementor-element-7f1fbf2.scrolled {
  background-color: rgba(0, 209, 216, 0.9);
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	-webkit-transition: background-color 0.8s ease, box-shadow 0.8s ease;
  transition: background-color 0.8s ease, box-shadow 0.8s ease;
}

/* ▼ ロゴ調整 */
a.logo-link {
  display: inline-block;
  text-decoration: none;
	position: relative; /* クリック範囲を邪魔されないようにNavMenuより上位表示*/
  z-index: 1001;
}

svg.my-header-logo {
  height: 40px;
  width: auto;
  display: block;
  margin: 10px 20px;
}

/* ナビゲーションメニュー */
/* ハンバーガーメニュー固定 */
.elementor-element-f91d772 {
	position: fixed;
	top: 10px;
	right: 10px;
  z-index: 999;
}

/* ドロップダウンメニュー位置 */
nav.hfe-nav-menu__layout-horizontal {
	margin-top: 5px;
}

/* front-page以外 */
/* ▼ 固定ヘッダー */
#header-all.elementor-element-7f1fbf2 {
  position: fixed;
  top: 0;
  left: 0;
	height: 60px;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 209, 216, 0.9);
}

/* ▼ スクロール後に背景と影を表示 */
.elementor-element-7f1fbf2.scrolled-all {
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	-webkit-transition: background-color 0.8s ease, box-shadow 0.8s ease;
  transition: background-color 0.8s ease, box-shadow 0.8s ease;
}

/* ========== wrapper ========== */
.wrapper {
  width: 100%;
  height: 100vh;
  padding: 0;
  margin: 0;
  background: #fff;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
}

.hero-area-bg-wave {
  width: 100vw;
  height: 640px;
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.hero-area-bg-wave .hero-area-container .hero-area-inner .hero-area-copy {
  position: absolute;
  top: 210px;
  width: 100%;
  height: 100%;
  z-index: 1;
  line-height: 2.4rem;
  text-align: center;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 19, 20, 0.6);
  letter-spacing: 0rem;
  font-weight: 600;
  font-size: 1.4rem;
  font-family: "Sawarabi", serif;
}

.hero-area-bg-wave .hero-area-container .hero-area-inner .hero-area-copy .en {
  font-size: 2.2rem;
  letter-spacing: -0.1rem;
}

.hero-area-bg-wave .hero-area-container .hero-area-inner .hero-area-copy .kanji {
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
}

.hero-area-bg-wave .hero-area-container .hero-area-inner .hero-area-copy .hero-area-copy-katakana {
  font-family: "Sawarabi", serif;
  font-size: 1.4rem;
  letter-spacing: -0.2rem;
}

.wave {
  opacity: .4;
  position: absolute;
  top: 3%;
  left: 50%;
  background: #fc00ff;
  width: 2000px;
  height: 2000px;
  margin-left: -1000px;
  margin-top: -1450px;
  -webkit-transform-origin: 50% 48%;
          transform-origin: 50% 48%;
  border-radius: 43%;
  -webkit-animation: drift 11000ms infinite linear;
          animation: drift 11000ms infinite linear;
}

.wave.-three {
  -webkit-animation: drift 9000ms infinite linear;
          animation: drift 9000ms infinite linear;
}

.wave.-two {
  -webkit-animation: drift 7000ms infinite linear;
          animation: drift 7000ms infinite linear;
  opacity: .2;
  background: #939393;
}

.hero-area-bg-wave:after {
  content: '';
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#00d1d8), color-stop(80%, rgba(252, 0, 255, 0)), to(rgba(255, 255, 255, 0.5)));
  background: linear-gradient(to bottom, #00d1d8, rgba(252, 0, 255, 0) 80%, rgba(255, 255, 255, 0.5));
  z-index: 11;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

@-webkit-keyframes drift {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  from {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes drift {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  from {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

/* ========== main ========== */
.main-container {
  max-width: 1000px;
  margin: 0px auto 80px;
}

.main-container .main-inner {
  padding: 0 10px;
}

.main-container .main-inner h2 {
  text-align: center;
  color: #383838;
  font-family: 'Vollkorn', serif;
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 2rem;
  letter-spacing: 0.1rem;
}

.main-container .main-inner h2 .h2-main {
  opacity: 0.4;
}

.main-container .main-inner h2 .h2-sub {
  opacity: 1;
  font-size: 0.8rem;
  font-family: "Noto Sans Japanese", sans-serif;
  font-weight: 600;
  color: #383838;
}

/* ========== main-service ========== */
/* ========== main-service / 完成版（overlay 0.6） ========== */

/* 親でBFC化してfloat連鎖を断つ */
.main-service {
  display: flow-root;
}

/* a は容器。リンクごとに独立レイヤにして重なりを防ぐ */
.main-service a.section-link {
  display: flow-root;            /* ← 各リンク自体をBFC化 */
  position: relative;
  z-index: 0;
  text-decoration: none;
  color: inherit;
}

/* hover中は一段前面に（下敷き回避） */
.main-service a.section-link:hover {
  z-index: 5;
}

/* 各カード本体（section） */
.main-service a.section-link > section {
  display: flow-root;            /* カード内でもfloat完結 */
  position: relative;
  z-index: 0;
  isolation: isolate;            /* 擬似要素の積層を局所化 */
  background: #fff;
  box-shadow: 2px 2px 30px rgba(0, 19, 20, 0.2);
  width: 82%;
  height: auto;
}

/* “上から色をかける”オーバーレイ */
.main-service a.section-link > section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 209, 216, 0.6);  /* 透過0.6 */
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 2;                           /* テキストより上 */
  pointer-events: none;                 /* クリックはaへ通す */
}

/* hover / keyboard focus で表示 */
.main-service a.section-link:hover > section::after,
.main-service a.section-link:focus-visible > section::after {
  opacity: 1;
}

/* 文字系 */
.main-service section h3 {
  color: #383838;
  font-weight: 600;
  border-bottom: 1px solid #383838;
  position: relative;
  z-index: 1;
}
.main-service section p {
  padding-top: 10px;
  line-height: 1.7rem;
  position: relative;
  z-index: 1;
}

/* 背景ブロブ（SVG入れ物）— 常に最背面＋イベント透過 */
.main-service section .service01-svg-bg,
.main-service section .service02-svg-bg,
.main-service section .service03-svg-bg,
.main-service section .service04-svg-bg,
.main-service section .service05-svg-bg,
.main-service section .service06-svg-bg {
  position: absolute;
  z-index: 0;                        /* テキストより下 */
  pointer-events: none;              /* hover/クリックを奪わない */
  width: 70px;
  height: auto;
  background: linear-gradient(to bottom,
              rgba(0, 209, 216, 0.8),
              rgba(252, 0, 255, 0.8));
  box-shadow: 2px 2px 30px rgba(0, 19, 20, 0.2);
}
.main-service section .service01-svg-bg svg,
.main-service section .service02-svg-bg svg,
.main-service section .service03-svg-bg svg,
.main-service section .service04-svg-bg svg,
.main-service section .service05-svg-bg svg,
.main-service section .service06-svg-bg svg {
  width: 60px;
  height: 60px;
  fill: #fff;
  padding: 7px 0 0 10px;
}

.main-service section .service02-svg-bg svg {
  width: 58px;
  height: 54px;
  padding: 10px 0 4px 14px;
}
.main-service section .service04-svg-bg svg {
  width: 58px;
  height: 58px;
  padding: 10px 2px 0 12px;
}
.main-service section .service05-svg-bg svg {
  width: 56px;
  height: 56px;
  padding: 8px 0 6px 12px;
}
.main-service section .service06-svg-bg svg {
  width: 54px;
  height: 58px;
  padding: 12px 0 2px 10px;
}

/* ===== カード別（レイアウト踏襲） ===== */
.main-service .service01 {
  padding: 20px 20px 20px 30px;
  margin: 40px 0 0 50px;
}
.main-service .service01 .service01-svg-bg {
  left: -50px; top: 20px;
  border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
}

/* 右寄せ（02/04/06）は float を使いつつ必ず先頭でclear */
.main-service .service02,
.main-service .service04,
.main-service .service06 {
  float: right;
  clear: both;                        /* ← ペア化バグ防止の要 */
  padding: 20px 20px 20px 30px;
  position: relative;                 /* 自レイヤを作る */
  z-index: 1;                         /* 下敷き回避の保険 */
}
.main-service .service02,
.main-service .service04 {
  margin: 60px 50px 0 0;
}
.main-service .service06 {
  margin: 60px 50px 60px 0;
}

.main-service .service02 .service02-svg-bg {
  right: -50px; top: 20px;
  border-radius: 40% 60% 50% 40%/50%;
}
.main-service .service04 .service04-svg-bg {
  right: -50px; top: 20px;
  border-radius: 40% 60% 60% 70%/40% 70% 50% 60%;
}
.main-service .service06 .service06-svg-bg {
  right: -50px; top: 20px;
  border-radius: 40% 80% 60% 50%/40% 70% 50% 60%;
}

.main-service .service03,
.main-service .service05 {
  clear: both;
  padding: 20px 20px 20px 30px;
  margin: 60px 0 0 50px;
}
.main-service .service03 .service03-svg-bg {
  left: -50px; top: 20px;
  border-radius: 50% 50% 40% 40%/70% 50% 60% 40%;
}
.main-service .service05 .service05-svg-bg {
  left: -50px; top: 20px;
  border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
}

/* レスポンシブ */
@media screen and (min-width: 768px) {
  .main-service { padding: 0 50px; }
}

/* 低モーション環境 */
@media (prefers-reduced-motion: reduce) {
  .main-service a.section-link > section::after { transition: none; }
}


/* ===== Footer ===== */
/* Footer左右padding */
footer .wpcf7, footer .last-message {
	padding: 0 10px;
}

/* Contact と お問い合せ の間隔を小さく */
/* widget設定でmargin-top: -20px; */

/* Contactの上 */
footer .elementor-widget-container h2 {
	margin-top: 60px;
}

/* ===== Contact Form 7 メイン ===== */
.elementor-widget-shortcode .wpcf7 {
	margin: 0 auto;
  font-family: Noto Sans JP, sans-serif;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 400;
}

/* 入力エリアを左右中央に配置 */
/* Contact Form 7 入力欄を中央に揃える + エラー時も維持 */

/* 共通設定 */
.elementor-widget-shortcode form.wpcf7-form input[type="text"],
.elementor-widget-shortcode form.wpcf7-form input[type="email"],
.elementor-widget-shortcode form.wpcf7-form textarea {
  display: block;
  margin: 4px auto;
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 0.5em;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* エラー時（.wpcf7-not-valid が付与された状態）も同様に適用 */
.elementor-widget-shortcode form.wpcf7-form input.wpcf7-not-valid[type="text"],
.elementor-widget-shortcode form.wpcf7-form input.wpcf7-not-valid[type="email"],
.elementor-widget-shortcode form.wpcf7-form textarea.wpcf7-not-valid {
  display: block;
  margin: 4px auto;
  border: 2px solid #fc00ff;
  padding: 0.5em;
  width: 100%;
  box-sizing: border-box;
}




/* .wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  display: block;
  margin: 0 auto;
} */

/* 送信後の入力エリアを左右中央に配置 */
/* 通常状態と、エラー状態（wpcf7-not-valid）どちらにも適用 */
/* .wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 input.wpcf7-not-valid[type="text"],
.wpcf7 input.wpcf7-not-valid[type="email"],
.wpcf7 textarea.wpcf7-not-valid {
  display: block;
  margin: 0 auto;
} */

/* さらに、エラー時に aria-invalid="true" も対象に含める場合 */
.wpcf7 input[aria-invalid="true"],
.wpcf7 textarea[aria-invalid="true"] {
  display: block;
  margin: 0 auto;
}

/* 入力中:hoverエフェクト */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  outline: none; /* デフォルトの青い枠を消したいとき */
  border: 2px solid #00d1d8; /* ハイライト用の枠線 */
  transition: all 0.2s ease-in-out; /* なめらかに */
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #fc00ff;
  font-size: 0.9em;
  margin-top: 4px;
}

/* エラーのある入力欄 */
.wpcf7-not-valid {
  border: 2px solid #fc00ff !important;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  width: 50%;
  margin: 5% 25% 0% 25%;
  border: 2px solid rgba(0, 209, 216, 1);
  border-radius: 0;
  font-family: Noto Sans JP, sans-serif;
  font-weight: 400;
  color: #fff;
  background-color: transparent;
}

/* ホバー時 */
.wpcf7 input[type="submit"]:hover {
  background-color: rgba(0, 209, 216, 0.9);
}

/* 送信中ボタン */
.wpcf7 input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* メッセージ */
/* 入力ミスのメッセージ */
.wpcf7 form.invalid .wpcf7-response-output {
  border: 2px solid #fc00ff;
  color: #fff;
	background-color: rgba(252, 0, 255, 0.1);
  padding: 10px;
  text-align: center;
}

/* 送信完了のメッセージ */
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #00d1d8;
	background-color: rgba(0, 209, 216, 0.1);
  color: #fff;
  padding: 10px;
  text-align: center;
}

/* ===== メッセージ ===== */
footer .last-message p {
	margin-bottom: 40px;
}

/* ===== Footer Copyright ===== */
footer .copyright p {
	margin-bottom: 10px;
}

footer .copyright .elementor-widget-container a {
	color: #fff;
}

/* ===== reCAPTCHA非表示 ===== */
.grecaptcha-badge { visibility: hidden; }

/* ========== #btn-top ========== */
#btn-top {
	background: linear-gradient(to bottom, #00d1d8, #fc00ff);
  opacity: .8;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 0;
  right: 0;
}

#btn-top a {
  text-decoration: none;
  padding: 11px 11px 12px 13px;
  color: #fff;
  font-size: 1.3rem;
}

#btn-top a,
#btn-top a .fa-chevron-up {
  display: block;
  text-align: center;
}

@media screen and (min-width: 768px) {
  #btn-top:hover {
    background: rgba(0, 209, 216, 0.8);
    /* fallback for old browsers */
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 209, 216, 0.8)), to(rgba(252, 0, 255, 0.8)));
    background: linear-gradient(to bottom, rgba(0, 209, 216, 0.8), rgba(252, 0, 255, 0.8));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
}

/* ========== Work 個別ページ（post） ========== */
h1.entry-title {
	margin-top: 100px;
	margin-bottom: 40px;
  font-family: Shippori Mincho B1, sans-serif;
  text-align: center;
}

@media (max-width: 575px){
    h1.entry-title {
        margin-bottom: 16px;
        font-size: 1.8rem;
    }
}

#content.post {
	padding: 0 10px 0;
	margin-bottom: 40px;
}
