@charset "utf-8";
/* ---------------------------------------------------------
common
----------------------------------------------------------*/
*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;/* 10px */
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}
body {
  color: #000;
  background-color: #fff;
  font-size: 1.4rem;/* 14px */
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
/*  word-break : break-all;*/
  min-height: 100vh;
  min-height: -webkit-fill-available;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}


body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}


a {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  transition: 0.3s;
}
img {
  width: 100%;
}
.wrapper {
  width: 100%;
  min-width: 28rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.index-wrapper {
  display:block;
  background-image:url(../img/top-bg.jpg); /*背景画像*/
  background-attachment: fixed; /*背景画像を固定*/
  background-repeat:no-repeat; /*背景画像リピートしない*/
  background-size:cover; /*背景画像を画面サイズいっぱいに表示*/
  background-position:center top; /*背景画像の開始位置*/
  width:100%; /*横幅いっぱいに*/
}
.inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
}
/* ---------------------------------------------------------
固定トップに戻るボタン
----------------------------------------------------------*/
.button-top {
  /* ①ボタンの色と文字の色とサイズ */
  background-color: #fff;
  color: #000;
  z-index: 9999;
  font-size: 1.5em;
  border: solid 1px #000;
  border-radius: 50%;

  /* ②ボタンのサイズと角丸 */
  width: 3rem;
  height: 3rem;

  /* ③次に作る上向きの三角と、TOPの文字の位置を揃えるためのcss */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  position: fixed;
  right: 0;
  bottom: 7.5vh;

  cursor: pointer;
  transition: .1s;

  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}

.button-top:hover {
  opacity: 0.7;
  transition: 0.3s;
}
/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}

/*sidebar*/
main {
  position: relative;
}
/*header*/
#header {
  position: fixed;
  background-color: #fff;
  width: 100%;
  z-index:50;
}
.header-main {
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.header-left img {
  width: 125px;
}
#side-bar.fixed {
  position: fixed;
  top: 10vh;
  right: 5px;
  width: 5vw;
  max-width: 120px;
  z-index: 1000;
}
.side-bar-wrap {
  position: absolute;
  right: 5px;
  width: 5vw;
  max-width: 120px;
}

/* ボタン設定 */
.openbtn {
  position: relative;
  z-index: 9999;
  cursor: pointer;
  width: 30px;
  height: 45px;
  margin: 0 auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

/* ハンバーガーボタンの状態 */
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background-color: #000;
  width: 100%;
}
.openbtn span:nth-of-type(1) { top: 1.2rem; }
.openbtn span:nth-of-type(2) { top: 2rem; }
.openbtn span:nth-of-type(3) { top: 2.8rem; }

/* アクティブ状態の変化 */
.openbtn.active span:nth-of-type(1) {
  top: 1.8rem;
  transform: translateY(6px) rotate(-45deg);
  background-color: #000;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 3rem;
  transform: translateY(-6px) rotate(45deg);
  background-color: #000;
}

.nav-logo {
  padding: 10px;
  background-color: #fff;
}
.nav-logo img {
  width: 125px;
}

/* メニューナビ設定 */
.menu-nav {
  position: fixed;
  z-index: 9000;
  top: 0;
  right: -120%; /* 初期状態で右外に隠す */
  width: 100%;
  height: 100vh;
  background-color: #E50012;
  transition: all 0.8s ease;
  overflow-y: auto;              /* 新規追加 */
  -webkit-overflow-scrolling: touch;  /* 新規追加 */
}

/* ソートされた状態のクラス */
.menu-nav.panelactive {
  right: 0; /* メニューが表示される */
}

.menu-nav-list {
  height: 100%;              /* 新規追加 */
  overflow-y: auto;          /* 新規追加 */
  padding: 20px 0;          /* 新規追加 */
}

/* メニューナビ設定 */
.menu-nav {
  position: fixed;
  z-index: 9990; /* z-indexを上げる */
  top: 0;
  right: -120%;
  width: 100%;
  min-height: 100vh;
  background-color: #E50012;
  transition: all 0.8s ease;
  display: flex;
  flex-direction: column;
}

/* メニューが表示された状態 */
.menu-nav.panelactive {
  right: 0;
}

/* スマホ用メニューリスト設定 */
@media screen and (max-width: 769px) {
  .menu-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-nav-list {
    padding: 20px 0;
    margin-top: 10px;
  }

  .menu-nav-list > ul {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 150px;
  }
}

/* PC用メニューリスト設定 */
@media not screen and (max-width: 769px) {
  .menu-nav {
    top: 0;
    height: 100vh;
  }

  .menu-nav-list {
    padding: 40px 0;
    margin-top: 10px;
  }
  
  .menu-nav-list > ul {
    width: 80%;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
  }
}

/* メニューリストの共通スタイル */
.menu-nav-list li {
  text-align: center;
  border-bottom: dotted 1px #fff;
}

.menu-nav-list a {
  color: #fff;
  padding: 7.5px 0;
  display: block;
}


/*fv*/
.fv img {
  vertical-align: middle;
}
/*nav*/
#nav.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-contents {
  background-color: #EE7800;
  color: #fff;
}
.nav-contents-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.nav-contents-list >  li {
  font-size: min(16px, 1.6vw);
  position: relative;
  flex: 1;
  text-align: center;
  font-weight: bold;
}
.nav-contents-list > li::before {
  content: "";
  width: 1px;
  height: 30px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.nav-contents-list > li:last-of-type::after {
  content: "";
  width: 1px;
  height: 30px;
  background-color: #fff;
  position: absolute;
  right: 0; /* 右側に配置します */
  top: 50%;
  transform: translateY(-50%);
}
.nav-contents a {
  color: #fff;
  text-align: center;
  display: block;
  padding: 20px 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.has-submenu {
  position: relative; /* 親 li を基準に子 ul を配置する */
}

.has-submenu ul {
  position: absolute;
  top: 100%; /* 親 li の下に表示 */
  left: 0;
  background-color: #EE7800;
  padding-top: 20px;
  display: none; /* 初期状態では非表示 */
  z-index: 10;
}

.has-submenu:hover ul {
  display: block; /* ホバーで表示 */
}

.submenu-item a {
  display: block;
  color: #fff;
}

.top-lineup {
  padding: 50px 0 100px;
  background-color: #fff;
}
.fv2 img {
  vertical-align: middle;
}
.top-lineup-img {
  margin: 0 auto 20px;
}
/*swiper*/
.sw {
  padding-bottom: 30px;
  background-color: #fff;
}
.grid-wrap {
  background-color: #fff;
  padding-bottom: 30px;
}
.grid-lineup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.link-lineup {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
/*news*/
.news-section {
  background-color: #F7D39A;
  padding: 30px 0;
}
.news-inner {
  max-width: 850px;
  width: 90%;
  margin: 0 auto;
}
.news-inner h2 {
  text-align: center;
  font-weight: normal;
  font-size: 25px;
  margin-bottom: 30px;
}
.news-inner h2 span {
  font-weight: bold;
  font-size: 0.75em;
}
.news-list {
  margin-bottom: 10px;
}
.news-list a {
  color: #000;
  padding: 50px;
}
.news-list li {
  border-top: solid #000 1px;
}
.news-list li:last-of-type {
  border-bottom: solid #000 1px;
}
.date{
  background-color: #fff;
  padding: 5px;
}
.news-list-link {
  text-align: right;
}
.news-list-link a {
  color: #000;
}
.empty {
  background-color: rgba(0,0,0,0);
  height: 400px;
}
.empty-sp {
  margin-bottom: 50px;
}
.empty-sp img {
  vertical-align: middle;
}
/*insta-banner*/
.insta-banner {
  padding: 50px 0;
}
/*grid-lineup2*/
.gl-2 {
  padding-top: 100px;
  background-color: #fff;
}
.grid-lineup2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 50px;
}
.sdgs-p span {
  font-weight: bold;
  font-size: 1.5em;
}
.sdgs-p {
  margin-bottom: 80px;
}
.sdgs-p-img {
  max-width: 560px;
}
.sdgs-img {
  padding-bottom: 50px;
  background-color: #fff;
}
.sdgs-detail {
  background-color: #F9F9CF;
  padding: 60px 0;
  margin-bottom: 30px;
}
/*footer*/
.footer-main {
  background-color: #E50012;
  color: #fff;
  padding: 30px 0;
  font-weight: bold;
}
.footer-main a {
  color: #fff;
}
.footer-address {
  max-width: 850px;
  margin: 0 auto;
}
.footer-tel {
  font-size: 1.75em;
}
.footer-tel span {
  font-size: 0.5em;
}
.copyright {
  font-size: 12px;
  text-align: center;
  padding: 20px 0;
  background-color: #fff;
}
.copyright a {
  color: #000;
}
#sdgs {
  padding-top: 80px;
  margin-top: -80px;
}
#news1,#news2,#news3 {
  padding-top: 80px;
  margin-top: -80px;
}
.nav-contents-list li {
  position: relative;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.has-submenu li:hover {
  background:rgb(193, 97, 0);
}

.nav-contents-list > li {
  display: inline-block;
}

.has-submenu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.nav-contents-list li:hover > ul {
  display: block;
  background-color: #EE7800;
  width: 100%;
}
.side-contact {
  width: 100%;
  height: 100%;
  background-color: #E50012;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-contact a {
  text-align: center;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
}
.insta-banner-wrap {
  background-color: #fff;
}
/* ---------------------------------------------------------
769px未満
----------------------------------------------------------*/
@media  screen and (max-width:769px) {
  .only-pc {
    display: none;
  }
  .index-wrapper {
    display:block;
    background-image:url(../img/top-bg.jpg); /*背景画像*/
    background-attachment: fixed; /*背景画像を固定*/
    background-repeat:no-repeat; /*背景画像リピートしない*/
    background-size:cover; /*背景画像を画面サイズいっぱいに表示*/
    background-position: right 10% bottom 45%;
    width:100%; /*横幅いっぱいに*/
  }
  /*news*/
  .date{
    background-color: #fff;
    padding: 5px;
    display: inline-block;
    margin-bottom: 10px;
  }
  .news-list-item {
    margin-left: 10px;
  }
  .fb {
    display: flex;
    gap: 5px;
    position: fixed;
    right: 0;
    z-index: 1000;
    bottom: 0;
    width: 100%;
  }
  .fb > div {
    flex: 1;
    font-size: 1.25em;
    font-weight: bold;
  }
  .fb a {
    background-color: #EE7800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .fb-insta {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .fb-insta div {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .fb-insta img {
    width: 25px;
    height: 25px;
    object-fit: cover;
  }
  /*footer*/
  .footer-nav {
    width: 80%;
    margin: 0 auto 20px;
  }
  .footer-nav li {
    margin-bottom: 5px;
  }
  .footer-address {
    width: 80%;
    margin: 0 auto;
  }
  .copyright {
    padding-bottom: 70px;
  }
}
/* ---------------------------------------------------------
769px以上
----------------------------------------------------------*/
@media not screen and (max-width:769px) {
  body {
    font-size: 1.6rem;/* 16px */
  }
  a[href^="tel:"] {
    pointer-events: none;
  }
  .only-sp {
    display: none;
  }
  .openbtn {
    margin: 25px auto 0;
  }
  .openbtn::before {
    top: -10px;
    position: relative;
    content: 'MENU';
    color: #000;
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .button-top {
    /* ①ボタンの色と文字の色とサイズ */
    background-color: #fff;
    color: #000;
    z-index: 9999;
    font-size: 1.5em;
    border: solid 1px #000;
    border-radius: 50%;
  
    /* ②ボタンのサイズと角丸 */
    width: 4rem;
    height: 4rem;
  
    /* ③次に作る上向きの三角と、TOPの文字の位置を揃えるためのcss */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  
    position: fixed;
    right: 7.5vw;
    bottom: 5vh;
  
    cursor: pointer;
    transition: .1s;
  
    /*デフォルトで非表示にする*/
    opacity: 0;
    visibility: hidden;
  }
  /* メニューリストスタイル */
  .menu-nav-list >  ul {
    width: 80%;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 40px auto;
    z-index: 9000;
    top: 0;
  }

  /*top-lineup*/
  .top-lineup {
    padding: 100px 0;
  }
  .top-lineup-img {
    width: 70%;
    margin: 0 auto 50px;
  }

  /*grid-lineup*/
  .sw {
    padding-bottom: 60px;
  }
  .grid-wrap {
    padding-bottom: 50px;
  }
  .grid-lineup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  .link-lineup {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
  }
  /*news*/
  .news-section {
    padding: 85px 0;
  }
  .news-inner h2 {
    font-size: 40px;
    margin-bottom: 50px;
  }
  .news-list-item {
    display: flex;
    margin-left: 50px;
    align-items: center;
    gap: 50px;
  }
  .news-list-item:nth-child(1) {
    flex:1;
  }
  .news-list-item:nth-child(2) {
    flex:2;
  }
  .date{
    background-color: #fff;
    padding: 15px;
  }
  /*grid-lineup2*/
  .grid-lineup2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 100px;
  }
  /*insta-banner*/
  .insta-banner {
    padding: 100px 0;
  }
  .sdgs-img {
    padding-bottom: 150px;
  }
  /*footer*/
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    max-width: 850px;
    font-size: 0.8em;
    margin: 0 auto;
    row-gap: 10px;
    margin-bottom: 40px;
  }
  #sdgs {
    padding-top: 150px;
    margin-top: -150px;
  }
  #news1,#news2,#news3 {
    padding-top: 150px;
    margin-top: -150px;
  }
  .footer-tel-wrap {
    display: flex;
    justify-content: space-between;
  }
}
