/************************************
** cocoon original css reset
************************************/

body, h2 {
  font-family: 'M PLUS 1p', sans-serif!important;
}


.article h2, .article h3, .article h4, .article h5, .article h6 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
}

/************************************
** 
************************************/

.inner-container {
  padding-top: 40px;
  padding-bottom: 45px;
  text-align: center;
}

.article .heading {
  font-size: 40px;
  margin-bottom: 40px;
}

.article .heading h2 {
  color: #3646d6;
  font-weight: 600;
  line-height: 1.4;
}

.article .heading h2::before {
  content: '';
  counter-increment: h2;
}
.article .heading h2::after {
    display: none;
}


.sub-heading {
    font-size: 1.3rem;
    font-weight: 700;
}

.heading-message {
    margin-bottom: 40px;
}

.contents {
  line-height: 2.2;
  font-size: 1.3em;
}

table tr {
    text-align: left;
}

@media only screen and (max-width: 767px) {
  .alignfull {
    width: 88.88889%;
  }
  .inner-container {
    padding-top: 24.4px;
    padding-bottom: 24px;
  }
  .heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .heading h2 {
    color: #3646d6;
  }

  .contents {
    line-height: 1.8;
    font-size: 20px;
    text-align: left;
  }
}

/************************************
** #sec_key-visual
************************************/

#header-container {
    position: absolute;
    width: 100%;
}

#sec_key-visual,
#sec_key-visual_sp {
/*   background-image: url(https://haka-navi.com/wp-content/uploads/2022/02/fuji-g-pc-1.png); */
/*   background-attachment: fixed; */
  background-size: cover;
  padding-bottom: 0px;
  margin-bottom: 0;
  height: 80vh;
}

.key-visual-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 769px) {
  #sec_key-visual_sp {
    /* background: url(https://haka-navi.com/wp-content/uploads/2022/02/fuji-g-sp-1.png); */
    /* background-size:cover; */
    /* height: 90vh; */
  }
  #sec_key-visual_sp::before {
    height: 90vh;
	animation: anime-001 2s forwards;
  }
}

/************************************
** section basic setting
************************************/

#sec_001, #sec_002, #sec_history {
    /* border-bottom: 1px solid #ccc; */
}
#sec_history .heading h2 {
    /* color: #333; */
}

#sec_002 .heading-2 h3 {font-size: 32px;margin-bottom: 0.5em;font-weight: inherit;}
#sec_002 .heading-2 p {font-size: 1.3em;}

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

 #sec_history .heading h2 {
    color: #333;
  }

#sec_002 .heading-2 h3 {font-size: 20px;margin-bottom: 0.5em;}
#sec_002 .heading-2 p {font-size: 1.0em;text-align: left;} 
  
}
/************************************
** sec_001 / sec_002
************************************/
@media only screen and (max-width: 767px) {
  #sec_001 .contents,
  #sec_002 .contents {
    font-size: 18px;
  }
}

/************************************
** sec_history
************************************/

#sec_history .contents {
  width: 940px;
  text-align: left;
  margin: 0 auto;
  font-size: 1.2em;
}

.table-history th {
    width: 20%;
    font-weight: inherit;
}

@media only screen and (max-width: 767px) {
  #sec_history .contents {
	width: auto;
  }
  .table-history th {
    width: 100%;
    padding: 6px;
  }
}

/************************************
** sec_service_v2
************************************/

.container-col4 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.col4-item {
  width: calc(24% - 10px);
  height: auto;
  border-radius: 5px;
  box-shadow: 0px 10px 15px rgb(0 0 0 / 10%);
  margin: 10px;
}
.col4-item-inner {
  padding: 10px;
}

.col4-item-inner .contents .text {
  font-size: 0.8em;
  line-height: 2;
}
.col4-item-inner .contents img {
  width: 100%;
}

/* hover animation */
.col4-item {
    position: relative;
    /* overflow: hidden; */
}
.contents-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    -webkit-transition: all 0.6s ease;
    transition:  all 0.6s ease;
}
.contents-hover p {
    padding: 30px;
    text-align: left;
    z-index: 2;
}
.contents-hover:hover {
    opacity: 1;
    padding-top: 80px;
}


@media only screen and (max-width: 767px) {
  .col4-item {
    width: calc(50% - 10px);
    margin: 5px;
  }
  .col4-item-inner {
    margin: 5px;
    padding: 5px;
  }
  .col4-item-inner .contents {
    padding: 0;
    height: auto;
    font-size: 10px;
    text-align: center;
  }
  .contents-hover:hover {padding-top: 0;}
  .contents-hover p {padding: 10px;font-size: 0.8em;}

}

/************************************
** sec_affiliations
************************************/

.affiliations-list ul {
  display: inline-flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}

.affiliations-list ul li {
  width: 23%;
  border: 2px solid #ddd;
  margin: 10px !important;
  font-size: 0.8em;
  font-weight: 700;
  list-style: none;
  text-align: center;
}

.affiliations-list ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 70px;
}

.affiliations-list ul li a {
  transition: all 1.0s ease;
  text-decoration: none;
  color: #222;
}

.affiliations-list ul li a:hover {
  background: #222;
  color: #fff;
  opacity: 1;
}

.affiliations-list ul li:nth-child(14) a {
  padding: 9px;
}

#sec_affiliations .br {
  display: block;
  font-size: 0.8em;
}

@media screen and (max-width: 769px) {
  #sec_affiliations {
    margin-bottom: 0;
  }

  .affiliations-list ul {
    padding-left: 0;
  }

  .affiliations-list ul li {
    width: 100%;
    text-align: left;
    border: 1px solid #ddd;
    margin: 5px;
  }

  .affiliations-list ul li a {
    padding: 15px;
  }

  .affiliations-list ul li:nth-child(14) a {
    padding: 15px;
  }
}

/************************************
** sec_company
************************************/

.company-table th,
td {
  border-bottom: 1px solid #ddd;
  padding: 10px 15px 7px;
  line-height: 2.2;
  background: #fff;
  font-size: 14px;
}

.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}
.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 769px) {
  #sec_company .box-l, #sec_company .box-r {
    padding: 0;
  }
  .company-table th,
  td {
    text-align: left;
    padding: 10px;
  }
  .company-table th {
    width: 100%;
  padding: 6px;}
  .company-table td {
    width: 100%;
  }
}

/************************************
** sec_company
************************************/

#sec_company .heading h3 {
    font-weight: 700;
    line-height: 1.2;
    font-style: italic;
}
.contents-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.box-l, .box-c, .box-r {
    width: 48%;
    padding: 20px;
}

@media screen and (max-width: 769px) {
  .box-l, .box-r {
    width: 100%;
  }
}

/************************************
** sec_news-topixs
************************************/

.news-topix-contents {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.news-topix-contents .item-news,
.news-topix-contents .item-topix {
  width: 50%;
}
.news-topix-contents .item-inner {
  margin: 10px 10px 30px;
  border-top: 1px solid #ddd;
  text-align: left;
}

.news-topix-contents h3 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 1em;
  font-style: italic;
}

.news-topix-contents .item-inner .item {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.news-topix-contents .item-inner .item a {
  color: #222;
}
.news-topix-contents .item-inner .item h4 {
  padding-bottom: 10px;
}
.news-topix-contents .item-inner .item h4 a {
  font-size: 1.2em;
  
}

@media screen and (max-width: 769px) {
  .news-topix-contents {
    display: block;
  }
  .news-topix-contents .item-news,
  .news-topix-contents .item-topix {
    width: 100%;
  }
  .news-topix-contents .item-news h3,
  .news-topix-contents .item-topix h3 {
    text-align: left;
    font-size: 20px;
    padding: 0 10px 10px;
  }
}

/************************************
** sec_insurance
************************************/

#sec_insurance .sub-heading {
    text-align: center;
}

.accordion {
  max-width: 80%;
  margin: 0 auto;
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 1em;
}
.accordion .title,
.accordion .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.5s;
}
.accordion .title {
  background: #dddddd;
  border: #dddddd;
  padding: 0.75em;
  display: block;
  color: #000;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}
.accordion .title::after,
.accordion .title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #fff;
  transition: all 0.5s;
}
.accordion .title::after {
  transform: rotate(90deg);
}

.accordion .title.t1 {
    background: #1f1f1f;
    border: #1f1f1f;
    color: #fff;
}

.accordion .title.t2 {
    background: #5f5f5f;
    border: #5f5f5f;
    color: #fff;
}

.accordion .title.t3 {
    background: #9f9f9f;
    border: #9f9f9f;
    color: #222;
}
.accordion .title.t4 {
    background: #dddddd;
    border: #dddddd;
    color: #222;
}
.accordion .content {
  max-height: 0;
  overflow: hidden;
}
.accordion .content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
}
.toggle:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
}
.toggle:checked + .title::before {
  transform: rotate(90deg) !important;
}

#sec_insurance .accordion ul {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 1em 0;
  padding: 0;
}
#sec_insurance .accordion ul li  {
  width: 31.2%;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sec_insurance .accordion ul li a {
    text-decoration: none;
    color: #222;
    padding: 20px 10px;
    text-align: center;
    border: 2px solid #ddd;
    display: block;
    width: 100%;
    font-size: 0.8em;
    font-weight: 700;
}
#sec_insurance #option4 li a{
  background: #222;
  color: #fff;
}


@media screen and (max-width: 769px) {
  #sec_insurance .sub-heading {
    text-align: left;
  }
  
  .accordion {
    width:100%;
  max-width: 100%;}
  .toggle:checked + .title + .content {
    max-height: none;
    transition: all 1.5s;
  }
  #sec_insurance .accordion ul li {
    width: 100%;
    min-width: none;
  }
}


/************************************
** sec_inqueries
************************************/

.inqueries-box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}
.inqueries-box .box-l, 
.inqueries-box .box-c,
.inqueries-box .box-r {
  width:30%;
  border:1px solid #ddd;
}

.inqueries-box .title {
    font-size: 1.2em;
}

.inqueries-box .desp {
    text-align: left;
    height: 60px;
}

.box-l a, .box-c a, .box-r a {
    position: relative;
    display: block;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    width: 90%;
    margin: 0 auto;
    padding: 15px;
    text-decoration: none;
	border: 1px solid #333;
}
.box-l a:hover, .box-c a:hover, .box-r a:hover {
  background: #fff;
  color: #333;
  border: 1px solid #333;
  opacity: 1;
}

.box-l a:after, .box-c a:after, .box-r a:after {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: 700;
    position: absolute;
    top: 15px;
    right: 15px;
}

@media screen and (max-width: 769px) {
  .inqueries-box {
      flex-wrap: wrap;
  }
  .inqueries-box .box-l, 
  .inqueries-box .box-c, 
  .inqueries-box .box-r {
      width: 100%;
  }
}

/************************************
** 調整
************************************/
.article h2, .article h3 {
    margin-bottom: 0;
    border-width: 0;
}
.article h2{
    font-size: 1.0em;
}