@charset "utf-8";

/* =========================
   メインビジュアル
========================= */
.main_v img{
    display: block;
    margin: 20px auto 0px;
	width: 80%;
}

/* =========================
   見出し
========================= */
.h2_ttl {
    font-weight: bold;
    border: 3px solid #ffa5c1;
    padding: 0.5em 1em;
    border-radius: 20px;
    margin-bottom: 50px;
    position: relative;
    font-size: 3rem;
    line-height: 1.3;
    text-align: justify;
}
.h2_ttl::before {
  content: '';
  background-color: #fff;
  width: 20px;
  height: 3px;
  position: absolute;
  left: 30px;
  bottom: -3px;
}
.h2_ttl::after {
  content: '';
  background-color: #ffa5c1;
  width: 20px;
  height: 3px;
  transform: rotate(50deg);
  position: absolute;
  left: 25px;
  bottom: -10px;
}

h2.sec_head.mini::after{
  display: none;
}

.breadcrumbs + .pg_ttl.short{
	margin-top: 0;
}

.close_inner {
    text-align: center; /* 中央寄せ */
    padding-bottom: 35px;
  }

  .close_p {
    display: inline-block; /* テキストをブロック化して中央に */
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
    padding: 0 90px; /* 装飾の余白を確保 */
  }

  .close_p::before,
  .close_p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 4px;
    background: #66bf97;
  }

  .close_p::before {
    left: 0;
    transform: translateY(-50%) rotate(55deg); /* 左の＼ */
  }
  
  .close_p::after {
    right: 0;
    transform: translateY(-50%) rotate(-55deg); /* 右の／ */
  }

.ann{
	padding-top: 10px;
	line-height: 2.0rem;
}

/* =========================
   テキスト装飾
========================= */
.hoge{
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(transparent 50%, #fffa87 50%);
}

.bold_text{
    font-weight: bold;
}

.text_area p a:hover{
    opacity: 0.5;
}
.text_area p + p{
    margin-top: 0;
}

/* =========================
   背景パターン
========================= */
.bg_pattern::before,
.bg_pattern::after{
    background: #fffde2;
}

/* =========================
   チェックリスト
========================= */
.check{
    position: relative;
    text-indent: 2em;
}
.check::before{
    position: absolute;
    content: "";
    width: 20px;
    height: 10px;
    border-left: 3px solid #222;
    border-bottom: 3px solid #222;
    transform: rotate(-45deg);
    left: 0;
    top: 5px;
}

/* =========================
   ボタン
========================= */
.btn_area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px; /* ボタン間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
}
.btn_area li{
  width: calc(100% / 2 - 200px);
}
.btn_area li a{
  display: block;
  width: 100%;
}
.btn_area li img{
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0px 11px 0px -5px #777777;
  border-radius: 12px;
}

.btn_area_off ul li a img{
    box-shadow: 0px 11px 0px -5px #777777;
    width: 34%;
    border-radius: 12px;
}

/* =========================
   目次
========================= */
.index{
    background: #fffde2;
    padding: 30px;
    width: auto;
    display: table;
    margin: 80px auto;
}
.index .text_area{
    margin-bottom: 0;
}
.toc_title {
    text-align: center;
    font-weight: 700;
    margin: 0;
    padding: 0;
}
.toc_list {
    margin-top: 1em;
}
.index li{
    margin: 0;
    padding: 0;
    list-style: none;
}
.index a{
    padding: 5px 0;
    display: flex;
}
.index .index_no{
width: 25px;
}

/* =========================
   詳細ボタン
========================= */
.btn.longer a, 
.btn.longer .under_line {
    width: 400px;
}
.link_box_area p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: unset;
}

/* =========================
   関連するコラム
========================= */
/* .card {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap
}*/


.card__item a {
  display: block;
}

.card__img-area img {
  width: 100%;
  height: auto;
  display: block;
}

.card {
  display: flex;
  flex-wrap: wrap; /* 画面が狭い時に折り返す */
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__item {
  width: calc(33.333% - 27px);
  list-style: none;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  border: solid 1px #ccc;
  box-sizing: border-box;
}

.text-area-busi {
  padding: 20px;
}

.card__title {
    font-size: 1.3rem;
    line-height: 1.4;
}

.card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__item {
  flex: 0 1 calc(33.333% - 20px); /* 3列の場合 */
  box-sizing: border-box;
  /* max-width: 360px; */ /* 1カードの最大幅を設定 */
}

.card__img-area {
  width: 100%;
  aspect-ratio: 16/9; /* 任意の比率に統一 */
  overflow: hidden;
}

.card__img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに表示して切り抜き */
  display: block;
}


/* =========================
   オフィスへのリンクボタン
========================= */


.box{
	background: #e8f6f0;
	background: #e8f6f0;
    padding: 40px;
    margin-top: 30px;
}

.box .text_area p {
  text-align: center;
  margin-bottom: 0;
}

.h3_ttl {
    text-align: center;
    font-size: 2rem;
    padding-bottom: 20px;
    font-weight: bold;
}


.btn_area_off  ul{
	display: flex;
    gap: 30px;
}

.btn_area_off ul li a img {
  margin: 0 auto;
  display: block;
  width: 100%;
}

/* =========================
   メディアクエリ
========================= */
@media screen and (max-width: 768px) {
	.main_v img{
		width: 100%;
	}

	.breadcrumbs + .pg_ttl.short {
		min-height: 120px;
	}

  .pg_ttl.short .inner {
      align-items: center;
      flex-flow: row wrap;
      height: 120px;
  }
  section .sec_wrap{
      margin-top: 40px;
  }
  .index {
      margin: 40px auto;
  }
  .main_v img{
      width: 100%;
  }
  .text_img_set .img_area {
      margin: 0;
  }
  .h2_ttl{
      font-size: 2rem;
      margin-bottom: 30px;
  }
  .btn_area{
      flex-direction: column;
      gap: 30px;
  }
  .btn_area li{
      width: 100%;
  }
  .btn_area a img{
      width: 100%;
  }
  .btn.longer .under_line {
      width: 300px;
  }
  .btn a, 
  .btn .under_line {
      padding: 10px 0;
  }

  .pg_ttl.short .inner h1 {
	font-size: 1.8rem;
	line-height: 2.6rem;
  }

	.btn_area_off ul {
    	flex-direction: column;
	}

  .btn_area_off ul li a img{
    width: 100%;
  }

  .card{
	flex-direction: column;
}

.card__item{
    width: 100%;
}

.box{
    margin-top: 60px;
}

.box .text_area p{
	text-align: justify;
}

.close_p {
	padding: 0;
    text-align: center;
}

  .close_p::before,
  .close_p::after {
    top: 0;
    width: 70px;
    height: 4px;
    background: #66bf97;
    bottom: 10px;
    top: initial;
  }

  .close_p::before {
    left: -40px;
    transform: translateY(-50%) rotate(55deg); /* 左の＼ */
  }

  .close_p::after {
    right: -40px;
    transform: translateY(-50%) rotate(-55deg); /* 右の／ */
  }
}

