@charset "UTF-8";
/* wordpress記事、固定、LP共通部分(header,footer)
-------------------------------------------------- */
/* all display
-------------------------------------------------- */

.wrap {
  width: 1100px;
  box-sizing: border-box;
  margin: 0 auto;
  *zoom: 1;
}

.wrap:before {
  display: inline-table;
}

.wrap:after {
  content: "";
  display: block;
  clear: both;
}

ul li a, a h5 {
  color: #383838;
  font-size: 0.88em;
  line-height: 1.5;
}


/* ----------------------------------------
* レスポンシブ
* ~ / 1200px / 991px / 767px 
* desctop / laptop / tablet / phone
---------------------------------------- */

@media screen and (min-width: 1200px) {
  #header-menu-tog {
    display: none;
  }
  #footer {
    color: #1E252C;
    background: #2c2827;
  }
  #footer a {
    color: #fff;
  }
  #footer a:hover {
    color: #EE6C4D;
  }
  #footer .wrap {
    padding: 30px 0;
  }
  #footer .post-share {
    padding-right: 0;
    padding-left: 0;
  }
  .footer--middle {
    padding: 20px 0;
    border-top: 1px solid #252121;
    font-size: 0.8em;
  }
  .footer--middle, .footer--bottom {
    text-align: center;
  }
  footer .wrapper {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  .footer a {
    color: #fff;
    text-decoration: none;
  }
  .footer__sep {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #fff;
  }
  .footer--bottom {
    font-size: 10px;
    background: #000;
    padding: 10px 0 15px;
  }
  .footer--copy p {
    font-size: 0.7em;
    background: #000;
    padding: 1em 0 1.3em;
    text-align: center;
    color: #fff;
  }
  .footer-01 {
    background: #fff;
    border-top: 1px #efefef solid;
    font-size: 13px;
  }
  .footer-01 ul {
    overflow: hidden;
    text-align: left;
  }
  .footer-01 ul li {
    display: inline-block;
    margin-right: 20px;
  }
  .footer-02 {
    background: #fff;
    border-top: 1px #efefef solid;
  }
  .footer-02 .footer-copy {
    text-align: right;
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px) {
  /* laptop */
  .wrap, .one-column #content .wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    width: 98%;
  }
}

@media screen and (max-width: 991px) {
  /* tablet */
  /* tablet end */
}

@media screen and (max-width: 767px) {
  /* phone */
  /* phone end */
}

/* ----------------------------------------
* all
---------------------------------------- */

body {
  background: #fff;
  color: #383838;
}

a {
  text-decoration: none;
  color: #EE6C4D;
}

a:hover {
  text-decoration: underline;
}


/* form
---------------------------------------- */

form input[type="submit"], form button {
  background: #EE6C4D;
  color: #fff;
}

form input[type="submit"]:hover, form button:hover {
  cursor: pointer;
}


/* ----------------------------------------
* header
---------------------------------------- */

#header {
  background: #0D0630;
  padding: 0.7em 0;
  position: relative;
}

#header {
  width: 100%;
  position: fixed;
  z-index: 11;
}

#gnav {
  width: 100%;
  position: fixed;
  z-index: 10;
}

#header #logo {
  font-size: 24px;
  text-align: center;
}

#header #logo a {
  color: #fff;
}

#header #header-sns {
  position: absolute;
  right: 11.5%;
  top: 29%;
}

#header #header-sns ul {
  padding: 0 0 10px;
}

#header #header-sns li {
  display: inline-block;
  margin-left: 30px;
  font-size: 21px;
}

#header #header-sns li a {
  color: #ccc;
}

#header #header-sns li a:hover {
  color: #57585a;
}

h1.Maintitle {
	display: inline-block;
	color: #fff;
	vertical-align: middle;
	font-size: 70%;
}

/* ヘッダー追加分 */
@media print, screen and (min-width: 768px) {
	#header{ 
    height: 82px;
    top: 0;
  }
	#gnav { margin-top: 82px !important; }
}

#header .wrap{
	font-size: 0;
	max-width: 910px;
}
#header .wrap > .headerIcon{
	margin-right: 2%;
}

#header .wrap > div{
	display: inline-block;
	vertical-align: middle;
}

#header .wrap > .headerIcon > a,
#header .wrap > div{ font-size: 1rem; }

#header .wrap > .headerIcon > h1{
	text-align: center;
	width: 265px;
}

#header .wrap > .headerIcon > a{
	display: block;
	margin-right: 1%;
	min-width: 265px;
	max-width: 275px;
	width: 25%;
}
#header .wrap > .headerIcon > a > img{ width: 100%; }

#header .wrap .headerContents{ width: calc( 100% - 275px - 2% - 0.1px ); }
@media print, screen and (max-width: 767px) {
	#header .wrap .headerContents{display: none;}
}

#header .wrap .headerContents > div{
	color: #ffffff;
	display: inline-block;
	vertical-align: middle;
}

#header .wrap .headerContents .headerContents-in01{ margin-right: 1%; }

#header .wrap .headerContents .headerContents-in01 > a{
	background: #ac6b0f;
	border-radius: 4px;
	color: #ffffff;
	display: block;
	font-size: 88%;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 4px;
	padding: 3px 1em;
	text-align: center;
}
#header .wrap .headerContents .headerContents-in01 > ul{
	font-size: 0;
}
#header .wrap .headerContents .headerContents-in01 > ul li{
	display: inline-block;
	font-size: 1rem;
	margin-right: 10px;
	position: relative;
	vertical-align: top;
}
#header .wrap .headerContents .headerContents-in01 > ul li:last-of-type{ margin-right: 0; }
#header .wrap .headerContents .headerContents-in01 > ul li:before{
	content: '>';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 13px;
	height: 13px;
}

#header .wrap .headerContents .headerContents-in01 > ul li > a{
	display: block;
	color: #ffffff;
	font-weight: bold;
	padding-left: 15px;
}

#header .wrap .headerContents .headerContents-in02{ font-size: 0; }

#header .wrap .headerContents .headerContents-in02 > div{
	display: inline-block;
	font-size: 1rem;
}

#header .wrap .headerContents .headerContents-in02 > div > p{
	font-size: 84%;	
	text-align: center;
}

#header .wrap .headerContents .headerContents-in02 > div > a{
	color: #ffffff;
	display: block;
	position: relative;
}

#header .wrap .headerContents .headerContents-in02 > div > a:before{
	content: '';
	background: url(/assets/images/common/phone-icon05.png) left top no-repeat;
	background-size: contain;
	position: absolute;
	top: calc( ( 100% - 40px ) / 2 );
	left: 0;
	width: 30px;
	height: 40px;
}

@media print, screen and (min-width: 768px) {
	#header .wrap .headerContents .headerContents-in02 > div > a{ pointer-events: none; }
}
@media print, screen and (min-width: 1120px){
	#header .wrap .headerContents .headerContents-in02 > div:first-of-type > p{ margin-right: 7px; }
}
@media print, screen and (max-width: 1120px){
	#header .wrap .headerContents .headerContents-in02 > div:first-of-type > p{ display: none;}
}

#header .wrap .headerContents .headerContents-in02 > div > a p{ padding-left: 34px; }
#header .wrap .headerContents .headerContents-in02 > div > a .tel-Number{
	font-size: 120%;
	font-weight: bold;
}
#header .wrap .headerContents .headerContents-in02 > div > a .tel-reception-time{ font-size: 84%; }

/* ----------------------------------------
* gloval nav
---------------------------------------- */

#gnav {
  margin-top: -1px;
  background: #fff;
  border-top: 1px #efefef solid;
  border-bottom: 1px solid #c8c8c8;
  font-size: 14px;
}

@media print, screen and (max-width: 790px) and (min-width: 768px) {
	#gnav .wrap{ width: 100%; }
}

#gnav .sub-menu {
  z-index: 10;
  font-size: 14px;
  margin: 0;
}

#gnav ul {
  margin: 0;
  position: relative;
}


#gnav .wrap #gnav-container > ul{
	font-size: 0;
	margin: 0 auto;
	width: 100%;
}

#gnav .wrap #gnav-container > ul > li{
	display: inline-block;
	font-size: 0.91rem;
	vertical-align: middle;
	position: relative;
	width: auto;
	height: 63.5px;
}

#gnav .wrap #gnav-container > ul > li > a{
	padding-top: 1em;
	padding-bottom: 1em;
}

#gnav .wrap #gnav-container > ul > li:last-of-type > a{
	padding-top: 1.7em;
	padding-bottom: 1.7em;
}

#gnav .wrap #gnav-container > ul > li:first-of-type p.homeIcon{
	margin: 0 auto 2px;
	max-width: 22px;
	width: 100%;
}

@media print, screen and (min-width: 768px) {
  #gnav .wrap #gnav-container > ul > li:first-of-type > a{
    padding-top: 0.8em;
    padding-bottom: 0.8em;
  }

	#gnav .wrap #gnav-container > ul > li:first-of-type p.homeIcon img.none-min768{ display: none; }
}

@media print, screen and (max-width: 767px) {
  .page-template-support-service #ibWrap{ padding-top: 58px; }
	#gnav .wrap #gnav-container > ul > li:first-of-type p.homeIcon img.none-max767{ display: none; }
}

#gnav .wrap #gnav-container > ul > li:before{
	content:'';
	background: #c8c8c8;
	display: block;
	position:absolute;
	right:0;
	top:15%;
	width:1px;
	height:70%;
}
#gnav .wrap #gnav-container > ul > li:last-of-type:before{ content: none; }

#gnav li a {
  display: block;
  /* margin-bottom: -2px; */
  padding: 0.8em 0px;
  color: #2B2D2D;
  background: #fff;
  text-decoration: none;
  text-align: center;
  -webkit-transition: background .3s ease-in-out;
  transition: background .3s ease-in-out;
  /* font-size: 0.92em; */
}

#gnav li a > span{ font-size: 84%; }

#gnav li a:hover .sub-menu { display: block; }

#gnav li .sub-menu {
  position: absolute;
  width: 200px;
  background: #fff;
  border: none;
  border-bottom: none;
  margin: 0;
}

#gnav li .sub-menu > li {
	float: none;
	border-bottom: none;
	margin-right: 0;
	padding: 0;
	position: relative;
}

#gnav li .sub-menu > li:last-child {
  border-bottom: none;
}

#gnav li .sub-menu li a {
  color: #fff;
  background: #2b2b2b;
  font-size: 12px;
  padding: 14px 18px;
  margin-top: 0;
  border: none;
  overflow: hidden;
}

#gnav li .sub-menu li a:hover {
  background: #373B3B;
  color: #fff;
}

#gnav li .sub-menu li a:after {
  content: "\f054";
  font-weight: 900;
  float: right;
  font-family: 'Font Awesome 5 Free';
}

#gnav li .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}


@media print, screen and (min-width: 768px) {

  #gnav li.current-menu-item:after{
    content: '';
    background: #EE6C4D;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }

#gnav li:hover:after {
	content: '';
	background: #EE6C4D;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
}
  
  
  #gnav li .sub-menu li.inheritance-tax-practice > ul{
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
  }
  #gnav li .sub-menu li.inheritance-tax-practice:hover >ul{ display: block; }
}

@media print, screen and (min-width: 981px) {
	#gnav .wrap #gnav-container > ul{ max-width: 960px; }
	#gnav .wrap #gnav-container > ul > li:first-of-type{ min-width: 130px; }
	#gnav .wrap #gnav-container > ul > li{ padding: 0 2em; }
}
@media print, screen and (max-width: 980px) and (min-width: 768px) {
	#gnav .wrap #gnav-container > ul{ max-width: 760px; }
	#gnav .wrap #gnav-container > ul > li:first-of-type{ min-width: 80px; }
	#gnav .wrap #gnav-container > ul > li{ padding: 0 1em; }
}

/* グロナビスマホメニュー */

@media print, screen and (max-width: 767px) {
	#responsive-menu-container #responsive-menu li.responsive-menu-item a{
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}
	#responsive-menu-container > #responsive-menu-wrapper > #responsive-menu > li.responsive-menu-item:first-of-type a{
		padding-top: 16px !important;
		padding-bottom: 16px !important;
	}
	#responsive-menu-container > #responsive-menu-wrapper > #responsive-menu > li.responsive-menu-item a:first-of-type{ position: relative; }
	#responsive-menu-container > #responsive-menu-wrapper > #responsive-menu > li.responsive-menu-item:first-of-type a:before{
		content: '';
		display: block;
		background: url(https://chester-consulting.jp/wp-content/uploads/2021/08/home_icon02.png) top left no-repeat;
		background-size: contain;
		position: absolute;
		top: calc( ( 100% - 24px ) / 2 );
		left: 5%;
		width: 24px;
		height: 24px;
	}
	
	#responsive-menu-container #responsive-menu li.responsive-menu-item:first-of-type a p{
		padding-left: 28px;
	}
	
	#responsive-menu-container #responsive-menu li.responsive-menu-item a span{ font-size: 80%; }
	
	#responsive-menu-container #responsive-menu li.responsive-menu-item a .homeIcon img.none-max767{ display: none; }
}

/* ----------------------------------------
* footer
---------------------------------------- */

#footer {
  color: #1E252C;
  background: #6D6A75;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #EE6C4D;
}

#footer .wrap {
  padding: 30px 0;
}

#footer .post-share {
  padding-right: 0;
  padding-left: 0;
}

.footer--middle {
  padding: 20px 0;
  border-top: 1px solid #EE6C4D;
  font-size: 0.8em;
}

.footer--middle, .footer--bottom {
  text-align: center;
}

footer .wrapper {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer__sep {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  color: #fff;
}

.footer--bottom {
  font-size: 10px;
  background: #000;
  padding: 10px 0 15px;
}

.footer--copy p {
  font-size: 0.7em;
  background: #0D0630;
  padding: 1em 0 1.3em;
  text-align: center;
  color: #fff;
      margin: 0 !important;
}

.footer-01 {
  background: #fff;
  border-top: 1px #efefef solid;
  font-size: 13px;
}

.footer-01 ul {
  overflow: hidden;
  text-align: left;
}

.footer-01 ul li {
  display: inline-block;
  margin-right: 20px;
}

.footer-02 {
  background: #fff;
  border-top: 1px #efefef solid;
}

.footer-02 .footer-copy {
  text-align: right;
  font-size: 12px;
}



/* ----------------------------------------
* レスポンシブ
---------------------------------------- */

#header-menu-tog {
  display: none;
}

@media screen and (max-width: 991px) {
  /* tablet */
  img {
    max-width: 100%;
    height: auto;
  }
  /* header */
  #header {
    padding: 0.7em 0 !important;
    width: 100%;
  }
  #header .wrap {
    padding: 0;
  }
  #header #logo img {
    vertical-align: top;
  }
  #header #header-primary-nav {
    display: none;
  }
  #header-menu-tog {
    display: none;
    float: right;
    font-size: 24px;
    margin-top: -6%;
  }
  /* tablet end */
}

@media screen and (max-width: 767px) {
  /* gnav */	
  #gnav.active {
    display: block;
  }
  #gnav {
    margin: 20px 2%;
    border: 1px solid #cccccc;
    padding: 10px;
    z-index: 11;
    top: 3%;
    width: 96%;
  }
  #gnav .wrap {
    margin: 0;
  }
  #gnav ul li {
    float: none;
    position: relative;
    margin-right: 0;
    margin-bottom: 1px;
    padding: 0;
  }
  #gnav ul li.current-menu-item a {
    border-top: none;
    background: #f7f7f7;
  }
  #gnav ul li a {
    display: block;
    border-top: none;
    padding: 12px 8px;
    color: #2B2D2D;
    background: #fff;
    text-decoration: none;
    -webkit-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
    border-bottom: 1px #e5e5e5 solid;
  }
  #gnav ul li a:hover {
    color: #2B2D2D;
    border-top: none;
  }
  
  #gnav ul li .sub-menu {
    position: relative;
    width: auto;
    margin-left: 20px;
    background: #fff;
    border: none;
    border-bottom: none;
  }
  #gnav ul li .sub-menu li {
    float: none;
    margin-right: 0;
  }
  #gnav ul li .sub-menu li:last-child {
    border-bottom: none;
  }
  #gnav ul li .sub-menu li a {
    color: #EE6C4D;
    padding: 10px 15px;
    /* border-bottom: 1px #e5e5e5 solid; */
  }
  #gnav ul li .sub-menu li a:hover {
    background: #fafafa;
    color: #EE6C4D;
    box-shadow: 0;
  }
  #gnav ul li .sub-menu .sub-menu {
    left: auto;
    top: auto;
  }
  
  /* phone */
}

/* スマホハンバーガーメニュー
-------------------------------------------------- */

@media print, screen and (min-width: 768px) {
  #js-toggle-menu{ display: none;}
}
@media print, screen and (max-width: 767px) {
  #header{ height: 58px; }
  #header .wrap > .headerIcon{
    width: calc( 100% - 50px );
  }
  #header .wrap > .headerIcon > a{
    width: 100%;
    min-width: auto;
  }
  
  #header .wrap h1 { display: none; }
  
  #js-toggle-menu{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: 0 0;
    border: none;
    position: fixed;
    right: 10px;
    top: 8px;
    width: 40px;
    height: 40px;
    z-index: 999;
  }
  
  #gnav{
    background: #212121;
    border: none;
    margin: 0;
    padding: 0;
    top: 58px;
    right: -120%;
    transition: all 0.6s;
    overflow: scroll;
    width: 90%;
    max-width: 380px;
    height: calc( 100% - 58px );
    z-index: 9999999999;
  }
  #gnav.open-menu{ right: 0; }
  #gnav .wrap{ width: 100%; }
  
  #gnav .wrap #gnav-container > ul > li{
    display: block;    
    width: 100%;
    height: auto;
  }
  
  /* 
  #gnav-ul > li:after{
    content: '';
    background: #4c4b4b;
    position: absolute;
    width: 100%;
    height: 1px;
    z-index: 30;
  }
   */
  
  #gnav .wrap #gnav-container > ul > li > a{
    background: #212121;
    border-bottom: 1px solid #4c4b4b;
    /* border: none; */
    color: #ffffff;
    font-size: 14px;
    padding: 1rem 0.5rem;
  }
  #gnav .wrap #gnav-container > ul > li:before{ content: none; }
  
  #gnav ul li .sub-menu{
    display: none;
    background: #212121;
    margin-right: 10px;
    margin-left: 10px;
  }
  /* #gnav ul li .sub-menu.accordionOpen{ display: block; } */
  
  #gnav .wrap #gnav-container > ul > li > a:hover,
  #gnav ul > li.current > a,
  #gnav ul li .sub-menu li.current > a,
  #gnav ul li .sub-menu li > a:hover{
    border-bottom: 2px solid #EE6C4D;
  }
  
  #gnav ul li .sub-menu li > a{
    border-bottom: 1px solid #4c4b4b;
  }
  
  #gnav ul li .sub-menu li a{
    background: #212121;
    font-size: 14px;
    padding: 1rem;
    text-align: left;
  }
  
  #gnav ul li .sub-menu li > ul.sub-menu-sub01 > li > a{
    padding-left: 2.5rem;
  }
  
  #gnav ul li .sub-menu li > ul.sub-menu-sub01 > li > a:before{
    content: '≫';
    color: #EE6C4D;
    font-size: 1.5em;
    line-height: 0.9;
    /* background: #ff00ff; */
    position: absolute;
    top: calc( 50% - 0.5em );
    left: 1.4rem;
    width: 0.8em;
    height: 1em;
  }
  
  /* #gnav-ul > li{ border-bottom: 1px solid #4c4b4b; } */
  
  /* ハンバーガーボタン */
  .toggle-menu__btn{
    position: relative;
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 1px;
    background: #0a7b8a;
    -webkit-transition: all 0.2s;
    transition: all 0.2s
  }
  .toggle-menu__btn:before,
  .toggle-menu__btn:after{
    content: '';
    background: #0a7b8a;
    display: block;
    border-radius: 1px;
    position: absolute;
    width: 25px;
    height: 2px;
  }
  .toggle-menu__btn:before{
    top: -7px;
  }
  .toggle-menu__btn:after{
    bottom: -7px;
  }
  
  /* 閉じるボタン */
  .close-btn .toggle-menu__btn{
    background:0 0;
  }
  .close-btn .toggle-menu__btn:before{
    transform: translate(0, 7px) rotate(45deg);
  }
  .close-btn .toggle-menu__btn:after{
    transform: translate(0, -7px) rotate(-45deg);
  }
}

/* グロナビ以下エリア
-------------------------------------------------- */
#ibWrap img {
    max-width: 100%;
    display: block;
    margin: 0 auto 3%;
}

@media screen and (max-width: 480px) {
	#ibWrap img { margin-bottom: 8%; }

}



/* 20250923 add new header && globalNav
-------------------------------------------------- */
.p-header *{
	font-family: "Noto Serif JP", serif;
	line-height: 1.15;
}
.p-header a{
	background-color: transparent;
	text-decoration: none;
	color: inherit;
}
.p-hamburger__button {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.p-hamburger__button {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: 0;
    border-radius: 0;
    text-align: inherit;
}
.u-visually-hidden, .screen-reader-text {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}
.p-header {
  position: fixed;
  top: 0;
  background-color: #fff;
  width: 100%;
  padding: 16px 24px 0;
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}
@media screen and (max-width: 880px) {
  .p-header {
    padding: 16px 16px 0;
  }
}
@media screen and (max-width: 767px) {
  .p-header {
    display: flex;
    padding: 8px;
  }
}
.p-header__heading {
  position: absolute;
  top: 16px;
  left: 32px;
  display: flex;
  gap: 16px;
}
@media screen and (max-width: 880px) {
  .p-header__heading {
    left: 16px;
    gap: 8px;
  }
}
@media screen and (max-width: 767px) {
  .p-header__heading {
    position: static;
  }
}
.p-header__logo img {
  width: auto;
  height: 40px;
}
@media screen and (max-width: 880px) {
  .p-header__logo img {
    height: 35px;
  }
}
@media screen and (max-width: 767px) {
  .p-header__logo img {
    height: 30px;
  }
}
.p-header__read {
  align-self: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  .p-header__read {
    margin-left: -2em;
    scale: 0.8;
  }
}
@media screen and (max-width: 767px) {
  .p-header__menu {
    position: fixed;
    top: 47px;
    left: 0;
    display: none;
    width: 100%;
    height: 100vh;
    max-height: calc(100vh - 47px);
    padding: 40px;
    background: #F8F9FB;
    overflow-y: auto;
  }
}
@media screen and (max-width: 767px) {
  .p-header__menu-body {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
}
.p-subMenu__list {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media screen and (max-width: 880px) {
  .p-subMenu__list {
    gap: 4px;
  }
}
@media screen and (max-width: 767px) {
  .p-subMenu__list {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
  }
}
.p-subMenu__item {
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .p-subMenu__item a:hover {
    opacity: 0.7;
  }
}
.p-subMenu__link {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s;
}
.p-subMenu__link.-search {
  background: #3E629D;
  color: #fff;
}
.p-subMenu__link.-register {
  background: linear-gradient(180deg, #E9D190 0%, #D0B467 40.63%, #AD8E3B 81.25%);
  color: #fff;
}
.p-subMenu__link.-login {
  background: linear-gradient(180deg, #233F85 0%, #112444 100%);
  color: #fff;
}
.p-subMenu__link.-contact {
  background-color: #fff;
  color: #112444;
  border: 1px solid #e5e5e5;
}

.p-globalNav {
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 767px) {
  .p-globalNav {
    flex-direction: column;
    gap: 16px;
  }
}
.p-globalNav__item {
  position: relative;
}
.p-globalNav__item > a {
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-globalNav__item > a {
    display: none;
  }
}
.p-globalNav__item > a + span {
  display: none;
}
@media screen and (max-width: 767px) {
  .p-globalNav__item > a + span {
    display: inline-block;
  }
}
.p-globalNav__link {
  display: inline-block;
  padding: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
}
@media screen and (max-width: 880px) {
  .p-globalNav__link {
    padding: 24px 16px;
  }
}
@media screen and (max-width: 767px) {
  .p-globalNav__link {
    padding: 8px 0;
  }
}
.p-globalNav__button {
  position: relative;
  display: inline-block;
  padding: 24px 32px 24px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
}
@media screen and (max-width: 880px) {
  .p-globalNav__button {
    padding: 24px 24px 24px 16px;
  }
}
@media screen and (max-width: 767px) {
  .p-globalNav__button {
    width: 100%;
    padding: 8px 0;
  }
}
.p-globalNav__button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  width: 6px;
  height: 6px;
  margin: auto;
  border-right: 1px solid #14468C;
  border-bottom: 1px solid #14468C;
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .p-globalNav__button::after {
    content: "＋";
    right: 0;
    width: auto;
    height: fit-content;
    border: none;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    transform: rotate(0);
  }
}
@media screen and (max-width: 767px) {
  .p-globalNav__button.is-open::after {
    content: "ー";
  }
}
.p-globalNav__button.is-open::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: #14468C;
}
@media screen and (max-width: 767px) {
  .p-globalNav__button.is-open::before {
    content: none;
  }
}

.p-megaMenu {
  position: absolute;
  top: calc(100% + 1px);
  display: none;
  width: max-content;
  padding: 32px;
  background-color: #fff;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05);
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .p-megaMenu {
    position: static;
    width: 100%;
    margin: 16px;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
}
.p-megaMenu__item {
  border-bottom: 1px solid #e5e5e5;
}
@media screen and (max-width: 767px) {
  .p-megaMenu__item {
    border: none;
  }
}
.p-megaMenu__item + .p-megaMenu__item {
  margin-top: 16px;
}
.p-megaMenu__link {
  position: relative;
  display: block;
  width: 280px;
  padding-bottom: 16px;
  font-size: 0.875rem;
}
@media screen and (max-width: 767px) {
  .p-megaMenu__link {
    width: 100%;
    padding-bottom: 0;
    line-height: 1.5;
  }
}
@media (hover: hover) and (pointer: fine) {
  .p-megaMenu__link {
    transition: opacity 0.3s;
  }
  .p-megaMenu__link:hover {
    opacity: 0.7;
  }
}
.p-megaMenu__link::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #14468C;
  border-right: 1px solid #14468C;
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .p-megaMenu__link::after {
    content: none;
  }
}

.p-hamburger__button {
  position: relative;
  display: none;
  width: 28px;
  height: 28px;
  margin-left: auto;
}
@media screen and (max-width: 767px) {
  .p-hamburger__button {
    display: block;
  }
}
.p-hamburger__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 1px;
  margin: auto;
  background-color: #112444;
  transition: all 0.3s;
}
.p-hamburger__line::before, .p-hamburger__line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #112444;
  transition: all 0.3s;
}
.p-hamburger__line::before {
  top: -6px;
}
.p-hamburger__line::after {
  top: 6px;
}
.is-active .p-hamburger__line {
  background-color: transparent;
}

.is-active .p-hamburger__line::before {
  top: 0;
  rotate: 45deg;
}

.is-active .p-hamburger__line::after {
  top: 0;
  rotate: -45deg;
}

.textRed {color: #a50b0b;}

.textBlue2 {
    color: #134674;
}
.underLine {
    text-decoration: underline;
}
.mb30 {
    margin-bottom: 3rem;
}
.alignC {
    text-align: center;
}