.box {
  display: inline-block;
}
.box_title {
  margin-top: 42px;
  /*font-size: 30px;*/
}

.box .image img{
  width: 100%;
}

.box .merit {
  margin: 0 10px;
  width: calc(33.3% - 20px);
  float: left;
}
@media(max-width:800px){
  .box .merit {
    width: calc(100% - 20px);
    margin-bottom: 20px;
  }
}
.box .merit_headline {
  width: 100%;
  background: #002e4e;
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 8px 0;
}
.box .merit_image img {
  width: 100%;
}
.box .merit_title {
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 0;
  line-height: 1.5;
  margin-top: 12px;
}
@media(max-width:800px){
  .box .merit_title{
    height: auto;
  }
}

.box .merit_title.plus {
  line-height: 1;
}
.box .merit_text {
  width: 100%;
  padding: 8px 0;
}
.box .merit_text.gray {
  background: #f2f2f2;
}
.box .merit_text .blue {
  color: blue;
}
.box .sample {
  display: inline-block;
  clear: left;
  margin-bottom: 40px;
}
.box .sample_image {
  float: left;
  width: 40%;
  height: 240px;
  background: #fff;
  margin-right: 20px;
}
@media(max-width:800px){
  .box .sample_image{
    width: 100%;
  }
}

.box .sample_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.box .sample_text {
  float: left;
  width: calc(60% - 20px);
  font-size: 20px;
}
@media(max-width: 800px){
  .box .sample_text{
    width: 100%;
    margin-top: 20px;
  }
}
.box .sample_text .title {
  font-weight: 700;
  padding-bottom: 20px;
  border-bottom: 1px solid #DBDADA;
}
.box .sample_text .title span {
  font-size: 24px;
}
.box .sample_text .description {
  padding-top: 20px;
}
.box .sample_text .link {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.box .sample_text a {
  display: inline-block;
  /* background: #cddae2; */
  border: 1px solid #002e4e;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
  width: 160px;
}
/* sub_box */
.box .sub_box {
  background: #EBFAFF;
  padding:28px;
  display: inline-block;
  margin: 20px 0;
  width: calc(100% - 56px);
  text-align: center;
}
.box .sub_box_title {
  text-align: center;
  font-weight: 700;
  font-size: 28px; 
}
.box .sub_box_text {
  text-align: center;
  font-size:20px;
  margin: 20px 0 0;
}
.box .sub_box .area {
  width: calc(50% - 5px);
  float: left;
  margin: 20px 0 10px;
}
.box .sub_box .area:nth-child(odd){
  margin-right:5px;
}
.box .sub_box .area:nth-child(even){
  margin-left:5px;
}

.box .sub_box .area .color_bar {
  width: 100%;
  margin: 10px 0 0;
  display: inline-block;
  height: 10px;
}
.box .sub_box .area .area_name {
  text-align: left;
}

.box .sub_box .area .image img{
  width: calc(50% - 5px);
}

.box .sub_box .area img {
  width: calc(50% - 5px);
}
.box .sub_box .area img:nth-child(odd) {
  margin-right: 5px;
}
.box .sub_box .area img:nth-child(even) {
  margin-left: 5px;
}

.box .sub_box .partition {  
  float: left;
  margin: 20px 0 10px;
  width: calc(33.33% - 6.66px);
}
.box .sub_box .partition:nth-child(3n) {
  margin-right: 5px;
}
.box .sub_box .partition:nth-child(3n+1) {
  margin-right: 5px;
  margin-left: 5px;
}
.box .sub_box .partition:nth-child(3n+2) {
  margin-left: 5px;
}

.box .sub_box .partition .image{  
  width: 100%;
}
.box .sub_box .partition .image img{  
  width: 100%;
  object-fit: cover;
}

.box .sub_box .partition .partition_name{
  margin-top: 10px;
}

/* 20240704 start */
.arrow {
  font-size: 12px;
  font-size: 0.75rem;
  position: relative;
  display: inline-block;
  padding: 0 0 0 16px;
  color: #000;
  vertical-align: middle;
  text-decoration: none
}

.arrow::before,.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle
}

.arrow_r::before {
  left: 58%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #002e4e;
  border-right: 2px solid #002e4e;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg)
}

.list_btn {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.list_btn span {
  display: block;
}

.list_btn a {
  width: 100%;
  display: inline-block;
  background: #F0EFEF;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
}

.list_btn a {
  background-color: #edf1f5;
  transition: .8s
}

.list_btn a:hover {
  background-color: rgba(237,241,245,.5);
  transition: .8s
}

/* example index */
.box2 {
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;/*上書き*/
}
.index {
  width: 46%;
  margin: 4%;
  box-sizing: border-box;
  margin-bottom: 40px;
}
.index:nth-child(odd) {
    margin-left: 0;
}
.index:nth-child(even) {
    margin-right: 0;
}
.box2 .index_image {
  width: 100%;
  height: 240px;
  background: #fff;
  margin-right: 20px;
}
.index_image img {
  width: 100%;
  height: auto;
}

@media(max-width:800px){

  .list_btn a  {
    text-indent: -24px;
  }

  .arrow_r::before {
    left: 64%;
  }

  .box2 .index_image{
    width: 100%;
  }
}

.box2 .index_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* .box2 .index_text {
  font-size: 20px;
} */


/* 下線調整 */
.index {
  position: relative;
}

/* 偶数番目の .index */
.index:nth-child(odd)::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 97%;
  width: 120%;
  border-bottom: 1px solid #DBDADA;
}

/* 奇数番目の .index */
.index:nth-child(even)::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 117%;
  width: 100%;
  border-bottom: 1px solid #DBDADA;
}

@media(max-width:700px){
  .index:nth-child(odd)::after,
  .index:nth-child(even)::after {
      display: none;
  }
}

 /* 
 最後の線が不要な場合
 .index:last-child:nth-child(odd)::after,
 .index:last-child:nth-child(even)::after {
     display: none;
 }
 .index:nth-last-child(2):nth-child(odd)::after,
 .index:nth-last-child(2):nth-child(even)::after,
 .index:last-child::after {
     display: none;
 }
  */

@media(max-width: 800px){
  .box2 .index_text{
    width: 100%;
    margin-top: 20px;
  }
}
.box2 .index_text .title {
  font-size: 19.8px;
  font-weight: 700;
  padding: 16px 0;
  /* border-bottom: 1px solid #DBDADA; */
}
.box2 .index_text .title span {
  font-size: 19px;
}
.box2 .index_text .description {
  /* height: 210px; */
  /* padding-top: 20px; */
  padding-bottom: 20px;
}
.box2 .index_text .link {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.box2 .index_text a {
  display: inline-block;
  border: 1px solid #002e4e;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
  width: 160px;
}

 .link a {
     display: inline-block;
     background-color: #fff;
     padding: 10px;
     border-radius: 4px;
     text-decoration: none;
     color: #000;
     transition: background-color 0.3s;
 }
 .link a:hover {
     background-color: rgba(237,241,245,0.5);
 }
 @media (max-width: 700px) {
     .index {
         width: 100%;
         margin: 0 0 20px 0;
     }
 }

/* 20240704 end */