/* ====================================================
 * Common Style CSS
 * ===================================================*/
@charset "utf-8";

:root {
  --max-column-width: 720px; /* 一般要素の最大幅 */
  --bg-color: #fffaf0;
  --ac-color: #548235;
  --ac-hl-color: #6e9f4d;
}

html {
  background-size: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color); /* BODY背景色 */
  min-height: 100%;
  margin: 0;
  padding: 0;
  flex-direction: column;
  display: flex;
  font-size: 18px;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "" Meiryo,
    Osaka,
    "MS PGothic",
    arial,
    helvetica,
    sans-serif "";
}

/* ヘッダー 
------------------------------------------------------------------------ */
header {
  background-color: var(--bg-color); /* ヘッダー背景色 */
  background-size: auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

div#tittle {
  width: 100%;
  position: relative;
  margin: 0px 0px 0px 0px;
}

div#tittle img {
  width: 100%;
  vertical-align: bottom;
}

p#subtitle {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  margin: 0px 5px 0px 10px;
  font-size: medium;
  text-shadow: 1px 1px 3px black;
  color: #ffffff; /* サブタイトル文字色 */
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  p#subtitle {
    font-size: small;
  }
}

p#maintitle {
  position: absolute;
  top: 20px;
  left: 0;
  text-align: left;
  margin: 0px 0px 0px 10px;
  font-size: x-large;
  font-weight: bold;
  font-family: Quicksand, sans-serif;
  text-shadow: 2px 3px 3px black;
  color: #fefefe; /* メインタイトル文字色 */
}
p#maintitle a:link,
p#maintitle a:visited {
  color: #fefefe;
  text-decoration: none;
}

#btn-hd-container {
  position: absolute;
  top: 20px;
  right: 12px;
  display: flex;
  gap: 12px;
}
#btn-hd-container a {
  display: block;
  display: flex;
  width: 136px;
  height: 136px;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #e9dcbc;
  border-bottom: solid 2px #a5956e; /* ボタン影色 */
  border-right: solid 2px #a5956e; /* ボタン影色 */
  border-radius: 68px; /* 角の丸み */
  font-family: "Moto Sans JP";
  font-weight: bold;
  font-size: 18px;
  color: #5a4e2f;
}
#btn-hd-container a:hover {
  background-color: #f4e8ca;
}
@media screen and (max-width: 768px) {
  #btn-hd-container {
    right: 100px;
  }
  #btn-hd-container a {
    width: 68px;
    height: 68px;
    border-radius: 34px; /* 角の丸み */
    font-size: 10px;
  }
}

/* PC用メニュー 
------------------------------------------------------------------------ */
#menu-main {
  width: 98%;
  margin-top: 2px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  background-color: var(--bg-color); /* PC用メニュー背景色 */
  text-align: center;
}
.square_btn {
  width: calc(100% / 7 - (15 * 2px));
  min-width: 94px;
  max-width: 200px;
  margin-bottom: 2px;
  position: relative;
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: white; /* 非アクティブボタン文字色 */
  background: #548235; /* ボタン基本色 */
  border-bottom: solid 2px #346205; /* ボタン影色 */
  border-radius: 0; /* 角の丸み */
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 2px 2px rgba(0, 0, 0, 0.19);
  font-family:
    "Hiragino Kaku Gothic ProN", Meiryo, Osaka, "MS PGothic", arial, helvetica,
    sans-serif;
  font-weight: bold;
}
.square_btn:hover {
  background: #5c8e3c; /* ボタン基本色 */
  border-bottom: solid 2px #376708; /* ボタン影色 */
}
.square_btn.disable {
  display: none;
}
.btn_color_active {
  color: rgb(248, 236, 130); /* アクティブボタン文字色 */
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  .square_btn {
    width: 42%;
  }
}
.square_btn:active {
  color: rgb(255, 230, 8); /* 押下時ボタン文字色 */
  border-bottom: none;
}
span.btn_chr_main {
  font-size: 18px;
  vertical-align: sub;
}
span.btn_chr_sub {
  font-size: 10px;
}

/* モバイル用ハンバーガーメニューボタン
------------------------------------------------------------------------ */
#hb-check {
  display: none;
}
label.hb-btn {
  display: none;
  position: fixed;
  top: 5px;
  left: calc(100vw - 75px);
  height: 45px;
  width: 45px;
  justify-content: center;
  align-items: center;
  z-index: 4;
  border-radius: 5px;
  background-color: var(--ac-color);
  border: none;
}
label.hb-btn:hover {
  background-color: var(--ac-hl-color);
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  label.hb-btn {
    display: block;
  }
}

label.hb-btn span.hb-bar,
label.hb-btn span.hb-bar:before,
label.hb-btn span.hb-bar:after {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  width: 22px;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
}
label.hb-btn span.hb-bar {
  top: 24px;
  left: 12px;
  transition: background-color 0.3s 0s;
  background-color: rgba(255, 255, 255, 1);
}
label.hb-btn span.hb-bar:before {
  transition:
    bottom 0.3s 0s,
    transform 0.3s 0s;
  bottom: 6px;
  transform: rotate(0);
}
label.hb-btn span.hb-bar:after {
  transition:
    top 0.3s 0s,
    transform 0.3s 0s;
  top: 6px;
  transform: rotate(0);
}
/* メニューオープン時　真ん中の線を透明にし、残り２本を傾けてXにする */
#hb-check:checked ~ label.hb-btn span.hb-bar {
  transition: background-color 0.2s 0s;
  background-color: rgba(255, 255, 255, 0);
}
#hb-check:checked ~ label.hb-btn span.hb-bar::before {
  transition:
    bottom 0.5s 0s,
    transform 0.5s 0s;
  bottom: 0px;
  transform: rotate(45deg);
}
#hb-check:checked ~ label.hb-btn span.hb-bar::after {
  transition:
    bottom 0.5s 0s,
    transform 0.5s 0s;
  top: 0px;
  transform: rotate(-45deg);
}

/* モバイル用サイドメニュー
------------------------------------------------------------------------ */
#menu-side {
  display: none;
  flex-flow: column;
  background-color: white;
  width: 144px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.5em;
  z-index: 3;
}
#menu-side a {
  display: block;
  width: 100%;
}
#menu-side a:link,
#menu-side a:visited {
  color: rgb(32, 78, 50);
  text-decoration: none;
}
div.sidemenu-block {
  margin-bottom: 0.7em;
}

/* メイン
------------------------------------------------------------------------ */
main {
  color: rgb(12, 22, 18);
  background-color: var(--bg-color); /* コンテンツ背景色 */
  text-align: center;
}

div.page_block {
  margin-top: 20px;
}

/* ページ初期非表示 */
div[id^="block_"] {
  display: none;
  opacity: 0;
}
div[id^="block_"].block_active {
  animation-duration: 1s;
  animation-name: showup;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}
@keyframes showup {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 中央抜きバー */
p.fadeout_border {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: gray; /* 中央抜きバー文字色及び線色 */
}
p.fadeout_border:before,
p.fadeout_border:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  display: block;
}
p.fadeout_border:before {
  margin-right: 0.4em;

  background: linear-gradient(-90deg, gray, transparent);
}
p.fadeout_border:after {
  margin-left: 0.4em;
  background: linear-gradient(90deg, gray, transparent);
}
p.fadeout_border.no_contents:before {
  margin-right: 0;
}
p.fadeout_border.no_contents:after {
  margin-left: 0;
}

/* 共通リンクボタン */
a.btn-common {
  display: block;
  max-width: 680px;
  width: 70%;
  margin: 1.2em auto;
  padding: 0.3em 1.2em;
  color: #fefefe;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
a.btn-common.green {
  background-color: #4d9476;
}
a.btn-common.green:hover {
  background-color: #5aa385;
}
a.btn-common.purple {
  background-color: #614d64;
}
a.btn-common.purple:hover {
  background-color: #77617a;
}
a.btn-common.pink {
  background-color: #db8dcc;
}
a.btn-common.pink:hover {
  background-color: #e59bd7;
}
a.btn-common.blue {
  background-color: #1e5b78;
}
a.btn-common.blue:hover {
  background-color: #4f8eab;
}

/* 各要素 */

H2,
H3,
H4 {
  display: inline-block;
  margin-bottom: 0.3em;
}
.slogan {
  font-weight: bold;
  margin: 5px;
}

span.font_mini {
  font-size: 16px;
}

@media screen and (min-width: 780px) {
  br.flex-br {
    display: none;
  }
}

span.qa_q {
  font-weight: bold;
  color: #101011; /* ＱＡ質問文字色 */
}
div.text {
  width: 65%;
  max-width: var(--max-column-width);
  margin: auto;
}
div.text.left {
  text-align: left;
}
div.text.center {
  text-align: center;
}
div.text.fwb {
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.text {
    width: 80%;
    text-align: left;
  }
}

div.box {
  width: 55%;
  max-width: var(--max-column-width);
  margin: auto;
  padding: 1.1em;
  background-color: white;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.6));
  color: black; /* BOX内文字色 */
  text-align: left;
  margin-bottom: 15px;
  white-space: pre; /* CSS 2.0 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3.0 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -hp-pre-wrap; /* HP Printers */
  word-wrap: break-word; /* IE 5+ */
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.box {
    width: 85%;
  }
}

div.keep_left {
  width: 65%;
  max-width: var(--max-column-width);
  margin: auto;
  text-align: left;
  margin-bottom: 15px;
}

div.keep_left a:link {
  color: #8094ae;
}
div.keep_left a:hover {
  color: #dc143c;
}
div.keep_left a:visited {
  color: #b8860b;
}

div.extent_frame {
  width: 95%;
  display: inline-block;
  margin: 10px;
  padding-bottom: -10px;
}

div.extent_frame img {
  width: 100%;
}

div.large_frame {
  width: 65%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.large_frame img {
  width: 100%;
  border-radius: 10px;
}

div.vertical_frame {
  width: 30%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.vertical_frame img {
  width: 100%;
  border-radius: 10px;
}

div.medium_frame {
  width: 45%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.medium_frame img {
  width: 100%;
  border-radius: 10px;
}

div.small_frame {
  width: 28%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.small_frame img {
  width: 100%;
  border-radius: 10px;
}

div.mini_frame {
  width: 13%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  padding-bottom: -10px;
  margin-bottom: 10px;
}

div.mini_frame img {
  width: 100%;
  border-radius: 10px;
  opacity: 1;
}

div.face_frame {
  width: 15%;
  max-width: var(--max-column-width);
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.face_frame img {
  width: 100%;
  border-radius: 10px;
}

div.dual_l_frame {
  width: 32%;
  max-width: var(--max-column-width);
  vertical-align: middle;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.dual_l_frame img {
  width: 100%;
  border-radius: 10px;
}

div.dual_v_frame {
  width: 24%;
  max-width: var(--max-column-width);
  vertical-align: middle;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.dual_v_frame img {
  width: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.large_frame {
    width: 80%;
  }
  div.vertical_frame {
    width: 50%;
  }
  div.mini_frame {
    width: 30%;
  }
  div.face_frame {
    width: 30%;
  }
  div.dual_l_frame {
    width: 80%;
  }
  div.dual_v_frame {
    width: 65%;
  }
}
@media screen and (max-width: 320px) {
  /* 表示領域が320px以下の場合に適用するスタイル */
  div.large_frame {
    width: 90%;
  }
  div.vertical_frame {
    width: 65%;
  }
  div.mini_frame {
    width: 30%;
  }
  div.face_frame {
    width: 45%;
  }
  div.dual_l_frame {
    width: 90%;
  }
  div.dual_v_frame {
    width: 80%;
  }
}
div.gmap_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 70%;
  max-width: var(--max-column-width);
  overflow: hidden;
}
@media screen and (min-width: 546px) {
  div.gmap_frame {
    padding-bottom: 410px;
  }
}

div.gmap_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.movie_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 70%;
  max-width: var(--max-column-width);
  overflow: hidden;
}

div.movie_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.blog_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 98%;
  max-width: var(--max-column-width);
  overflow: hidden;
}

div.blog_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

audio {
  width: 40%;
  max-width: var(--max-column-width);
  margin-bottom: 1.8em;
}

video {
  width: 70%;
  max-width: var(--max-column-width);
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  audio {
    width: 60%;
  }
  video {
    width: 80%;
  }
}
@media screen and (max-width: 320px) {
  /* 表示領域が320px以下の場合に適用するスタイル */
  audio {
    width: 80%;
  }
  video {
    width: 90%;
  }
}

.floatLeft {
  float: left;
}

.clearALL {
  clear: all;
}

/* フッター 
------------------------------------------------------------------------ */
footer {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: sticky;
  top: 100vh;
  background-color: var(--ac-color); /* フッター背景色 */
  color: white; /* フッター文字色 */
  text-align: left;
  font-size: 10px;
}

footer a:link {
  color: white;
} /* フッターリンク未読文字色 */
footer a:hover {
  color: white;
} /* フッターリンク選択文字色 */
footer a:visited {
  color: white;
} /* フッターリンク既読文字色 */

footer table {
  width: 100%;
}

footer td.left {
  text-align: right;
  vertical-align: top;
}

/* トップへ戻るボタン */
.btt {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: var(--ac-color);
  border: solid 2px #346205;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.btt:hover {
  background: var(--ac-hl-color);
}
.btt_arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #fefefe;
  border-right: 3px solid #fefefe;
  transform: translateY(20%) rotate(-45deg);
}

/* ページ個別
------------------------------------------------------------------------ */
/* 会社案内 */
table.corp tr td:first-child {
  width: 100px;
  vertical-align: top;
}

/* お問い合わせ */
span.tellnum {
  color: #1b1b1b;
  margin: -10px 0 0 0;
  font-size: 25px;
  font-family: "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", Arial, Helvetica;
  text-decoration: underline;
}
a.mailadrs {
  color: #333333;
  font-size: 19px;
}

#inquiry-form {
  width: 100%;
  height: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: none;
}

/* 特定商取引に関するご案内 */
table.ordertbl {
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  line-height: 1.5;
  background: #ffffff;
}

table.ordertbl th {
  width: 170px;
  padding: 10px;
  font-weight: bold;
  vertical-align: top;
  border-left: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffa500;
  border-bottom: 1px solid #ffa500;
  background: #f5deb3;
}

table.ordertbl td {
  max-width: 520px;
  padding: 10px;
  vertical-align: top;
}

/* はがき・礼状印刷 */
div.printsample {
  display: flex;
  gap: 8px;
}
div.printsample > img {
  width: 48%;
}
#postcard-form {
  width: 100%;
  height: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: none;
}

/* 物販 */
#calendar-form {
  width: 100%;
  height: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: none;
}

/* Webサービス */
div.webbox {
  display: inline-block;
  width: 100%;
  max-width: 780px;
  margin: 0.3em 0.5em;
  padding: 0.6em;
  border-radius: 3px;
  font-weight: bold;
}

div.webbox.blue {
  /*  background: #36478D; */
  background: #4472c4;
  color: #fefefe;
}
div.webbox.pink {
  /*  background: #FF5C9F; */
  background: #ff5c9f;
  color: #fefefe;
}
div.webbox.green {
  background: #00b050;
  color: #fefefe;
}
div.webbox.orange {
  background: #ffc796;
  color: #020202;
}
div.webbox.yellow {
  background: #fffcab;
  color: #483737;
}
div.webbox > p {
  text-align: center;
  font-size: 24px;
}
div.webbox > div {
  display: flex;
}
div.webbox > div > div:nth-child(1) {
  flex: 1;
}
div.webbox > div > div:nth-child(2) {
  flex: 4.5;
}
div.webbox img {
  width: 80px;
}
img.serviceicon {
  width: 20px;
}

img.sitetmb {
  width: 300px;
  border: 2px solid #888;
}

/* ミノル工房 */
div.logo_sns {
  width: 5em;
  height: 5em;
  margin: 30px auto;
  padding: 1em;
  background: black;
}

div.logo_sns img {
  display: block;
  width: 4em;
  margin: 0.5em auto;
}
