@charset "UTF-8";
/**********************
　 Hp20 : nashi
 *********************/

* {
	color: var(--base-color);
	font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: var(--font-size);
	text-decoration: none;
}
select {
	-webkit-appearance: none;/* ベンダープレフィックス(Google Chrome、Safari用) */
	-moz-appearance: none;	/* ベンダープレフィックス(Firefox用) */
	appearance: none;	/* 標準のスタイルを無効にする */ 
}
::-ms-expand {	/* select要素のデザインを無効にする（IE用） */
	display: none;
}
h1 {
	display: none;
	height: 0;
}
h2 {
	color: #fff;
	font-size: 300%;
	font-weight: bold;
	position: relative;
	width: 100%;
	text-align: center;
	top: -100px;
}
h3 {
	font-weight: bold;
}

input[type=checkbox] {
	transform:scale(2.0);
}
/*
::::::::::::::::::::
 ヘッダーとフッター
::::::::::::::::::::
*/
header {
	background-color: var(--header-background-color);
	position: fixed;
	top: 0px;
	width: 100%;
	height: 80px;
	opacity: 0.8;
	z-index: 0;
}
header * {
	color: var(--header-color);
	margin: 0 10px;
}
header div {
	float: left;
}
header div.bar_string {
	width: calc(20% - 20px);
	height: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
header div.bar_string div {
	margin: 0;
}
header div.bar_string div * {
	margin: 0;
}
header div.bar_link {
	font-size: 100%;
	width: calc(80% - 20px);
	height: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	line-height: 30px;
}
header div.bar_link ul {
	margin-left: auto;
	margin-right: 10px;
}
header div.bar_link ul li {
	display: inline-block;
	margin: 0 10px;
}

header div.bar_link ul li:hover a {
	color : blue;
	font-weight : bold;
}

/* メニュー */


#sp-menu {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 80px;
    height: 80px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}
#sp-menu span {
    position: absolute;
    width: 50px;
    height: 4px;
	background-color: var(--header-background-color);
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
	right: 15px;
}
#sp-menu span:nth-child(1) {
    top: 25px;
}
#sp-menu span:nth-child(2) {
    top: 40px;
}
#sp-menu span:nth-child(3) {
    top: 55px;
}

#sp-menu-list {
    position: fixed;
    position: absolute;
    top: 80px;
    right: 0;
	background-color: var(--header-background-color);
    width: 100%;
    height: auto;
	background-color: var(--header-background-color);
    font-size: 100%;
	z-index: 100;
}
#sp-menu-list ul li {
	color: #fff;
	border-top: 1px solid #fff;
    padding: 1em;
}
#sp-menu-list ul li a {
	color: #fff;
}
#sp-menu-list ul li.detail {
	display: none;
}

#top-image img {

	width: 100%;
	height: auto;
}

#contents ,
#contents #top-image ,
#contents #top-image img
{
	width:100%;
}

footer {	
	background-color: #f5f5f5;
	padding: 30px 0 10px;
	text-decoration: none;
}
footer *
{
	color: var(--footer-color);
}
footer div.bar_link {
	width: 100%;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
footer div.bar_link ul {
	margin: 0 auto;
}
footer div.bar_link ul li {
	display: inline-block;
	margin: 0 10px;
}
footer div.bar_link ul li.detail {
	display: none;
}
footer .bar ul.menu li:not(:first-child) a:before
{
	content:"\00a0\00a0|\00a0\00a0\00a0";
}
footer div img {
	margin-left: 30px;
}
footer .copy
{
	text-align: center;
}
footer .copy a
{
	font-size: 10px;
}

/* =====================================
   トップへ戻るボタン（完全リセット版）
===================================== */
#to-top {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  width: 70px !important;
  height: 70px !important;
  background: #E60012 !important; /* ← 赤（変数未設定対策） */
  border-radius: 50% !important;
  opacity: 0.85 !important;
  z-index: 99999 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

#to-top a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  text-align: center !important;
  line-height: 70px !important;
}

#to-top a::before {
  font-family: FontAwesome !important;
  content: '\f106' !important; /* 上矢印 */
  font-size: 48px !important;
  color: #fff !important;
}

/* =====================================
   タブレット対応（確実な反映）
===================================== */
@media screen and (max-width: 1024px) {
  #to-top {
    width: 60px !important;
    height: 60px !important;
    right: 15px !important;
    bottom: 15px !important;
  }
  #to-top a::before {
    font-size: 40px !important;
    line-height: 60px !important;
  }
}

/* =====================================
   スマホ対応（480px以下）
===================================== */
@media screen and (max-width: 480px) {
  #to-top {
    width: 50px !important;
    height: 50px !important;
    right: 10px !important;
    bottom: 10px !important;
  }
  #to-top a::before {
    font-size: 32px !important;
    line-height: 50px !important;
  }
}



/*
:::::::::::::::::::
　共通で利用するタグ
:::::::::::::::::::
*//*
.inner-box
{
	margin: 0 auto;
}
.inline
{
	display: inline-block;
}
*/

/*
:::::::::::::::::::
　お知らせ一覧
:::::::::::::::::::
*/

#information-list {
	background-color: var(--information-list-background-color);
	text-align: center;
	padding: 20px 0;
}
#information-list hr {
	color: var(--information-list-color);
	width: 800px;
	margin: 1em auto;
}
#information-list p {
	color: var(--information-list-color);
	font-size: 120%;
	line-height: 1.5em;
}
#information-list .list {
	font-size: 100%;
	width: 780px;
	text-align: left;
	margin: 0 auto;
}
#information-list .list p span {
	color: var(--information-list-color);
}
#information-list .list p span.list-mark {
	background-color: var(--information-list-mark-background-color);
	color: var(--information-list-mark-color);
	font-size: var(--information-list-mark-size);
	width: auto;
	text-align: center;
	padding: 0.3em 2em 0.1em;
	opacity: var(--information-list-mark-opacity);
	border-radius: var(--information-list-mark-border-radius);
	vertical-align: text-top;

}
#btn-goBlogList {
	background-color: var(--information-list-btn-background-color);
    border: 1px solid var(--information-list-btn-border-color);
	color: var(--information-list-btn-color);
    width: 320px;
	height: 45px;
	margin: 40px auto 30px;
	cursor: pointer;
}
#btn-goBlogList:hover {
	background-color: var(--information-list-btn-on-background-color);
    border: 1px solid var(--information-list-btn-on-border-color);
	color: var(--information-list-btn-on-color);
}

/*
:::::::::::::::::::
　ブログ
:::::::::::::::::::
*/
#blog {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
}
#blog:after {
	content: "";
	display: block;
	clear: both;
}
#main ,
#sidebar {
	float:left;
	margin: 0;
	padding: 0;
}
#main {
	width: calc(100% - 300px);
}
#sidebar {
	background-color: #fff;
	width: 300px;
}
#sidebar .title {
	background-color: black;
	color: white;
	font-size: 120%;
	width: calc(100% - 20px);
	padding: 0 10px;
	margin: 0;
	height: 40px;
	line-height: 40px;
}
#sidebar .searchform {
	width: 100%;
	margin: 20px 0;
}
#sidebar .searchfield {
	height: 50px;
	border: 1px solid #000;
	padding: 0 0.5em;
	width: calc(100% - 50px);
}
#sidebar .searchsubmit {
	background: #0036A1;
	border: none;
	height: 50px;
	width: 50px;
	cursor: pointer;
}
#sidebar .searchsubmit i {
	color: #fff;
	font-size: 20px;
}
#sidebar .lists {
	width: 100%;
	margin: 0;
	padding: 0;
}
#sidebar .lists li {
	border-bottom: 1px solid #000;
	width: 100%;
	padding: 1em 0;
}
#sidebar .lists li a {
	margin-left: 1em;
}
#main .topic
{
	width: calc(100% - 30px);
}
#main .topic-title ,
#main .topic-date ,
#main .topic-category {
	color: #000;
}
#main .topic-date {
	font-size: 80%;
	line-height: 1.3em;
}
#main .topic-title {
	font-size: 130%;
	font-weight: bold;
	margin-top: 5px;
}
#main .topic-category {
	border-bottom: 2px solid #000;
	margin: 0 0 20px;
	padding: 0 0 0.3em;
	line-height: 1.5em;
}
#main .topic-category a {
	background-color: blue;
	color: #fff;
	border-radius: 3px;
	font-size: 60%;
	width: auto;
	margin: 0 0 0.5em;
	padding: 0.3em 0.5em;
	line-height: 1.0em;
}
#main .topic .note {
	width: calc(100% - 30px);        /*　width: calc(100% - 250px); より変更　*/
	margin: 0 0 50px;
}



/*
:::::::::::::::::::
　お問合せ
:::::::::::::::::::
*/

#inquiry {
	width: 1000px;
	margin: 0 auto;
}

#inquiry-list {
	background-color: var(--inquiry-list-background-color); 
	color: var(--inquiry-list-color); 
	margin: 50px auto 0;     /* もとは、30px 0 0 */
	width: 70%;      /* 100⇒70 */
}
#inquiry-list tr {
	border-top: 1px solid var(--inquiry-list-border-color);
	border-bottom: 1px solid var(--inquiry-list-border-color);
}
#inquiry-list tr th ,
#inquiry-list tr td {
	padding: 1em 2em;
}
#inquiry-list tr th {
	width: 30%;
	vertical-align: middle;
	text-align: left;
}
#inquiry-list tr td select ,
#inquiry-list tr td input ,
#inquiry-list tr td textarea {
	width: 100%;
	border: 1px solid var(--inquiry-input-border-color);
	border-radius: var(--inquiry-input-border-radius);
}
::placeholder {
	color: #ccc;
}

span[id*='_check_ok'] {
	display: none;
	background-color: blue;
	color: #fff;
	border-radius: 5px;
	margin-left: 10px;
	padding: 2px 10px;
}
span[id*='_check_ng'] {
	display: none;
	background-color: red;
	color: #fff;
	border-radius: 5px;
	margin-left: 10px;
	padding: 2px 10px;
}

#inquiry-policy-title {
	margin: 50px auto !important;
	width: 850px;
}

#inquiry-policy-sentence {
	border: 1px solid var(--inquiry-policy-sentence-border-color);
	height: 200px;
	margin: 10px auto;
	padding: 0.5em;
	overflow-y: scroll;
	width: 100%;
	max-width: 850px; /* PCでは最大幅850px */
	/box-sizing: border-box; /* スクロールバーで崩れ防止 */
}

#inquiry-policy-sentence p {
	color: var(--inquiry-policy-sentence-color);
	line-height: 1.5em;
}

/* スマホ向け調整 */
@media screen and (max-width: 768px) {
	#inquiry-policy-sentence {
		width: 95%;     /* ← 幅を少し内側に収める */
		max-width: none; /* ← スマホ時はmax-widthを解除 */
		margin: 10px auto;
	}
}

#policy-check ,
#inquiry-mail-check {
	margin: 30px 0 0;
	text-align: center;
}

#btn-chkInquiry ,
#btn-InquiryGo ,
#btn-InquiryBack {
	background-color: var(--inquiry-policy-btn-background-color);
    border: 1px solid var(--inquiry-policy-btn-border-color);
	color: var(--inquiry-policy-btn-color);
    width: 276px;
	height: 50px;
	margin: 20px auto 30px;
	cursor: pointer;
}
#btn-chkInquiry:hover ,
#btn-InquiryGo:hover ,
#btn-InquiryBack:hover {
	background-color: var(--inquiry-policy-btn-on-background-color);
    border: 1px solid var(--inquiry-policy-btn-on-border-color);
	color: var(--inquiry-policy-btn-on-color);
}

/*
 * メッセージの演出
 * $param["msg"]に値があるとに表示されます
 */
#complete-message {
  color: #000;
  width: 100%;
  height: 100%;
  position: fixed;
  text-align: center;
  vertical-align: middle;
  left: 0;
  top: 0;
  background: #f0f8ff;
  opacity: 0.8;
}
#complete-message .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
}
/*
:::::::::::::::::::
　画像タイトル
:::::::::::::::::::
*/

.box1{
  width : auto; /*400px;*/
  height:auto;
  margin:0;
  text-align:center;
}
.box-450{
  width:450px;
  height:auto;
  margin:0;
  text-align:center;
}

.box-800{
  width:800px;
  height:auto;
  margin:0;
  text-align:center;
}

/* リンク */

.link ,
.links {
	width : 100%;
}

.message {
	margin : 0 auto;
	width : 100%;
	max-width : 1000px;
}

.message-800 {
	margin : 0 auto;
	width : 100%;
	max-width : 800px;
}

/*
 三軒茶屋
 2021.11.14
*/

.photoFull{
	max-width : 1000px;
	width : 100%;
	height : auto;
}

.photoHalf{
	max-width : 480px; /* 横に余裕を持たせる */
	width : 100%;
	height : auto;
}


/*
||||| WordPress画像位置指定 |||||
*/

/*画像の中央寄せ*/
.aligncenter {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
/*figureタグで囲まれた画像の中央寄せ*/
.aligncenter img {
  height: auto;
  max-width: 100%;
}
/*画像右寄せ*/
.alignright {
  height: auto;
  margin-left: auto;
  max-width: 100%;
}
/*figureタグで囲まれた画像右寄せ*/
.alignright img {
  height: auto;
  max-width: 100%;
}
/*位置指定のない画像*/
.alignnone {
  height: auto;
  max-width: 100%;
}
/*figureタグで囲まれた位置指定のない画像*/
.alignnone img {
  height: auto;
  max-width: 100%;
}



img.alignright {
 display: block;
 margin: 0 0 0 auto!important;
}

img.alignleft {
 display: block; 
 margin: 0 auto 0 0!important;
}

img.aligncenter {
 display: block;
 margin: 0 auto!important;
}

/*
====================
  トップリンクアイコン
====================
<html側記述>
 <ul>
     <li><a href=""><img src="https://" alt=""/><p class="cnt m-top1em blue f-b">日洋物産のものづくり</p><p class="cnt m-top1em ln-h2em">私たちは豊富な経験で<br>皆様差が笑顔になる<br>｢製品づくり」に努めます</p></a> 
     </li>
 </ul>
*/

ul.icon {
    display: flex;
	flex-wrap: wrap;                  /*　追加 */
    justify-content:space-around;
	text-align: center;
}

ul.icon li p {
	text-align: center;
	margin-top: 10px;
}


/* worries-lp セクション */
.worries-lp {
  width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ff0000 !important;  /* #EBE7E7 */
  border-radius: 20px;
  display: block;
  min-height: 100px;
}

.block1 {
  margin-bottom: 40px;
}

.title1 {
  background-color: #15375A;
  color: white;
  display: inline-block;
  padding: 6px 16px;
  font-size: 26px;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 16px;
}

ul.message1 {
  list-style: none;
  padding: 0 20px;
  margin: 0;
  text-align: justify;
}

ul.message1 li {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.6;
}

iframe, img {
  width: 98%;
  height: auto;
  max-width: 100%;
}

/* ===============================
   セクション全体
================================= */
.second-section {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  background-color: #e7f6fb;
  text-align: center;
  overflow: visible;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;  /* ←追加 */
  z-index: 2;          /* ←追加（price-sectionより上にしない） */
}

/* 上部画像 */
.second-top {
  position: relative;
}
.second-main-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* ===============================
   サービスボックス（画像にオーバーラップ）
================================= */
.service-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 820px;
  margin: -61px auto 40px;
  border: 1px solid #ccc;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 0;
}

/* 見出し */
.service-header {
  width: 100%;
  background-color: #15385C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 28px !important;
  font-weight: bold;
  margin: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* 本文 */
.service-content {
  padding: 20px;
  text-align: left;
  font-size: 28px !important;
  line-height: 1.8;
  padding-left: 60px;  /* ← 左余白を増やす（例：40px） */
}

/* チェックアイコン */
.service-content .check-icon {
  width: 24px;
  vertical-align: middle;
  margin-right: 10px;
  padding-left: 50px !important;
}

/* ===============================
   プラスアイコン
================================= */
.plus-icon {
  position: relative;
  z-index: 20;
  margin-top: -60px;
  margin-bottom: -20px;
  text-align: center;
}

.plus-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===============================
   下段の業務ボックス（task-box）
================================= */
.task-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 820px;
  margin: -20px auto 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 40px 10px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  box-sizing: border-box; /* ← これを追加！ */
}

/* 見出し */
.task-box h3 {
  font-size: 28px !important;
  font-weight: bold;
  color: #15385C;
  border-bottom: 2px solid #15385C;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 5px;
  text-align: center;
}

/* リスト */
.task-box ul {
  list-style: none;
  padding: 0;
  text-align: left;
  padding-left: 50px;  /* ← 左余白を増やす */
}

.task-box li {
  font-size: 28px !important;
  margin: 8px 0;
  line-height: 1.8;  /* ← 行間を広げる（1.6〜2.0が自然） */
  box-sizing: border-box; /* ← これを追加！ */
}

/* テキスト */
.option-text {
  margin-top: 15px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

/* ===============================
   レスポンシブ対応
================================= */
@media (max-width: 768px) {
  .service-box{
    width: 95%;
    margin: -40px auto 30px;
  }
  
  .task-box {
    width: 95%;                    /* スマホでは少し余白を作る */
    max-width: 100%;                /* 上限も同様に */
 	padding-left: 0 !important;  /* ← 左の内側余白を0に */
    margin-left: 0 !important;   /* ← 外側余白も念のため0に */
    border: 1px solid #ddd;        /* 枠をやや薄く */
    border-radius: 8px;            /* 角丸も小さく */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 影も軽く */
    text-align: center;
  }
   .task-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .task-box ul {
    padding-left: 10px;
  }

  .task-box li {
    font-size: 15px;
    line-height: 1.7;
    margin: 5px 0;
  }

  .option-text {
    font-size: 14px;
    margin-top: 10px;
  }
  .second-section .service-content {
    padding-left: 20px !important;
  }

  .service-header {
    height: 50px;
    font-size: 18px;
  }
  .service-content {
	padding-left: 0 !important;  /* ← 左の内側余白を0に */
    margin-left: 0 !important;   /* ← 外側余白も念のため0に */
  }
  
   .task-box h3 {
    font-size: 18px;
  }
  .task-box li {
    font-size: 15px;
  }
  .plus-icon {
    margin-top: 50px !important; /* ← 上の余白を少なくして下げる */
    margin-bottom: -10px !important; /* ← 必要なら下も微調整 */
	margin: 0 auto;
  }

}


/* ===============================
   料金セクション全体
================================= */
.price-section {
  background-color: #F5F5F5;
  border-radius: 25px;              /* ← 背景の角丸 */
  width: 100%;
  max-width: 1000px;
  margin: 100px auto 0;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 白いBOX（共通） */
.flow-box,
.price-box {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px;
  margin: 0 auto 30px;
  text-align: center;
  position: relative;
  width: 100%!important;           /* ← 幅を固定 */
  max-width: 820px;        /* ← スマホで崩れないよう保険 */
  box-sizing: border-box;
}

/* ===============================
   赤帯ヘッダー（アイコン＋文字重ね）
================================= */
.flow-header,
.price-header {
  position: relative;
  background-color: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border-radius: 40px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;  /* ← これがないと画像が切れる */
  z-index: 5;
}

/* 背景画像（リボン）を適用 */
.flow-header {
  background-image: url("https://marunage-lp.home-page.site/wp/wp-content/themes/hp20/assets/images/top/nagare.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.price-header {
  background-image: url("https://marunage-lp.home-page.site/wp/wp-content/themes/hp20/assets/images/top/price2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}


/* 背景アイコン画像 */
.flow-header .icon-bg,
.price-header .icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;       /* ← アイコンサイズ調整 */
  height: auto;
  opacity: 0.8;       /* ← 少し透ける程度に */
  z-index: 4;         /* ← テキストより下 */
  pointer-events: none;
  /*mix-blend-mode: normal; /* ← WordPress干渉防止 */
}

/* テキストを前面に */
.flow-title,
.price-title {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===============================
   お申込みの流れリスト
================================= */
.flow-list {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  width: 100%;
  max-width: 650px;       /* ← 全体幅をアイコンに合わせる */
  font-size: 32px;
  text-align: left;
  font-weight: 500;
  line-height: 1.8;
}

/* 各行（li）に帯を付ける */
.flow-list li {
  background-color: #0b3d91;   /* ← 紺色の帯 */
  color: #fff;                  /* ← 白文字でコントラスト確保 */
  padding: 10px 20px;           /* ← 上下・左右の余白 */
  border-radius: 8px;           /* ← 角丸でやわらかく */
  margin-bottom: 10px;          /* ← 行間にすき間を作る */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ← 少し浮かせる */
}

/* 最後の行だけ下の余白を消す */
.flow-list li:last-child {
  margin-bottom: 0;
}


/* ===============================
   料金表示部分
================================= */
.price-body {
  margin-top: 20px;
}

.price-main {
  font-size: 130px;
  margin: 40px 0 10px;  /* ← 上方向（25px）に余白を増やす */
  color: #E60012;
  font-weight: bold;

  letter-spacing: 2px;
}

.price-note {
  display: inline-block;       /* ← テキスト幅に合わせて帯を作る */
  background-color: #FFA500;   /* ← オレンジ帯の色 */
  color: #fff;                 /* ← 白文字に変更 */
  font-size: 28px;
  font-weight: 500;
  margin-top: 40px;
  padding: 6px 18px;           /* ← 上下左右の余白 */
  border-radius: 25px;         /* ← 丸みをつける */
  text-align: center;
}

/* ===============================
   レスポンシブ対応
================================= */
@media (max-width: 768px) {
 /* 全体レイアウト */
  .branding,
  .message,
  .message-800,
  .second-section,
  .price-section {
    padding: 0 10px;
  }

  /* 見出し・本文 */
  h2, .f-220, .service-header, .task-box h3, .flow-title, .price-title {
    font-size: 18px !important;
    line-height: 1.4;
  }

  .service-content,
  .task-box li,
  .price-note {
    font-size: 15px !important;
    line-height: 1.8;
  }

  /* ボックスの幅調整 */
  .service-box,
  .task-box {
    width: 95%;
    margin: 20px auto;
  }

  /* プラスアイコン */
  .plus-icon img {
    width: -40px;
    height: -20px;
  }
  
  .flow-box,
  .price-box{
    width: 95% !important;
    max-width: 95% !important;
    padding: 20px 15px;
  }
  
  /* 画像の調整 */
  img,
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* YouTube動画 */
  .video-wrap {
    padding-bottom: 56.25%;
    margin: 20px 0;
  }

  /* お申し込みの流れリスト */
  .flow-list {
    font-size: 16px;
    line-height: 2;
  }

  /* 価格の調整 */
  .price-main {
    font-size: 48px;
    margin-top: 20px;
  }

  .price-note {
    font-size: 16px;
    padding: 4px 12px;
  }
}


/* ===============================
   レスポンシブYouTube動画
================================= */
/*.video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;     /* PC時の最大幅 */
/*  margin: 20px auto;
  padding-bottom: 56.25%; /* 16:9の比率 (9 ÷ 16 = 0.5625) */
 /* height: 0;
  overflow: hidden;
  border-radius: 12px;   /* 丸みをつけたい場合 */
 /* box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}*/

/*.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
*/


/* 共通：レスポンシブ画像 */
.responsive-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none; /* ← 影なし */
}

/* 汎用レスポンシブ画像クラス */
.responsive-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 中サイズ画像（例：yorokobi-jigyousha.jpg） */
.medium-image {
  max-width: 600px;  /* ← PC時の上限幅 */
  width: 95%;        /* ← 余白付きで中央に配置 */
  margin: 0 auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .medium-image {
    max-width: 95%;
    width: 95%;
  }
}


/* ===============================
   YouTube動画エリア（完全修正版）
================================= */
.video-cover {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  background: #000;

  /* ▼ 比率固定（サムネも再生画面も16:9） */
  aspect-ratio: 16 / 9;
}

.video-thumb,
.video-cover iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに表示 */
  border: none;
  border-radius: 12px;
}

.video-cover:hover .video-thumb {
  transform: scale(1.05);
}

/* 再生ボタン */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.play-button::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 22px;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #e60012;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .video-cover {
    max-width: 95%;
  }
  .play-button {
    width: 60px;
    height: 60px;
  }
  .play-button::before {
    left: 24px;
    top: 17px;
    border-width: 14px 0 14px 22px;
  }
}
