@charset "utf-8";

/* Base
------------------------------------------------------------*/
html {
  font-size: 62.5%;
}


body {
  color: #000;
  font-size: 1.6rem;
  font-family: "Noto Serif", serif;
  line-height: 1.8;
  letter-spacing: 0.08em;
  background-color: #9ea8b6;
  width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
}


/* Header
  ------------------------------------------------------------*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 10px;
  z-index: 100;
}

header div.inner {
  display: flex;
  align-items: center;
}

header h1 {
  margin-left: 20px;
  flex-basis: 10%;
}

/* nav---------------------------- */
nav {
  flex-basis: 80%;
}

nav ul {
  display: flex;
  justify-content: space-around;
  padding: 10px 10px;
}

nav ul li {
  font-weight: 600;
}

nav ul li a:hover {
  border-bottom: 1px solid #000;
}

nav input {
  display: none;
}

/* home
  ------------------------------------------------------------*/

header.home {
  position: fixed;
  top: 0;
  left: auto;
  width: 100%;
  padding-top: 10px;
  z-index: 100;
}

.home_main {
  text-align: center;
  margin-top: 280px;
}

.home_main h1 img {
  margin-bottom: 30px;
}

.tap {
  text-align: center;
  font-size: 16px;
}

.tap img {
  margin-top: 8px;
}

/* kotiロゴのアニメーション----------------------------- */
@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Tapのアニメーション----------------------------- */
@keyframes tapAnimation {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
}

.tap img {
  animation-name: tapAnimation;
  animation-duration: 1.8s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}


#animation {
  animation: fade-in 3s;
  animation-fill-mode: forwards;
}


/* ページ共通　subpage
  ------------------------------------------------------------*/
.subpage_container {
  width: 85%;
  max-width: 940px;
  margin: 0 auto;
  padding-top: 40px;
  margin-top: 60px;
}

.subpage_title {
  text-align: center;
}

.subpage_main {
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 1.4rem;
  justify-content: space-around;
}


/* Contents Top
  ------------------------------------------------------------*/
/* main-image st */
.main_image {
  margin-top: 90px;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.main_img {
  z-index: 10;
  opacity: 0;
  width: 100%;
  height: 680px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 36s 0s infinite;
  animation: anime 36s 0s infinite;
}

.main_img {
  animation: anime 36s 0s infinite;
}

.main_img:nth-of-type(2) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}

.main_img:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
}

.main_img:nth-of-type(4) {
  -webkit-animation-delay: 18s;
  animation-delay: 18s;
}

.main_img:nth-of-type(5) {
  -webkit-animation-delay: 24s;
  animation-delay: 24s;
}

.main_img:nth-of-type(6) {
  -webkit-animation-delay: 30s;
  animation-delay: 30s;
}

@keyframes anime {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  17% {
    opacity: 1;
  }

  25% {
    opacity: 0;
    transform: scale(1.2);
    z-index: 9;
  }

  100% {
    opacity: 0
  }
}

/* main-image ed */

/* top-area st */
.top_area {
  width: 84%;
  max-width: 940px;
  margin: 0 auto;
  margin-top: 40px;
  text-align: center;
  font-size: 1.4rem;
}

.top_area p {
  padding: 20px;
}

/* top-area ed */


/* middle-area st */
.middle_area {
  width: 84%;
  max-width: 940px;
  margin: 0 auto;
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
}

.middle_area_container {
  flex-basis: 31%;
}

.menu_area,
.news_area,
.access_area {
  position: relative;
}

.middle_img_area {
  border-radius: 15px;
  width: 100%;
  text-align: center;
}

.middle_text {
  padding: 20px;
  font-size: 1.4rem;
  margin-bottom: 70px;
}

.more_text {
  text-align: center;
  font-size: 1.2rem;
  border: 1px solid #000;
  width: 50%;
  margin: 0 auto;
  margin-bottom: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.more_text p:hover {
  color: #ffffff;
  background-color: #000;
}

/* middle-area ed */



/* Contents news
  ------------------------------------------------------------*/
.news_contents {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

.linkpage {
  padding: 0 50px 30px 50px;
  margin-bottom: 50px;
}

.news_text_area {
  margin-top: 15px;
  width: 350px;

}

.news_text_area p {
  /* border: 1px solid #000; */
}

.news_text_area p {
  padding-top: 10px;
}

.news_text_area:hover {
  color: #555;
}

/* Contents newslink
------------------------------------------------------------*/

.newslinkpage_main {
  text-align: center;
}

.newslink_title {
  margin-top: 15px;
  border-bottom: 1px solid #000;
}

.newslink_text_area {
  padding: 0 30px;
}

.newslink_text_area p {
  margin-top: 20px;
}

.onlySPl {
  display: none;
}

/* Contents menu
  ------------------------------------------------------------*/
.menupage_main {
  padding-right: 40px;
  padding-left: 40px;
}

.food {
  text-align: center;
}

.menu_name {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.6rem;
  display: block;
  text-align: center;
  padding: 10px;
}

li {
  list-style-type: none;
}

.menu_list {
  width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.menu_list_left {
  float: left;
  padding-left: 10px;
  font-size: 1.4rem;
}

.menu_list_right {
  float: right;
}



.menu_list_note {
  padding-bottom: 20px;
  font-size: 1.2rem;
}

/* Contents access
  ------------------------------------------------------------*/

/* 車のアニメーション----------------------------- */

@keyframes scrollAnimation {

  0% {
    transform: translateX(0);
    transform-origin: top;
  }

  50% {
    transform: translateX(-800px);
    transform-origin: top;
  }

  50.1% {
    transform: translateX(-800px);
    transform-origin: bottom;
  }

  100% {
    transform: translateX(-800px);
    transform-origin: bottom;
  }
}

/* scrollAnimation end */

.car {
  animation-name: scrollAnimation;
  animation-duration: 5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}

.access_main {
  width: 83.33%;
  max-width: 940px;
  margin: 0 auto;
  margin-top: 50px;
}

.car {
  float: right;
}

.access_map {
  text-align: center;
}

.access_text_area {
  margin-top: 40px;
}

.access_text_sec {
  padding: 20px;
  width: 400px;
  margin: 0 auto;
}

.access_text_title {
  text-align: center;
  margin-bottom: 5px;
}

.access_text_deta {
  font-size: 1.4rem;
  padding-bottom: 20px;
  text-align: center;
}

/* Footer
------------------------------------------------------------*/
.footer_in {
  width: 83.33%;
  max-width: 940px;
  margin: 0 auto;
  padding-top: 280px;
}

.subpage_footer_in {
  padding-top: 50px;
}

.page_top {
  padding-bottom: 50px;
  text-align: center;
  position: relative;
}

.footer_top_img_area {
  position: absolute;
  top: 0;
  right: 10px;
  z-index: -1;
}

.footer_top_img {
  width: 40px;
  height: 71px;
}

hr {
  background-color: #000;
  height: 1px;
  border: 0;
}

.copyright {
  padding-top: 23px;
  padding-bottom: 30px;
  text-align: center;
  width: 83.33%;
  max-width: 940px;
  margin: 0 auto;
}

/* スマホのスタイル----------------------------------------------------- */
@media screen and (max-width:940px) {

  body {
    width: 100%;
  }

  .onlySP {
    display: none;
  }


  .onlySPl {
    display: block;
  }


  /* header: ----------------- */
  h1 img {
    /* width: 150px; */
    /* margin-left: -30px; */
  }

  header div.inner {
    display: block;
  }

  /* nav: --------------------- */
  nav ul {
    display: block;
    padding: 0;
  }

  nav ul li,
  nav ul li:last-child {
    border: none;
  }

  header nav ul {
    width: 100%;
  }

  nav ul {
    display: block;
  }

  /* home
  ------------------------------------------------------------*/
  .home_main {
    text-align: center;
    margin-top: 150px;
  }


  /* ページ共通　subpage
  ------------------------------------------------------------*/
  .subpage_container {
    width: 100%;
  }

  /* Contents Top
  ------------------------------------------------------------*/
  /* main-image  */
  .main_image {
    margin-top: 90px;
    height: 200px;
  }
  
  .main_img {
    height: 100%;
  }
  /* main-image ed */

  /* top-area st */
  .top_area {
    /* border: 3px solid #f00; */
    margin-top: 0px;
    font-size: 1.4rem;
  }

  .top_area {
    max-width: 100%;
  }

  .middle_area {
    width: 100%;
  }

  /* top-area ed */

  /* Contents news
  ------------------------------------------------------------*/
  .news_text_area {
    width: 100%;
    display: block;
  }

  .linkpage {
    width: 100%;
  }

  .link {
    width: 100%;
  }


  /* Contents menu
  ------------------------------------------------------------*/
  .food {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
  }

  .menu_list {
    width: 100%;
    margin-bottom: 20px;
  }


  .menu_name:nth-of-type(3) {
    margin-top: 30px;
  }

  .menu_list_left {
    font-size: 1.2rem;
  }

  .menu_list_note {
    border: 1px solid #f0f;
    padding-bottom: 20px;
    font-size: 1.2rem;
  }

  .menu_list_right {
    float: left;
    font-size: 1.2rem;
  }

  /* Contents access
  ------------------------------------------------------------*/
  .access_area {
    width: 100%;
    ;
  }

  .access_main {
    width: 100%;
    padding: 0 30px;
  }

  .access_map iframe {
    width: 100%;
  }

  .access_text_sec {
    width: 100%;
  }

  /* Contents footer
  ------------------------------------------------------------*/

  .footer_in {
    width: 100%;
  }

  .footer_top_img {
    width: 100%;
    height: 100%;
  }

  .copyright {
    width: 100%;
  }

  /* ハンバーガーメニュー st----------------- */
  /* メニューを画面上部に固定表示しています */
  .gMenu {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
  }

  /* メニューアイコンを画面右上に固定しています */
  .gMenu .menu-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    /* top: 12px; */
    top: 20px;
    padding-top: 5px;
    height: 12px;
  }

  /* メニューアイコン（三本線）の真ん中の線です */
  .gMenu .menu-icon .navicon {
    /* background: #ffc107; */
    background: #000;
    /* 色は自由に変更可能です */
    display: block;
    height: 2px;
    /* 太さ */
    width: 31px;
    /* 長さ */
    position: relative;
    transition: background .4s ease-out;
    /* 形が変わる時のアニメーション */
  }

  /* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
  .gMenu .menu-icon .navicon::before,
  .gMenu .menu-icon .navicon::after {
    /* background: #ffc107; */
    background: #000;
    /* 色は自由に変更可能です */
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out;
    /* 形が変わる時のアニメーション */
    width: 100%;
  }

  .gMenu .menu-icon .navicon::before {
    top: 10px;
  }

  /* 位置を上にずらしています */
  .gMenu .menu-icon .navicon::after {
    top: -10px;
  }

  /* 位置を下にずらしています */
  /* 表示されるメニューです */
  .gMenu .menu {
    /* background-color: rgba(255, 255, 255, 0.9); */
    background-color: rgba(100, 100, 100, 0.9);
    overflow: hidden;
    max-height: 0;
    /* ★最初は高さを0にして非表示状態に */
    transition: max-height .6s;
    /* 表示されるときのアニメーション */
    text-align: center;
  }

  /* メニュー部分のデザインです */
  .gMenu .menu li:first-of-type {
    padding-top: 50px;
  }

  .gMenu .menu li a {
    /* border: 1px solid #000; */
    display: block;
    padding: 24px 20px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .gMenu .menu li a:hover {
    background-color: #f4f4f4;
  }

  /* チェックボックスは常に非表示です */
  .gMenu .menu-btn {
    display: none;
  }

  /* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
  .gMenu .menu-btn:checked~.menu {
    /* max-height: 338px; */
    max-height: 500px;
    /* ★チェックボックスがオンの時高さを338pxにして表示させます */
    transition: max-height .6s;
  }

  /* メニューボタンの中央の線を非表示に */
  .gMenu .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
  }

  /* メニューボタンの上下の線を45度傾けて✕印を作ります */
  .gMenu .menu-btn:checked~.menu-icon .navicon::before {
    transform: rotate(-45deg);
    top: 0;
  }

  .gMenu .menu-btn:checked~.menu-icon .navicon::after {
    transform: rotate(45deg);
    top: 0;
  }

  /* ハンバーガーメニュー ed----------------- */
}

/* スマホのスタイル ed----------------------------------------------------- */