@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@900&display=swap');


/* common rule
**********************************************************/

.zen-maru-gothic-black {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 900;
  font-style: normal;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", Verdana, Arial, sans-serif;
  margin: 0;
  color: #403936;
  line-height: 1.45;
  font-size: 1.8rem;
  font-weight: 400;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  width: 100%;
  outline: none;
  border-style: none;
}

a {
  color: #2660a1;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  text-underline-offset: 5px;
  text-decoration: underline;
}

a:hover {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  text-decoration: underline;
}

a[href^="tel:"] {
  text-decoration: underline;
}

@media screen and (min-width:767px) {
  a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
  }
}

aside {
  background-color: #fff;
  padding-bottom: 60px;
}

.flex {
  display: flex;
}

.pc_none {
  display: none;
}

.sp_none {
  display: block;
}

@media screen and (max-width:767px) {
  .pc_none {
    display: inline-block;
  }

  .sp_none {
    display: none;
  }
}

/* コンテンツ*/
.basewidth {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec {
  padding-top: 68px;
  padding-bottom: 68px;
  text-align: center;
}

.bg_beige {
  background: #FFFEF2;
}

/* .line_dotted {
  position: relative;
}

.line_dotted:after {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  width: 76px;
  height: 6px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
} */

.frame_border {
  border-radius: 10px;
}

.ribbon {
  position: relative;
  margin-bottom: 64px;
}

.ribbon::before {
  content: "";
  background: url(../images/ribbon.png) no-repeat center;
  background-size: contain;
  width: 100%;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;

}

/* テキスト*/
.highlight {
  background: linear-gradient(transparent 70%, #F5C1C5 70%);
}

.borderRight {
  border-right: 1px solid #444444;
}

/* ボタン */

.btn {
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.7;
}

.btn-red {
  background-color: #D83E3E;
}



/* nav ********************/
nav li {

  padding-left: 10px;
  padding-right: 10px;
}

nav li:first-of-type {
  padding-left: 0;
}

nav li:last-of-type {
  padding-right: 0;
}

nav li a {
  text-decoration: underline;

}

/* パンくずリスト ********************/

.breadcrumbs {
  font-size: 1.6rem;
  line-height: 1;
}

.breadcrumb__list {
  display: flex;
}

.breadcrumb__list .breadcrumb__item a {
  text-decoration: underline;
}

.breadcrumb__list .breadcrumb__item:first-of-type {
  position: relative;
}

.breadcrumb__list .breadcrumb__item:first-of-type:after {
  content: ">";
  margin-left: 1rem;
  margin-right: 1rem;
}

.breadcrumb__list .breadcrumb__item:last-of-type a {
  pointer-events: none;
  color: #000;
  text-decoration: none;
}

/* cnt_contact *******************/

.cnt_contact {
  margin: 0 auto 70px;
  padding: 40px 52px 40px 66px;
  max-width: 1040px;
  width: 100%;
  background-color: #fff;
  border: 5px solid #FCE8EA;
  text-align: left;
  font-style: normal;
}

.cnt_contact .h4title {
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.cnt_contact .h4title::before {
  content: "";
  width: 7px;
  height: 32px;
  border-radius: 1px;
  background-color: #F7ACCA;
  position: absolute;
  top: -2px;
  left: -18px;
}

.cnt_contact .h5title {
  margin-bottom: 10px;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.cnt_contact .tel {
  margin-left: -0.1rem;
  margin-bottom: 10px;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.cnt_contact .tel a {
  color: #403936;
}

.cnt_contact .tel+p {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.cnt_contact p {
  font-size: 1.８rem;
  line-height: 1;
}

/* cnt_nav *******************/

.cnt_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cnt_nav ul:first-of-type {
  margin-bottom: 20px;
}

.cnt_nav li.borderRight {
  border-right: 1px solid #2660a1;
}


/* footer *******************/

footer {
  padding-top: 60px;
  padding-bottom: 70px;
  position: relative;
}

footer::before {
  content: "";
  background-image: url(../images/footer_top_deco.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 10px;
  position: absolute;
  top: 0;
}

footer .h2title {
  margin-bottom: 20px;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
}

footer a {
  color: #403936;
  transition: none;
}

footer a.LinkTxt {
  text-decoration: underline;
}

footer a:hover {
  color: #2660a1;
  transition: none;
}

footer p {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
  font-size: 2.2rem;
  line-height: 1;
}

footer p:first-of-type,
footer p:last-of-type {
  padding-left: 0;
}

footer .flex p:last-child {
  padding-left: 10px;
}

footer small {
  margin-top: 30px;
  font-size: 1.8rem;
  text-indent: -1.8rem;
  margin-left: 1.8rem;
  display: block;
}

@media screen and (max-width:767px) {

  body {
    line-height: 1.45;
  }

  .flex {
    display: flex;
  }

  /* コンテンツ*/
  .basewidth {
    max-width: calc(100% - 5vw);
    margin: 0 auto 12.5vw;
    padding: 0 2.5vw;
  }

  .sec {
    padding-top: 10vw;
    padding-bottom: 10vw;
  }

  .borderRight {
    border-right: none;
  }

  /* cnt_contact *******************/

  .cnt_contact {
    margin-bottom: 10vw;
    padding: 5vw 5.5vw 5vw 7.5vw;
    width: 100%;
    border: 5px solid #FCE8EA;
    text-align: left;
    font-style: normal;
  }

  .cnt_contact .h4title {
    margin-bottom: 20px;
    font-size: 2.4rem;
  }

  .cnt_contact .h4title::before {
    height: 2.4rem;
    top: 0;
  }

  .cnt_contact .h5title {
    margin-bottom: 2.5vw;
    font-size: 2rem;
    line-height: 1.5;
  }

  .cnt_contact .tel {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .cnt_contact .tel a {
    color: #403936;
  }

  .cnt_contact .tel+p {
    margin-bottom: 5vw;
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .cnt_contact p {
    font-size: 1.8rem;
    line-height: 1;
  }

  /* cnt_nav *******************/

  .cnt_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cnt_nav .flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cnt_nav ul:first-of-type {
    margin-bottom: 0;
  }

  .cnt_nav ul li {
    padding: 0;
    margin-bottom: 5vw;
  }

  .cnt_nav li.borderRight {
    border-right: none;
  }
  /* footer *******************/

  footer {
    padding-top: 10vw;
    padding-bottom: 10vw;
    position: relative;
  }

  footer::before {
    height: 3px;
  }

  footer .h2title {
    margin-bottom: 10vw;
    font-size: 2.4rem;
  }

  footer .flex {
    flex-direction: column;
  }

  footer p {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1vw;
    font-size: 1.8rem;
    line-height: 1.5;
  }

  footer p:first-of-type,
  footer p:last-of-type {
    padding-left: 0;
  }

  footer .flex p:last-child {
    padding-left: 0;
  }

  footer small {
    margin-top: 5vw;
    font-size: 1.4rem;
    text-indent: -1.4rem;
    margin-left: 1.4rem;
    display: block;
  }

  .none {
    display: none;
  }
}


/* 下層ページ  *******************/

.header_line {
  background-image: url(../img/common/header_line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 86px;
}

#kasou .body_header {
  padding-bottom: 32px;
}

#kasou .body_header_title {
  margin-bottom: 10px;
  padding-bottom: 40px;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  border-bottom: 1px solid #707070;
}

#kasou .h3title {
  margin-bottom: 60px;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

#kasou .frame_border {
  margin-bottom: 70px;
  position: relative;
  display: block;
}

#kasou .frame_border:last-of-type {
  margin-bottom: 0;
}

#kasou .frame_border .h4title {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background-color: #fff;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

#kasou .frame_border .inner {
  padding: 60px 40px 50px;
}

#kasou .frame_border .col3 {
  margin-bottom: 48px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

#kasou .frame_border .col3:last-of-type {
  margin-bottom: 0;
}

#kasou .frame_border .col3 h5 {
  margin-bottom: 18px;
  font-size: 2.2rem;
  line-height: 1;
}

#kasou .frame_border .col3 img {
  width: 113px;
  height: 113px;
}

#kasou .frame_border .col3 .flex {
  width: 100%;
  margin-left: 33px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#kasou .frame_border .btn {
  margin-top: 28px;
  margin-left: 32px;
  min-width: 169px;
  height: 53px;
  text-decoration: none;
}

/* お知らせ  *******************/

#news {
  margin-left: 120px;
  margin-right: 120px;
  padding-bottom: 74px;
}

#news dl {
  padding-top: 13px;
  padding-bottom: 13px;
  display: flex;
  font-size: 1.8rem;
  line-height: 1.5;
  position: relative;
}

#news dl::before {
  content: "";
  background-image: url(../img/common/line_dashed.svg);
  width: 100%;
  height: 0.55px;
  position: absolute;
  top: 0;
}

#news dl:last-of-type::after {
  content: "";
  background-image: url(../img/common/line_dashed.svg);
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
}

#news dl dt {
  text-align: left;
  min-width: 188px;
}

#news dl dd {
  padding-right: 35px;
  text-align: left;
  width: calc(100% - 188px);
}

@media screen and (max-width:767px) {
  .header_line {
    width: 100%;
    height: 40px;
  }

  #kasou .body_header_title {
    font-size: 6vw;
    line-height: 1.5;
  }

  #kasou .h3title {
    margin-bottom: 48px;
    font-size: 6vw;
    line-height: 1;
  }

  #kasou .frame_border {
    margin-bottom: 70px;
    position: relative;
  }

  #kasou .frame_border:last-of-type {
    margin-bottom: 0;
  }

  #kasou .frame_border .h4title {
    padding-left: 1.25vw;
    padding-right: 1.25vw;
    font-size: 5.5vw;
    line-height: 1.333;
    white-space: nowrap;
  }

  #kasou .frame_border .inner {
    padding: 30px 5vw 30px;
  }

  #kasou .frame_border .col3 {
    margin-bottom: 15vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
  }

  #kasou .frame_border .col3:last-of-type {
    margin-bottom: 0;
  }

  #kasou .frame_border .col3 h5 {
    margin-top: 24px;
    margin-bottom: 18px;
    font-size: 2rem;
    line-height: 1.333;
    text-align: left;
  }

  #kasou .frame_border .col3 img {
    width: 60%;
    height: auto;
  }

  #kasou .frame_border .col3 .flex {
    margin-left: 0;
  }

  #kasou .frame_border .btn {
    margin-top: 32px;
    margin-left: 0;
    min-width: 80%;
  }


  #news {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 74px;
  }

  #news dl {
    padding-top: 13px;
    padding-bottom: 13px;
    display: flex;
    flex-direction: column;
    font-size: 1.8rem;
    line-height: 1.5;
    position: relative;
  }

  #news dl dt {
    min-width: 100%;
    margin-bottom: 0.5rem;
  }

  #news dl dd {
    padding-right: 0;
    width: 100%;
  }

  /* kyushokusha  *******************/

  #kyushokusha .text {
    line-height: 1.588;
    text-align: justify;
  }

  #kyushokusha_shien .h3title+.text {
    margin-bottom: 60px;

  }

}

/* thanksページ #thanks  *******************/

#thanks .header_line {
  background-image: url(../img/kyushokusha/header_line.svg);
}

#thanks .h3title {
  text-align: left;
}

#thanks .textBlock {
  padding: 40px 52px 40px 66px;
  width: 100%;
  border: 5px solid rgb(125, 171, 85);
  text-align: left;
  font-style: normal;
}

#thanks .textBlock .text {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

#thanks .textBlock .text a {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  #thanks .textBlock {
    padding: 5vw 5.5vw 5vw 7.5vw;
  }
}


.fixed_link {
  position: fixed;
  right: 0;
  bottom: 100px;
  background: #fff;
  border: solid #ff575c 6px;
  border-radius: 19px 0 0 19px;
  text-align: center;
  padding: 30px 40px 20px;
  z-index: 2;
}

.fixed_link dl {
  width: 179px;
}

.fixed_link dt {
  width: 100%;
  margin-bottom: 13px;
}

.fixed_link dd {
  width: 100%;
  
}

.fixed_link dd a {
  display: block;
  height: 40px;
  color: #fff;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  line-height: 40px;
  background: #ff575c;
  text-decoration: none;
}

.fixed_link dd a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .fixed_link {
    width: 100%;
    bottom: 0;
    border-radius: 0;
    border: none;
    border-top: solid #ff575c 1px;
    padding: 15px 0;
  }

  .fixed_link dl {
    width: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .fixed_link dt {    
    width: 50%;
  }
  .fixed_link dt img{
    width: 42%;
    margin: 0 auto;
  }

  .fixed_link dd {
    padding-top: 0;
    width: calc(50% - 15px);
  }

  .fixed_link dd a {
    font-size: 1.6rem;
    width: 100%;
  }
}
