#outline{
margin-bottom: 0;
}
p{
margin: 0;
padding: 0;
}
.container {
width: 1024px;
}
ul.breadcrumb {
max-width: 1024px;
}
.fv {
background-image: url(/obosan/hoyo/35d/images/pc_fv.png);
max-height: 310px;
min-height: 310px;
background-repeat: no-repeat;
}
.fv_title{
text-align: left;
max-width: 1024px;
margin: 0 auto;
}
.fv_title h1{
padding-top: .2em;
color: #00003D;
font-size: 4em;
font-weight: 700;
font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.price_box{
background-color: rgba(255,255,255,0.5);
border-radius: 6px;
text-align: center;
padding: .75em 1em .5em;
width: 46%;
}
.price_box p.t_price{
color: #91004c;
text-align: center;
font-size: 20px;
font-weight: 700;
padding: 0;
margin: 0;
}
.price_box p.set{
padding: 10px 0 0;
margin: 0;
text-align: center;
border-top: 1px solid #fff;
}
.price_box p.souba{
text-align: center;
background-color: #F4EBDA;
color: #230F00;
font-weight: 700;
padding: 0;
margin: 0 auto 6px;
width: 90%;
}
.price_box p.souba span.small{
font-size: 80%;
font-weight: normal;
}
p.r_txt{
font-size: 85%;
padding: 0;
margin: 5px 0 0 0;
text-align: center;
}
p.text{
font-size: 1.1rem;
padding: 0 1em .5em;
}
.menu_box p.catch{
text-align: center;
font-size: 1.6em;
font-weight: 700;
padding: 1em 0 .25em;
margin: 0;
}
.menu_box .flex_box{
justify-content: space-between;
}
.menu_box .flex_box div{
width : calc(99% / 6) ;
height: 54px;
background-color: #000;
text-align: center;
}
.menu_box .flex_box div a{
line-height: 54px;
color: #fff;
font-weight: 700;
}
.contents_box{
margin: 1em auto;
padding: 1.5em;
border: 1px solid #ccc;
}
.contents_box p{
line-height: 1.75;
}
.flex_box, .shuha_container, .flex_box.sumabo{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.txt_con{
width: 58%;
}
.photo_box{
width: 40%;
}
.contents_box p{
margin: 0;
padding: 0 0 .5em;
}
.flex_box.kinds div{
width : calc(96% / 6) ;
border: 1px solid #000;
text-align: center;
padding: .5em 0;
margin-bottom: .5em;
}
.txt_con .price_box{
background-color: #f7e7e7;
border-radius: 0px;
text-align: center;
padding: 1em;
width: 100%;
margin-bottom: .5em;
}
.txt_con .price_box p.t_price{
padding-bottom: .3em;
}
.tsuika{
background-color: #fff;
border-radius: 6px;
margin: .3em 0 0;
padding: .5em 1em;
}
p.plus{
padding: 0;
}
p.plus span{
color: #db004f;
}
.flex_box.item_box{
width : calc(99% / 2) ;
border: 1px solid #7a7a7a;
padding: 1em 1em .5em .5em;
margin-bottom: 1%;
}
.item_txt{
width: 75%;
}
.contents_box h3 {
background-color: #fff;
font-size: 1.1rem;
color: #000;
padding: 0;
border-radius: 0;
margin: 0 0 5px 0;
text-align: left;
background-image: none;
border: 0;
}
.flex_box .merit_box{
width : calc(98% / 2) ;
background-color: #efefef;
margin-bottom: .5em;
}
.flex_box .merit_box h3{
background-color: #494949;
text-align: center;
font-weight: normal;
font-size: 1.3em;
color: #fff;
padding: .5em 0;
}
div.merit,div.demerit{
width: 100%;
margin: 0;
height: 215px;
}
div.merit{
background-image: url(/hoji/bozen/images/merit.png);
background-position: 50% 50%;
background-repeat: no-repeat;
}
div.demerit{
background-image: url(/hoji/bozen/images/demerit.png);
background-position: 50% 50%;
background-repeat: no-repeat;
}
.merit_box ul.disc{
margin: 1em 0 1em 2em;
padding-bottom: 1em;
}
.merit_box ul.disc li{
font-size: 18px;
line-height: 1.8;
}
div.step{
border: 1px solid #5d456c;
border-radius: 4px;
width: 142px;
text-align: center;
padding: .5em;
}
div.step p.step{
text-align: center;
color: #5d456c;
font-weight: 700;
margin: 0;
padding: 0;
}
div.step p.txt{
text-align: center;
line-height: 1.5;
margin: 0;
padding: 0;
}
.flex_box.step_box{
align-items: center;
margin-bottom: 1.25em;
}
.flex_box.step_box div.step{
align-self: stretch;
}
div.d_arrow{
text-align: center;
}
div.flow_photo{
width: 20%;
}
div.flow_txt{
width: 77%;
}
div.flow_txt p.txt{
font-size: 18px;
}
p.t_flow{
background-color: #f0e9f4;
color: #5d456c;
font-weight: 700;
font-size: 20px;
border-radius: 25px;
padding: .25em 1.5em;
display:inline-block;
margin-bottom: .5em;
}
.option{
border: 1px solid #7a7a7a;
padding: 1em;
margin: 1em auto;
}
.option .flex_box.op{
align-items: center;
background-color: #f7e7e7;
padding: 1em 1em;
border-radius: 4px;
margin-bottom: .5em;
}
.set.flex_box{
width: 73%;
}
.set_item{
border: 1px solid #ccc;
border-radius: 4px;
padding: .5em .5em .25em .5em;
text-align: center;
margin-left: .35em;
width : calc(96% / 4) ;
background-color: #fff;
}
.set_item img{
border-radius: 4px;
}
.set_item p, .cost_box p{
text-align: center;
padding: 0;
margin: 0;
}
.cost_box{
border-radius: 0px;
text-align: center;
width: 26%;
border-radius: 4px;
}
p.s_plan{
padding-bottom: .25em;
}
p.s_plan span{
color: #db004f;
font-size: 33px;
font-weight: 700;
line-height: 110%;
}
.flex_box.sonota div{
border: 1px solid #7a7a7a;
padding: 1em 0;
text-align: center;
width : calc(96% / 4) ;
background-color: #fff;
margin-bottom: 1em;
position: relative;
line-height: 75px;
height: 75px;
}
.flex_box.sonota div a{
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.flex_box.sonota div a:hover{
background-color: #9A008F;
color: #fff;
}
.flex_box.u_fv{
margin: .5em 0 1em;
}
.flex_box.u_fv .pay_box, .flex_box.u_fv .sumabo_box{
width : calc(98% / 2) ;
border: 1px solid #7a7a7a;
border-radius: 6px;
padding: 1em;
text-align: center;
}
.btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background-color: #064777; /* ボタンの背景色（ブルー） */
  color: #ffffff; /* 文字色（白） */
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px; /* 両端を完全な丸にする */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ほんのり影をつける */
  transition: all 0.3s ease; /* ホバー時の動きを滑らかにする */
}

/* 右側の矢印アイコン */
.btn-details::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-left: 16px;
  transition: all 0.3s ease;
}

/* マウスを乗せたとき（ホバー時）の動き */
.btn-details:hover {
background-color: #043354; /* 少しだけ濃いブルーにする */
transform: translateY(-2px); /* 全体が少し上に浮く */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* 影を少し濃く・広くする */
color: #ffffff; /* 文字色（白） */
}

/* ホバー時に矢印だけ少し右に動かす */
.btn-details:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}
.t_sub {
position: relative;
display: inline-block;
padding: 0 55px;
font-size: 1.4em;
font-weight: 700;
}
.t_sub:before, .t_sub:after {
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 45px;
height: 1px;
background-color: black;
}
.t_sub:before {
  left:0;
}
.t_sub:after {
  right: 0;
}
.pay_box .flex_box{
margin: .5em 0;
}
.pay_box .flex_box div{
width : calc(97% / 3) ;
border: 1px solid #ccc;
padding: .5em;
margin-bottom: 7px;
}
.pay_box .flex_box div.empty{
border: 0;
}
.pay_box p.center, .sumabo_box p.txt span, .pay_box p.txt span{
color: #F00052;
}
.sumabo_box p.txt{
padding: .5em .5em .75em;
}
.pay_box p.txt{
margin-top: -10px;
margin-bottom: 3px;
}
/* 全体を囲むコンテナ */
.heading-container {
  display: flex;
  justify-content: space-between; /* 要素を左右の端に離して配置 */
  align-items: baseline; /* 文字の下のラインをピッタリ揃える */
  border-bottom: 1px solid #000; /* フルサイズの下線 */
  padding-bottom: 5px; /* 線と文字の間の余白 */
  margin-bottom: 12px; /* 見出しの下の余白（お好みで） */
}

/* 左側の見出し */
.heading-container h2 {
margin: 0; /* ブラウザ標準の余白をリセットしてズレを防ぐ */
font-size: 2.2rem;
color: #000;
font-weight: bold;
}

/* 右側の補足テキスト */
.heading-container .digest {
font-size: 1rem; /* h2より小さめに設定 */
color: #333; /* 色を少し薄くすると、主役のh2がより際立ちます */
white-space: nowrap; /* スマホ表示などで意図せず改行されるのを防ぐ */
}
/* 定義リスト全体のレイアウト */
dl.base {
  margin: 0 auto 1.5em;
  padding: 24px;
  background-color: #f9f9f9; /* 圧迫感のない非常に薄いグレー */
  border-radius: 8px;
  font-family: sans-serif;
}

/* 見出し（dt）のスタイル */
dl.base dt {
font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  background-color: #f2efe9; /* 少し温かみのある薄い背景色 */
  border-left: 5px solid #6b5b56; /* 左側のアクセントライン */
  padding: 8px 12px;
  margin-bottom: 16px;
}
/* 説明部分（dd）の余白調整 */
dl.base dd {
  margin-left: 0;
  margin-bottom: 32px;
}

/* 最後のddの下余白を消す */
dl.base dd:last-of-type {
  margin-bottom: 0;
}
dl.base dd p{
  padding-bottom: .75em;
}
/* リスト（ul.circle）の基本スタイル */
ul.circle {
  list-style-type: none; /* デフォルトの黒丸を消す */
  padding-left: 0;
  margin: 0;
}

/* リスト項目（li）のレイアウトと疑似要素によるオリジナル黒丸 */
ul.circle li {
  position: relative;
  padding-left: 1.75em; /* 黒丸を配置するスペース */
  margin-bottom: .5em;
  line-height: 1.6;
}

ul.circle li:last-child {
  margin-bottom: 0;
}

/* カスタムの黒丸（装飾） */
ul.circle li::before {
  content: '';
  position: absolute;
  left: 0.8em;
  top: 0.6em; /* テキストの高さに合わせて微調整 */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #6b5b56; /* dtのボーダーと同色で統一感 */
}

/* 小見出し（span）の強調 */
ul.circle li span {
  font-weight: bold;
  color: #222222;
  margin-right: 4px;
  display: inline-block;
}
.hitokoto{
  background: rgba(205, 221, 253, 0.23);
  margin: 2em 0;
  padding: 25px 25px 12px 25px;
  border-radius: 10px;
}

.hitokoto-circle1{
  font-size: 15px;
  line-height: 1.7;
  position: absolute;
  margin-top: -37px;
  font-weight: bold;
  color: #fff;
  background-color:#064777;
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle1:after{
  content: "語";
  position: absolute;
  margin-top: .2em;
  font-weight: bold;
  color: #fff;
  background-color:#064777;
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle2:before{
  content: "";
  position: absolute;
  top: 100%;
  margin-left: -12px;
  border: 5px solid transparent;
  border-top: 10px solid #064777;
  -ms-transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}

.hitokoto-circle2{
  position: absolute;
  font-size: 15px;
  line-height: 1.7;
  margin-top: -37px;
  margin-left: 40px;
  font-weight: bold;
  color: #fff;
  background-color:#064777;
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle2:after{
  content: "説";
  position: absolute;
  margin-top: .2em;
  font-weight: bold;
  color: #fff;
  background-color:#064777;
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto p{
  margin: 0;
  padding: 0 0 .5em 0;
}
.hitokoto strong, .hitokoto p span{
font-weight: 700;
}
ul.circle li span.ai_cost, span.ai_cost{
color: #45007A;
}
.shuha_container div{
width: calc(98% / 4);
border:1px solid #ccc;
border-radius: 4px;
text-align: center;
margin-bottom: .5em;
padding: .5em;
}
.caution{
border: 1px dotted #cc0000;
text-align: center;
color: #cc0000;
padding: .5em 0;
font-size: 1.2em;
margin-bottom: .75em;
}
.pay_kinds{
background-color: #f9f9f9;
padding: 1em;
}
.pay_kinds .flex_box div{
width: calc(96% / 3);
background-color: #fff;
border-radius: 6px;
padding: .75em 1em 0;
}
.pay_kinds p,.pay_kinds .flex_box div h3{
text-align: center;
}
.pay_kinds p.sub_title{
font-size: 1.4rem;
}
.flex_box.sumabo div{
width : calc(98% / 2) ;
}

/* 全体のコンテナ */
.memorial-flow-container {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
}

/* ステップのリスト */
.memorial-steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
}

/* 各ステップの親要素（位置基準と矢印のため） */
.step-item {
  flex: 1;
  position: relative;
  display: flex;
}

/* 枠全体をリンクにするための設定 */
.step-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem 1rem;
  background-color: #Faf8f5; /* 落ち着いたアイボリー */
  border: 1px solid #E6E2D8;
  border-radius: 8px;
  text-align: center;
  text-decoration: none; /* リンクの下線を消す */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

/* ホバー時に枠ごと浮き上がり、背景をわずかに明るく */
.step-link:hover {
  transform: translateY(-3px);
  background-color: #FFFFFF;
  border-color: #C4B9A9;
  box-shadow: 0 5px 15px rgba(155, 140, 120, 0.15);
}

/* 矢印（CSS擬似要素） */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #C4B9A9;
  z-index: 1;
  pointer-events: none; /* 矢印がクリックの邪魔をしないようにする */
}

/* STEP 01 などのラベル */
.step-label {
  font-size: 0.85rem;
  color: #9B8C78;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* メインタイトル */
.step-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
}

/* 補足テキスト */
.step-note {
  font-size: 0.8rem;
  color: #666666;
  margin-top: 0.3rem;
}

/* スマートフォン向けの縦並び対応（600px以下） */
@media screen and (max-width: 600px) {
  .memorial-steps {
    flex-direction: column;
    gap: 25px;
  }
  
  .step-item {
    width: 100%;
  }
  
  .step-link {
    padding: 1.2rem;
  }
  
  /* スマホ時は矢印を下に変更 */
  .step-item:not(:last-child)::after {
    top: auto;
    bottom: -18px;
    right: 50%;
    transform: translateX(50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #C4B9A9;
  }
}
@media only screen and (max-width: 768px) {
a{
display: inline;
}
.container {
width: 100%;
}
ul.breadcrumb {
width: 100%;
}
.contents_box h2{
font-size: 1.2em;
font-weight: 700;
}
.contents_box h3 {
font-size: 1.1em;
font-weight: 700;
}
.heading-container {
    flex-direction: column; /* 縦並びに変更 */
    align-items: flex-start; /* 左寄せにする */
    gap: 8px; /* h2とspanの間に少し隙間をあける */
  }
}
@media only screen and (max-width: 480px) {
.contents_box {
  margin: 0 auto;
  padding: .5em;
margin-bottom: 100px;
}
.flex_box {
flex-wrap: wrap;
}
.photo_box {
width: 100%;
}
.photo_box img{
height: 170px;
object-fit: cover;
}
.txt_con {
width: 100%;
}
.pay_kinds .flex_box div {
width: 100%;
margin-bottom: .5em;
}
.cost_box, .set.flex_box {
width: 100%;
}
.cost_box img{
width: 50%;	
}
.set_item {
width: calc(98% / 2);
margin: .25em 0;
}
.flex_box.item_box {
width: 100%;
padding: .5em;
}
.icon_box{
width: 23%;		
}
.flex_box .merit_box {
width: 100%;
}
.flex_box.step_box{
display: none;
}
div.d_arrow {
width: 40%;
margin: 0 auto;
}
.flex_box.sonota div{
width: 100%;
line-height: 70px;
height: 70px;
margin-bottom: .5em;
}
.flex_box.sumabo div{
width : 100%;
}
}