@charset "utf-8";
/* CSS Document */

.outer-menu {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 10;
}
.outer-menu .checkbox-toggle {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 12;/*2追記*/
	cursor: pointer;
	width: 60px;
	height: 60px;
	opacity: 0;
}
.outer-menu .checkbox-toggle:checked + .hamburger > div {
	transform: rotate(135deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
	top: 0;
	transform: rotate(90deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
	opacity: 0;
}
.outer-menu .checkbox-toggle:checked ~ .menu {
	pointer-events: auto;
	visibility: visible;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div {
	transform: scale(1);
	transition-duration: 0.75s;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div > div {
	opacity: 1;
	transition: opacity 0.4s ease 0.4s;
}
/*.outer-menu .checkbox-toggle:hover + .hamburger {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}*/
.outer-menu .checkbox-toggle:checked:hover + .hamburger > div {
	transform: rotate(225deg);
}
.outer-menu .hamburger {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;/*1追記*/
	width: 60px;
	height: 60px;
	padding: 0.5em 1em;
	/*background: rgba(0,115,165, 0.75);*/
	background-color:transparent;
	border-radius: 0 0.12em 0.12em 0;
	cursor: pointer;
	transition: box-shadow 0.4s ease;
	-webkit-backface-visibility: hidden;
          	backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.outer-menu .hamburger > div {
	position: relative;
	flex: none;
	width: 100%;
	height: 2px;
	background: #FEFEFE;
	transition: all 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
	content: '';
	position: absolute;
	z-index: 1;
	top: -10px;
	left: 0;
	width: 100%;
	height: 2px;
	background: inherit;
	transition: all 0.4s ease;
}
.outer-menu .hamburger > div:after {
	top: 10px;
}
.outer-menu .menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	visibility: hidden;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
          	backface-visibility: hidden;
	outline: 1px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}
.outer-menu .menu > div {
	/*width: 200vw;
	height: 200vw;*/
	width: 250vw;
	height: 250vw;
	color: #FEFEFE;
	/*background: rgba(0,115,165, 0.97);*/
	background: rgba(0,115,165, 1);
	border-radius: 50%;
	transition: all 0.4s ease;
	flex: none;
	transform: scale(0);
	-webkit-backface-visibility: hidden;
          	backface-visibility: hidden;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
    background-image:url('../img/god_gmenu.png'),url('../img/god_gmenu2.png');
	background-repeat:no-repeat,no-repeat;
	background-size:300px,300px;
	background-position:calc(50% + 130px) calc(50% + 150px),calc(50% - 130px) calc(50% + 150px);
}
@media screen and (min-width: 768px) {
.outer-menu .menu > div {
    background-image:url('../img/god_gmenu.png'),url('../img/god_gmenu2.png');
	background-repeat:no-repeat,no-repeat;
	background-size:300px,300px;
	background-position:calc(50% + 290px) calc(50% + 10px),calc(50% - 290px) calc(50% + 10px);
	}	
}
/*--*/

.outer-menu .menu > div > div {
	text-align: center;
	max-width: 90vw;
	max-height: 100vh;
	opacity: 0;
	transition: opacity 0.4s ease;
	overflow-y: auto;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.outer-menu .menu > div > div > ul {
	list-style: none;
	padding: 0 1em;
	margin: 0;
	display: block;
	max-height: 100vh;
}
.outer-menu .menu > div > div > ul > li {
	padding: 0;
	margin: 1em;
	font-size: 20px;
	display: block;
}
@media screen and (min-width: 768px) {
.outer-menu .menu > div > div > ul > li {
	font-size: 24px;
	}	
}
/*--*/
.outer-menu .menu > div > div > ul > li > a {
	position: relative;
	display: inline;
	cursor: pointer;
	transition: color 0.4s ease;
	text-decoration:none;
	text-shadow:1px 1px 1px rgba(0, 0, 0, 0.4);
}
.outer-menu .menu > div > div > ul > li > a:hover {
	color: #e5e5e5;
}
.outer-menu .menu > div > div > ul > li > a:hover:after {
	width: 100%;
}
.outer-menu .menu > div > div > ul > li > a:after {
	content: '';
	position: absolute;
	z-index: 1;
	bottom: -0.15em;
	left: 0;
	width: 0;
	height: 2px;
	background: #e5e5e5;
	transition: width 0.4s ease;
}

/*aの挙動追記*/
.outer-menu .menu > div > div > ul > li > a:visited {
	color: #e5e5e5;
}
.outer-menu .menu > div > div > ul > li > a:link{
	color: #e5e5e5;
	}

/*追記・・・スクロール時の色変更*/

.outer-menu .header-bg{
	background:rgba(0, 115, 165, 0.75);
	transition: .5s;
}


/* 追記・・・メニュー全体の枠 */
.outer-menu .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    pointer-events: none;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* 背景色を透明に */
    background: transparent;
}

/* チェックが入った時 */
.outer-menu .checkbox-toggle:checked ~ .menu {
    pointer-events: auto;
    visibility: visible;
}

/* 青い円（アニメーションの核） */
.outer-menu .menu > div {
    width: 300vw;
    height: 300vw;
    /*background: rgba(0, 115, 165, 1);*/
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0);
    /* パターンのちらつきを抑えるためのプロパティ */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 円が開いた状態 globalmenu.cssと連携 */
.outer-menu .checkbox-toggle:checked ~ .menu > div {
    transform: scale(1);
}

/* --- メニュー開閉時の背景色 --- */
html.is-menu-open {
    background-color: #FFFEFA/*#0073A5 !important*/; /* メニューと同じ青色を指定 */
}

html.is-menu-open body {
    background-color: #FFFEFA/*transparent*/;
}

/* 3. メニューを閉じる時：htmlとbodyを同時に白へ戻す */
html:not(.is-menu-open),
html:not(.is-menu-open) body {
    background-color: #FFFEFA;
    transition: background-color 0.4s ease-out;
}

/*念のため*/
html {
    background-color: #FFFEFA;
    transition: background-color 0.3s ease; /* 色の変化を少し滑らかに */
}