@charset "utf-8";

.header{
  max-width: 1040px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  padding-bottom: 15px;
  z-index: 10;
}

.header_inner {
  max-width: 1040px;
  margin: 0 auto;
}

.logo{
  display: block;
  max-width: 1040px;
  padding: 20px 0;
  /* margin-top: 20px;
  margin-bottom: 20px; */
  background: linear-gradient(to bottom, rgba(255,255,255,50), transparent);
}


.container {
  max-width: 1040px;
  margin: 0 auto;
}


.family_name {
  max-width: 1040px;
  margin: 0 auto;
  margin-bottom: 30px;
  font-size: 45px;
  color: #fff;
  background-color: #5095ef;
  line-height: 50px;
  text-align: center;
  border-radius: 30px;
}
.family_name span {
  font-size: 25px;
  color: #fff;
}
.dept_name {
  font-size: 40px;
  color: #7b5887;
  border-bottom: 3px solid #7b5887;
  padding-bottom: 20px;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.25;
}
.cont_btn {
  width: 90%;
  line-height: 65px;
}
.cont_btn a {
  width: 90%;
  display: block;
  line-height: 250%;
  font-size: 18px;
  color: #7b5887;
  background-color: #d5bcda;
  text-align: center;
  border-radius: 20px;
  font-weight: 500;
}
.cont_btn_box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
#hihyouji {
  visibility: hidden;
}
.nav_box {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.nav_box_right {
  width: 70%;
}

.nav_box_left{
  width: 30%;
  position: relative;
}

.nav_box_left img{
  width: 70%;
  position: absolute;
  left: 15%;
}

.header_btn_box {
  max-width: 1040px;
}
.header_btn1 {
  width: 35%;
  display: block;
  color: #fff;
  background-color: #444;
  /* border: 1px solid #000; */
  line-height: 65px;
  text-align: center;
  /* font-size: 25px; */
  /* position: relative; */
}
/* .header_btn1 img {
  position: absolute;
  top: 20px;
  left: 42px; */
/* } */
.header_btn1 a {
  display: block;
  font-size: 20px;
  /* padding: px 10px 12px 48px; */
}
.header_btn1 a::before{
  content: '';
  background-image: url(../img/mail_icon.jpg);
  background-repeat: no-repeat;
  display: inline-block;
  width: 22px;
  height: 22px;
  background-size: contain;
  vertical-align: middle;
  margin-right: 10px;
}

.header_btn2 {
  position: relative;
  width: 35%;
  background-color: #ff7878;
  text-align: center;
  padding: 18px;
  height: 65px;
  inset: 0;
  margin: auto;
  line-height: 0.6;
}

.header_btn2 a{
  display: block;
  font-size: 150%;
  height: 65px;
  color: #fff;
  
}
.header_btn2 span {
  display: block;
  text-align: center;
  color: #ffffff;
  font-size: 60%;
  line-height: 2.5;
}


.header_btn3 {
  width: 35%;
  color: #fff;
  background-color: #5095ef;
  text-align: center;
  height: 65px;
}
.header_btn3 a {
  display: block;
  font-size: 130%;
  line-height: 65px;
}

.header_btn_box {
  display: flex;
  margin: 0 auto;
}



.btn_box_base {
  max-width: 1040px;
  margin: 0 auto;
}

.btn_box {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  /* margin: 20px auto; */
  background-color: #eee;
  border-radius: 30px;
  margin-bottom: 50px;
}

.btn {
  width: 30%;
  color: #fff;
  background-color: #666;
  /* font-size: 18px; */
  text-align: center;
  line-height: 250%;
  border-radius: 20px;
  text-align: center;
}

.btn_box .btn a {
  display: block;
  line-height: 300%;
  font-weight: 400;
  color: #fff;
  border-radius: 20px;
  /* transition: 0.3; */
}

.tag{
  position: relative;
}

.btn a:hover {
  background-color: #fff;
  color: #666;
  display: block;
}


.content_box {
  max-width: 1040px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 60px;
}
.mb45 {
  margin-bottom: 45px;
}

.accordion_ue_margin {
  margin-bottom: 20px;
}
.pic_box {
  width: 36%;
}

.pic_box .pic img {
  width: 100%;
  height: 100%;
  object-fit:cover;

  aspect-ratio: 6/4;
  border-radius: 15px;
}

.headword {
  font-size: 28px;
  color: #7b5887;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 500;

  /* ページ内リンクの調整 */
  padding-top: 200px;
  margin-top:-200px;

}
.pic_box .bd {
  height: 15px;
  background-color: #d5bcda;
  margin-top: -4px;
  margin-bottom: 20px;
}
.text_box {
  width: 60%;
  margin-top: 45px;
}
.text_box .bd {
  height: 15px;
  background-color: #eee;
  margin-bottom: 12px;
}
.text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  text-justify: inter-ideograph;
}
.shokushu {
  display: flex;
  background-color: #d5bcda;
  margin-top: 27px;
}
.shokushu1 {
  width: 350px;
  color: #7b5887;
  padding: 17px 20px;
  line-height: 1.9;
}
.shokushu2 {
  width: 300px;
  color: #7b5887;
  padding: 20px;
  line-height: 1.8;
}
.curri_tbl {
  width: 100%;
  max-width: 1040px;
}
.gyou {
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  width: 100%;
}
.kamoku {
  line-height: 20px;
  border: 1px solid #fff;
  font-size: 16px;
  width: 25.5%;
  text-align: center;
  /* padding-top: 5px; */
  /* padding-bottom: 5px; */
  background-color: #7b5887;
  display: block;
  color: #fff;
}
.naiyou {
  line-height: 25px;
  border: 1px solid #fff;
  font-size: 16px;
  padding-left: 15px;
  width: 74.5%;
  /* padding-top: 5px; */
  /* padding-bottom: 5px; */
  background-color: #eee;
  display: block;
}
.tbl1 {
  width: 100%;
  font-size: 16px;
  margin-bottom: 50px;
  margin-top: -20px;
  /* transform: rotate(0.03deg); */
}
.tbl1,
tr,
td {
  border: 1px solid #fff;
}
tr {
  height: 50px;
}
.gyoudaka {
  height: 64px;
}
.col1 {
  width: 265px;
  color: #fff;
  background-color: #7b5887;
  text-align: center;
}
.col2 {
  width: 767px;
  background-color: #eee;
  padding: 12px;
  color: #666;
  line-height: 1.65;
}
.accordion {
  max-width: 1040px;
  margin-top: -20px;
  margin-bottom: 50px;
}

dt {
  position: relative;
  color: #fff;
  background-color: #7b5887;
  padding: 10px 10px 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border: 1px ridge #fff;
  text-align: left;
  cursor: pointer;
}

dt::after{
  content:'＋';
  position: absolute;
  color: #fff;
  font-size: 100%;
  right: 2%;
}

dd {
  margin: 0px 25px 8px;
  line-height: 1.8;
  display: none;
}
.carousel_ue_margin {
  margin-bottom: 20px;
}
.carousel {
  max-width: 1040px;
  padding: 7px;
  background-color: #eee;
  /* border: 1px solid #000; */
  margin: 15px 0 50px 0;
}
.carousel ul {
  width: 100%;
  margin: 0 auto;
}
.carousel li {
  aspect-ratio: 4/3;
  /* border: 1px solid #000; */
}
.carousel li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.headword a,
.cont_btn a {
  color: #7b5887;
}
.cont_btn a:hover {
  background-color: #7b5887;
  color: #fff;
}
.company_name a {
  color: #fff;
}
.header_btn_box a {
  color: #fff;
}

dd {
  color: #666;
}
.gyou {
  display: none;
}
/*フッター部ここから*/
footer.sfooter {
  background-color: #444;
  color: #fff;
  padding-top: 50px;
}

footer.sfooter a {
  color: #fff;
}

.sfooter .footer_inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer_left {
  width: 365px;
  padding-left: 20px;
}

.footer_center {
  width: 300px;
}

.footer_right {
  width: 300px;
  margin-right: 20px;
}

.company_name {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}

.company_address {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sfooter .privacy_policy {
  display: block;
  width: 170px;
  text-align: center;
  font-size: 18px;
  background-color: #fff;
  padding: 7px 13px;
}

.sfooter .privacy_policy a {
  color: #444;
  font-weight: bold;

}

.sfooter .privacy_policy a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.link_item {
  color: #fff;
  font-size: 16px;
}

.link_item_detail {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 16px;
  margin-bottom: 20px;
}

.link_item a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.link_item_detail a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.company_name a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.company_address a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.mb25 {
  margin-bottom: 25px;
}

.mb7 {
  margin-bottom: 7px;
}

.mt33 {
  margin-top: 33px;
}


.copyright {
  max-width: 1040px;
  margin: 0 auto;
  font-size: 14px;
  color: #fff;
  border-top: solid 1px #fff;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 35px;
}
/*フッター部ここまで*/

.sp_nav{
  display: none;
}
/* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇◇■◇■◇■◇■◇■◇■◇■◇■◇■
■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■
■◇■◇■◇■◇■◇■◇■◇■◇ MEDIA QUERY max-width: 768px ■◇■◇■◇■◇■◇■◇■
■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■
■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */


@media screen and (max-width: 768px){

  .container {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .header{
    position: sticky;
    top: 0;
    padding-bottom: 5px;
    z-index: 10;
  }
  
  
  .header_inner {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .logo{
    display: block;

    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .logo img{
    max-width: 330px;
  }
  
  .family_name {
    max-width: 100%;
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;;
    font-size: 180%;
    color: #fff;
    background-color: #5095ef;
    line-height: 120%;
    text-align: center;
    border-radius: 30px;
  }

  .family_name span {
    font-size: 60%;
    color: #fff;
  }
  .dept_name {
    font-size: 160%;
    color: #7b5887;
    border-bottom: 3px solid #7b5887;
    padding-bottom: 20px;
    margin-top: 15px;
    margin-bottom: 25px;
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
  }
  .cont_btn {
    width: 100%;
    line-height: 65px;
  }
  .cont_btn a {
    width: 60%;
    display: block;
    line-height: 250%;
    font-size: 16px;
    color: #7b5887;
    background-color: #d5bcda;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
    margin: 0 auto;
    margin-bottom: 15px;

  }
  .cont_btn_box {
    /* display: flex; */
    display: block;
    /* justify-content: space-between; */
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: -5px;
  }
  #hihyouji {
    visibility: hidden;
  }
  .nav_box {
    max-width: 100%;
    /* display: flex; */
    display: block;
    /* justify-content: space-between; */
  }
  
  .nav_box_left{
    width: 100%;
    display: block;
    height: 25vh;
    width: 25vh;
    margin: 0 auto;
    position: relative;
  }
  
  .nav_box_left img{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    left: -5px;

  }

  .nav_box_right {
    display: block;
    width: 100%;
    margin-bottom: -65px;
  }

  .header_btn_box {
    max-width: 100%;
    display: block;
  }

  .header_btn1 {
    width: 100%;
    display: block;
    color: #fff;
    background-color: #444;
    /* border: 1px solid #000; */
    line-height: 250%;
    text-align: center;
    /* font-size: 25px; */
    position: relative;
  }
  /* .header_btn1 img {
    position: absolute;
    top: 20px;
    left: 42px; */
  /* } */
  .header_btn1 a {
    display: block;
    font-size: 100%;
    letter-spacing: 0.5em;
    line-height: 250%;
    /* padding: px 10px 12px 48px; */
  }
  .header_btn1 a::before{
    content: '';
    background-image: url(../img/mail_icon.jpg);
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
  }
  

  .header_btn2 {
    display: none;

    float: left;
    /* position: relative; */
    width: 50%;
    background-color: #ff7878;
    text-align: center;
    padding: 5px;
    height: 35px;
    inset: 0;
    margin: auto;
    line-height: 0.6;
  }
  
  .header_btn2 a{
    display: none;
    display: block;
    font-size: 13px;
    height: 35px;
    color: #fff;

  }

  .header_btn2 span {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 10px;
    line-height: 35px;
  }
  
  
  .header_btn3 {
    display: none;

    float: right;
    width: 50%;
    color: #fff;
    padding: 5px;
    background-color: #5095ef;
    text-align: center;
    height: 35px;

  }
  .header_btn3 a {
    display: block;
    font-size: 13px;
    line-height: 35px;
  }


  .header_btn_box {
    max-width: 100%;
    margin: 0 auto;
  }


  .sp_nav{
    display: block;
    justify-content: space-between;
    width: 100%;
    display: flex;
    height: 40px;
    position: sticky;
    bottom: 0;
  }

  .sp_btn2{
    width: 50%;
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    padding: 5px;
    text-align: center;
    background-color: #ff7878;
    color: #fff;
  }
  .sp_btn2 span{
    font-size: 8px;
    color: #fff;
  }

  .sp_btn3{
    width: 50%;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background-color: #5095e8;
    line-height: 40px;
    color: #fff;
  }


  .btn_box_base {
    max-width: 80%;
  }

  .btn_box {
    /* display: flex; */
    display: block;
    /* justify-content: center; */
    width: 100%;
    padding: 20px 20px;
    padding-bottom: 3px;
    background-color: #eee;
    border-radius: 20px;
  }

  .btn {
    width: 100%;
    color: #fff;
    background-color: #666;
    font-size: 16px;
    text-align: center;
    /* line-height: 190%; */
    border-radius: 10px;
    text-align: center;
  }

  .btn a {
    width: 100%;
    display: block;
    line-height: 250%;
    font-weight: 400;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    /* transition: 0.3; */
  }


  /* .btn a:hover {
    background-color: #fff;
    color: #666;
    display: block;
  } */
  
  .content_box {
    max-width: 100%;
    /* display: block; */
    /* display: flex; */
    /* justify-content: space-between; */
    display: block;
    margin: 0 auto 60px;
  }
  .mb45 {
    margin-bottom: 45px;
  }
  
  .accordion_ue_margin {
    margin-bottom: 20px;
  }
  
  .pic_box {
    width: 100%;
    margin-top: 0;
    padding: 0 20px;
  }

  .pic{
    text-align: center;
  }
  
  .pic_box .pic img {
    max-width: 450px;
    height: 100%;
    object-fit:cover;
    border-radius: 15px;
  
    aspect-ratio: 6/4;
  }
  
  .headword {
    font-size: 140%;
    color: #7b5887;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
    /* ページ内リンクの調整 */
    padding-top: 120px;
    margin-top: -120px;
  }
  .pic_box .bd {
    height: 15px;
    background-color: #d5bcda;
    margin-top: -4px;
    margin-bottom: 20px;
  }
  .text_box {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 25px;
  }
  .text_box .bd {
    display: none;
    height: 15px;
    background-color: #eee;
    margin-bottom: 12px;
  }
  .text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    text-justify: inter-ideograph;
  }
  .shokushu {
    display: flex;
    background-color: #d5bcda;
    margin-top: 27px;
  }
  .shokushu1 {
    width: 350px;
    color: #7b5887;
    padding: 17px 20px;
    line-height: 1.9;
  }
  .shokushu2 {
    width: 300px;
    color: #7b5887;
    padding: 20px;
    line-height: 1.8;
  }
  .curri_tbl {
    width: 100%;
    max-width: 1040px;
  }
  .gyou {
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .kamoku {
    line-height: 20px;
    border: 1px solid #fff;
    font-size: 16px;
    width: 25.5%;
    text-align: center;
    /* padding-top: 5px; */
    /* padding-bottom: 5px; */
    background-color: #7b5887;
    display: block;
    color: #fff;
  }
  .naiyou {
    line-height: 25px;
    border: 1px solid #fff;
    font-size: 16px;
    padding-left: 15px;
    width: 74.5%;
    /* padding-top: 5px; */
    /* padding-bottom: 5px; */
    background-color: #eee;
    display: block;
  }
  .tbl1 {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 14px;
    margin-top: -40px;
    margin-bottom: 50px;
    /* transform: rotate(0.03deg); */
  }
  .tbl1,
  tr,
  td {
    border: 1px solid #fff;
  }
  tr {
    height: 50px;
  }
  .gyoudaka {
    height: 64px;
  }
  .col1 {
    font-size: 14px;
    width: 30%;
    color: #fff;
    padding: 5px;
    background-color: #7b5887;
    text-align: center;
  }
  .col2 {
    font-size: 14px;
    width: 70%;
    background-color: #eee;
    padding: 12px;
    color: #666;
    line-height: 1.65;
  }

  .accordion {
    max-width: 100%;
    margin-top: 10px;
    padding: 0 20px;
    margin-bottom: 50px;
  }
  
  dt {
    position: relative;
    color: #fff;
    background-color: #7b5887;
    padding: 10px 10px 10px 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px ridge #fff;
    text-align: left;
    cursor: pointer;
  }
  
  dt::after{
    content:'＋';
    position: absolute;
    color: #fff;
    font-size: 100%;
    right: 2%;
  }
  
  dd {
    font-size: 14px;
    margin: 5px 20px 5px;
    line-height: 1.8;
    display: none;
  }
  .carousel_ue_margin {
    margin-bottom: 20px;
  }
  .carousel {
    max-width: 1040px;
    padding: 7px;
    background-color: #eee;
    /* border: 1px solid #000; */
    margin: 15px 0 50px 0;
  }
  .carousel ul {
    width: 100%;
    margin: 0 auto;
  }
  .carousel li {
    aspect-ratio: 4/3;
    /* border: 1px solid #000; */
  }
  .carousel li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .headword a,
  .cont_btn a {
    color: #7b5887;
  }
  .cont_btn a:hover {
    background-color: #7b5887;
    color: #fff;
  }
  .company_name a {
    color: #fff;
  }
  .header_btn_box a {
    color: #fff;
  }
  
  dd {
    color: #666;
  }
  .gyou {
    display: none;
  }
  /*フッター部ここから*/
  footer.sfooter {
    background-color: #444;
    color: #fff;
    padding-top: 50px;
  }
  
  footer.sfooter a {
    color: #fff;
  }
  
  .sfooter .footer_inner {
    max-width: 100%;
    margin: 0 auto;
    /* display: flex; */
    /* justify-content: space-between; */
    display: block;
  }
  
  .footer_left {
    width: 100%;
    margin-top: 15px;
    padding-left: 20px;
  }
  
  .footer_center {
    width: 100%;
    padding-left: 20px;
    margin-top: 50px;

  }
  
  .footer_right {
    width: 100%;
    margin-right: 20px;
    padding-left: 20px;

  }
  
  .company_name {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .company_address {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .sfooter .privacy_policy {
    display: block;
    width: 170px;
    text-align: center;
    font-size: 18px;
    background-color: #fff;
    padding: 7px 13px;
  }
  
  .sfooter .privacy_policy a {
    color: #444;
    font-weight: bold;
   }
  
  .sfooter .privacy_policy a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }
  
  .link_item {
    color: #fff;
    font-size: 16px;
  }
  
  .link_item_detail {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 16px;
    margin-bottom: 20px;
  }
  
  .link_item a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }
  
  .link_item_detail a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }
  
  .company_name a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }
  
  .company_address a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }
  
  .mb25 {
    margin-bottom: 25px;
  }
  
  .mb7 {
    margin-bottom: 7px;
  }
  
  .mt33 {
    margin-top: 33px;
  }
  
  
  .copyright {
    max-width: 1040px;
    margin: 0 auto;
    font-size: 14px;
    color: #fff;
    border-top: solid 1px #fff;
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 35px;
  }
  /*フッター部ここまで*/
}

