:root {
    --color-black: #000;
    --color-blue: #023c72;
    --color-light-blue: #a9d7f4;
    --section-padding: 5rem;
    --header-padding-x: 1rem;
    --header-nav-height: 3rem;
    --header-height: 7rem;
}

/* destyle  ---------------------------------------　*/
* {
    box-sizing: border-box;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    color: var(--color-black);
    margin: 0;
}

h1 {
    border-bottom: 5px dotted var(--color-blue);
    color: var(--color-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin: auto;
    padding: 0 0.8rem 1.2rem;
    text-align: center;
    width: fit-content;
}

h2 {
    border-bottom: 5px dotted var(--color-blue);
    color: var(--color-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin: auto;
    padding: 0 0.8rem 1.2rem;
    text-align: center;
    width: fit-content;
}

/*h2の見出し下線をなくすための設定*/
.border-none{
	border-bottom:none !important;
}


h3 {
    color: var(--color-blue);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    margin-bottom: 1rem;
}

/*子ページの子見出し*/
h4{
    border-bottom: 5px dotted var(--color-blue);
    color: var(--color-blue);
    font-size: 2.5rem;
    font-weight: 800;
    width: clamp(160px, 24vw, 420px);
    margin: 0 auto;
    text-align: center;
    display: block;
    padding-top:7rem;
    margin-bottom:50px;
}

/*問い合わせ*/
.page-id-15 h4{
	background:#023C72;
	color:#fff;
	width:100%;
	height:auto;
	padding-top:0px;
	margin-top:7rem !important;
}

/*完了ページ*/
.page-id-382 h4{
	background:#023C72;
	color:#fff;
	width:100%;
	height:auto;
	padding-top:0px;
	margin-top:7rem !important;
}

@media (max-width: 1158px){
    h4{
        width: 60%;
    }
}

@media (max-width: 767px){
    h4{
        width: 70%;
    }
}

.heading_decoration{
  display        : inline-block;
  color          : #ffffff;            /* 文字の色 */
  text-shadow    : 
       2px  2px 4px #003366,
      -2px  2px 4px #003366,
       2px -2px 4px #003366,
      -2px -2px 4px #003366,
       2px  0px 4px #003366,
       0px  2px 4px #003366,
      -2px  0px 4px #003366,
       0px -2px 4px #003366;        /* 文字の影 */
}

img {
    height: auto;
    width: 100%;
}

ul {
    list-style: none;
    padding: 0;
}

/* cmnLayout  ---------------------------------------　*/
.body__inner {
    overflow-x: hidden;
}

.section__inner {
    margin: auto;
    max-width: 1200px;
    width: 90%;
}

/* header --------------------------------------- */
header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: var(--header-padding-x) 2rem;
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    width: 100%;
    z-index: 10;
}

header.scroll {
    border-bottom: 1px solid var(--color-blue);
}

.header__logo {
    margin: auto 0;
}

.header__nav {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.header__nav a {
    position: relative;
    padding: 0.5rem clamp(0.5rem, 1vw, 1rem);
    display: block;
    font-size: clamp(14px, 1vw, 16px);
    transition:
        background-color 0.2s ease,
        border-bottom 0.2s ease;
}

.header__nav .current-menu-item a {
    border-bottom: 2px solid var(--color-blue);
}
.header__nav li:last-child a {
    background-color: var(--color-blue);
    color: white;
}
/* 動き*/
.header__nav li:last-child a:hover {
    background-color: #023c72cc;
}
.header__nav li:not(:last-child) a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: var(--color-blue);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.2s;
}

.header__nav li:not(:last-child) a:hover::after {
    transform: scale(1, 1);
}
/* hamburger  ----------------------------------- */

/* ボタン */
.header__ham-btn {
    background: var(--color-blue);
    cursor: pointer;
    display: none;
    height: 50px;
    position: fixed;
    right: 30px;
    /* top: 20px; */
    top: calc(20px + var(--wp-admin--admin-bar--height, 0));
    width: 50px;
    z-index: 3;
}

/* ボタンの線 */
.header__ham-btn span {
    background: #fff;
    border-radius: 5px;
    display: inline-block;
    height: 2px;
    left: 14px;
    position: absolute;
    transition: all 0.4s;
    width: 45%;
}

.header__ham-btn span:nth-of-type(1) {
    top: 30%;
}

.header__ham-btn span:nth-of-type(2) {
    top: 50%;
}

.header__ham-btn span:nth-of-type(3) {
    opacity: 1;
    top: 70%;
}

/* ボタンの線（active） */
.header__ham-btn.active span:nth-of-type(1) {
    left: 12.5px;
    top: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.header__ham-btn.active span:nth-of-type(2) {
    left: 12.5px;
    top: 18px;
    transform: translateY(6px) rotate(45deg);
    width: 50%;
}

.header__ham-btn.active span:nth-of-type(3) {
    opacity: 0;
}

/* ハンバーガーメニュー（中身） */
.header__ham-nav-wrap {
    background-color: white;
    border: var(--color-blue) 1px solid;
    border-top: none;
    height: 100%;
    opacity: 0;
    overscroll-behavior: contain;
    padding: 6rem 2rem 3rem 2rem;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0px;
    transform: translateX(100%);
    transition:
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s;
    z-index: 2;
}

.header__ham-nav-wrap.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.header__ham-nav-wrap.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
}

.header__ham-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-weight: 500;
}

.header__ham-nav a {
    display: block;
    height: 100%;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
    width: 100%;
}

.header__ham-nav a:hover {
    background-color: var(--color-blue);
    color: white;
}

.header__ham-nav .current-menu-item{
	     border-bottom: 2px solid var(--color-blue);
}
.header__ham-nav li:last-child a{
	background-color:var(--color-blue);
	color:white;
}
.header__ham-nav li:last-child a:hover{
	
}


/* main --------------------------------------- */
main {
    margin-top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
}

/* footer ----------------------------------- */
footer {
    background-color: var(--color-blue);
    padding: 3rem 2rem 1.5rem;
}

.footer__copyright p {
    color: white;
    font-size: 0.8rem;
    margin: auto;
    width: fit-content;
}

.footer__details-address,
.footer__details-numbers {
    display: flex;
    gap: 1rem;
}

.footer__details-numbers {
	text-indent:3em;/*edit20260218→4*/
}

.footer__details-text {
    color: white;
}

.footer__details-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom:5px;/*add20260218*/
}

.footer__details-text p {
    margin: 0;
}

.footer__details-wrap {
    align-items: center;
    display: flex;
   /*gap: 2rem;*/
    justify-content: center;
}

.footer__inner {
    margin: auto;
    max-width: 1200px;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.footer__nav a {
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    transition: background-color 0.2s ease;
    position: relative;
}

/* 動き*/
.footer__nav .current-menu-item a {
    border-bottom: 1px solid white;
}
.footer__nav li:last-child a{
	    background-color: white;
    color: var(--color-black);
}
.footer__nav li:last-child a:hover {
    background-color:white;
}
.footer__nav li:not(:last-child) a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: white;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.2s;
}

.footer__nav li:not(:last-child) a:hover::after {
    transform: scale(1, 1);
}

.footer__details-logo img {
    width: 70%;
}

.footer__details-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__label {
	/*letter-spacing: 0.5em;*/
}

/*お問合せバナー*/
.footer-width{
	width: 65%;
    height: auto;
}

.footer-img {
    display: inline-block;
}

.footer-img-wrapper {
    text-align: center;
    margin-bottom:87px;
}

@media (max-width: 768px){
	.footer-width {
		width:90%;
	}
	
	.footer__details-logo img{
		width:60%;
	}
}
