@charset "utf-8";

/* ヘッダーの全体スタイル */
.site-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* コンテナのスタイル */
.site-header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
/* コンテナの中の子スタイル */
.site-header .Header-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 67px;
}
.header-contact {
display: flex;
    justify-content: center;
    align-items: center;
}
.header-contact a {
display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 77px;
    padding: 0 20px 7px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
.header-contact a:hover {
	opacity: 0.7;
}
.header_line {
    background-color: #33af38;
    border-bottom-left-radius: 4px;
}
.header_mail {
    background-color: #F1C40F;
}
.header_tel {
    background-color: #021538;
    border-bottom-right-radius: 4px;
}
.header_Sp {
	display: none;
}
/* ヘッターh1 */
.header__title {
    font-weight: 600;
    font-size: clamp(0.6rem,0.8vw,0.8rem);
    margin: 5px 0 5px;
}
/* ロゴのスタイル */
.site-logo img {
    max-width: 300px;
}
/* パンくず */
.breadcrumbs {
	font-size: clamp(0.6rem,0.8vw,0.8rem);
	position: absolute;
    right: 8px;
	z-index:1;
}
.aioseo-breadcrumbs {
	font-size: clamp(0.6rem,0.8vw,0.8rem);
	position: absolute;
    right: 8px;
	z-index:1;
}

@media (max-width: 480px) {
/* ロゴのスタイル */
.site-logo img {
    max-width: 150px;
}
}

/********** ヘッターメニュー **********/
/* PCメニュー */
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation .nav-menu ul {
    padding: 24px 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-navigation .nav-menu ul li {
    border-right: 1px solid #000;
    xpadding: 0 27px;
    line-height: 1;
    transition: .5s;
}
.main-navigation .nav-menu > ul > li:first-child {
    border-left: 1px solid #000;
}
.main-navigation .nav-menu ul li a {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
	color: #333;
	padding: 8px 27px;
	display: block;
}
.main-navigation .nav-menu ul li a:hover {
	color: #505050;
}
.menu-item-has-children::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 6px;
    position: absolute;
    margin: auto;
    right: 16px;
    top: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    background-color: #000;
    transition: .5s;
}
/* サブメニュー */
.main-navigation ul.sub-menu {
	padding: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    background: #FFF;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	min-width: 400px;
}
.main-navigation ul.sub-menu li {
    width: calc(100% / 2);
	border: none;
	padding: 0;
}
.main-navigation ul.sub-menu li a {
	display: block;
	padding: 16px 8px;
}

/* サブメニュー２段階目 */
.main-navigation ul.sub-menu li > ul.sub-menu {
	top: 100%;
}

/* ハンバーガーメニューのボタン */
.hamburger-menu {
    display: none;
    position: relative;
    z-index: 1000;
}

.hamburger-menu button {
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
	padding: 0;
}

/* "×" ボタンのスタイル（初期状態では非表示） */
.hamburger-menu button.close-icon {
    display: none;
}

/* メニューが開いた時のスタイル */
.mobile-menu.open {
    display: block; /* メニュー表示 */
}

/* メニューが開いたときに "×" ボタンを表示 */
.mobile-menu.open + .hamburger-menu button.close-icon {
    display: block;
}

.hamburger-menu.open button.menu-icon {
    display: none; /* ハンバーガーアイコンを非表示にして "×" ボタンを表示 */
}

/* モバイルメニューのスタイル */
.mobile-menu {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 67px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230,248,249,0.9);
    z-index: 999;
    text-align: center;
    min-height: 100vh;
    height: 100%;
    overflow-y: scroll;
    padding: 8px 0 24px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
}


@media (max-width: 1023px) {
/* コンテナのスタイル */
.site-header .container {
        max-width: 100%;
    }
.header_Sp {
	display: flex;
}
.header-contact {
	display: none;
}
.main-navigation {
	display: none;
}
/* デスクトップではハンバーガーメニューを非表示 */
.hamburger-menu {
	display: block;
}
}

/********** フッター **********/
footer {
    background: #021538;
    font-size: 14px;
    color: #FFF;
    position: relative;

}
.footerBox {
    padding: 2rem;
    background: #021538;
}
.footer_area {
    padding: 56px 0 8px;
}
.footer_logo {
	display: flex;
    justify-content: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.footer ul {
  padding: 0;
  margin: 0 0.5em 1.5em 0;
  list-style: none;
}
.footer a {
  color: #FFF;
  text-decoration: none;
  position: relative;
  line-height: 2.0;
}

.footer .grid a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #FFF;
bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
transition: transform 0.3s; /*変形の時間*/
}

.footer .grid a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #FFF;
  margin-bottom: 0;
}

.footer address {
  font-style: normal;
}
.footer__navi-heading {
	font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid #FFF;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__address {
  margin-bottom: 2rem;
}

.footer__address a {
  text-decoration: underline;
}
.copyright {
	text-align: right;
	margin: 5px auto;
}
@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .footer__address a {
    text-decoration: none;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .lg-flex {
    display: flex;
  }
}

/********** メインビュースタイル **********/
.TopMv {
    text-align: center;
    padding: 32px;
    background-image: url(./img/mvtopbg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.SubMv {
    text-align: center;
    padding: 32px;
    background-image: url(./img/mvsubbg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.RegonTopMv {
    text-align: center;
    padding: 40px 16px;
    background-image: url(./img/mvregiontop.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.LpPageMv {
    text-align: center;
    padding: 0 32px;
	background: #021538;
}

/* サブページ共通MV */
.SubMv .TitleArea .Title {
    text-align: center;
    color: #333;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 auto;
}
.SubMv .TitleArea {
    background: rgba(255, 255, 255, 0.7);
    padding: 16px 0;
}
.SubMv .TitleArea p {
    color: #021538;
    font-size: clamp(0.9rem, 1.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 16px auto 0;
}
.subtitle {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-transform: uppercase;
}

.subtitle::before,
.subtitle::after {
	content: '';
	width: 50px;
	height: 3px;
	background-color: #021538;
}

.subtitle::before {
	margin-right: 20px;
}
.subtitle::after {
	margin-left: 20px;
}
@media (max-width: 480px) {
.grid {
    display: grid;
    grid-template-columns: none;
    gap: 0rem;
    margin-bottom: 0;
}
}
