.header {
  text-align: center;
}
.h-top {
  display: flex;
  justify-content: space-between;
  margin: -10px 20px 0;
}
.h-top .h-top-logo {
  margin: 15px;
}
.h-top .h-top-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: solid 3px #70bbdd;
  border-top: none;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-left: auto;
}
.h-top .h-top-info .h-info-text p {
  margin: 1px;
}
.h-top .h-top-info .h-info-text .first-text {
  font-size: calc(5px + 1vw);
}
.h-top .h-top-info .h-info-text img {
  width: 80%;
}

.h-top .h-top-info .h-mail {
  width: 15%;
}
.h-top .h-top-info .h-mail img {
  width: 100%;
}

.h-main-logo {
  width: 100vw;
}
.h-main-logo img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .h-top {
    margin: -10px 0px 0;
  }
  .h-top .h-top-logo {
    margin: 15px;
    width: 30%;
  }
  .h-top .h-top-logo img {
    width: 100%;
  }
  .h-top .h-top-info {
    display: none;
  }
  .h-main-logo {
    margin-top: 0px;
  }
}
/***** nav ******/
.nav ul {
  list-style: none;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: flex-start;
  margin: auto 20px;
  padding: 0px;
  font-size: calc(7px + 1.3vw);
}
.nav a {
  text-decoration: none;
  display: inline-block;
  color: #fff;
  width: calc(100% / 7);
  margin: 0.5em 0;
  padding: 5px 0.5rem;
}
.nav ul li {
  display: inline-block;
  width: 100%;
  background-color: #fca3b9;
  line-height: 1;
  padding: 0.3em 5px;
  margin: 0 -10px;
  border-radius: 5px;
}
.nav ul li span {
  display: inline-block;
  width: calc(100% + 1em);
  margin: 0 -0.5em;
  font-size: calc(5px + 0.6vw);
}
.btn {
  /* ボタンの配置位置  */
  position: relative;
  top: calc(5px + 2.5vw);
  right: 16px;
  margin-left: auto;
  /* 最前面に */
  z-index: 10;
  /* ボタンの大きさ  */
  width: 48px;
  height: 48px;
  background-color: #fff;
  border: solid 1px;
  border-radius: 5px;
}

/***** 真ん中のバーガー線 *****/
.btn-line {
  display: block;
  /* バーガー線の位置基準として設定 */
  position: relative;
  /* 線の長さと高さ */
  width: 100%;
  height: 4px;
  /* バーガー線の色 */
  background-color: #555;
  transition: 0.2s;
}

/***** 上下のバーガー線 *****/
.btn-line::before,
.btn-line::after {
  content: "";
  /* 基準線と同じ大きさと色 */
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #555;
  transition: 0.5s;
}

.btn-line::before {
  /* 上の線の位置 */
  transform: translateY(-16px);
  left: 0px;
}

.btn-line::after {
  /* 下の線の位置 */
  transform: translateY(16px);
  left: 0px;
}

/***** メニューオープン時 *****/
.btn-line.open {
  /* 真ん中の線を透明に */
  background-color: transparent;
}

.btn-line.open::before,
.btn-line.open::after {
  content: "";
  background-color: #333;
  transition: 0.2s;
}

.btn-line.open::before {
  /* 上の線を傾ける */
  transform: rotate(45deg);
}

.btn-line.open::after {
  /* 上の線を傾ける */
  transform: rotate(-45deg);
}

/**************** ここまで、ハンバーガーボタンのスタイリング ****************/

/**************** 以下、メニューのスタイリング ****************/
.menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  right: -100%;
  width: 70%;
  height: auto;
  background-color: rgba(167, 148, 58, 0.7);
  color: #efefef;
  transition: 0.3s;
}

.menu-list {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200%;
}

.menu a {
  text-decoration: none;
  color: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200%;
  margin: 20px auto;
}

.menu-list:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}

/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
  position: absolute;
  right: 0;
}

/* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 769px) {
  .btn {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .nav-sec {
    display: none;
  }
}
/***** main ******/
.main {
  width: 90%;
  margin: 10px auto 50px;
}
.main .print {
  width: 40%;
  margin: 10px auto;
}
.main .print img {
  width: 100%;
}
.main .print-text {
  margin: auto;
}
.main .print-text div {
  text-align: center;
}
.main .print-text p {
  display: inline-block;
  text-align: left;
  font-size: calc(7px + 1.3vw);
}
.main .product {
  width: 100%;
}
.main .product img {
  width: 100%;
}
.main .flow {
  width: 100%;
}
.main .flow img {
  width: 100%;
}
.seihinrei-title,
.seihinrei,
.flow-title,
.flow-content {
  display: none;
}
@media screen and (max-width: 768px) {
  .main .print {
    width: 90%;
  }
  .main .print-text p {
    font-size: calc(11px + 1.3vw);
  }
  .product,
  .flow {
    display: none;
  }
  .seihinrei-title,
  .seihinrei,
  .flow-title,
  .flow-content {
    display: block;
    margin: auto;
    text-align: center;
  }
  .seihinrei-title,
  .flow-title {
    margin: 30px auto;
  }
  .seihinrei-title img,
  .flow-title img {
    width: 100%;
  }
  .seihinrei img {
    margin: 30px auto;
  }
  .flow-content {
    text-align: center;
  }
  .flow-6 img {
    width: 300px;
  }
}

/***** footer ******/
footer {
  width: 100vw;
  margin-bottom: -10px;
  background-color: #4cb1d3;
}
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 30px;
}
.f-logo img {
  width: 120%;
  text-align: right;
}
.f-content {
  color: #fff;
}
.f-privacy {
  align-self: flex-end;
}
.f-nav ul {
  display: flex;
  list-style: none;
  padding: 0px;
  align-items: center;
  margin-bottom: 40px;
}
.f-nav ul :last-child {
  border-right: none;
}
.f-nav ul li {
  display: block;
}
.f-nav ul a {
  display: block;
  text-decoration: none;
  text-align: center;
  color: #fff;
  font-size: calc(7px + 1vw);
  line-height: 1;
  padding: 5px;
  border-right: solid 3px #fff;
  height: 20px;
}
.f-nav ul a .up {
  margin-top: -10px;
}
.f-nav ul li span {
  font-size: calc(5px + 0.6vw);
}
.f-content .f-address .corp {
  width: 60%;
}
.f-content .f-address .corp img {
  width: 100%;
}
.f-address p {
  line-height: 1.5em;
  margin: 0px;
}
.f-privacy .privacy-image {
  width: 100%;
  text-align: center;
}
.f-privacy .privacy-image a img {
  width: 60%;
}
.f-privacy p {
  font-size: calc(5px + 0.8vw);
  text-align: center;
  margin-top: 0px;
  color: #fff;
}

@media screen and (max-width: 810px) {
  .footer {
    flex-direction: column;
  }
  .f-nav ul {
    flex-direction: column;
  }
  .f-nav ul a {
    border: none;
    border-bottom: solid 3px #fff;
  }
  .f-nav ul a .up {
    margin-top: 0px;
    line-height: 0.7rem;
  }
  .f-content .f-address {
    text-align: center;
    margin-bottom: 20px;
  }
  .f-content .f-address .corp {
    margin: auto;
  }
  .f-privacy .privacy-image {
    width: 80%;
    margin: auto;
  }
  .f-privacy .privacy-image img {
    width: 100%;
  }
}
