@charset "UTF-8";

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 900;
  src: url("../font/NotoSansJP-Black.woff") format("woff");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("../font/NotoSansJP-Bold.woff") format("woff");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../font/NotoSansJP-Regular.woff") format("woff");
}
@font-face {
font-family: "Noto Serif JP";
font-style: normal;
font-weight: 700;
src: url("../font/NotoSerifJP-Bold.woff") format("woff");
}
@font-face {
font-family: "Noto Serif JP";
font-style: normal;
font-weight: 400;
src: url("../font/NotoSerifJP-Regular.woff") format("woff");
} 
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  margin:0;
	padding:0;
}
html{
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body{
  background:#FFF;
  color:#111111;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
}
div,p,li,h1,h2,h3,h4,h5,h6{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}
img{
  width: 100%;
  max-width: 100%;
}
section{
  padding-top: 70px;
}
.container{
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}
.for-sp,.for-tablet{
  display: none;
}
.big-title{
  text-align: center;
  font-size:3rem;
  font-family: "Noto Serif JP",serif;
  font-weight:700;
  padding-bottom: 50px;
}
.big-title span{
  font-size: 4rem;
  color:#740000;
}
@media screen and (max-width: 990px){
  .for-tablet{
    display: block;
  }
}
@media screen and (max-width: 767px){
  section{
    padding-top: 50px;
  }
  .for-pc,.for-tablet{
    display: none;
  }
  .for-sp{
    display: block;
  }
  .big-title{
    font-size:1.8rem;
    padding-bottom: 30px;
  }
  .big-title span{
    font-size: 2.5rem;
  }
}
/*===========================================first-view==========================================*/
header{
  background-image: url(../image/fv-back-pc.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center;
}
#first-view{ 
  overflow: hidden; 
}
h1{
  font-family: "Noto Serif JP",serif;
  color: #FFF;
  margin: 0 0 0 15%;
  font-size: 2.5rem;
  font-weight: 700;
}
#first-view .img{
  display: block;
  width: 70%;
  margin: 0 auto;
  line-height: 1;
  position: relative;
  bottom:-2px;
}
@media screen and (min-width: 1800px){
  #first-view .img{
    width: 60%;
  }
  h1{
    margin: 0 0 10px 20%;
  }
}
@media screen and (max-width: 1023px){
  #first-view .img{
    width: 90%;
  }
  h1{  
    margin: 0 0 0 5%;
  }
}
@media screen and (max-width: 767px){
header{
  background-image: url(../image/fv-back-sp.webp);
}
h1{  
  font-size: 1.6rem;
}
#first-view .img{
    width: 100%;
  }
.onlysp-about-wrap{
    right: 10%;
    background-color: #111;
    color: #FFF;
    padding: 1vw;
    bottom:5%; 
    width: 100%;
    padding: 5%;
  }
.onlysp-about-wrap h2{
  font-family: "Noto Serif JP",serif;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 1.6rem;
  }
.onlysp-about-wrap p,.onlysp-about-wrap li{
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 374px){
#first-view .img{
    width: 90%;
  }
}
/*===========================================もくじボタン==========================================*/
@media screen and (max-width: 767px){
  /*ボタンデザイン*/
.menu-btn {
  position: fixed;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #fefefe;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: -1px 1px 3px 2px #1111113e;
  bottom: 10%;
  transform: translateY(auto);
  height: 100px;
  width: 40px;
  z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #740000;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
/*ボタンクリックでXになる*/
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
/*チェックボタンを消す*/
#menu-btn-check {
  display: none;
}
/*もくじデザイン*/
.menu-content {
  width: 300px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -450px;
  z-index: 80;
  background-color: #ffffffef;
  transition: all 0.5s;/*アニメーション設定*/
  border: 1px solid #740000;
}
.menu-content ul {
  padding: 70px 10px 0;
}
.menu-content ul li {
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color:#740000;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
/*出したり隠したり*/
#menu-btn-check:checked ~ .menu-content {
  right: 0;/*メニューを画面内へ*/
}
}
/*===========================================sec1==========================================*/
#sec1{
  background-color: #ECECEC;
  padding-bottom: 70px;
}
#sec1 .content-wrapper1{
  position: relative;
  margin-bottom: 70px;
}
#sec1 .content-wrapper1 ul{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 70px;
  margin-left: 10%;
  margin-bottom: 50px;
}
#sec1 .content-wrapper1 h2.big-title {
  font-weight: 700;
}
#sec1 .content-wrapper1 ul li{
  position: relative;
}
#sec1 .content-wrapper1 ul li::before{
  content: "";
  position: absolute;
  background:url(../image/check-box.png) 100% 100% / cover;
  height: 26px;
  width: 30px;
  left:-35px;
  top:50%;
  transform: translateY(-50%);
}
#sec1 .content-wrapper1 .inner-flex .img{
  width: 250px;
}
#sec1 .content-wrapper1 .inner-flex{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:15px;
  padding-bottom: 0;
}
#sec1 .content-wrapper1 .inner-flex .big-title{
  padding-bottom: 0;
  line-height: 1.7;
}
#sec1 .content-wrapper1 .inner-flex div.big-title span{
  background: linear-gradient(transparent 70%, #DBB0B0 30%);
}
#sec1 .content-wrapper2 h3{
  width: fit-content;
  padding:8px 30px 10px;
  color:#740000;
  border-top:2px solid #740000;
  border-bottom:2px solid #740000;
  margin: 0 auto 30px auto;
  line-height: 1;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}
#sec1 .content-wrapper2 ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#sec1 .content-wrapper2 ul li{
  width: 32%;
}
@media screen and (max-width: 767px){
#sec1{
padding-bottom: 50px;
}
#sec1 .content-wrapper1{
  margin-bottom: 50px;
}
#sec1 .content-wrapper1 div.big-title{
  width: 70%;
}
#sec1 .content-wrapper1 ul li{
  font-size: 1.4rem;
  line-height: 1.2;
}
#sec1 .content-wrapper2 h3{    
  font-size: 1.8rem;
  width: 100%;
}
#sec1 .content-wrapper1 .img{
  width: 90px;
  right: 5%;
  bottom:50px;
}
#sec1 .content-wrapper1 ul{
  flex-direction: column;
  margin-bottom: 20px;
}
#sec1 .content-wrapper1 ul li::before{
  content: "";
  position: absolute;
  background:url(../image/check-box.png) 100% 100% / cover;
  height: 20px;
  width: 26px;
  left:-30px;
  top:50%;
  transform: translateY(-50%);
}
#sec1 .content-wrapper1 div.big-title{
  padding-bottom: 70px;
}
#sec1 .content-wrapper2 ul li{
  width: 100%;
}
#sec1 .content-wrapper1 .inner-flex .img{
  width: 110px;
}
}
/*===========================================sec2==========================================*/
#sec2 {
  background-color: #ffffff;
}
#sec2 h2.big-title{
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  line-height: 1.2;
}
#sec2 .big-title span{
  font-size: 6rem;
}
#sec2 .content-wrapper1{
  padding-bottom: 70px;
}
#sec2 .content-wrapper1 p{
  text-align: center;
  line-height: 1.8;
  font-size: 2rem;
}
#sec2 .content-wrapper1 .inner-flex{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap:50px;
}
#sec2 .content-wrapper1 .inner-flex .img{
  width: 350px;
}
#sec2 .content-wrapper1 .inner-flex p span{
  background: linear-gradient(transparent 70%, #DBB0B0 30%);
  display: inline-block;
}
#sec2 .content-wrapper2 h3{
  font-size: 3rem;
  text-align: center;  
}
#sec2 .content-wrapper2 h3{
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #740000;
  font-weight: 900;  
}
/*--リスク6個--*/
#sec2 .content-wrapper2 dl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 30px;
}
#sec2 .content-wrapper2 dl div{
  width: 48%;
}
#sec2 .content-wrapper2 dl div dt{
  text-align: center;
  padding: 10px 0;
  background-color: #111111;
  color:#fff;
  gap:10px;
}
#sec2 .content-wrapper2 dl dt{
  display: flex;
  justify-content: center;
  align-items: center;
  row-gap:15px;
}
#sec2 .content-wrapper2 dl dt img{
  width: 50px;
}
#sec2 .content-wrapper2 dl dt h4{
  width: fit-content;
  font-weight: 700;
}
#sec2 .content-wrapper2 dl div dd{
  padding:25px 20px;
  background-color: #EFEFEF;
}
@media screen and (max-width: 767px){ 
#sec2 h2.big-title{
  font-size: 1.8rem;
  line-height: 1.2;
}
#sec2 .big-title span{
  font-size: 2.4rem;
}
#sec2 .content-wrapper1{
  padding-bottom: 50px;
}
#sec2 .content-wrapper1 p{
  font-size:1.6rem;
}
#sec2 .content-wrapper1 .inner-flex .img{
  width: 100%;
}
#sec2 .content-wrapper1 .inner-flex{
  gap:10px;
}
#sec2 .content-wrapper2 h3{
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1.3;
}
#sec2 .content-wrapper2 dl div{
  width: 100%;
}
}
/*===========================================sec3==========================================*/
#sec3{
  background-color: #ffffff;
  background-image: url(../image/sec3-back-pc.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 70px;
}
#sec3 .big-title{
  padding-bottom: 30px;
  font-weight: 900;  
}
#sec3 .big-title span{
}
#sec3 picture{
  width: 80%;
  margin: 0 auto;
}
#sec3 .img1{
  display: block;
  margin-bottom: 70px;
}
#sec3 h3.big-title{
  font-family: "Noto Sans JP", sans-serif;  
}
@media screen and (max-width: 767px){ 
  #sec3{
    background-image: url(../image/sec3-back-sp.webp);
    background-size: contain;
    background-position: center top;
    padding-bottom: 50px;
  }
  #sec3 picture{
    width: 100%;
    margin: 0 auto;
    width: 90%;
  }
}
/*===========================================CTA==========================================*/
.cta{
  overflow: hidden;
}
.cta-text-wrap{
  padding: 50px 0;
  background-color: #FFF;
  border:1px solid #740000;
}
.cta-text-wrap .container picture{
  display: block;
  width: 80%;
}
.cta-button-wrap{
  background-image: linear-gradient(315deg, rgba(144, 0, 0, 1), rgba(116, 0, 0, 1)); 
}
.cta-button-wrap .container div{
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cta-button-wrap .container div a{
  width: 49%;
  padding: 20px 0;
}
.cta .container{
  position:relative;
}
.cta .container .img{
  position: absolute;
  width: 35%;
  bottom:0;
  right:-7%;
}
@media screen and (max-width: 767px){
  .cta-text-wrap{
    padding: 50px 0 0;
  }
  .cta-button-wrap{
    padding-bottom: 20px;
  }
  .cta-text-wrap .container picture,
  .cta-button-wrap .container div{
    width: 100%;
    line-height: 1;
  } 
  .cta-text-wrap .container picture{
position: relative;
bottom: -2px;
  }
  .cta-button-wrap .container div a{
    width: 100%;
    padding: 20px 0 0;
  }
  .cta .container .img{
    display: none;
  }
  .cta-button-wrap{
    line-height: 1;
  }
}
/*===========================================sec4==========================================*/
#sec4{
  background-color: #EFEFEF;
  padding-bottom: 70px;
}
#sec4 ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
  column-gap: 4%;
}
#sec4 ul li{
  width: 48%;
}
#sec4 h2.big-title{
  padding-bottom: 30px;
  line-height: 1;
}
#sec4 p{
  text-align: center;
}
#sec4 p span{
  background: linear-gradient(transparent 70%, #DBB0B0 30%);
}
#sec4 h3.big-title,#sec4 h3.big-title span{
  padding-top: 50px;
  padding-bottom: 30px;
  font-size: 2.5rem;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 767px){
  #sec4{
    padding-bottom: 50px;
  }
  #sec4 ul li{
    width: 100%;
  }  
  #sec4 h3.big-title{
    font-size: 1.8rem;
  }
  #sec4 h3.big-title span{
    font-size: 2.5rem;
  }
}
/*===========================================握手背景部分==========================================*/
.hand-shake{
  padding: 50px 0 0;
  text-align: center;
  background-image: url(../image/hand-shake-pc.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center;
}
@media screen and (max-width: 767px){
  .hand-shake{
    padding: 30px 0 0 ;
    background-image: url(../image/hand-shake-sp.webp);
  }
}
/*===========================================sec5==========================================*/
#sec5 {
  margin-bottom: 70px;
}
#sec5 h2.big-title span{
  background: linear-gradient(transparent 70%, #DBB0B0 30%);
  display: inline-block;
}
#sec5 .content-wrapper1 > div,#sec5 .content-wrapper2 > div{
  display: flex;
  justify-content: space-between;
}
#sec5 .content-wrapper1 > div .img,#sec5 .content-wrapper2 > div .img{
  width: 35%;
}
#sec5 .content-wrapper1 > div .readmore,#sec5 .content-wrapper2 > div .readmore2 {
  width: 60%;
  position: relative;
  padding: 0 0 75px;
}
#sec5 .content-wrapper1 .for-pc,#sec5 .content-wrapper2 .for-pc{
  width: 80%;
  margin: 50px auto 0;
}
#sec5 .content-wrapper1{
  margin-bottom: 0px;
}
#sec5 .content-wrapper1 > div .readmore span,
#sec5 .content-wrapper2 > div .readmore2 span{
  color: #740000;
}
#sec5 .content-wrapper2{
  margin-top: 150px;
}
@media screen and (max-width: 1023px){
}
@media screen and (max-width: 767px){
  #sec5 .content-wrapper1 > div .for-sp,
  #sec5 .content-wrapper2 > div .for-sp{
    margin: 30px auto;
    width: 100%;
  }
  #sec5 .content-wrapper1 .for-pc,#sec5 .content-wrapper2 .for-pc{
    width: 80%;
    margin: 50px auto 0;
  }
}
/*=======================続きを読むの装飾=======================*/
#sec5 .readmore-content p{
  padding-bottom: 50px;
}
.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  background-color: #740000;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}
.readmore label::before{
  content: '続きを見る';
}
.readmore input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}
.readmore input[type="checkbox"]{
  display: none;
}
.readmore-content {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.readmore-content::before {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient( rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, #fff 100%);
}
.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}

/*=======================続きを読むの2つ目の装飾=======================*/
.readmore2 label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  background-color: #740000;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}
.readmore2 label::before{
  content: '続きを見る';
}
.readmore2 input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}
.readmore2 input[type="checkbox"]{
  display: none;
}
.readmore-content {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.readmore2 input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}
@media screen and (max-width: 767px){
  #sec5 {
    margin-bottom: 30px;
  }
  #sec5 .content-wrapper2{
    margin-top: 70px;
  }
  #sec5 .content-wrapper1 .for-pc, #sec5 .content-wrapper2 .for-pc {
    display: none;
  }
  #sec5 .content-wrapper1 div, #sec5 .content-wrapper2 div{
    flex-direction: column;
  }
    #sec5 .content-wrapper1 div, #sec5 .content-wrapper2 div p{
    font-size: 1.5rem;
    line-height: 1.5;
  }
  #sec5 .content-wrapper1 > div .img,#sec5 .content-wrapper2 > div .img{
    width: 100%;
    line-height: 1;
  }
  #sec5 .content-wrapper1 > div .readmore,#sec5 .content-wrapper2 > div .readmore2 {
    width: 100%;
  }
  #sec5 .content-wrapper1 .for-pc,#sec5 .content-wrapper2 .for-pc{
    width: 100%;
  }

  #sec5 .content-wrapper2 div {
    flex-direction: column-reverse;
  }
}
/*=======================sec6=======================*/
#sec6{
  padding-bottom: 70px;
}
#sec6 ul.sub-title{  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap:10px;
  margin-bottom: 50px;
  gap:15px;
}
#sec6 ul.sub-title li{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20%;
  font-family: "Noto Serif JP", serif;
  background-color: #fff;
  border: 1px solid #DBB0B0;
  box-shadow: 2px 2px 0 0 rgb(130, 93, 93);
  padding: 15px;
  border-radius: 5px;
  line-height: 1;
}
#sec6 p.big-title{
  line-height: 1;
  padding-bottom: 0;
}
#sec6 h2.big-title{
  line-height: 1;
  padding-bottom: 50px;
}
#sec6 ul.step-wrap{
  display: flex;
  justify-content: space-between;
}
#sec6 ul.step-wrap li{
  width: 28%;
  position: relative;
}
#sec6 ul.step-wrap li:nth-child(1):before,
#sec6 ul.step-wrap li:nth-child(2):before{
  position: absolute;
  content:'';
  width: 0;
  height: 0;
  border-left: 10px solid #740000;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  top:50%;
  transform: translateY(-50%);
  right: -15%;
}
#sec6 ul.step-wrap li .title-wrap{
  display: flex;
  align-items: center;
  border: 3px solid #111111;
  border-radius: 5px;
  box-shadow: 1px 1px 0 2px #11111150;
  margin-bottom: 10px;
}
#sec6 ul.step-wrap li .title-wrap .step{
  background-color: #111111;
  color: #FFF;
  padding: 15px 10px;
  font-family: "Noto Serif JP", serif;
}
#sec6 ul.step-wrap li .title-wrap h4{
  padding: 0 10px;
  line-height: 1.3;
  font-size: 2rem;
  font-weight: 700;
}
@media screen and (max-width: 1000px){
#sec6 ul.sub-title li{
  text-align: center;
  font-size: 1.6rem;
} 
#sec6 ul.step-wrap li {
  width: 32%;
  position: relative;
}
#sec6 ul.step-wrap li:nth-child(1):before,
#sec6 ul.step-wrap li:nth-child(2):before{
  right: -4%;
}
}
@media screen and (max-width: 767px){
#sec6 p.big-title{
  line-height: 1.6;
  padding-bottom: 0;
} 
#sec6 h2.big-title {
  line-height: 1.2;
}
#sec6 ul.step-wrap{
  flex-direction: column;
  align-items: center;
  row-gap: 50px;
}  
#sec6 ul.step-wrap li{
  width: 100%;
  position: relative;
}
#sec6 ul.sub-title{
  gap: 0;
  row-gap: 15px;
  justify-content: space-between;
}  
#sec6 ul.sub-title li {
  width: 48%;
}
  #sec6 ul.step-wrap li:nth-child(1)::before,
  #sec6 ul.step-wrap li:nth-child(2)::before{
    position: absolute;
    content:'';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #740000;
    border-bottom: none;
    top:auto;
    transform: translateX(-50%);
    right: 44%;
    bottom: -30px;
  }
  #sec6{
    padding-bottom: 50px;
  }  
}
/*=======================税理士の選び方バナー=======================*/
.bnr-wrap{  
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}
@media screen and (max-width: 767px){
  .bnr-wrap{  
    width: 100%;
  }
}
/*=======================sec7=======================*/
#sec7 .big-title{
  background-color: #740000;
  color: #ffffff;
  padding: 25px 0;
  line-height: 1;
  margin-bottom: 0;
  margin-bottom: 50px;
}

#sec7 dl dt,#sec7 dl dd{
    display: flex;
    align-items: center;
    gap:10px;
    width: 80%;
    margin: 0 auto;
}
#sec7 dl > div{
  padding: 20px;
}
#sec7 dl > div:nth-child(odd){
  background-color: #ECECEC;
}
#sec7 dl dt{
  padding-bottom: 10px;
}
#sec7 dl dt .Q{
  background-color:#740000;
  font-family: "Noto Serif JP", serif;
  color: #FFF;
  width:40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height:1;
}
#sec7 dl dt h4{
  font-weight: 700;
}
#sec7 dl dd .A{
  background-color:#111111;
  font-family: "Noto Serif JP", serif;
  color: #FFF;
  width:40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height:normal;
}
#sec7 dl dd p{
  width: 95%;  
}
@media screen and (max-width: 767px){
#sec7 dl dt,#sec7 dl dd{
  width: 100%;
}
#sec7 dl dt h4,#sec7 dl dd p{
  width: 85%;
}
}
/*=======================sec8=======================*/
#sec8{
  padding-bottom: 70px;
}
#sec8 h2.big-title{
  background-color: #111111;
  color: #ffffff;
  padding: 25px 0;
  line-height: 1;
  margin-bottom: 50px;
}
#sec8 form{
  width: 80%;
  margin: 0 auto;
}
#sec8 form table{
  width: 100%;
}
#sec8 form table tr{
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 30px;
}
#sec8 form table tr th{
  width: fit-content;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
}
#sec8 form table tr.houjin-kojin td{
  display: flex;
  flex-wrap: wrap;
  gap:10px;
}
#sec8 form table tr td input[type="text"],
#sec8 form table tr td textarea{
  width: 100%;
  padding: 10px;
  font-size: 1.6rem;
  border: none;
  background-color: #EFEFEF;
  border-radius: 5px;
  line-height: 1.5;
}
#sec8 form th.ninni::after{
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  right: -50px;
  content:'任意';
  list-style: 1;
  font-size:1rem;
  font-weight: 700;
  padding: 2px 10px;
  background-color: #838383;
  color:#fff;
  border-radius: 15px;
}
#sec8 form th.hissu::after{
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  right: -50px;
  content:'必須';
  list-style: 1;
  font-size:1rem;
  font-weight: 700;
  padding: 2px 10px;
  background-color: #740000;
  color:#fff;
  border-radius: 15px;
}
#sec8 form p.submit{
  position: relative;
  width: fit-content; 
}
#sec8 form p.submit::before{
  position: relative;
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-left: 8px solid #ffffff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  top: 50%;
  transform: translateY(-50%);
  right: 3%;
}
#sec8 form p input{
  padding: 15px;
  font-weight: 700;
  width: 380px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  border-radius: 10px;
  font-size: 2rem;
  border:none;
  color:#fff;
  letter-spacing: 0.15em;
  background-image: linear-gradient(315deg, rgba(144, 0, 0, 1), rgba(116, 0, 0, 1));
}
@media screen and (max-width: 767px){
#sec8{
  padding-bottom: 50px;
}
#sec8 form {
  width: 100%;
}
#sec8 form p.submit{
  position: relative;
  width: 100%;
}
#sec8 form p input{
  width: 100%;
}
}
/*=======================footer=======================*/
footer{
  padding: 30px;
  background-color:#111111;
  color:#FFF;
  text-align: center;
}
footer p{
  font-weight: 700;
}