@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background-color: #ffffff;
  color: #474747;
  font-family: sans-serif;
  ;
}

@media screen and (min-width:1024px) {

  .wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    /* text-align: center; */
  }
}

/* -----------------------------------
フォントサイズ
--------------------------------------*/
h3,
#oshi {
  /* 最小20px(width375px)、最大30px(width1000px) */
  /* font-size: clamp(1rem, 0.475rem + 2.24vw, 1.875rem); */
  font-size: clamp(1.25rem, 0.875rem + 1.6vw, 1.875rem);
}

h4,
.about p {
  /* 最小16px(width375px)、最大20px(width1000px) */
  font-size: clamp(1rem, 0.85rem + 0.64vw, 1.25rem);
  ;
}

#ikimono,
p,
.nav_item {
  /* 最小15px(width375px)、最大16px(width1000px) */
  font-size: clamp(0.9375rem, 0.9rem + 0.16vw, 1rem);
}

address {
  /* 最小10px(width375px)、最大14px(width1000px) */
  font-size: clamp(0.625rem, 0.475rem + 0.64vw, 0.875rem);
}

/*【ベースCSS(sp)】 */
/*--------------------------------------------
header 
---------------------------------------------- */
header {
  width: 100%;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  display: flex;
  justify-content: flex-end;
  z-index: 100;
  position: fixed;
}

.head:first-child {
  margin-right: auto;
}

@media screen and (min-width:1024px) {
  header {
    display: flex;
    max-width: 1000px;
    height: 58px;
    background-color: #ffffff;
    position: fixed;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
  }
}

/*--- ロゴ ------------------------------------*/
.logo {
  display: flex;
  position: absolute;
  /* position: fixed; */
  top: 0;
  padding: 0;
  width: 110px;

  border-radius: 5%;
  z-index: 98;
}

@media screen and (min-width:1024px) {

  /* ロゴ */
  .logo {
    height: 58px;
    background-color: #ffffff;
  }
}

/*---ハンバーガーメニュー------------------------*/
.nav {
  display: flex;
  position: absolute;
  /* text-align: right; */
  /* position: fixed; */
  /* justify-content: right; */
}

/* チェックボックス非表示 */
.drawer {
  display: none;
}

/* ハンバーガーアイコンの位置 */
.drawer_open {
  display: flex;
  /* position: fixed; */
  margin: 0 0 0 auto;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  /* ↓相対的位置　親要素 */
  position: relative;
  /* ↓重なり順を一番上にする */
  z-index: 100;
  cursor: pointer;
  /*ボタンに影を付ける*/
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  /*ボタンを円形に*/
  border-radius: 50%;
  background-color: #ffffff;
}

/* ハンバーガーメニューのアイコン 疑似クラス*/
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  /* ↓contentがないと動かない */
  content: '';
  /* 太さ */
  height: 3px;
  /* 長さ */
  width: 25px;
  /* 角丸 */
  border: radius 20px;
  /* 色 */
  background: #fc8414;
  /*動き秒*/
  transition: 0.5s;
  /* 親要素の中の適所にいて */
  position: absolute;
}

/* 上の線の位置 */
.drawer_open span:before {
  bottom: 8px;
}

/* 下の線の位置 */
.drawer_open span:after {
  top: 8px;
}

/* クリックしたら真ん中の線を透明に「~」セレクタ */
#drawer_input:checked~.drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* クリックしたら×になる　上下回転「~」セレクタ */
#drawer_input:checked~.drawer_open span::before {
  bottom: 0;
  /* 45度回転 */
  transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
  top: 0;
  /* -45度回転 */
  transform: rotate(-45deg);
}

@media screen and (max-width:767px) {

  /* メニューの位置*/
  .nav_content {
    width: 70%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面のトップに出す※でもハンバーガーの下 */
    z-index: 99;
    background: rgba(253, 253, 253, 0.938);
    transition: .5s;
  }
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* クリックしたらメニューを表示 「~」セレクタ*/
#drawer_input:checked~.nav_content {
  left: 0;
}

/* 各メニューの文字*/
.nav_content li a {
  display: block;
  padding-top: 35px;
  padding-bottom: 6px;
  padding-left: 5px;
  padding-right: 5px;
  color: #7a3e0e;
  font-weight: bold;
  text-decoration-line: none;
  overflow: hidden;
}

/* 各メニューの透過 */
.nav_content li a:hover {
  opacity: 0.7;
}

@media screen and (min-width:1024px) {
  #nav {
    display: flex;
    /* position: fixed; */
    justify-content: end;
  }

  /* ハンバーガーアイコンを消す */
  .drawer_open {
    display: none;
  }

  /* メニューを出す */
  #nav_content {
    height: 30px;
    right: 0;
  }

  .nav_content {
    display: flex;
    align-items: center;
    background: #ffffff;
  }

  .nav_list {
    display: flex;
    padding: 0 5px;
    margin: 0;
    /* position: fixed; */
    z-index: 100;
    left: 400px;
    background-color: #ffffff;
  }

  .nav_item {
    display: flex;
    margin: 5px;
    justify-content: space-between;
  }

}

/*----------------------------------------------
 body
-----------------------------------------------*/
/* ---   パンくず ----------------------------------- */
#breadcrumb {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  position: fixed;
  top: 58px;
  height: 50;
}

#breadcrumb ul {
  display: flex;
  list-style-type: none;
  margin: 0 0 0 10px;
  padding: 0;
  background-color: #ffffff;
}

#breadcrumb li:not(:last-of-type)::after {
  content: "›";
  margin: 0 .6em;
  /* 記号の左右の余白 */
  color: #ec2d2d;
  /* 記号の色 */
}

#breadcrumb ul a {
  color: rgb(172, 79, 3);
}

/* ---　top下げ-------------------------------------------- */
.contents {
  display: block;
  margin-top: 120px;
}

/* -- spスライドショー--------------------------*/
@media screen and (max-width:767px) {
  .sp {
    display: flex;
    position: relative;
    justify-content: center;
    width: 100%;
    height: 600px;
    overflow: hidden;
  }

  .photo-sp {
    /* 絶対位置で配置 */
    position: absolute;
    /* 左上に配置 */
    top: 0;
    left: 50;
    /* 画像の透明度を初期値0に設定して非表示にする */
    opacity: 0;
    /* 2秒のアニメーション */
    transition: all 2s ease;
  }

  /* activeクラスの順番がきたら透明度1にして表示する */
  .photo-sp.active {
    opacity: 1;
  }

  .pc {
    display: block;
    display: none;
  }
}

/* -- pc&tb　スライドショー -----------------------*/
@media screen and (min-width:768px) {
  .pc {
    display: flex;
    position: relative;
    justify-content: center;
    width: 100%;
    height: 600px;
    overflow: hidden;
  }

  .photo {
    position: absolute;
    top: 0;
    left: 50;
    /* 画像の透明度を初期値0に設定して非表示にする */
    opacity: 0;
    /* 2秒のアニメーション */
    transition: all 2s ease;
  }

  /* activeクラスの順番がきたら透明度1にして表示する */
  .photo.active {
    opacity: 1;
  }

  .sp {
    display: block;
    display: none;
  }
}

/*--- コピ ー ---------------------------------*/
.mainvisual {
  position: relative;
  display: flex;
  /* text-align: center; */
  top: 0;
  margin: 0;
  padding: 0;
  height: auto;
}

/* フォントカラーと位置*/
h2 {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 5%;
  text-align: center;
  align-items: center;
}

#oshi {
  color: rgb(179, 26, 64);
  font-weight: bold;
  text-shadow: 1px 1px 2px #ffffff,
    0 0 1em #ffffff, 0 0 0.2em #ffffff;
}

#ikimono {
  color: rgb(175, 45, 13);
  font-weight: bold;
  text-shadow: 1px 1px 2px #ffffff,
    0 0 1em #ffffff, 0 0 0.2em #ffffff;
}

#mega {
  width: 110px;
  margin-top: 5px;
}

@media screen and (max-width:767px) {
  .inner-pc {
    display: none;
  }
}

/* -- pc ------*/
@media screen and (min-width:768px) {
  h2 {
    position: absolute;
    display: flex;
    flex-flow: column;
    padding-right: 8%;
    top: 20%;
    right: 0;
    text-align: center;
    align-items: center;
  }

  #mega {
    width: 200px;
    margin-top: 10px;
  }
}

/*-- 活動内容　about -------------------------- */
#about {
  display: block;
  margin: 20px 10px;
  padding: 0;
  /* line-height: 100%; */

}

#about p {
  margin: 0;
}

h3 {
  color: #c2441e;
  margin: 0;
}

.about {
  font-weight: bold;
  text-align: center;
}

@media screen and (min-width:768px) {
  .aboutp {
    text-align: center;
  }
}

/*--- メインメニュー --------------------------*/
#menu {
  display: flex;
}

#menu ul {
  display: flex;
  flex-wrap: wrap;
  /* flex-flow: column; */
  padding: 0;
  margin: 0 5px;
  justify-content: space-around;

}

#menu li {
  list-style-type: none;
  width: 170px;
  /* background-color: #e7eece; */
  /* border-radius: 10%; */
  /* text-align: center; */
  /* margin: 5px; */
}

.content-title {
  margin: 0;
}


#menu ul li p {
  margin: 5px;
  padding: 0;
}


#merit {
  /* display: flex; */
  margin: 50px 10px;
  text-align: center;
  height: 100px;
}

.meri {
  color: #ec2d2d;
  margin: 0;
  /* height: 50px; */
}

@media screen and (min-width:1024px) {
  #contents {
    overflow: hidden;
  }

  #menu {
    float: left;
    width: 1000px;
    align-items: center;
    justify-content: center;
  }

  #menu ul {
    display: flex;
    justify-content: space-between;
  }
}

/*----------------------------------------------
  footer
------------------------------------------------*/
footer {
  margin: 10px;
  text-align: center;
}

/*--- topに戻る -------------------------------*/
.pagetop {
  width: 100px;
}

.to-pagetop .pagetop {
  position: fixed;
  /* 画面100%から、指定した1000pxを引いて、2で割ったところを右側の起点にする */
  right: calc((100% - 1000px) / 2);
  bottom: 5px;
}

address {
  margin-top: 50px;
}