@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');

html {
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
body {
  font-size: 14px !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0px;
  padding: 0px;
}
.top_img {
  padding: 1.5rem 2rem 1rem 1rem;
}
.top_img img {
  width: 400px;
}
@media screen and (max-width: 960px) {
  .top_img img {
    Width: 100%;
  }
}

.header_link {
  padding-right: 2rem;
}


/* header ロゴとメニュー部分 */
.header_menu {
    width:100%;
    background-color:#fff;
    display:flex;
    justify-content:space-between;
    padding: 10px 2%;
    align-items:center;
    /*position:fixed;*/
    top: 0;
    left:0;
}
.header_menu ul{
    display:flex;
    list-style:none;
   justify-content: flex-end;
}
.header_menu li{
    margin-left:10px;
}
.header_menu a{
    text-decoration:none;
    color:#333;
}
.header_menu .header_nav{
    margin-left:auto; /*メニューを右端に置く方法その２*/
}
.header_menu a:hover{
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
  .header_menu {
    display:block;
    position:relative;
    justify-content:flex-start; 
  }
  
  .header_menu img {
    width: 300px; 
  }
}

/* ナビゲーション */
/*ナビゲーションを横並びに*/
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  width: 100vw;
  /*position: fixed;*/
  top: 50px;
  left: 0;
  background: rgb(238, 238, 238, .9);
  margin: 0;
}

/*2階層目以降は横並びにしない*/
nav ul ul {
  display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
  position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a {
  display: block;
  text-decoration: none;
  color: #1b1b1b;
  padding: 20px 35px;
  transition: all .3s;
}

nav ul li li a {
  padding: 10px 35px;
}

nav ul li a:hover {
  color: #000;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 25px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul {
  position: absolute;
  left: 0;
  top: 62px;
  z-index: 4;
  background: #4E5663;
  width: 240px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  margin: 0;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 1);
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: #3577CA;
}

/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul {
  top: 0;
  left: 240px;
  background: #66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active {
  background: #448ED3;
}

/* メニュー上部固定 */
.div_fixed {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
  background: #fff;
}

/* スマホ */
@media (max-width:768px) {

  h1#Logo {
    display: none;
  }

  a.top-button {
    scale: .7;
    right: 0;
  }

  ul#g-navi {
    display: none;
    width: 100%;
    z-index: 9998;
  }

  .openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: calc(50% + -13px);
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 26px;
  }

  .openbtn1 span:nth-of-type(1) {
    top: calc(31% - 1px)
  }

  .openbtn1 span:nth-of-type(2) {
    top: calc(50% - 1px)
  }

  .openbtn1 span:nth-of-type(3) {
    top: calc(69% - 1px)
  }

  .openbtn1.active span:nth-of-type(1) {
    top: 15px;
    left: 9px;
    transform: translateY(6px) rotate(-45deg);
    width: 60%
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 27px;
    left: 9px;
    transform: translateY(-6px) rotate(45deg);
    width: 60%
  }

  .openbtn1 {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    background: #2B2C36;
    border-radius: 0 0 0 7px
  }

  header#header>a {
    display: none
  }

  nav {
    padding: 0;
  }
  
  nav ul {
  top: 0;
  left: 0;
  background: rgb(238, 238, 238, 1.0);
  margin: 0;
}
  
  
  nav li.has-child ul,
  nav li.has-child ul ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible;
    /*JSで制御するため一旦表示*/
    opacity: 1;
    /*JSで制御するため一旦表示*/
    display: none;
    /*JSのslidetoggleで表示させるため非表示に*/
    transition: none;
    /*JSで制御するためCSSのアニメーションを切る*/
  }
  nav ul li a {
    border-bottom: 1px solid #ccc;
  }

  /*矢印の位置と向き*/
  nav ul li.has-child::before {
    left: 20px;
  }
  nav ul ul li.has-child::before {
    transform: rotate(135deg);
    left: 20px;
  }
  nav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }
}


/* index.html用 hero設定 */
.hero_wrap {
  /*background-color:#2B2C36;*/
  background-image: linear-gradient( 113.3deg, rgb(0, 0, 0) 6.9%, rgb(0, 7, 17) 75% );
}

.hero_in {
  height: auto;
  background: url(../img/background_pc.png) ;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  margin-bottom: 40px;
}

.header-container {
  display: flex;
  gap: 0 43px;
  width: 100%;
  margin: 0 auto;
}

.item {
  width: 100%;
}

.item > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero_in.home {
  height: 780px;
}

/*.hero_in img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}*/

.hero_in img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.hero_in.home .hero-body_in {
  color: #eee;
  font-weight: 700;
  text-shadow: 0 1px 1px #333;
}
.hero_in.home .hero-body_in p.date {
  font-family: 'Didact Gothic', sans-serif;
  font-size: 44px;
}
.hero_in.home .hero-body_in p.date span {
  font-size: 50%;
  font-weight: normal;
  font-style: normal;
}
.hero_in.home .hero-body_in div.theme {
  font-size: 30px;
  font-feature-settings: "palt";
}
.hero-body_in .container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.hero-body_in h1.title {
  color: #fff;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 1px 1px #333;
}
.hero-body_txt {
  text-align: center;
  margin-top: 20px;
}
.hero-body_bg {
  background: rgba(0, 0, 0, 0.3);
  padding: 0 1rem 0 1rem;
}
.hero-body_bg2 {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
}
@media screen and (max-width: 640px) {
  img {
    width: 100%;
  }
  .hero_in {
  height: 320px;
  background: url(../img/background_sp.png) center center;
  background-size: cover;
  padding-top: 10px;
  }
  .hero_in {
    padding-top: 0;
  }
  .hero_in.home {
    height: 340px;
  }
  .hero_in.home .hero-body_in p.date {
    font-size: 22px;
  }
  .hero_in.home .hero-body_in p.date span {
    font-size: 50%;
  }
  .hero_in.home .hero-body_in div.theme {
    font-size: 18px;
  }
  .hero-body_in {
    padding: 3rem 3rem;
  }
}
.hero-body_in {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 3rem 1.5rem;
}
.site-content2 {
  padding-top: 130px;
}
@media screen and (max-width: 767px) {
  .site-content {
    /*padding-top: 20px;*/
  }
  .site-content2 {
    padding-top: 90px;
  }
  .hero {
    padding-top: 100px;
  }
  .content_pa {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* 20240830追加 メニュー部分Address */
.menu_add_01 {
  font-weight: bold;
  font-size: .8rem;
  margin-top: .5rem;
}
.menu_add_02 {
  font-size: .7rem;
  margin-top: -.5rem;
}

footer {
	background-color: #2B2C36;
	height: auto;
	padding-top: 10px;
  padding-bottom: 10px;
	border-top: 1px solid #4E5663;
}
footer p {
	font-size: .9rem;
	text-align: center;
	color: #ccc;
}