/*
================================================================
  Goen Inc. カスタムスタイルシート
  WordPress + Elementor/Bricks 用
  最終更新: 2026年2月
================================================================
*/


/*------------------------------------------------------------
  ユーティリティクラス - 汎用スタイル
-------------------------------------------------------------*/

.nowrap p,.nowrap h1,.nowrap h2,.nowrap h3,.nowrap h4,.nowrap h5,h3.nowrap{
  white-space: nowrap;
}

.palt p,.palt h1,.palt h2,.palt h3,.palt h4,.palt h5,h3.palt{
  font-feature-settings: "palt";
}

.nodisplay{
  display: none;
}

/*------------------------------------------------------------
  ページテンプレート - 見出しとテキストスタイル
-------------------------------------------------------------*/


/* 固定ページの見出しスタイル */

#PageTemplate h1,
#PageTemplate h2,
#PageTemplate h3,
#PageTemplate h4,
#PageTemplate h5,
#PageTemplate h6 {
  margin-top: 2.5em;
  color: #444444;
}

#PageTemplate h1{
  font-size: 2.0rem;
}
#PageTemplate h2{
  font-size: 2.0rem;
}
#PageTemplate h3{
  font-size: 1.5rem;
}
#PageTemplate h4{
  font-size: 1.4rem;
}
#PageTemplate h5{
  font-size: 1.35rem;
}

#PageTemplate ul + p{
  margin-bottom: 20px;
}


/* 〜768px：SP横
------------------------------ */
@media screen and (max-width:768px) {

  #PageTemplate h1{
    font-size: 1.25rem;
  }

  #PageTemplate h2{
    font-size: 1.2em;
  }

  #PageTemplate h3{
    font-size: 1.18rem;
  }

  #PageTemplate h4{
    font-size: 1.15em;
  }

  #PageTemplate h5{
    font-size: 1.10em;
  }

}



/* メインコンテンツの見出しスタイル */

#mainContents h1,
#mainContents h2,
#mainContents h3,
#mainContents h4,
#mainContents h5,
#mainContents h6 {
  margin-top: 2.5em;
  color: #444444;
}

#mainContents h1{
  font-size: 2.0rem;
}
#mainContents h2{
  position: relative;
  border: none;
  font-size: 1.25em;
  padding: 1em 1.1em;
  margin-bottom: 1em;
  border-radius: 3px;
  background: #191919;
  color: #ffffff;
}
#mainContents h3{
  font-size: 1.5rem;
}
#mainContents h4{
  font-size: 1.4rem;
}
#mainContents h5{
  font-size: 1.35rem;
}

/* 〜768px：SP横
------------------------------ */
@media screen and (max-width:768px) {

  #mainContents h1{
    font-size: 1.25rem;
  }

  #mainContents h2{
    font-size: 1.2em;
  }

  #mainContents h3{
    font-size: 1.18rem;
  }

  #mainContents h4{
    font-size: 1.15em;
  }

  #mainContents h5{
    font-size: 1.10em;
  }

}


/* 定義リスト(dl dt dd)  */

dl {
  display: flex;
  flex-wrap: wrap;
}
dl dt {
  width: 30%;
  margin: 0;
  padding: 10px;
}
dl dd {
  width: 70%;
  margin: 0;
  padding: 10px;
}

/* 箇条書きリスト（ul li)  */

main ul {
  list-style: circle;
  padding: 0;
  margin: 0 30px;
}

main ol {
  padding: 0;
  margin: 0 30px;
}

main li {
  margin-top: 0.5em;
  padding-left: 0em;
  position: relative;
}

/* ネストされたリスト用のスタイル */
main ul ul,main ol ol {
  margin-top: 0.5em;
  margin-left: 2em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  main li {
    padding-left: 0em;
  }
  main ul ul, main ol ol {
    margin-left: 1.5em;
  }
}


/* 引用ブロック - Blockquote スタイル */

blockquote {
	font-size: 0.95em;
	padding: 6% 4% 2%;
	margin: 2.5em 0 3em;
	position: relative;
	border: 1px solid;
	opacity: .8;
}

blockquote:before,
blockquote:after{
	font-family: 'FontAwesome';
	position: absolute;
	width: 1em;
	height: 1em;
	display: block;
	padding: .2em;
	text-align: center;
	font-size: 1.3em;
	line-height: 1;
	background: #fff;
}

blockquote:before {
  content: '\f10d';
  left: -0.1em;
  top: -0.6em;
  background: #ffffff;
}

blockquote:after {
  content: '\f10e';
  right: 0.2em;
  bottom: -0.3em;
  background: #ffffff;
}

blockquote p {
  position: relative;
  padding: 0;
  margin: 10px 0;
  z-index: 3;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}


/* コードタグ - インラインコード表示 */

code {
  display: inline-block;
  padding: 0em 0.5em;
  background-color: #e7edf3;
  border-radius: 3px;
}


/*------------------------------------------------------------
  Rank Math SEO - 目次スタイル
-------------------------------------------------------------*/
#rank-math-toc{
  margin-top: 2.5em;
  margin-bottom: 2.5em;
  padding: 1em 1em 1.8em 1em;
  border: 1px solid #999;
  background-color: #f7f7f7;
  }
#rank-math-toc a{
  color:#555555;
  }
#rank-math-toc h2{
    position: relative;
    border: none;
    font-size: 1.0em;
    padding: 0em 0.6em;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 3px;
    background: transparent;
    color: #191919;
  }
#rank-math-toc a:hover{
	  /* 以下、ゆっくりフェードインさせる設定 */
	  transition: 0.5s ease-in-out;
    color:#0070FF;
    }

#rank-math-toc ul {
    list-style-type: decimal;
    }

#rank-math-toc li {
  font-weight: bold;
  font-size:15px;
  color:#555555;
  }

#rank-math-toc li li {
  font-weight: normal;
  font-size:13px;
  }

#rank-math-toc li li::before {
  border-bottom: solid 2px;
  border-left: solid 0px;
  }


/*------------------------------------------------------------
  電話番号リンク - スマホのみ有効化
-------------------------------------------------------------*/

@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/*------------------------------------------------------------
  Flexbox - フレキシブルレイアウト
-------------------------------------------------------------*/

.flex {
  display: flex;
}

/*------------------------------------------------------------
  SVGアニメーション - スクロール連動
-------------------------------------------------------------*/

/* スクロールで固定アニメーションする設定
------------------------------ */

.fadein .a {
  stroke: #231815;
  stroke-width: 1px;
  fill: transparent;
  stroke-dasharray: 3607.929px; /* イラストレーターのドキュメント情報で外周を算出 */
  stroke-dashoffset: 3607.929px;
  animation: anim 4s ease-in 0s forwards;
  animation-delay: 1.7s;
}

@keyframes anim {
  0% {
    stroke-dashoffset: 3607.929px;
  }
  30% {
    fill: transparent;
  }
  50% {
    stroke-dashoffset: 0;
    fill: #eeeeee;
  }
  90% {
    stroke-dashoffset: 0;
    fill: #ffffff;
    stroke-width: 0px;
  }
  100% {
    stroke-dashoffset: 0;
    fill: #ffffff;
    stroke-width: 0px;
  }
}

/*------------------------------------------------------------
  背景切り替えアニメーション - メインビジュアル
-------------------------------------------------------------*/

.home .bgchange .mainvisual {
  animation: bgchange 5s ease-in 0s forwards;
}

@keyframes bgchange {
  0% {
    background: #644c33;
  }
  90% {
    background: #fdf9f6;
  }
  100% {
    background: #fdf9f6;
  }
}

/*------------------------------------------------------------
  スクロールアニメーション - フェード & スケール
-------------------------------------------------------------*/

.fade-type-scale_10 {
  transform: scale(1);
  opacity: 0;
  margin-bottom: 0px;
}

.fade-type-scale_09 {
  transform: scale(0.9);
  opacity: 0;
  margin-bottom: 0px;
}

.fade-type-scale_X-10 {
  transform: translateY(-40px);
  opacity: 0;
  margin-bottom: 0px;
}

.fade-type-scale_X10 {
  transform: translateY(40px);
  opacity: 0;
  margin-bottom: 0px;
}

.fade-type-scale_Y-10 {
  transform: translateY(-20px);
  opacity: 0;
  margin-bottom: 0px;
}

.fade-type-scale:last-of-type {
  margin-bottom: 0;
}

.fade-scale {
  transition: all 1s;
  opacity: 1;
  transform: scale(1);
}

.fade-scale-xy {
  transition: all 1s;
  opacity: 1;
  transform: translateX(0);
}

/*以下フェードイン表示の指定*/
.fadein {
  opacity: 0;
  animation: fadein_a 1s ease forwards;
  transform: translateY(-10px);
}

.fadein02 {
  opacity: 0;
  animation: fadein_b 2s ease forwards;
  transform: translateY(0px);
}

.fadein03 {
  opacity: 0;
  animation: fadein_c 2s ease forwards;
  transform: translateY(0px);
}

@keyframes fadein_a {
  100% {
    opacity: 1;
    transform: translateY(-0px);
  }
}

@keyframes fadein_b {
  100% {
    opacity: 1;
    transform: translateY(-0px);
  }
}

@keyframes fadein_c {
  100% {
    opacity: 0.8;
    transform: translateY(-0px);
  }
}

/*以下遅延の指定*/
.anime00 {
  animation-delay: 0s;
}
.anime01 {
  animation-delay: 0.5s;
}
.anime02 {
  animation-delay: 1s;
}
.anime03 {
  animation-delay: 1.5s;
}
.anime04 {
  animation-delay: 1.7s;
}
.anime05 {
  animation-delay: 2.5s;
}
.anime06 {
  animation-delay: 3s;
}
.anime07 {
  animation-delay: 3.5s;
}

/*------------------------------------------------------------
  Google Map - レスポンシブ埋め込み
-------------------------------------------------------------*/

.googlemap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.googlemap iframe,
.googlemap object,
.googlemap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*------------------------------------------------------------
  SNS アイコン - サークルスタイル
-------------------------------------------------------------*/

/* 回り込み解除のためのクラス */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* サークルのスタイル */
.sns_circle {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #999;
  float: left;
  list-style: none;
}

/* Webフォントに関する指定 */
.sns_circle span {
  position: absolute;
  padding: 10px;
  font-size: 1.6em;
  color: #fff; /* 文字の色 */
}

/* リンク領域をブロック全体に */
.sns_circle a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  text-indent: -999px;
  color: #fff; /* 文字の色 */
}

/* マウスオーバー */
.sns_circle a:hover {
  background-color: #fff;
  opacity: 0.5;
}

/* 横幅を300pxに固定して真ん中に表示 */
ul.circle_group {
  justify-content: center;
  width: auto;
  margin: auto auto 3em;
  list-style: none;
  padding: 0;
}

/* アイコン毎の配色と配置 */
.sns_circle.feedly {
  background-color: #6cc655;
}

.sns_circle.facebook {
  background-color: #265a96;
}

.sns_circle.twitter {
  background-color: #00acec;
}

.sns_circle.hatebu {
  background-color: #006fbb;
}

.sns_circle.pocket {
  background-color: #ee4256;
}

.sns_circle.line {
  background-color: #2cbf13;
}

.sns_circle.feed {
  background-color: #ff9900;
}

.sns_circle.youtube {
  background-color: #e22d26;
}


/*------------------------------------------------------------
  フォーム要素 - iOS/Safari デフォルトスタイル リセット
-------------------------------------------------------------*/

* {
  -webkit-appearance: none;
  appearance: none;
}

input,
button,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

/* Reset input[type="search"] */
input[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]:focus {
  outline-offset: -2px;
}
input[type="search"]::-webkit-search-decoration {
  display: none;
}
input[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
}
input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

/*------------------------------------------------------------
  フォントサイズ - clamp() でレスポンシブ対応
  ビューポートに応じて滑らかにスケール
-------------------------------------------------------------*/

.f09 {
  font-size: clamp(0.8rem, 0.85rem + 0.3vw, 0.9rem) !important;
}
.f10 {
  font-size: clamp(0.875rem, 0.95rem + 0.4vw, 1rem) !important;
}
.f11 {
  font-size: clamp(0.95rem, 1.05rem + 0.4vw, 1.1rem) !important;
}
.f12 {
  font-size: clamp(1rem, 1.1rem + 0.5vw, 1.2rem) !important;
}
.f13 {
  font-size: clamp(1.1rem, 1.2rem + 0.5vw, 1.3rem) !important;
}
.f14 {
  font-size: clamp(1.15rem, 1.25rem + 0.6vw, 1.4rem) !important;
}
.f15 {
  font-size: clamp(1.2rem, 1.35rem + 0.7vw, 1.5rem) !important;
}
.f16 {
  font-size: clamp(1.3rem, 1.45rem + 0.8vw, 1.6rem) !important;
}
.f17 {
  font-size: clamp(1.4rem, 1.55rem + 0.8vw, 1.7rem) !important;
}
.f18 {
  font-size: clamp(1.5rem, 1.65rem + 0.9vw, 1.8rem) !important;
}
.f19 {
  font-size: clamp(1.6rem, 1.75rem + 0.9vw, 1.9rem) !important;
}
.f20 {
  font-size: clamp(1.6rem, 1.8rem + 1vw, 2rem) !important;
}
.f21 {
  font-size: clamp(1.7rem, 1.9rem + 1.1vw, 2.1rem) !important;
}
.f22 {
  font-size: clamp(1.8rem, 2rem + 1.1vw, 2.2rem) !important;
}
.f23 {
  font-size: clamp(1.9rem, 2.1rem + 1.2vw, 2.3rem) !important;
}
.f24 {
  font-size: clamp(2rem, 2.2rem + 1.2vw, 2.4rem) !important;
}
.f25 {
  font-size: clamp(2rem, 2.25rem + 1.3vw, 2.5rem) !important;
}
.f26 {
  font-size: clamp(2.1rem, 2.35rem + 1.3vw, 2.6rem) !important;
}
.f27 {
  font-size: clamp(2.2rem, 2.45rem + 1.4vw, 2.7rem) !important;
}
.f28 {
  font-size: clamp(2.3rem, 2.55rem + 1.4vw, 2.8rem) !important;
}
.f29 {
  font-size: clamp(2.4rem, 2.65rem + 1.5vw, 2.9rem) !important;
}
.f30 {
  font-size: clamp(2.4rem, 2.7rem + 1.5vw, 3rem) !important;
}
.f31 {
  font-size: clamp(2.5rem, 2.8rem + 1.6vw, 3.1rem) !important;
}
.f32 {
  font-size: clamp(2.6rem, 2.9rem + 1.6vw, 3.2rem) !important;
}
.f33 {
  font-size: clamp(2.7rem, 3rem + 1.7vw, 3.3rem) !important;
}
.f34 {
  font-size: clamp(2.8rem, 3.1rem + 1.7vw, 3.4rem) !important;
}
.f35 {
  font-size: clamp(2.8rem, 3.15rem + 1.8vw, 3.5rem) !important;
}
.f40 {
  font-size: clamp(3rem, 3.5rem + 2.5vw, 4rem) !important;
}
.f45 {
  font-size: clamp(3.2rem, 3.8rem + 3vw, 4.5rem) !important;
}
.f120 {
  font-size: clamp(110%, 115% + 0.5vw, 120%) !important;
}
.f150 {
  font-size: clamp(130%, 140% + 1vw, 150%) !important;
}

/*------------------------------------------------------------
  行間 - Line Height クラス
-------------------------------------------------------------*/

.lh11 {
  line-height: 110% !important;
}
.lh12 {
  line-height: 120% !important;
}
.lh13 {
  line-height: 130% !important;
}
.lh14 {
  line-height: 140% !important;
}
.lh15 {
  line-height: 150% !important;
}
.lh16 {
  line-height: 160% !important;
}
.lh17 {
  line-height: 170% !important;
}
.lh18 {
  line-height: 180% !important;
}
.lh19 {
  line-height: 190% !important;
}
.lh20 {
  line-height: 200% !important;
}

/*------------------------------------------------------------
  FontAwesome - アイコンフォント設定
-------------------------------------------------------------*/

.fa {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-size-adjust: none;
  font-stretch: normal;
  font-feature-settings: normal;
  font-language-override: normal;
  font-kerning: auto;
  font-synthesis: weight style;
  font-variant: normal;
  font-size: inherit;
  text-rendering: auto;
  -moz-osx-font-smoothing: grayscale;
}

/*------------------------------------------------------------
  配置・位置 - Align & Position
-------------------------------------------------------------*/

.relative {
  position: relative;
}
.center {
  text-align: center;
}
.m-center {
  margin: 0 auto;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.b,.b a {
  font-weight: 900!important;
}
.normal {
  font-weight: normal !important;
}
.clearfix {
  min-height: 1px;
}
.clr::after {
  content: "";
  display: block;
  clear: both;
}

/*------------------------------------------------------------
  エディタ用スニペット - よく使うスタイル
-------------------------------------------------------------*/

.boldstyle {
  font-weight: 600;
}
.fontwhite {
  color: #ffffff;
}
.fontred {
  color: #f44336;
}
.fontblack {
  color: #000000 !important;
}
.fontblue {
  color: #0077ee;
}
.borderBox {
  border: 1px solid #e5e5e5;
  padding: 20px;
  margin-bottom: 20px;
}
.border2Box {
  border: 4px double #e5e5e5;
  padding: 20px;
  margin-bottom: 20px;
}
.bgBox {
  background: #f2f2f2;
  padding: 20px;
  margin-bottom: 20px;
}
.paperBox {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #f2f2f2;
}
.boldBox {
  border: 3px solid #191919;
  padding: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.bracketsBox {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
}
.bracketsBox:after,
.bracketsBox:before {
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 30px;
  content: "";
}
.bracketsBox:before {
  top: 0;
  left: 0;
  border-top: solid 1px #191919;
  border-left: solid 1px #191919;
}
.bracketsBox:after {
  right: 0;
  bottom: 0;
  border-right: solid 1px #191919;
  border-bottom: solid 1px #191919;
}

.questionBox {
  position: relative;
  margin-bottom: 20px;
  padding: 20px 20px 20px 70px;
}
.questionBox {
  background-color: #d9eff7;
}
.exclamationBox,
.questionBox {
  padding: 15px 15px 15px 55px;
}
.exclamationBox:before,
.questionBox:before {
  top: 15px;
  left: 15px;
  font-size: 1.6rem;
  width: 25px;
  height: 25px;
  line-height: 25px;
}

.pointBox {
  position: relative;
  border: 2px solid #c53929;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
}
.pointBox:before {
  content: "POINT";
  position: absolute;
  top: -15px;
  left: 15px;
  font-size: 1.6rem;
  font-weight: 700;
  background-color: #fff;
  color: #c53929;
  padding: 0 10px;
}

.markerYellow {
  background: linear-gradient(transparent 60%, #fff600 60%);
}
.markerPink {
  background: linear-gradient(transparent 60%, #ffdfef 60%);
}
.markerBlue {
  background: linear-gradient(transparent 60%, #cce5ff 60%);
}

/*------------------------------------------------------------
  レスポンシブ表示切替 - デバイス別 表示/非表示
-------------------------------------------------------------*/

.visible-sp,.visible-tb,.visible-pc {
  display: none;
}

/* 1024px〜768px：小型PC
------------------------------ */
@media (max-width: 1024px) and (min-width: 768px) {

  .hidden-tb {
    display: none;
  }

  .visible-tb {
    display: inline;
  }
}

/* 1025px〜：PC
------------------------------ */
@media (min-width: 1025px) {

  .hidden-pc {
    display: none;
  }

  .visible-pc {
    display: inline;
  }
}

/* 767px〜480px：スマホ・タブレット
------------------------------ */

@media screen and (max-width: 767px) {
  .size-thumbnail,
  .size-large {
    width: 100%;
    height: auto;
  }

  .w100sp {
    width: 100%;
    height: auto;
  }

  .hidden-sp {
    display: none;
  }

  .visible-sp {
    display: inline;
  }
}

.w100-all {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 479px) {
  .w100 {
    width: 100%;
    height: auto;
  }
}
