html {
	scroll-behavior: smooth;
}
img {
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}
a:visited {
    color: inherit;
}

li {
    list-style: none;
}

:root {

  --font-sans:  "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;

  --fs-h1:   48px;
  --fs-h2:   32px;
  --fs-h3:   24px;
  --fs-h4:   20px;
  --fs-body: 20px;
  --fs-lead: 14px;
  --fs-s-text: 18px;

  --color-1:    #00468C;
  --color-2:     #666666;
  --color-accent:  #ff9900;
  --color-base:    #FFFFFF;
  --color-font:  #111111;
}

body {
    font-family: var(--font-sans);
	color:var(--color-font);
    line-height: 1.7;
}

.text-cmn {
    font-size: var(--fs-body);
    font-weight: bold;
    line-height: 1.7;
}
.br {
    display: inline-block;
}
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination ul.page-numbers {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #00468C;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination .page-numbers a:hover {
  background-color: #0055ff;
  border-color: #0055ff;
  color: #fff;
}

.pagination .page-numbers .current {
  background-color: #00468C;
  border-color: #00468C;
  color: #fff;
  font-weight: bold;
}

.pagination .page-numbers .dots {
  border: none;
  background: none;
}

.headnav-list-item.has-sub-menu {
  position: relative;
}

.sub-menu-list li {
    border-top: 1px solid #fff;
}

.sub-menu-list li:first-child {
    border-top: none;
}

.sub-menu-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: rgba(0, 70, 140, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.sub-menu-list li a {
    line-height: 1.2;
  display: block;
  padding: 15px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s ease;
}

.sub-menu-list li a:hover {
  background-color: #f5f5f5;
  color: var(--color-1);
}

.headnav-list-item.has-sub-menu:hover .sub-menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}


.header-logo{
    display: flex;
    justify-content: center;
    align-items: center;
   margin: 20px 0;
}

.header-logo h1{
     width: 360px;
}

.header-nav-list {
    display: flex;
}

.headnav-list-text {
    font-size: 20px;
    font-weight: bold;
}

.headnav-list-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:var(--color-1) ;
    color: var(--color-base);
    border-left: 1px solid var(--color-base);
}

.headnav-list-item:first-child {
    border-left: none;
}

.headnav-list-item p {
    margin: 30px 0;
}


.header-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.headnav-list-item {
  position: relative;
}

.headnav-list-item > p,
.headnav-list-item > a {
  display: inline-block;
  margin: 0;
  color: #ffffff;     
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}


.headnav-list-item > p::after,
.headnav-list-item > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;         
  width: 0;         
  height: 5px;      
  background-color: #ffffff; 
  transition: width 0.3s ease, left 0.3s ease;
}

.headnav-list-item.is-active > p::after,
.headnav-list-item.is-active > a::after {
  width: 100%;
  left: 0;
}

.sec-ttl-cmn {
    padding: 20px 0;
    border-bottom: 2px solid #999999;
}

.sec-ttl-cmn {
    font-size: var(--fs-h2);
    color: var(--color-1);
}

.sec-ttl-cmn h2{
    position: relative;
    display: inline-block;
}

.sec-ttl-cmn h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-1);
    bottom: -22px;
    left: 0;
}

.ttl-wrap-cmn {
    text-align: center;
}

.ttl-01-cmn {
    font-size: var(--fs-h2);
    color: var(--color-1);
    font-family: var(--font-sans);
    font-weight: bold;
    position: relative;
}

.ttl-01-cmn::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom:  -12px;
    width: 130px;
    height: 1px;
    background-color: var(--color-1);
}

.subttl-01-cmm {
    font-size: 16px;
    color: var(--color-1);
    font-family: var(--font-sans);
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}

.btn-cmn {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-1);
    border-radius: 34px;
    line-height: 1;
    border: 1px solid ;
    background-color: #FFFFFF;
}

.btn-cmn a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 15px;
    width: 100%;
    height: 100%;
}


.btn_text {
    font-size: 16px;
    font-weight: bold;
}
.btn_icon {
    width: 21px;
    height: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    transition: 0.6s;
}

.btn_icon2 {
    transition: 0.6s;
    transform: translateY(2px);
    width: 40px;
}


.btn-cmn:hover .btn_icon{
    transform: translateX(8px);
    transition: 0.6s;
}
.basic-text {
    font-size: var(--fs-body);
    line-height: 1.7;
    font-weight: bold;
}


.fotter-wrap {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.fotter-logo {
    max-width: 360px;
}

.fotter-item p:first-of-type {
    padding-left: 0;
    font-size: 24px;
}

.fotter-item p {
    margin-top: 25px;
    padding-left:40px;
    font-size: 20px;
}

.fotter-icon1,
.fotter-icon2,
.fotter-icon3 {
    position: relative;
}

.fotter-icon1::before,
.fotter-icon2::before,
.fotter-icon3::before {
    position: absolute;
    content :"";
    top: 50%;
    transform: translateY(-50%);
    left: -4px;
}

.fotter-icon1::before {
    background-image: url(../../img/fotter_icon1.svg);
    width:25px;
    height: 32px;
}
.fotter-icon2::before {
    background-image: url(../../img/fotter_icon2.svg);
    width:23px;
    height: 28px;
}
.fotter-icon3::before {
    background-image: url(../../img/fotter_icon3.svg);
    width:28px;
    height: 22px;
}

.fotter-item2 .fotter-ttl{
    font-size: 20px;
}

.fotter-item2 ul {
    margin-top: 20px;
}

.fotter-item2 li {
    margin-top: 10px;
    font-weight: normal;
}

.fotter-link2{
    margin-top: 40px;
}

.fotter-item3 {
    font-size: 20px;
}

.fotter-item3 li{
    margin-top: 20px;
}

.fotter-item3 li:nth-child(3) {
    margin-top: 0;
}


.fotter-item3 li:first-child {
    margin-top: 0;
}

footer {
    padding-top: 100px;
}

.copy {
    background-color: var(--color-1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding:18px 0 ;
    margin-top: 100px;
}
.pc_only {
        display: block;
    }
.sp_only {
    display: none;
}
.sp_wrap  {
    padding-left: 0px;
        padding-right: 0px;
}
.sp_nav {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
.ham-ttl {
    font-size: 28px;
}
.header-ham-item1,
.header-ham-item2,
.header-ham-item3, 
.header-ham-item4 {
    margin-top: 30px;
}

.sec-wrap-cmn {
   max-width: 1060px;
   width: 100%;
    margin: 0 auto;
}

.sp_header {
    display: none;
}

.js-fade-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease; /* 0.8秒かけてふわっと動く */
}

.js-fade-up.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.copy {
    line-height: 1.4;
}

.fotter-icon3 {
    display: flex;
    align-items: center;
}

.mainvisual {
  height: 250px;
  position: relative;
  background-size: cover;
}

.ttl-contact {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ttl-contact h2 {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 3px 6px #000000B3;
}


.sec_contact {
    background:url(../../img/top04.jpg) no-repeat;
    background-size: cover;
    padding: 100px 0; 
}

.mod-contact-nav:first-child {
    margin-top: 0;
}

.mod-contact-nav {
    margin-top: 20px;
    display: flex;
    gap: 2px;

}

.contact-time-wrap {
    margin-top: 15px;
}

.cotnactnav-item {
    width: calc(100% / 3 - 4px);
}

.cotnactnav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    color: var(--color-1);
    font-weight: bold;
    font-size: var(--fs-h3);
}

.cotnactnav-item a {
    padding: 24px 29px;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cotnactnav-item:hover.cotnactnav-item::after{
    transform: translateY(-50%) translateX(8px);
}

.cotnactnav-item::after {
    content: "";
    background: url(../../img/btn_icon.svg);
    width: 23px;
    height: 11px;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    position: absolute;
    transition: transform 0.3s ease;
}
.btn_icon3 {
     transition: transform 0.3s ease;
}


.cotnactnav-item .btn_icon3 {
    width: 23px;
    margin-left: 50px;
    transition: transform 0.3s ease;
}

.ac-news-cmn {
    padding: 100px 0 100px;
}

.mainvisual-wrap {
    margin-top: 0;
}


#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  border-radius: 50%;
  border: 1px solid  #00468C;
  background-color: #fff;
	opacity:0;
	visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
#page_top.is-active {
  opacity: 1;
  visibility: visible;
}
#page_top a{
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-decoration: none;
}

#page_top a::after{
  content: '';
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 50%; 
  left: 50%;
  background: url(../../img/top-btn.svg);
  background-repeat: no-repeat;
  width: 24px;
  height: 12px;
  margin: auto;
  text-align: center;
  color: var(--color-1);
      transform: translate(-57%, -60%);
}




@media (max-width: 1100px) {
        .sec-wrap-cmn {
    width: 760px;
    }
    .fotter-logo {
        max-width: 330px;
    }
    .fotter-item:first-child {
        max-width: 330px;
    }
    .fotter-item p.fotter-icon3 {
        font-size: clamp(12px, 4.0625vw, 20px);
    }
    .cotnactnav-item::after {
        right: 10px;
    }
    .cotnactnav-item {
        font-size: 23px;
    }


}
    




@media (max-width: 768px) {
    .mod-contact-nav { 
    gap: 10px;
    margin-top: 10px;
}

    .sec_contact {
        padding: 30px 0;
    }
    .mainvisual-wrap {
    margin-top: 65px;
}

     .ac-news-cmn {
            padding: 80px 20px 100px;
    }

    .fotter-item3 li:nth-child(3) {
    margin-top: 14px;
}
    .fotter-item:first-child {
     max-width: 100%;
    }
    .fotter-logo {
        max-width: 360px;
    }

    .sp_header {
        position: fixed;
        display: block;
        width: 100%;
        background: #fff;
        z-index: 999;
        height: 65px;
        top: 0;

    }
    .sec-wrap-cmn {
        width: 100%;
    }

    .header-logo {
        max-width: 264px;
        width: 67.69223077vw;
        margin: 17px 0 17px 20px;

    }

    :root {

  --fs-h1:   36px;
  --fs-h2:   24px;
  --fs-h3:   20px;
  --fs-h4:     18px;
  --fs-body: 18px;
  --fs-lead: 14px;
    }
    .sp_wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* #wpadminbar {
        display: none;
    } */


    .pc_only {
        display: none;
    }
    .sp_only {
        display: block;
    }
        .sp_menu {
        display: block;
        position: fixed;
        z-index: 100;
        top: 0;
        right: 0;
        width: 60px;
        height: 65px;
        background-color: var(--color-1);
    }
        .ham_nav {
        display: block;
        position: absolute;
        background: #fff;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
        width: 40%;
        height: 2px;
        left: 35%;
        border-radius: 2px;}
           .sp_menu span:first-child {
        /* top: 26%; */
        top: 38%;
    }

    .sp_menu span:nth-child(2) {
        /* top: 38%; */
        top: 50%;
    }

    .sp_menu span:nth-child(3) {
        /* top: 51%; */
        top: 62%;
    }

     .sp_nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        padding: 20px 30px;
        background: var(--color-1);
        transition: transform 0.4s ease-in-out; 
        right: -320px; 
        transform: translateX(100%);
    }
    .sp_nav_inner {
        width: 320px;
        height: 100%;
        position: fixed;
        top: 0;
        padding: 20px 30px;
        background: var(--color-1);
        transition: transform 0.4s ease-in-out; 
        right: -320px;
        transform: translateX(100%);
    }
    
    
    #sp_nav.active {
        display: block; 
        background-color: var(--color-1);
        pointer-events: auto; 
        right: 0;
        transform: translateX(0);
        z-index: 99;
    }

    .sp_menu.active span:first-child {
        transform: rotate(45deg);
        top: 38%;
        background-color:#fff !important;

    }

    .sp_menu.active span:nth-child(2), .sp_menu.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 38%;
        background-color:#fff !important; 
    }
    .sp_nav ul {   
        color: #fff;
        font-weight: 600;
    }

    .sp_nav ul li {
        margin-top: 15px;
        position: relative;
    }

  
    
    .sp_nav_inner.active {
        transform: translateX(0); /* 画面内にスライドイン */
    }

    .btn-cmn a {
            padding: 11px 15px;
    }

.fotter-wrap {
        flex-direction: column;
        text-align: center;
    }

    .fotter-item p:first-of-type {
        text-align: center;
    }
          
    .fotter-item p {
        text-align: left;
    }

    .fotter-link3 {
        margin-top: 33px;
    }


    .btn-cmn {
        width: 90%;
        max-width: 250px;
    }
    .fotter-item3 li {
        margin-top: 14px;

    }

    footer {
    padding-top: 60px;
    }
    .copy {
        margin-top: 42px;
    }

    .fotter-logo {
        margin: 0 auto;
    }

    .fotter-icon2 {
        line-height: 1.3;
    }

    .fotter-icon3 {
            font-size: clamp(12px, 4.0625vw, 16px);
}

      .mainvisual {
        background-size: cover;
    }
     .ttl-contact h2 {
    font-size: 30px;
  }

  .mod-contact-nav {
        flex-direction: column;
    }
    .cotnactnav-item {
        width: 100%;
    }
    .mod-contact-nav {
        margin-top: 10px;
    }

    .ttl-01-cmn::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -3px;
    width: 130px;
    height: 1px;
    background-color: var(--color-1);
    }
    .subttl-01-cmm {
    font-size: 16px;
    color: var(--color-1);
    font-family: var(--font-sans);
    font-weight: bold;
    display: inline-block;
    margin-top: 6px;
    }
    
}
