@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');
/*ナビゲーションの箱 */
body{
    margin:0;
    padding:0;
}

 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 }
 
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 300px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}
{
  margin: 0;
  padding: -50px;
 }

header{
    width:100%;
    background-color:#114cb2;
    height: 100px;
    display:flex;
    justify-content:space-between; 
    margin: 0;
    padding: 0;
    align-items:center;
　　　position:fixed; 
    top:0;  
    left:0;
}
gazou {
  height: 40px;
  width: 200px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: white;
  text-decoration: none;
}
/*ナビゲーションのスタイル*/
.header-nav {
  margin: 0px 5% 0;
}
.header-nav ul {
  display:-webkit-box;
  display:-ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.header-nav ul li {
    font-size: 22px;
    font-family:'M PLUS Rounded 1c', sans-serif;
    margin-left:40px;
}
.header-nav ul li a {
  position: relative;
}
.header-nav ul li a::after {
  position: absolute;
  content: "";
  display: block;
  height: 2px;
  background-color: white;
  bottom: -15px;
  left: 0;
  width: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.header-nav ul li a:hover::after {
  width: 100%;
}

{
  margin: 0;
  padding: 0;
 }
.mv {
  width: 100%;
  height: 700px;
  position: relative;
  padding: 0px;
  margin-bottom: 0px;
  display: block;
  border-radius: 0px;
}
.item {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 125%;
  opacity: 0;
  animation: img-change 15s infinite;
  border-radius: 0px;
}
.item:nth-child(1) {
  animation-delay: 0s;
}
.item:nth-child(2) {
  animation-delay: 5s;
}
.item:nth-child(3) {
  animation-delay: 10s;
}

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

@keyframes img-change {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.home #logo img {
   width: 900px; /*幅*/
   height: auto;
   padding-left: 0;
   margin: 0px;
   position: absolute; 
   left: 21%; 
   top: 40%; 
}
/* h1見出し */
h1 {
  /* 文字の大きさ */
  font-size: 0px;
  /* 文字の種類 */
  font-family:'M PLUS Rounded 1c', sans-serif;
  /* 文字の色 */
  color: royalblue;
  /* 文字の整列 */
  text-align: center;
}

/* ===== お店紹介のスタイル ===== */
/* セクション */
section {
  /* 背景の色 */
  background-color: #fcfbb6;
  margin-bottom: 0px;
  /* 内がわの余白 */
  padding: 20px;
  /* 文字の整列 */
  text-align: left;
}
.men {
  font-size: 40px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  color: #00579B;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列のレイアウト */
  grid-gap: 20px; /* グリッドアイテム間の余白 */
  padding 40px;
  margin: 10px 80px;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px; /* 内側の余白 */
  display: flex; /* Flexbox を使用 */
  align-items: center; /* アイテムを縦方向中央に配置 */
}

.grid-item .mozi {
  font-size: 25px;
  margin: 10px; /* 説明文と画像の間隔 */
  flex-grow: 1; /* 利用可能なスペースを全て埋める */
  text-align: left; /* テキストを左揃え */
}

.grid-item img.aikon {
  width: 100px; /* 画像の幅 */
  height: auto; /* 画像の高さ（自動調整） */
  margin-left: auto; /* 左側に自動的にマージンを設定し、右寄せにする */
}


/* h2見出し */
h2 {
  /* 文字の色 */
  color: #00579B;
  /*文字の大きさ*/
  font-family:'M PLUS Rounded 1c', sans-serif;
  /* 文字の大きさ */
  font-size: 55px;
  /* 下がわの余白 */
  margin-bottom: 10px;
}
body{
}
.title {
  font-size: 40px;
  border-left-style: solid;
  border-left-width: 10px;
  padding-left: 15px;
  margin-bottom: 35px;
  margin-left: 90px;
}
.kotira {
  display: flex;.
  margin: 30px 130px 30px 130px;
  text-align: center;
  justify-content: center;
  background-color: #ebeded;
}
.img_wrap{
  width: 300px;
  height: 300px;
  margin: 50px;
  overflow: hidden;
  display: flex;.
  text-align: center;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
  border-radius: 50%;
  transition-duration: 0.3s;
}
.img_wrap img:hover{
  border-radius: 0;
  transition-duration: 0.3s;
  border-radius: 5%;
}

.int p {
  font-size: 24px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  background-color: #ffffff;
  padding: 0px;
  border-radius: 10px;
  height: 480px;
  width:600px;
  line-height: 52px;
}
.tokutyou p{
  font-size: 27px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: 200px;
  width: 900px;
  line-height: 59px;
}
/* レイアウト用の箱 */
div {
  /* レイアウトのルール */
  display: flex;
}
img {
  /* 横幅 */
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}
.sikumi {
  margin-left: 90px;
  width: 60%;
  height: 60%;
  background-color: #fcfbb6;
}
.share {
  background-color: #ebeded;
}
.nabi {
  font-size:35px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  color: #00579B;
}
.int p {
  font-size: 22px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  height: 345px;
  padding: 17px 70px;
  width: 800px;
  margin-right: 90px;
  margin-top: 0px;
}
.tokutyou p {
  font-size: 26px;
  width: 900px;
  height: 290px;
  margin-top: 0px;
  padding: 50px 30px 40px 30px;
}
.tokutyou {
  background-color: #fcfbb6;
}
.csr {
  margin-left: 90px;
}
right{
  margin: 0 0 0 1000px;
  padding: 20px;
}
/* 段落 */
p {
  /* 文字の行間 */
  line-height: 180%;
  /* 左がわの余白 */
  margin-left: 40px;
  padding: 20px;
}
.mark1 {
  background: linear-gradient(transparent 30%, #fcfbb6 0%);
}
.imges {
  width: 350px;
  height: 290px;
  margin-left: 90px;
}
.sdgs p {
  font-size:15px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color:white;
}
.mark4 {
  color: white;
  background: linear-gradient(transparent 60%, #114cb2 90%);
}
h3 {
  color:#00579B;
  font-family:'M PLUS Rounded 1c', sans-serif;
  font-size: 26px;
  line-height: 48px;
}

.sdgs {
  background-image: url(./img/byou.jpg);
  background-attachment: fixed;
  background-size: cover;
  height: 940px;
  background-position: center;
  border-radius: 0px;
}

/* ===== メニューのスタイル ===== */


/* メニューのh2見出し */
h2.sdgs-title {
  font-size: 40px;
  border-left-style: solid;
  border-left-width: 10px;
  padding-left: 15px;
  margin-bottom: 50px;
  color: white;
  margin-left: 90px;
}
.sdgs p {
color: white;
margin-left: 90px;
}
.sonota {
  font-family:'M PLUS Rounded 1c', sans-serif;
  font-size: 28px;
  color: white;
}
ul {
  display: flex;
  text-align: center;
}
.sdgs h4 {
  line-height: 70px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  font-size:30px;
}
/* カルーセル全体 */
.carousel {
  display: flex;
  justify-content: center;
}
.contains {
  width: 840px;
  height: 360px;
  overflow: hidden;
  position: relative;
  padding: 0;
  list-style: none;
}
.slide_select {
  display: none;
  text-align:center;
}
/* 各スライド */
.slide {
  width: 840px;
  height: 360px;
  position: absolute;
  opacity: 0;
}
.aikon {
  width: 300px;
  height: 300px;
}
.scroll_button {
  position: absolute;
  display: block;
  height: 30px;
  width: 30px;
  top: 50%;
  margin-top: -20px;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: #fdfdfd;
  cursor: pointer;
  opacity: 0.5;
  z-index: 3;
}
.scroll_button:hover {
  opacity: 1;
}
/* 前へ */
.scroll_prev {
  left: 15px;
  transform: rotate(-135deg);
}
/* 次へ */
.scroll_next {
  right: 15px;
  transform: rotate(45deg);
}
.move_controler {
  position: absolute;
  bottom: 20px;
  width: 100%;
  margin-left: 360px;
  margin-top: 20px;
  text-align:center;
}
.button_move {
  display: inline-block;
  text-align:center;
  height: 15px;
  width: 15px;
  margin: 20px 4px;
  border-radius: 100%;
  cursor: pointer;
  opacity: 0.5;
  z-index: 2;
}
.button_move:hover {
  opacity: 0.75;
}
.button_move {
  background-color: #fdfdfd;
}
.slide_select:nth-of-type(1):checked ~ .slide:nth-of-type(1) {
  opacity: 1;
}
.slide_select:nth-of-type(1):checked
  ~ .move_controler
  .button_move:nth-of-type(1) {
  opacity: 1;
}
.slide_select:nth-of-type(2):checked ~ .slide:nth-of-type(2) {
  opacity: 1;
}
.slide_select:nth-of-type(2):checked
  ~ .move_controler
  .button_move:nth-of-type(2) {
  opacity: 1;
}
.slide_select:nth-of-type(3):checked ~ .slide:nth-of-type(3) {
  opacity: 1;
}
.slide_select:nth-of-type(3):checked
  ~ .move_controler
  .button_move:nth-of-type(3) {
  opacity: 1;
}
.slide_select:nth-of-type(4):checked ~ .slide:nth-of-type(4) {
  opacity: 1;
}
.slide_select:nth-of-type(4):checked
  ~ .move_controler
  .button_move:nth-of-type(4) {
  opacity: 1;
}
.mozi {
  color: white;
  font-size: 38px;
  margin: 90px 70px 90px 50px;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
}


.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  color: #114cb2;
  font-weight: 1500;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #114cb2;
  border-radius: 0.5rem;
}

a.btn-border-shadow {
  padding: calc(1.5rem - 12px) 3rem 1.5rem;
  background: #fff;
}

a.btn-border-shadow:before {
  position: absolute;
  top: -6px;
  left: -6px;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 3px solid #114cb2;
  border-radius: 0.5rem;
}
a.btn-border-shadow:hover {
  padding: calc(1.5rem - 6px) 3rem;
}
a.btn-border-shadow:hover:before {
  top: 0;
  left: 0;
}
a.btn-border-shadow--color2 {
  border-radius: 100vh;
}
a.btn-border-shadow--color2:before {
  border-radius: 100vh;
  -webkit-box-shadow: 3px 3px 0 #78e5e5;
  box-shadow: 3px 3px 0 #78e5e5;
}

.pagetop {
    height: 100px;
    width: 100px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 4px #3dbceb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    
}
.pagetop__arrow {
    height: 25px;
    width: 25px;
    border-top: 4px solid #3dbceb;
    border-right: 4px solid #3dbceb;
    transform: translateY(20%) rotate(-45deg);
}
.pagetop {
  box-shadow: 0 5px 10px rgb(0 0 0 / 60%);
}
.btn-twitter {
  display: inline-block;
  padding: .6em 1em .6em 1em;
  margin: 0 0 .4em;
  background-color: #000000;
  color: #fff;
  font-size: 20px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.btn-twitter::after {
  position: absolute;
　font-family:'M PLUS Rounded 1c', sans-serif;
  font-weight: 400;
  top: 50%;
  left: .5em;
  transform: translateY(-50%);
  font-size: 1.2em;
}
.btn-line {
  display: inline-block;
  padding: .6em 1em .6em 1em;
  margin: 0 0 .4em;
  background-color: #1dcd00;
  color: #fff;
  font-size: 20px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.btn-line::after {
  position: absolute;
  font-family:'M PLUS Rounded 1c', sans-serif;
  top: 50%;
  left: .5em;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: 400;
}
.btn-facebook {
  display: inline-block;
  padding: .6em .8em .6em .8em;
  margin: 0 0 .4em;
  background-color: #315096;
  color: #fff;
  font-size: 20px;
　font-family:'M PLUS Rounded 1c', sans-serif;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.btn-facebook::after {
  position: absolute;
　font-family:'M PLUS Rounded 1c', sans-serif;
  font-weight: 400;
  top: 50%;
  left: .5em;
  transform: translateY(-50%);
  font-size: 1.2em;
}
.btn-hatena {
  display: inline-block;
  padding: .6em 1em .6em 2.5em;
  margin: 0 0 .4em;
  background-color: #008fde;
  color: #fff;
  font-size: 20px;
  font-family:'M PLUS Rounded 1c', sans-serif;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.btn-hatena::after {
  position: absolute;
  content: "B!";
  top: 50%;
  left: .5em;
  transform: translateY(-50%);
  font-family:'M PLUS Rounded 1c', sans-serif;
  font-size: 1.2em;
  font-weight: bold;
}
html {
  height: 100%;
}
/* ===== フッターのスタイル ===== */
/* フッター */
footer {
  /* 文字の色 */
  color: white;
  /* 背景の色 */
  background-color: #114cb2;
  /* 文字の整列 */
  text-align: center;
  /* 内がわの余白 */
  padding: 10px;
}