/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 05 2026 | 08:25:23 */
.bg-cnt-01 {
	background-image: url(https://saijosyoji.com/wp-content/uploads/2025/12/contents01.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.front-content-wrap {
	position: relative;
    z-index: 1;
}

.front-content-inner {
	background: #ffffff;
}

.front-contents-03-01 div {
    padding: 10%;
	overflow: hidden;
}

.front-contents-03-01 div img {
	height: auto;
    transition: transform .6s ease;
}
.front-contents-03-01 div:hover img {
	transform: scale(1.1);
}

.image-box {
  position: relative;
  padding: 10% 0 0 !important;
}

.circle-link {
  width: 48px;
  height: 48px;
  background: #ffffff;          /* ← 白いボタン */
  border-radius: 50%;
  position: absolute;           /* 画像の上に自由配置 */
  right: 20px;                  /* 位置はここで調整 */
  bottom: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* 黒い ＞ マーク */
.circle-link::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;   /* ← 黒 */
  border-right: 2px solid #000; /* ← 黒 */
  transform: rotate(45deg);
  margin-left: -5px;
}

.circle-link:hover {
  background: #000;
}

.circle-link:hover::after {
  border-color: #fff;
}


.col-20 {
	flex-basis: 20.5% !important;
}

.col-80 {
	flex-basis: 80% !important;
}

.ps-re {
  position: relative;
}

.pc-none {
	display: none !important;
}

.pc-none-flex {
	display: none !important;
}

.sm-none {
	display: block !important;
}

.sm-none-flex {
	display: flex !important;
}

.w-80 {
	width: 80%;
}

.mg-0 {
	margin: 0;
}

.mg-0-a {
	margin: 0 auto;
}

.mgt-0 {
	margin-top: 0;
}

.mgb-0 {
	margin-bottom: 0;
}

.mg-20 {
	margin: 20px;
}

.mgt-20 {
	margin-top: 20px;
}

.mgb-20 {
	margin-bottom: 20px;
}

.mg-30 {
	margin: 30px;
}

.mgt-0 {
	margin-top: 0px;
}

.mgt-30 {
	margin-top: 30px;
}

.mgb-30 {
	margin-bottom: 30px;
}

.pd-1 {
	padding: 1px;
}

.pd-15 {
	padding: 15px;
}

.pd-30 {
	padding: 30px;
}

.wp-block-snow-monkey-blocks-container.full-w {
  position: relative;
  width: 100vw;              /* ビューポート幅 */
  max-width: 100vw;          /* これを付けるなら width とセットで */
  padding: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;        /* 画面中央から左に 50vw ずらす */
  margin-right: -50vw;       /* 右も同様に */
}

.full-w-inner {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  padding: 40px 0;
}

.full-w-inner-contents {
	padding: 30px;
}

@media ( max-width:768px) {
	.full-w-inner-contents {
		padding: 15px;
	}
	
	.mgb-12 {
		margin-bottom: 12px;
	}
	
	div.wp-block-columns .mgb-m20 {
		margin-bottom: -20px !important;
	}
}

.wp-block-snow-monkey-blocks-container.full-w .smb-container__body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.bgc-l-gray {
	background: #d6d6d6;
}

.size-full img {
	width: 100%;
}

/* About ブロック全体 */
.about-block .wp-block-cover {
  padding: 80px 8vw;
}

.about-block .wp-block-columns {
  align-items: center;          /* 左右を縦中央揃え */
}

/* 左画像の高さをある程度キープ */
.about-block__photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* 右側コンテンツ */
.about-block__content {
  max-width: 900px;
}

/* 英語見出し（赤、大きく） */
.about-heading-en {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 3vw;
  letter-spacing: 0.18em;
  color: #e60012;
  margin: 0 0 0.4em;
  position: absolute;
    top: 20%;
    left: 10%;
}

@media screen and (min-width:769px) and ( max-width:1080px) {
	.about-heading-en {
		font-size: 3.5vw;
	}
}

/* 日本語見出し（黒、少し重ねる） */
.about-heading-ja {
  font-size: 2.5vw;
  font-weight: 700;
  margin: -1.6rem 0 2.4rem;   /* ← 上マイナスマージンで重ねる */
  position: absolute;
    top: 27%;
    left: 10%;
}

@media screen and (min-width:769px) and ( max-width:1080px) {
	.about-heading-ja {
		font-size: 2.8vw;
		top: 30%;
	}
}

/* 本文 */
.about-block__text {
  width: 80%;
  font-size: 3rem;
	font-weight: bold;
  line-height: 1.9;
  position: absolute;
    top: 40%;
    left: 10%;
}

.front-list {
	width: 60%;
	margin: 15% auto 0;
}

.front-list-heading {
	margin-bottom: 0;
}

.heading-sub {
	margin-top: 0;
	color: #e60012;
}

:where(.wp-block-columns) {
	margin-bottom: 0;
}

.btn, 
.wp-block-button__link {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background-color: var(--color-main-red); /* 通常：赤背景 */
    color: #ffffff;                          /* 通常：白文字 */
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    border: 2px solid var(--color-main-red); /* ← ホバー時に活きるボーダー */
    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

/* ホバー時：反転（ふわっと透過＋浮く） */
.btn:hover,
.wp-block-button__link:hover {
    background-color: transparent !important;           /* 背景を透明へ */
    color: var(--color-main-red);            /* テキストを赤へ */
    border-color: var(--color-main-red);     /* ボーダーを赤へ */
    opacity: 0.9;
    transform: translateY(-2px);             /* フワッと浮く感じ */
}

.cp-contents01-list li {
	padding-left: 1em;
	list-style: none;
}

.cp-contents01-list li::before {
  content: "● "; /* Unicodeの黒丸 (U+25CF) を使用 */
  color: red; /* 色を赤に変更 */
  font-size: 1.5em; /* フォントサイズを大きくして丸を大きく見せる */
  /* 必要に応じてマージンや位置調整 */
}

.cp-contents-h4 {
	width: 9%;
    padding: 3px 5px;
    background: #000000;
    border-radius: 50px;
    color: #ffffff;
    text-align: center;
}

/* テーブル基本 */
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 auto;
}
.wp-block-table table tr {
	border-bottom: 1px solid #d6d6d6;
}
.wp-block-table td,
.wp-block-table th {
	border: none;
	padding: 16px 20px;
	vertical-align: top;
	line-height: 1.8;
}

/* 左カラム：strong を「赤ライン込みの見出し」にする */
.wp-block-table td:first-child {
	width: 180px;
	white-space: nowrap;
}

/* strong 側で赤ラインを作る（右が長文でも伸びない） */
.wp-block-table td:first-child strong {
	position: relative;
	display: inline-block;
	padding-left: 18px; /* 赤ライン分の余白 */
}

.wp-block-table td:first-child strong::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 1.6em; /* ←ここが赤ラインの長さ */
	background-color: #e60012;
}



/* ====== parallax wrapper (このブロックだけ) ====== */
.wp-block-snow-monkey-blocks-container.full-w.bgc-l-gray figure.wp-block-image.size-full{
  position: relative;
  overflow: hidden;
  height: clamp(220px, 28vw, 460px);
  margin: 0;
}

/* figure の中の画像は “背景化” して中央基準にする */
.wp-block-snow-monkey-blocks-container.full-w.bgc-l-gray figure.wp-block-image.size-full > img.wp-image-176{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 140%;              /* 動かす余白 */
  object-fit: cover;
  max-width: none;

  /* ←これが重要：中央基準で配置 */
  transform: translate(-50%, -50%) translateY(0px);
  will-change: transform;
  display: block;
}

/* 親（棒の基準） */
p.business-contents01 {
  position: relative;
  margin: 0;
}

/* 文字レイアウトは strong に任せる */
p.business-contents01 strong {
  display: block;          /* ← これが超重要 */
  padding-left: 48px;      /* 横棒＋余白 */
  line-height: 1.8;

  /* テーマ由来のズレ対策 */
  text-indent: 0 !important;
  margin-left: 0 !important;
  padding-right: 0;
}

/* 横棒（1行目だけ） */
p.business-contents01::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;              /* 1行目の中央 */
  width: 36px;
  height: 2px;
  background-color: #e60012;
}

.business-contents02 {
	border: 2px solid #E60012;
	border-radius: 15px;
}

/* 左にブロック線を入れるH3 */
h3.right-block-line {
  position: relative;
  padding-left: 20px;   /* ブロック線＋余白 */
}

/* 左の赤いブロック線 */
h3.right-block-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;          /* 文字位置に合わせる */
  width: 6px;          /* ブロック線の太さ */
  height: 1.2em;       /* 文字1行分の高さ */
  background-color: #e60012;
}

/* お問い合わせ：TEL/FAX 表示 */
.contact-telarea{
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0;
}

.contact-telarea .wp-block-heading{
  margin: 0 0 24px;
  font-weight: 700;
  font-size: clamp(20px, 1.5vw, 28px);
  letter-spacing: 0.02em;
}

.contact-telline{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(14px, 1.2vw, 22px);
  margin: 18px 0;
  line-height: 1;
  color: #e60012; /* 赤 */
}

.contact-label{
  font-weight: 800;
  font-size: clamp(22px, 2.0vw, 34px);
  letter-spacing: 0.02em;
}

.contact-slash{
  font-weight: 800;
  font-size: clamp(22px, 2.0vw, 34px);
  transform: translateY(-1px);
  display: inline-block;
}

.contact-number{
  font-weight: 900;
  font-size: clamp(44px, 4.2vw, 64px);
  letter-spacing: 0.02em;
  color: #e60012;
  text-decoration: none;
}

.contact-number:hover{
  text-decoration: underline;
  text-underline-offset: 6px;
}

div.page-content:has(.inner:has(.full-w:has(.smb-container__body:has(.parent-parent)))) {
	margin-top: 0;
}

div.page-content:has(.parent-parent) {
	margin-top: 0;
}

.wpcf7-spinner {
	position: absolute !important;
}

.cf7-contact .cf7-row {
	gap: 0;
}

/* textarea行だけ縦並びにする */
.cf7-contact .cf7-row--textarea {
    flex-direction: column;
    align-items: stretch; /* または flex-start */
}

/* 幅を100%に */
.cf7-contact .cf7-row--textarea .cf7-label,
.cf7-contact .cf7-row--textarea .cf7-field {
    width: 100%;
}

.cf7-field-txtarea {
	max-width: 100%;
}

/* --- スマホ用調整 --- */
@media (max-width: 768px) {
	
	.front-list {
		width: 90%;
	}
	
	.front-list-img figure {
		text-align: center;
	}
	
	.front-list-img figure img {
		width: 90%;
	}
	
	.front-list-button {
		margin: 0 auto !important;
	}
	
	.front-list-heading {
		font-size: 2.2rem !important;
	}
	
	.pc-none {
	  display: block !important;
    }
	
	.pc-none-flex {
	  display: flex !important;
    }
	
	.sm-none {
	  display: none !important;
    }
	
	.sm-none-flex {
	  display: none !important;
    }
	
	.h-300 {
		height: 300px;
	}
	
	.bg-cnt-01 {
	  background-size: cover;
    }

  .about-block .wp-block-cover {
    padding: 48px 16px;
  }

  .about-block .wp-block-columns {
    flex-direction: column;
  }

  .about-block__photo {
    margin-bottom: 24px;
  }

  .about-heading-en {
	width: 90%;
	left: 5%;
    font-size: 2.4rem;
  }

  .about-heading-ja {
	width: 90%;
	left: 5%;
    font-size: 2.2rem;
    margin-top: -1.2rem;
    margin-bottom: 1.8rem;
  }

  .about-block__text {
	width: 90%;
	left: 5%;
    font-size: 1.5rem;
  }
	
	.wp-block-snow-monkey-blocks-container.full-w {
		width: 100vw;
	}
	
	.cp-contents01-list {
		padding: 0;
	}
	
	.has-large-font-size {
		font-size: 2.3rem !important;
	}
	
	.cp-contents-h4 {
		width: 30%;
	}
	
	.wp-block-table table {
		width: 100%;
	}
	
	.wp-block-table td,
	.wp-block-table th {
		display: block;
		width: 100%;
		padding-top: 5px;
        padding-bottom: 3px;
	}
	
  .contact-telline{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .contact-slash{
    display: none;
  }
	
	.has-medium-font-size {
		font-size: 1.6rem !important;
	}
	
	.circle-link {
		bottom: 0;
	}
	
	.wp-block-cover, .wp-block-cover-image {
		min-height: 100px !important;
	}
	
	.full-w-inner {
		width: 90%;
		max-width: 90%;
	}
	
	.contact-number {
		font-size: clamp(40px, 4.2vw, 64px);
	}
	
	.wp-block-column:first-child {
		margin-bottom: -30px !important;
	}
}
