
:root{
  --brown:#F5F2EB;
  --dbrown:#745844;
}

.f_brown{
  color:var(--brown);
}
.f_dbrown{
  color:var(--dbrown);
}
.bg_brown{
  background:var(--brown);
}
.bg_dbrown{
  background:var(--dbrown);
}
section.bg_brown{
  background-image:url(/common/img/facilities/yaotome/bg_sec.png);
  background-size: cover;
}
main{
  font-family: "Noto Serif JP";
}
main p{
  margin-block-start: 0em;
    margin-block-end: 0em;
}

main #niigata_wrap{
  line-height: 1.6;
  overflow-x: hidden;
}
#niigata_wrap .sec_inner{
  max-width:1240px;
  margin: auto;
  font-size: 20px;
}
.mimamorisys_wrap img {
  height: auto;
}
.fl{
	flex-wrap: nowrap;
}
#page_title{
  display: none;
}
.yoa_sec{
  padding:160px 0 100px;
}
.niigata_sec_ttl{
  width:fit-content;
  margin:auto;
  margin-bottom:60px;
  font-size: 40px;
  color: var(--dbrown);border-bottom: solid 1px var(--dbrown);
  font-weight: bold;
}
.niigata_sec_ttl_02{
  font-size: 26px;
  margin-bottom:35px;
  padding-left:20px;
  position: relative;
  &:before{
    position: absolute;
    content:"";
    top:3px;
    left:0;
    background:var(--dbrown); 
    height: 100%;
    width:5px;
  }
}
.ico_point{
  position: relative;
}
.ico_point::before{
  content:"";
  position: absolute;
    top: -55px;
    left: -90px;
  width: 120px;
  height: 70px;
}
.txt_asta{
  position: relative;
  font-size: 12px;
  padding-left:15px;
  &:before{
    content:'※';
    position: absolute;
    left:0;
    top:0;
  }
}
.num_asta{
  font-size: 12px;
  vertical-align: super;
}
.mb0{
  margin-bottom: 0!important;
}
@media (max-width: 1024px){
  #niigata_wrap .sec_inner{
    font-size: 16px;
  }
  .yoa_sec{
   padding:90px 0 60px;
  }
  .sec_inner{
    padding:0 20px;
  }
  .niigata_sec_ttl{
    margin-bottom:30px;
    font-size: 22px;
    border-bottom: solid 2px var(--dbrown);
  }
  .ico_point::before {
    top: -38px;
    left: 0px;
    width: 67px;
    height: 40px;
  }
  .niigata_sec_ttl_02{
    font-size: 19px;
    margin-bottom:20px;
    padding-left:15px;
    &:before {
      top: 0;
      bottom: 0;
      left: 0;
      height: 75%;
      margin: auto;
    }
  }


}
@media (min-width: 1025px) and (max-width: 1349px) {

}



/* ttl_niigata */
#ttl_niigata{
  position: relative;
  /* padding:60px 40px; */
  width:100%;
  margin: auto;
  font-family: "Noto Serif JP";
  height: 460px;
  margin-bottom:30px;
  background: url(/common/img/facilities/niigata/mv_pc.png);
  background-size: cover;
  font-size: 24px;
  display: flex;
  justify-content: left;
  align-items: center;
  & > div{
    max-width: 1230px;
    margin: auto;
    width: 100%;
  }
  & h1{
    display: flex;
    align-items: center;
    color: #292B82;
    font-size: 36px;
  }
  & h1 img{
    height: 90px;
    width: 90px;
    text-shadow: 6px 6px 7px rgba(255, 255, 255, 1), -6px -6px 5px rgba(255, 255, 255, 1);
  }
  p{
    font-size: 20px;
    & strong{
          font-weight: bold;
      color: #292B82;
    }
  }
  
}
@media (max-width: 1024px){
  #ttl_niigata {
    background: url(/common/img/facilities/niigata/mv_sp.png);
    align-items: flex-end;
    padding-bottom:20px;
    background-size: cover;
    & h1 {
      font-size:25px;
      font-weight: bold;
    }
    & h1 img {
        height: 70px;
        width: 70px;
    }
    & > div {
      margin: auto auto 0;
    }
  }
  #ttl_niigata div div{
    width: 100%;
    padding:0 15px;
    margin: auto;
  }
  #ttl_niigata p{
    font-weight: bold;
    font-size: 16px;
  }
  #ttl_niigata p.txt_asta{
    position: absolute;
    bottom:-25px;
    right:15px;
    font-size: 12px;
    font-weight: 500;
  }
}
/* ttl_niigata end */


/* niigata_nav */
.niigata_nav .fl{
  gap:20px;
  flex-wrap: wrap;
  justify-content: center;
}
.niigata_nav a{
  box-shadow: 3px 3px 10px 0px rgba(200, 196, 188, 0.40);
  display: block;
  background: var(--brown);
  max-width: 390px;
  width:100%;
  text-align: center;
  color:var(--dbrown);
  font-size: 24px;
  border-radius: 20px;
  font-weight: bold;
  padding:5px 0 40px;
  position: relative;
  & span{
        font-family: 'Helvetica Neue', sans-serif;
        font-style: italic;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
  }
  & img{
    max-width: 47px;
  }
  &:after{
    position: absolute;
    content:"";
    bottom:18px;
    right:0;
    left:0;
    margin: auto;
    width: 10px;
    height: 10px;
    border: 2px solid;
    border-color:  transparent transparent var(--dbrown) var(--dbrown);
    transform: rotate(-45deg);
  }
}
@media (max-width: 1024px){
  .niigata_nav{
    padding-top:30px;
  }
  .niigata_nav .fl{
    gap:10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    a {
      padding: 0px 0 25px;
      font-size: 16px;
      & span {
        font-family: 'Helvetica Neue', sans-serif;
        font-size: 12px;
      }
      & img{
         max-width: 35px;
      }
      &:after {
        bottom: 12px;
        width: 6px;
        height: 6px;
        border: 1px solid;
        border-color: transparent transparent var(--dbrown) var(--dbrown);
      }
    }
  }
}
/* niigata_nav end */

/* p1 */
#p1{
  padding-top:130px;
}
#p1 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_01.svg);
  background-size:cover;
}
.p1_sch{
  background: var(--brown);
  border-radius: 20px;
  padding:40px;
  margin-bottom:80px;

  & h3{
    text-align: center;
    font-size: 36px;
    margin-bottom:20px;
  }
  & >.fl{
    gap:20px;
    flex-direction: column;
  }
  & img{
    max-width: 900px;
    display: block;
    margin: auto;
    margin-bottom:0px;
  }
  & p{
    text-align: center;
  }
}
.coordi_wrap{
  justify-content: space-between;
  margin-bottom:80px;
}

.coordi_txt{
  max-width: 700px;
  font-size: 20px;
  & p{
    margin-bottom:10px;
  }
}
.coordi_img{
  max-width: 480px;
}
.p1_service{
  margin-bottom:80px;
}
.p1_service > div{
  justify-content: flex-start;
  gap:30px 20px;
  flex-wrap: wrap;
}
.p1_service dl{
  max-width: 400px;
  width:100%;
  & dt{
    padding:10px;
    font-size: 24px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
  }
  & dd{
    font-size:20px;
  }
  & .txt_asta{
    margin-top:15px;
  }
  & .txt_asta:nth-child(3){
    margin-top:0;
  }
}
.p1_high_service .txt_intro{
  font-size: 20px;
  margin-bottom:10px;
}
.p1_high_service > .txt_asta{
  margin-bottom:40px;
}
.his_wrap{
  border-radius: 20px;
  border:solid 2px var(--dbrown);
  padding:40px 30px 25px;
  gap:20px;
  margin-bottom:40px;
  & > div.fl{
    justify-content: space-between;
  }
  & h4{
    max-width: 690px;
    margin: auto;
    margin-bottom:40px;
  }
}
.his_box{
  max-width: 100%;
  gap:10px;
  font-size: 20px;
  & dl{
    max-width:100%;
  }
  & dt{
    font-weight: bold;
    font-size: 22px;
    margin-bottom:10px;
  }
  & .his_img,img{
    max-width: 240px;
    width:100%;
  }
}
.his_img{
  position: relative;
  & .txt_asta{
    position: absolute;
    right:5px;
    bottom:10px;
    font-size: 12px;
  }
}
.p1_high_service .txt_asta{
    margin-top:20px;
    width: fit-content;
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}
.p1_high_service > .txt_asta{
  text-align: left;
  margin-left:0;
  margin-right: auto;
}
.his_premi h4{
  max-width: 370px;
}
.his_premi .txt_asta{
  margin-top:0px;
}
.his_premi dt{
  display: none;
}
@media (max-width: 1024px){
  #p1{
    padding-top:90px;
  }
  .p1_sch {
    padding:25px 10px;
    margin-bottom:60px;
    & h3 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }
    & >.fl{
      flex-direction: column-reverse;

    }
  }

  .coordi_wrap {
    margin-bottom: 60px;
    flex-direction: column;
    gap:10px;
  }
  .coordi_txt {
    font-size: 16px;
  }
  .p1_service dl {
    & dt {
        font-size: 18px;
    }
    & dd {
        font-size: 16px;
    }
  }
  .p1_service {
    margin-bottom: 60px;
  }
  .p1_high_service > .txt_asta {
    margin-bottom: 20px;
    margin-top:0;
  }
  .p1_high_service .txt_intro {
    font-size: 16px;
  }
  .his_wrap {
    padding: 20px 15px 25px;
    gap: 20px;
    margin-bottom: 40px;
    & h4 {
      margin-bottom:15px;
    }
    & > div.fl {
        justify-content: space-between;
        flex-direction: column;
        gap:15px;
    }
  }
  .his_wrap:last-of-type{
    margin-bottom:0;
  }
  .his_box {
    & .his_img, img {
      max-width: 100px;
      min-width: 100px;
      height: 100%;
    }
    & dt {
        font-size: 18px;
    }
    & dd {
        font-size: 16px;
    }
  }
  .his_img{
    position: relative;
    & .txt_asta{
      position: relative;
      right:0px;
      bottom:5px;
      font-size: 12px;
    }
  }
}
/* p1 end */

/* p2 */
#p2 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_02.svg);
  background-size:cover;
}
#p2 .txt_intro{
  margin-bottom:50px;
}

#p2 h3{
  color:#fff;
  font-size: 28px;
  padding:5px 5px;
  padding-right:30px;
  max-width: 570px;
  margin-bottom:40px;
  background: linear-gradient(270deg, rgba(116, 88, 68, 0.00) 0%, rgba(116, 88, 68, 0.60) 12%, rgba(116, 88, 68, 0.90) 100%);
}
.dialo_wrap{

  margin-bottom:70px;
  & h4{
    font-size: 24px;
    text-align: center;
    margin-bottom:5px;
  } 
  & > img{
    max-width: 240px;
    display: block;
    margin: auto;
    margin-bottom:10px;
  }
  & > .txt_asta{
      text-align: center;
      display: block;
      width: fit-content;
      margin: auto;
      margin-bottom: 70px;
      position: relative;
      &:last-of-type:after{
        position: absolute;
        content:"";
        right:0;
        left:0;
        bottom:-45px;
        margin: auto;
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid var(--dbrown);
      }
  }
}
.dialo_desc{
  border:solid 3px var(--dbrown);
  border-radius: 10px;
  padding:30px 40px;
  & h4{
    margin-bottom:30px;
  }
  & .dialo_desc_box {
    justify-content: space-between;
    gap:20px;
    margin-bottom:30px;
  }

  & dl{
    border:solid 1px var(--dbrown);
    max-width:370px;
    width:100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    padding:10px 10px 15px;
  }
  & dt{
    text-align: center;
    font-size: 22px;
    color: var(--dbrown);
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom: solid 1px var(--dbrown);
    font-weight: bold;
  }
  & dd li{
    padding-left:25px;
    position: relative;
    &:before{
      position: absolute;
      content:"・";
      top:2px;
      left:2px;
      color:var(--dbrown);
    }
  }
  .dialo_desc_box_02{
    gap:20px;
    & p{
      font-size: 14px;
      font-weight: bold;
      margin-bottom:10px;
    }
    & >div{
      max-width:575px;
      width:100%;
    }
    & img{
      width:100%;
    }
  }
}
@media (max-width: 1024px){
  #p2 .txt_intro {
    margin-bottom: 30px;
  }
  #p2 h3 {
    font-size: 20px;
    margin-bottom:20px;
  }
  .dialo_wrap {
    margin-bottom:60px;
    & > img {
        max-width: 180px;
        margin-bottom: 0px;
    }
    & h4 {
        font-size: 18px;
        margin-bottom:20px;
    }
  }
  .dialo_desc {
    padding:15px 15px;
    & .dialo_desc_box {
        margin-bottom: 30px;
        flex-direction: column;
    }
    & dt {
      font-size: 16px;
    }
    .dialo_desc_box_02 {
      flex-direction: column;
    }
  }
}
/* p2 end */
/* room */
.p2_room .txt_intro{
  margin-bottom:70px;
}
.room_wrap{
    margin-top: 50px;
  position: relative;
}
.room_ttl{
  position: absolute;
  top:0;
  left:0;
  & h4{
    width: fit-content;
    position:relative;
  }
  & h4:after{
   content:""; 
   position: absolute;
   margin:auto;
   top:0;
   bottom:0;
   right:-20px;
   width: 0;
    height: 0;
    border-left: 12px solid var(--dbrown);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
}
.room_img{
	max-width: 715px;
	margin: auto;
	display: block;
  position: relative;
}
.room_pin{
  width: 80px;
  position: absolute;
  cursor: pointer;
}
.room_pin:hover{
  animation: poyoyon .5s cubic-bezier(0.12, 0, 0.39, 0) 1 forwards;
}
@keyframes poyoyon {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(-0px);
  }
  100% {
    transform: translateY(0);
  }
  20%,100% {
    opacity: 1;
  }
}
.room_pop{
  border:solid 2px #13257D;
  padding:20px 30px;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  display: none;
}
.room_pop.on {
  display: block;
  z-index: 50;
}
.room_pop .ttl{
  color:#13257D;
  font-weight: bold;
  margin-bottom:10px;
  font-size: 24px;
}
.room_pop .desc{
  font-size: 18px;
  margin-bottom:10px;
}
.room_pop .list{
  font-size: 16px;
  margin-bottom:10px;
}
.room_pop .link{
  width: fit-content;
  text-align: right;
  text-decoration: underline;
  color: #13257D;
  position: relative;
  display: block;
  margin-top:20px;
  padding-right: 20px;
  margin-right: 0;
  margin-left: auto;
}
.room_pop .link::after{
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top-color: transparent;
  border-right: solid 2px #122A88;
  border-bottom: solid 2px #122A88;
  border-left-color: transparent;
  transform: rotate(-45deg) skew(5deg, 5deg);
  position: absolute;
  right: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.pin_01{
  top: 32px;
  left: 219px;
}
.pop_01{
  top: 96px;
  left: -203px;
}
.pin_02{
  top: 52px;
  left: 370px;
}
.pop_02{
  top: 44px;
  right: -210px;
}
.pin_03{
  top: 468px;
  left: 156px;
}
.pop_03{
  bottom: -70px;
  left: -302px;
}
.pin_04{
  top: 325px;
  right: 37px;
}
.pop_04{
  right: -260px;
  bottom: 230px;
}
.pop_close{
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 25px;
}
.pop_close::after{
  background: #122A88;
  width:50px;
  height: 50px;
  border-radius: 50px;
  position: absolute;
  content:"";
  top:0;
  bottom:0;
  right: 0;
  left: 0;
  margin: auto;
}
.pop_close::before{
  position: absolute;
  content: "×";
  top: -25px;
  bottom: 0;
  right: 0px;
  left: 10px;
  margin: auto;
  color: #fff;
  z-index: 20;
  font-size: 30px;
}
@media (max-width: 1024px){

  .room_ttl {
    position: relative;
    margin-bottom:20px;
    & h4{
      margin-bottom:10px;
    }
    & h4:after {
        transform: rotate(90deg);
    }
  }

  .room_pin {
    width: 50px;
  }
  .pin_01 {
    top: 2%;
    left: 29%;
  }
  .pin_02 {
    top: 4%;
    left: 50%;
  }
  .pin_03 {
    top: 57%;
    left: 20%;
  }
  .pin_04 {
    top: 39%;
    right: 4%;
  }
  .pop_01,
  .pop_02,
  .pop_03,
  .pop_04 {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: fit-content;
  }
  .pop_close {
    cursor: pointer;
    position: absolute;
    top: -17px;
    right: -17px;
    display: block;
    width: 35px;
    height: 35px;
  }
  .pop_close::after {
    background: transparent;
    width: 35px;
    height: 35px;
  }
  .pop_close::before {
    top: 0;
    bottom: 0;
    right: 0px;
    left: -2px;
    margin: auto;
    color: #fff;
    z-index: 20;
    font-size: 34px;
    font-weight: 500;
    font-family: auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "";
    background: url(/common/img/mimamorisystem/ico_close2.png);
    background-size: cover;
    overflow: visible;
    background-repeat: no-repeat;
  }

  .room_pop .ttl {
    font-size: 20px;
  }
  .room_pop .desc {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .room_pop .link{
    font-size: 12px;
  }
  
}
@media (max-width: 1025px) and (min-width: 430px) {
  #room .room_img {
    max-width: 350px;
  }
}

/* p2 end */

/* p3 */
#p3 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_03.svg);
  background-size:cover;
}
#p3 h2{
  margin-bottom:30px;
}
#p3 .txt_intro{
  margin-bottom:0px;
}
#p3 .div_asta{
  margin-bottom:30px;
}
#p3 h3 {
    color: #fff;
    font-size: 28px;
    padding: 5px 15px;
    padding-right: 30px;
        width: fit-content;
    margin-bottom: 40px;
    background: linear-gradient(270deg, rgba(116, 88, 68, 0.00) 0%, rgba(116, 88, 68, 0.60) 12%, rgba(116, 88, 68, 0.90) 100%);
}
.floor_fl{
  gap:60px;
  margin-bottom:30px;
}
.floor_fl img{
  max-width: 480px;;
}
.inj_ttl{
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom:10px;
  color:#745844;
}
#p3 .inj_list{
  border: solid 1px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom:10px;
}
#p3 .inj_list li{
  padding:5px;
  padding-left: 10px;
  border-right: solid 1px;
  border-bottom: solid 1px;
  font-size: 22px;
  font-weight: bold;
}
#p3 .inj_list li:nth-child(3n){
  border-right: 0;
}
#p3 .inj_list li.bb_n{
  border-bottom: none;
}
.inj_list_notice{
  font-size: 12px;
}
@media (max-width: 1024px){
  #p3 h2 {
    width:100%;
  }
  #p3 h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom:20px;
  }
  .floor_fl img {
    max-width: 480px;
    height: fit-content;
  }
  .floor_fl {
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
  .floor_fl p{
    font-size: 20px;
  }
  .inj_ttl{
    font-size: 18px;
  }
  
  #p3 .inj_list {
      grid-template-columns: 1fr;
  }
  #p3 .inj_list li{
    border-right: none;
    font-size: 16px;
  }
  #p3 .btsp{
    border-top:solid 1px #000;
  }
}
/* p3 end */

/* p4 */
#p4 {
  padding-top:140px;
}
#p4 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_04.svg);
  background-size:cover;
  content: "";
  position: absolute;
  top: -30px;
  left: 0px;
}
.p4_wrap{
  display: flex;
}
#p4 h2{
  margin-bottom: 30px;
}
#p4 .txt_intro{
  margin-bottom: 30px;
}
#p4 .fl{
  gap:20px;
  justify-content: space-between;
  & dl{
    max-width: 400px;
    width:100%;
    border-radius: 10px 10px 0 0;
  }
  & dt{
    background: #745844;
    text-align: center;
    border-radius: 10px 10px 0 0;
    font-size:24px;
    color:#fff;
    padding:7px;
    font-weight: bold;
  }
  & dd{
    position: relative;
    & .img_image{
      position: absolute;
      right:10px;
      bottom: 15px;
      font-size: 12px;
    }
  }
  & P:first-of-type{
    margin-bottom: 20px;
  }
  & .asta_align{
    font-size: 8px;
    margin-top: 0;
    vertical-align: top;
  }
  & dl:first-of-type dd .img_image{
    color: #fff;
  }
}
@media (max-width: 1024px){
  #p4 {
    padding-top:60px;
  }
  #p4 h2 {
    margin-bottom: 30px;
    width: 100%;
  }
  #p4 .ico_point::before {
    top: -20px;
    left: 30px;
  }
  #p4 .txt_intro {
    margin-bottom: 30px;
    font-size: 20px;
  }
  #p4 .fl{
    flex-direction: column;
    & dt {
      font-size: 18px;
    }
    & dd P:first-of-type{
      margin-bottom: 10px;
    }
  }
}
/* p4 end */

/* p5 */
#p5 {
  padding-top:120px;
}
#p5 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_05.svg);
  background-size:cover;
}
#p5 h2{
  margin-bottom:30px;
}
#p5 .txt_intro{
  margin-bottom:40px;
}
.p5_wrap{
  gap:20px;
  justify-content: space-between;
  & dl{
    background: ;
    max-width: 290px;
    width:100%;
  }
  & dt{
    background: #F5F2EB;
    text-align: center;
    border-radius: 10px 10px 0 0;
    font-size:24px;
    color:var(--dbrown);
    padding:7px;
    font-weight: bold;
  }
}
@media (max-width: 1024px){
  #p5 h2 {
    margin-bottom:20px;
    width: 100%;
  }
  #p5 .txt_intro {
    margin-bottom: 20px;
  }
  .p5_wrap {
    flex-direction: column;
    & dl {
      max-width: 100%;
    }
    & dt {
      font-size: 18px;
    }
  }
}
/* p5 end */



/* p6 */
#p6{

}
#p6 h2{
  margin-bottom:40px;
}
#p6 > div > .txt_intro{
  margin-bottom:50px;
}
#p6 .ico_point::before{
  background: url(/common/img/facilities/niigata/ico_point_06.svg);
  background-size:cover;
}

#p6 h3{
  color:#fff;
  font-size: 28px;
  padding:5px 15px;
  padding-right:30px;
  max-width: 450px;
  margin-bottom:40px;
  background: linear-gradient(270deg, rgba(116, 88, 68, 0.00) 0%, rgba(116, 88, 68, 0.60) 12%, rgba(116, 88, 68, 0.90) 100%);
}
.p6_wrap > .fl{
  gap:60px;
}
.p6_img p{
  width: fit-content;
  margin-right: 0;
  margin-left:auto;
}
.p6_txt{
  max-width:700px;
}
#p6 .p6_txt .txt_intro{
  margin-bottom:30px;
}
.p6_txt dl{
  display: flex;
  gap:15px;
  margin-bottom:20px;
  align-items: center;
  & dt{
    color:#fff;
    position: relative;
    width:56px;
    height:56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  & dt:after{
    position: absolute;
    content:"";
    background:var(--dbrown);
    width:100%;
    height:100%;
    top:0;
    bottom:0;
    left: 0;
    right:0;
    margin: auto;
    border-radius: 50px;
    z-index:-5;
  }
  & dd{
    max-width: 625px;
  }
}
#p6 dt.adj_03{
  font-size: 16px;
  line-height: 1.4;
}

#footer {
  margin-top:0;
}
@media (max-width: 1024px){
  #p6 h2 {
      margin-bottom: 20px;
  }
  #p6 > div > .txt_intro {
    margin-bottom: 30px;
  }
  #p6 h3 {
    font-size: 20px;
    margin-bottom:20px;
  }
  .p6_wrap > .fl {
    gap: 10px;
    flex-direction: column;
  }
  .p6_txt dl {
    gap:5px;
    & dt {
      font-size: 14px;
        min-width: 50px;
        height: 50px;
    }
  }
  #p6 dt.adj_03 {
    font-size: 14px;
  }
}
/* p6 end */


.ribbon-title {
  position: relative;
  display: table;
  margin: 40px auto;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
}

.ribbon-title span {
  position: relative;
  z-index: 3;
  display: block;
  min-width: 560px;
  padding: 22px 34px;
  background: #725540;
  border-radius: 2px;
}

/* 左右のリボン */
.ribbon-title::before,
.ribbon-title::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 115px;
  height: 74px;
  background: #725540;
  z-index: 1;
}

.ribbon-title::before {
  left: -80px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 24% 50%);
}

.ribbon-title::after {
  right: -80px;
  clip-path: polygon(0 0, 100% 0, 76% 50%, 100% 100%, 0 100%);
}

/* 白い折り返し三角 */
.ribbon-title span::before,
.ribbon-title span::after {
  content: "";
  position: absolute;
  bottom: -28px;
  width: 34px;
  height: 28px;
  background: #fff;
  z-index: 2;
}

.ribbon-title span::before {
  left: 0;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.ribbon-title span::after {
  right: 0;
  clip-path: polygon(0 0, 0 100%, 100% 0);
}
@media (max-width: 768px) {
  .ribbon-title {
    font-size: 18px;
    width: calc(100% - 48px);
  }

  .ribbon-title span {
    min-width: 0;
    padding: 16px 20px;
  }

  .ribbon-title::before,
  .ribbon-title::after {
    width: 60px;
    height: 52px;
    top: 22px;
  }

  .ribbon-title::before {
    left: -34px;
  }

  .ribbon-title::after {
    right: -34px;
  }

  .ribbon-title span::before,
  .ribbon-title span::after {
    bottom: -18px;
    width: 22px;
    height: 18px;
  }
}