html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS PGothic", "sans-serif";
  line-height: 1.5;
  font-feature-settings: "palt";
}

img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}


*:after { display:block; clear:both; }

body { width:100%; }


.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background: #fff;
  position: relative;
}
  
/* チェックボックス非表示 */
.drawer_hidden {
  display: none;
}

.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 60px;
  top: 55px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* アイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 5px;
  width: 45px;
  /*border-radius: 3px;*/
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の位置調整 */
.drawer_open span:before {
  bottom: 15px;
}

/* 三本線の一番下の位置調整 */
.drawer_open span:after {
  top: 15px;
}

/* クリック後真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* クリック後×印、上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgb(110, 110, 110);
  transition: .5s;
  text-align: center;
  padding-top: 20px;
}

/* メニュー黒点 */
.nav_list {
  list-style: none;
  margin-top: 10%;
  padding: 0;
  font-size: 26px;
}

.nav_item li {
  padding-bottom: 5%;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 3%;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
  
}


/* Callout_top */
.callout_top {
  display: table;
  width: 100%;
  height: 700px;
  color: #fff;
  background: url(../img/main/bg_top.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}


.main-txt {
  text-align: center;
  margin-top: 5%;
}

.main-txt p {
  margin-top: 2%;
  line-height: 1.5em;
}


.link {
  text-align: center;
  margin-top: 7%;
}

.box {
  width: fit-content;
  margin: 0 auto;
}

.box figure {
  margin: 0;
}

.link-txt {
	text-align:left;
  margin-top: 2%;
	margin-bottom: 6%;
}

/* footer-navi */
.footer{
  margin-top: 70px;
}

.footer-icon {
  max-width: 100%;
  padding: 30px;
  text-align:center;
}

.img-twitter {
  margin-bottom: 2%;
}
/* ------------------------------ */

/* 2 */
.header2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 55px 20px;
  background: #000;
  position: relative;
}

#triangleLeft{
  width: 0;
  height: 0;
  border-right: 25px solid #fff;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  margin-top: 73%;
  margin-right: 10px;
}

.triangle {
  display: flex;
}

/* もどる */
.back {  
  position: relative;
  position: absolute;
  top: 0;
  left: 0;
}

.back p {
  font-size: 20px;
  color: #fff;
  margin-top: 53%;
}

a { text-decoration:none; }

.settingtitle {
  text-align:center;
  font-size: 30px;
  margin-top: 5%;
  margin-bottom: -5%;
}

.txt {
  text-align:center;
  font-size: 30px;
  margin-top: 5%;
  margin-bottom: -5%;
  margin-top: -3%;
}

.photo {
  width: 1080px;
  margin: 0 auto;
}

.box1 {
  padding: 0;
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  margin-top: 150px;
  margin-bottom: 80px;
}

.box1 li {
  margin: 10px 0;
}

.box1 li img {
  width: 195px;
}

.img-right {
  margin-right: 26px;
}

li{
  list-style:none;
}

.pic_frame {
  text-align: center;
}

/* 3 */
.txt1 {
  text-align:center;
  font-size: 23px;
  margin-bottom: -1%;  
}

.txt2 {
  text-align:center;
  font-size: 18px;
  margin-bottom: 7%;
}

.txtbox {
  width: 505px;
  margin: 0 auto;
}


.detail {
  width: 625px;
  margin: 0 auto;
}

.detail-box1 {
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 10%;
  margin-bottom: 80px;
}

.detail-box1 li {
  margin: 7px 0;
}

.detail-box1 li img {
  width: 195px;

}

/* ------------------------------ */
@media only screen and (min-width:480px) and (max-width:1000px) {
  .photo {
    width: 90%;
    margin: 0 5%;
  }
  
  .box1 li img {
    width: 126px;
  }
  }
  
  
  @media only screen and (min-width:480px) and (max-width:800px) {
  .box1 li img {
    width: 117px;
  }
  }

@media only screen and (min-width:1px) and (max-width:479px) {

.main-txt {
  text-align: center;
  margin-top: 15%;
}

.main-txt p {
  width: 80%; 
  margin: 0 auto;
  margin-top: 5%;
}

.link {
  margin-top: 13%;
}

.drawer_open {
  right: 50px;
}
  
.nav_list {
  list-style: none;
  margin-top: 25%;
  padding: 0;
  font-size: 26px;
}

#triangleLeft{
  width: 0;
  height: 0;
  border-right: 25px solid #fff;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  margin-top: 60%;
  margin-right: 10px;
}

.back {
  left: -10px;
}

.back p {
  font-size: 20px;
  color: #fff;
  margin-top: 43%;
}

body {
  margin: 0;
}

.settingtitle {
  text-align: center;
  font-size: 30px;
  margin-top: 10%;
  margin-bottom: 10%;
}

.txt {
  text-align: center;
  font-size: 30px;
  margin-bottom: 10%;
}

.photo {
  width: 90%;
}
  
.box {
  width: 80%;
  margin: 0 auto;
}

.box1 {
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 95%;
  margin: 0px auto;
  }

.box1 li {
  margin: 8px 0;
  width: 46%;
}

.pic_frame {
  margin-top: 3%;
}

.img-twitter {
  margin-bottom: 8%;
}


/* 3 */
.txt {
  text-align:center;
  font-size: 30px;
  margin-top: 5%;
  margin-bottom: -5%;
  margin-top: -8%;
}

.txt1 {
  text-align: center;
  font-size: 23px;
  margin-bottom: -4%;
}

.txtbox {
  width: 80%;
  margin: 0 auto;
}

.detail {
  width: 50%;
  margin: 0px 6%;

}

.detail-box1 {
  width: 175%;
}

.detail-box1 li {
  margin: 7px 0;
  width: 30%;
}


}