@charset "UTF-8";
/*ここからリセット*/
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input, select {
  vertical-align: middle;
}
/*ここまでリセット*/

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}
html, body {
  font-size: 12px; /*基準となるフォントサイズ。*/
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif; /*フォント種類（ゴシック）*/
  font-optical-sizing: auto;
  /*font-weight: 300;*/
  -webkit-text-size-adjust: none;
  color: #33333 /*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	  }

a {
  text-decoration: none;
}

img{
	max-width: 100%;
	z-index: 1;
}

main{
	margin-left: 5%;
	margin-right: 5%;
}

/*スマホメニュー__________________________*/

body {
  background: #17458F;
  font-family: arial;
  width: 100vw;
  height: 100vh;
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
}

.mini{
	font-size: 0.9rem;
	color: #fff;
	list-style: inside;
	border-left: 1px solid ;
	margin-left: 2em;
}

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: fixed;
  right: 2em;
  top: 3em;
  padding: 26px 11px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #17458F;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #17458F;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: 	#17458F;
}

input[type=checkbox] {
  display: none; 
  
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
  
  
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);


}

#overlay {
  margin-top: 40%;	
  height: 100vh;
  width: 100vw;
  background-image: url("images/spmanu.jpg");
  background-size: cover;	
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
#overlay.active {

}
#overlay ul {
  height: 100vh;
  padding-top: 30%;	
  padding-left: 7%;
  list-style-type: none;
}
#overlay ul li {
  padding: 1em;
}
#overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
}
#overlay ul li a:hover {
  color: #000!important;
}

.s_sns{
	width: 8%;
	position: absolute;
	left: 5rem;
	bottom: 10%;
}

.page-header{
	margin-top: -40%;
}

.container{
	display: none;
}

.icon{
	display:  none;
}

.logo{
	opacity: 0;
}

/*header
---------------------------------------------------------------------------*/
.page-header{
	margin-top: -40%;
}

.container{
	display: none;
}

.icon{
	display:  none;
}

.logo{
	opacity: 0;
}

/*デスクトップドロップ*/	
li a .m2{
  display: none;
}
	
ul li a:hover .m1{
  display: none;
}
	
ul li a:hover .m2{
  display: inline;
}	
	
.home1{
  background-color: #17458F;
}	
	
.container {
  display: flex;
}

.main-nav li {
  position: relative;
  list-style: none;
}

.main-nav li a {
  display: block;
  text-decoration: none;
  color: #fff;
}

/* 通常時は非表示 */
.child_menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ebebeb;
  /* ドロップダウンメニューを透明化 */
  opacity: 0;
  /* 透明化だけではクリックできてしまうので以下も追記 */
  visibility: hidden;
  /* フェードで表示非表示される時間の指定 */
  transition: all 1s;
  width: 100%;
}

.dropdown {
  position: relative;
}

/* ナビゲーション下矢印部分 */
.dropdown::after {
  content: '';
  position: absolute;
  top: 43%;
  right: 10px;
  transform: rotate(135deg);
  width: 5px;
  height: 5px;
}

.dropdown:hover+.dropdown_menu,
.dropdown_menu:hover {
  visibility: visible;
  opacity: 0.9;
}

.child_menu li {
  padding: 0;
}

.child_menu li a {
  display: block;
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
  color: #333;
}

/*news---------------------------------------------------------------------------*/

.list-free {
	display: flex;			/*直接の子要素を横並びに*/
	flex-direction: column;	/*一旦縦並びにしておく*/
	margin: 0 3% 10% 3%;	/*ボックスの下（外側）に空けるスペース*/
	gap: 1vw;				/*子要素同士に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

.cover-info {
    background-image: url("images/spwall.jpg");
  }

.w{
	display: block;
	line-height: 1rem;
	color: 	#17458F;
	font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
	letter-spacing: 0.5rem;
	padding-top: 30%;
	padding-left: 2rem;
	}		


.title{
	display: block;
	margin-top: -13%;
	color: 	#17458F;
	font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
	letter-spacing: 0.5rem;
	padding-left: 2rem;
	font-size: 2rem;
	}	
	
.new {
	flex: 1;
	padding: 10% 0 40% 0;
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem;	/*dt内の余白*/
	margin-top: 0.5rem;
	color: #17458F;
	letter-spacing: 0.3rem;
    font-size: 0.9rem;
}

/*記事(dd)設定*/
.new dd {
	line-height: 2rem;
	padding: 1rem 0rem 3rem 2rem;	/*上、左右、下へのdd内の余白*/
	border-bottom: 1px solid #17458F ;	/*下の線の幅、線種、色*/
	letter-spacing: 0.2rem;
}

/*日付(dt)設定*/
.new dt {
	padding: 2rem;	/*dt内の余白*/
	color: #17458F;
	letter-spacing: 0.5rem;
    font-size: 0.9rem;
}

.cta {
  border: none;
  background: none;
  position: absolute;
	left: 60%;
  margin-top: 2rem;	
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 0.9rem;
  padding-right: 15px;
  text-transform: uppercase;
}

.hover-underline-animation {
  position: relative;
  color: black;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: 0;
  left: 0;
  background-color: #019FCB;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.new li {
	list-style: none;
}

.new li a{
	color: #333;
}

 /*フッター
---------------------------------------------------------------------------*/
.page-footer {
	background-color: #17458F;
	padding-bottom: 5rem; /* フッター内の余白だけ残す */
	/* margin-top: -10%; は削除 */
}

.main-content {
	padding-bottom: 5rem; /* ← 追加して、記事がフッターにかからないようにする */
}
.footer1{
	display: flex;
}

.footer_nav{
	list-style: none;
	line-height: 3rem;
    padding-top: 10%;
	padding-left: 8%;
}

.footer_nav a{
	color: #fff;
	letter-spacing: 0.3rem;
	line-height: 7%;
}

.copyright{
	color:#fff;
	letter-spacing: 0.2rem;
	font-size: 0.9rem;
	margin-top: 2rem;
    text-align: center;
}

@media (min-width: 700px)
{
.w{
	padding-bottom: 3rem;
	}	

.title{
	padding-top: 5%;
	}			
	
}

/*ヘッダーデスクトップ*/
@media (min-width: 1030px)
{
.spmanu{
	display: none;
}	
	
.page-header{
	height: 100vh;
	margin-bottom: 5%;
	margin-top:	0;
}	

.page-header{
	background-image: url("images/news_h.jpg");
	background-size: cover;
	background-position: center;
}	
	
.container{
   display: flex;
   position: fixed;
   z-index: 1;	
   top: 7%;
   margin-left: 5%;
   margin-right: 5%;	
}	
	
.main-nav{
	display: flex;
	gap: 2rem;
	list-style: none;
}

.main-nav a{
	background: rgba(1,159,203,0.7);
	color: #ffffff;
	font-size: 0.9rem;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
    letter-spacing: 0.2rem;
}	

.icon{
	display: flex;
	position: fixed;
	gap: 1rem;
	padding: 3% 0 0 78%;
	z-index: 1;
	}
	
.sns{
	width: 2rem;
	}
	
.mail{
	width: 13rem;
	}	
	
.logo{
	opacity: 100;
	width: 25%;
	position: absolute;
	right: 4%;
	bottom: 30%;
	}	

  html, body {
    font-size: 16px; /*共通の基準となるフォントサイズ。*/
  }	
	
.list-free {
	display: flex;			/*直接の子要素を横並びに*/
    padding-top: 1%;
	flex-direction: column;	/*一旦縦並びにしておく*/
	margin-bottom: 10vw;	/*ボックスの下（外側）に空けるスペース*/
	gap: 2vw;				/*子要素同士に空けるマージン的な要素。画面幅100%＝100vwです。*/
	}	
	
.cover-info {
    background-image: url("images/wall1.svg");
  }

.news{
	margin-top: -7%;
	margin-left: 3rem;
	}	
	
.w{
	padding-top: 0;
	padding-bottom: 3rem;
	font-size: 1.2rem;
	}	

.title{
	font-size: 3rem;
	letter-spacing: 0.5rem;
	padding-top: 5%;
	}		
	
.new {
	flex: 1;
	margin: -10% 0 10% 30%;
	}
	
/*日付(dt)設定*/
.new dt {
	padding: 1rem;	/*dt内の余白*/
	margin-left: 2rem;
	margin-top: 1rem;
	color: #17458F;
	letter-spacing: 0.3rem;
    font-size: 0.9rem;
}
	
	
/*記事(dd)設定*/
.new dd {
	padding: 0 1rem 3rem 3rem;	/*上、左右、下へのdd内の余白*/
	border-bottom: 1px solid #17458F ;	/*下の線の幅、線種、色*/
	letter-spacing: 0.2rem;
}	
	
.cta {
  border: none;
  background: none;
  position: absolute;
  left: 78%;
  margin-top: 2rem;	
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
}

.hover-underline-animation {
  position: relative;
  color: black;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: 0;
  left: 0;
  background-color: #019FCB;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}	
	
	
/*デスクトップフッター*/	
.main-content {
  padding-bottom: 8rem; /* 5rem だと足りないなら増やす */
}	
	

.footer_nav{
	list-style: none;
	line-height: 3rem;
    padding-top: 10%;
	padding-left: 8%;
}

.footer_nav a{
	color: #fff;
	letter-spacing: 0.3rem;
	line-height: 7%;
}	

.copyright{
	color:#fff;
	letter-spacing: 0.2rem;
	font-size: 0.9rem;
	text-align: center;
}		
}

