/* --- 改行制御（スマホのみ有効） --- */
.sp-br {
  display: none;
}

.fo-aka {
color: #ED1C24;
  }

.fo-dai {
font-size: 2.2em;
  }

@media screen and (max-width: 767px) {
  .sp-br {
    display: inline;
  }
}

/* --- ヒーロー背景画像設定 --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* ←ここを追加！ */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  }

/* --- コンテンツ配置 --- */
.hero--content {
  position: absolute;
  top: 5%;
  left: 7%;
  right: 10%;
  z-index: 1;
  color: #fff;
  text-align: left;
  width: auto;
  max-width: none;
}

@media screen and (max-width: 767px) {
  .hero--content {
    width: 98%;
    left: 1%;   /* 中央寄せしたい場合 */
    right: 1%;
  top: 5%;
  height: -webkit-fill-available;
  }

  .hero--content {
    transform: none !important;
  }

}

/* --- テキスト各行と帯 --- */
.hero--title .row > span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  padding: 0.2em 0.6em;
}

/* グレーの帯 */
.hero--title .row > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  transition: width 0.8s ease-out;
}
.hero--title.is-show .row > span::before {
  width: 100%;
}

/* --- テキストスライドアニメーション --- */
/* 初期状態（非表示） */
.hero--title.animate-trigger > span,
.hero--title.animate-trigger > span > span {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.5s ease-out;
}

/* 表示状態 */
.hero--title.animate-trigger.is-show > span,
.hero--title.animate-trigger.is-show > span > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 各行の遅延設定 */
.hero--title.animate-trigger > span:nth-of-type(1),
.hero--title.animate-trigger > span:nth-of-type(1) > span {
  transition-delay: 0s;
}
.hero--title.animate-trigger > span:nth-of-type(2),
.hero--title.animate-trigger > span:nth-of-type(2) > span {
  transition-delay: 1s;
}

/* --- 強調テキストスタイル --- */
.hero--title {
  font-size: 28px;
}
.hero--title .strong {
  color: #FFD700;
  font-weight: bold;
  font-size: 32px;
}

@media screen and (max-width: 767px) {
  .hero--title {
    font-size: 18px;
  }
  .hero--title .strong {
    font-size: 24px;
  }
}

/* --- 画像のふわっと出現アニメーション --- */
/* 初期状態（透明・下にずらす） */
.fade-in-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 2s;
  position: relative;
  z-index: 2;
}

.fade-in-target.is-fade-in {
  opacity: 1;
  transform: translateY(0);
}


/* --- 行調整 --- */
.row {
  display: block;
  margin-bottom: 0;
}


.hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 0; /* 中央寄せ + 上余白 */
}

/* --- section-feature --- */

.section-feature {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1080px;
  padding: 2rem 1rem;
  gap: 2rem;
}

.column2-l,
.column2-r {
  flex: 1 1 500px;
  min-width: 300px;
}

.main-image-wrapper {
  position: relative;
  display: inline-block;
}

.corner-images {
  position: absolute;
  top: 0;
  right: 0;
}

.bottom-left-image {
  position: absolute;
  bottom: 0;
  left: 0;
}

.img-sub1,
.img-sub2 {
  max-width: 100%;
  height: auto;
}

.hero--title .row > span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.2em 0.6em;
  color: #fff;
}

.hero--title .row > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  transition: width 0.8s ease-out;
}

.hero--title .row > span.dark-line::before {
  background-color: #222;
}

.hero--title.is-show .row > span::before {
  width: 100%;
}

.hero--title.animate-trigger > span,
.hero--title.animate-trigger > span > span {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.5s ease-out;
}

.hero--title.animate-trigger.is-show > span,
.hero--title.animate-trigger.is-show > span > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero--title {
  font-size: 24px;
  margin-bottom: 1rem;
  line-height: 1.8em;
}

@media screen and (max-width: 767px) {
  .section-feature {
    flex-direction: column;
  }
}

.section-feature p {
  font-size: 16px;
  line-height: 1.8em;
  width: 95%;
  max-width: 500px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  box-sizing: border-box;
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.delay-1 {
  transition-delay: 0.3s;
}
.fade-in.delay-2 {
  transition-delay: 0.7s;
}
.fade-in.delay-3 {
  transition-delay: 1.1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- section-tsuyomi --- */


.section-tsuyomi ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 1080px;
}

.section-tsuyomi li.tsuyomi-item {
  flex: 1 1 100%;
  max-width: 450px;
  box-sizing: border-box;
  background: #FFFDE1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tsuyomi-box {
  margin-top: 1rem;
  background: #FFFDE1;
  padding: 1rem;
  font-weight: bold;
  color: #000;
  border-left: 11pt solid;
}

.tsuyomi-box .strong {
  color: #ED1C24;
}

.tsuyomi-box.border1 { border-color: #92C41D; }
.tsuyomi-box.border2 { border-color: #00B2B3; }
.tsuyomi-box.border3 { border-color: #F08E94; }
.tsuyomi-box.border4 { border-color: #00A0E9; }
.tsuyomi-box.border5 { border-color: #EC664F; }

@media screen and (min-width: 901px) {
  .section-tsuyomi li.tsuyomi-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media screen and (max-width: 900px) {
  .section-tsuyomi ul {
    flex-direction: column;
    align-items: center;
  }
  .section-tsuyomi li.tsuyomi-item {
    width: 98%;
  }
}

.tsuyomi-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.4s ease;
  will-change: opacity, transform;
}

.tsuyomi-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- section-midashi --- */


.section-midashi {
background-color: #B0E03B;
text-align: center;
padding: 30px 0;
}

.section-midashi h2{
font-size: 32px;
color: #fff;
}

/* --- section-kodawari --- */

.section-kodawari {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem auto;
  max-width: 1080px;
  padding: 0 1rem;
}
.kodawari {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.kodawari-img {
  position: relative;
  width: 100%;
  max-width: 559px;
}

.kodawari-img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.4s ease;
  will-change: opacity, transform;
}

.kodawari-img.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.kodawari-image {
  width: 100%;
  height: auto;
  display: block;
}
.kodawari-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  background-color: rgba(176, 224, 59, 0.85);
  color: #fff;
  padding: 1.2rem;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  box-sizing: border-box;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .kodawari-overlay {
    top: auto;
    bottom: 5%;
  }
}
@media screen and (min-width: 768px) {
  .kodawari {
    flex-direction: row;
    justify-content: center;
  }
  .kodawari-img {
    width: 100%;
  }
  .kodawari-overlay-left {
    left: -10%;
    right: auto;
    top: 25%;
  }
  .kodawari-overlay-right {
    right: -10%;
    left: auto;
    top: 25%;
  }
  .kodawari-overlay {
    font-size: 1.3rem;
    padding: 1.5rem;
  }
}



.review-container {
  background-color: #fff;
  border-radius: 1rem;
  width: 90%;
  max-width: 880px;
  margin: 3rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.review-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.review-img img {
  max-width: 100%;
  height: auto;
}
.review-text {
  flex: 1;
  text-align: center;
  color: #000;
}
.review-count {
  font-size: 1.5rem;
  font-weight: bold;
}
.review-number {
  font-size: 2.5rem;
  color: #ED1C24;
  display: block;
}
.review-date {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}
@media screen and (max-width: 767px) {
  .review-box {
    flex-direction: column;
    text-align: center;
  }
}

/* --- contact-form7-wrapper --- */

.contact-form7-wrapper {
  max-width: 720px;
  margin: 3rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}
.contact-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #B0E03B;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-description {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}
.contact-box label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #000;
  position: relative;
  padding-left: 4rem;
  text-align: left;
}
.contact-box label.required::before {
  content: "必須";
  position: absolute;
  left: 0;
  top: 0.1rem;
  background-color: orange;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-weight: bold;
  line-height: 1;
}
.contact-box fieldset {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}
.contact-box fieldset legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #000;
  font-size: 1rem;
  padding-left: 4rem;
  position: relative;
}
.contact-box fieldset legend::before {
  content: "必須";
  position: absolute;
  left: 0;
  top: 0.1rem;
  background-color: orange;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-weight: bold;
  line-height: 1;
}
.contact-box fieldset label {
  display: block;
  margin: 0.5rem 0;
  padding-left: 0;
  text-align: left;
}
.contact-box .wpcf7-submit {
  background-color: #B0E03B;
  color: #fff;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}
.contact-box .wpcf7-submit:hover {
  background-color: #9ace31;
}

/* --- section-jirei --- */


.jirei-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.jirei-midahi {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-size: 1.2em;
  line-height: 1.4;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .jirei-midahi {
    font-size: 1em;
    bottom: 10px;
    left: 10px;
    padding: 0.4em 0.8em;
  }
}

/* --- 会社概要 --- */

.company-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
  font-size: 16px;
  line-height: 1.8;
  background: #f9f9f9;
  border-radius: 8px;
}
.company-profile h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
  border-bottom: 2px solid #333;
  padding-bottom: 0.2em;
}
.profile-block {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
}
.profile-block dt {
  width: 30%;
  font-weight: bold;
  color: #333;
}
.profile-block dd {
  width: 70%;
  margin: 0;
}
@media (max-width: 768px) {
  .profile-block dt,
  .profile-block dd {
    width: 100%;
  }
}


/* --- フッター追従 --- */


.footer_area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.footer_area.visible {
  transform: translateY(0);
  opacity: 1;
}

.footer_area .footer_area_inner {
    position: relative;
    margin: 0px auto;
    padding: 10px 0 0;
	margin-right: 0px;
	text-align: center;
}
.footer_area .footer_area_inner .footer_area_inner_btn {
    padding: 11px 0;
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
	line-height: 1.3;
    
}
.inquiry_btn {
    display: inline-block;
    padding: 0;
}
.inquiry_btn:link, .inquiry_btn:visited {
    color: #FFFFFF !important;
}
.footer_area_inner span{
	color: #fff;
}

.footbot_tel {
width: 100%;
min-height: 50px;
background-color: #ffda00;
}

.footbot_tel table{
margin: 0 auto;
}


.footbot_tel table td{
min-height: 55px;
vertical-align: middle;
font-size: 18px;
font-weight: bold;
}

.footbot_tel table td a{
color: #000;
font-size: 18px;
}

.footbot_line {
display: inline-block;
width: 50%;
min-height: 60px;
background-color: #00b900;
float: left;
}

.footbot_yoyaku {
display: inline-block;
width: 50%;
min-height: 60px;
background-color: #ff7bac;
}

@media screen and (max-width: 800px){

.footbot_tel table td,
.footbot_line,
.footbot_yoyaku
{
padding: 10px 0;
}

}

/* --- サンクスページ --- */

.thanks-container {
  max-width: 800px;
  margin: 4em auto;
  padding: 2em;
  background: #f7f7f7;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}
.thanks-container h1 {
  font-size: 2em;
  color: #333;
  margin-bottom: 0.5em;
}
.thanks-container p {
  margin-bottom: 1.5em;
}
.thanks-btn {
  display: inline-block;
  padding: 0.8em 2em;
  font-size: 1em;
  background-color: #C6EF45;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.thanks-btn:hover {
  background-color: #B0E03B;
}

ul.honbun {
  list-style: none;
  padding-left: 1.2em;
  margin: 15px auto;
}

ul.honbun li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 15px;
}

ul.honbun li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 3px;
  color: #fe779b;
  font-size: 1em;
  line-height: 1;
  margin-right: 0.4em; /* ← ここで「●と文の間の余白」を確保 */
}

@media screen and (max-width: 800px){

ul.honbun {
  width: 90%;
}

}

.waku01 {
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(50deg, #f7bab3, #f6f1cf);
    margin-bottom: 20px;
}

.midashi01 {
    font-size: 22px;
    line-height: 36px;
    color: #514b4a;
    font-weight: 400;
    margin-top: 20px;
    text-align: left;
	width: 90%;
    max-width: 960px;
    margin: 20px auto;

}

.daily-flow {
width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px;
}

.flow-item {
width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px;
  display: inline-block;
}

.flow-time {
float: left;
width: 10%;
min-width: 82px;
}

.flow-time img {
  width: 82px;
  height: 82px;
}

.flow-text {
float: left;
width: 75%;
max-width: 960px;
}

.flow-text h3 {
  font-size: 18px;
  margin: 0 auto 10px;
  color: #2c3e50;
    width: 90%;
    max-width: 960px;
}

.flow-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}


/* ボタン風リンクリスト */
.pattern-buttons ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  justify-content: center;
  width: 95%;
  max-width: 980px;
  text-align: center;
}

.pattern-buttons {
  width: 95%;
  margin: 0 auto;
  max-width: 980px;
}

.pattern-buttons li {
display: inline-block;
  margin: 0;
}

.pattern-buttons a {
  display: block;
  padding: 12px 20px;
  background: #f7bab3; /* ピンク */
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #f6f1cf;
}

.pattern-buttons a:hover {
  background: #f6f1cf; /* クリーム色に変化 */
  color: #000;
  border-color: #f7bab3;
}

/* スマホでは縦並び */
@media (max-width: 600px) {
  .pattern-buttons ul {
  }

.pattern-buttons li {
  width: 95%;
  max-width: 980px;
  margin-bottom: 15px;
}
  .pattern-buttons a {
    text-align: center;
  }
}

/* 横スクロール対応 */
.custom-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

/* テーブルデザイン */
.custom-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  border: 2px solid #f7bab3;
  font-size: 15px;
  background-color: #fff;
}

/* 月（th）のセル */
.custom-table th {
  background-color: #f7bab3;
  color: #333;
  padding: 12px 15px;
  text-align: left;
  width: 100px;
  white-space: nowrap;
  border: 1px solid #ddd; /* ←ここを修正 */
}

/* 内容（td）のセル */
.custom-table td {
  padding: 12px 15px;
  background-color: #f6f1cf;
  color: #333;
  border: 1px solid #ddd; /* ←tdも合わせて見た目を統一 */
  line-height: 1.6;
}

/* ホバー時の効果 */
.custom-table tr:hover td {
  background-color: #fde2e0;
}
