/* 汎用 */
* {
  font-family: "Noto Serif JP", serif;
  color: #555555;
}

a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* a:hover::before {
  content: "";
  position: absolute;
  background-color: rgba(255,255,255,0.3);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
} */

body {
  position: relative;
}

.solid {
  margin: 30px auto;
  border: none;
  border-bottom: 1px solid #555555;
}

.dots {
  margin: 30px auto;
  border: none;
  border-bottom: 1px dotted #555555;
}

.dash {
  margin: 30px auto;
  border: none;
  border-bottom: 1px dashed #555555;
}

* img {
  width: 100%;
}

.disp_flex {
  display: -webkit-flex; /* Safari */
  display: flex;
}

.just_sb {
  justify-content: space-between;
}

.just_c {
  justify-content: center;
}

.al_c {
  align-items: center;
}

.pc_flex {
  display: -webkit-flex; /* Safari */
  display: flex;
}

.flex_wrap {
  flex-wrap: wrap;
}

.flex_column {
  flex-direction: column;
}

.flex_row_reverse {
  flex-direction: row-reverse;
}

.sp_on {
  display: none;
}

.pos_rel {
  position: relative;
}

.pos_abs {
  position: absolute;
}

.pos_cc {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.pos_fix {
  position: fixed;
}

/* flex boxで孫要素まで揃える */
.flex_child {
  display: flex;
  flex-direction:column;
}

.flex_granchild {
  flex-grow: 1;
}

/* 3列ずつ並べる */
.triple_box {
  width: 32%;
  margin-right: 2%;
}

.triple_box:nth-of-type(3n) {
  margin-right: 0;
}

/* 4列ずつ並べる */
.quad_box {
  width: 22%;
  margin-right: 4%;
}

.quad_box:nth-of-type(4n) {
  margin-right: 0;
}

/* サムネイルを正方形にする */
.square_box {
  position: relative;
  width: 100%;
}

.square_box:before{
  content: "";
  display: block;
  padding-top: 100%;
}

.square_box img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

/* 吹き出し */
.sb_top { /* 上吹き出し */
  border-radius: 30px;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px
}

.sb_top::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -45px;
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-bottom: 45px solid #ffffff;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
}

.sb_bottom { /* 下吹き出し */
  border-radius: 30px;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px
}

.sb_bottom::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -45px;
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 45px solid #ffffff;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
}

.sb_right { /* 右吹き出し */
  border-radius: 30px;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px
}

.sb_right::before {
  content: '';
  position: absolute;
  left: 0;
  right: -45px;
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 45px solid #ffffff;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
}

.sb_left { /* 左吹き出し */
  border-radius: 30px;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px
}

.sb_left::before {
  content: '';
  position: absolute;
  left: -45px;
  right: 0;
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-right: 45px solid #ffffff;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
}

/* 背景色 */
.bg_brown {
  background-color: #DCD6D3;
}

.bg_gray {
  background-color: #f6f6f6;
}

/* テキスト修飾 */
.text_bold {
  font-weight: bold;
}

.text_lighter {
  font-weight: lighter;
}

.text_indent {
	text-indent: -1em;
	padding-left: 1em;
  padding-top: 0;
  padding-bottom: 0;
}

.text_nowrap {
  white-space: nowrap;
}

.shadow_black {
  text-shadow: 2px 2px 2px #1f1f20;
}

.shadow_gray {
  text-shadow: 2px 2px 2px #717175;
}

.shadow_white {
  text-shadow: 2px 2px 2px #ffffff;
}

.text_white {
  color: #ffffff;
}

.text_black {
  color: #000000;
}

.text_red {
  color: #B54848;
}

.lh_15 {
  line-height: 1.5;
}

.lh_18 {
  line-height: 1.8;
}

.lh_20 {
  line-height: 2.0;
}

.ls_1 {
  letter-spacing: 1px;
}

.ls_2 {
  letter-spacing: 2px;
}

.ls_3 {
  letter-spacing: 3px;
}

.mb_5 {
  margin-bottom: min(5vw, 72px);
}

.mb_3 {
  margin-bottom: min(3vw, 42px);
}

.mb_1_5 {
  margin-bottom: min(1.5vw, 21px);
}

.under_line {
  text-decoration: underline;
}

/* メインのテキスト設定 */
.text_head {
  font-size: min(5vw, 70px);
  letter-spacing: 2px;
  font-weight: bold;
}

.text_head_sub {
  font-size: min(2.5vw, 36px);
  letter-spacing: 2px;
  font-weight: normal;
}

.text_main {
  font-size: min(1.3vw, 20px);
  line-height: 1.8;
}

.text_small {
  font-size: min(1vw, 15px);
}

/* フォント */
.font_en {
  font-family: "Dancing Script", cursive;
}

.font_ens {
  font-family: 'Courgette', cursive;
}

/* form */
.form_inner {
  padding-top: 30px;
  width: 80%;
  margin: auto;
}

form {
  width: 100%;
}

label {
  width: 25%;
  padding: 1em;
  margin-bottom: 20px;
  font-size: 1.5vw;
  color: #ffffff;
}

.single {
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

input {
  width: 65%;
  padding: 10px 2.5%;
  margin-bottom: 20px;
  font-size: 1.5vw;
}

select {
  width: 71%;
  padding: 10px 0;
  padding-left: 2.5%;
  margin-bottom: 20px;
  font-size: 1.5vw;
  color: #aeafaf;
}

textarea {
  width: 65%;
  padding: 10px 2.5%;
  margin-bottom: 30px;
  font-size: 1.5vw;
}

::placeholder {
  color: #aeafaf;
  letter-spacing: 2px;
}
:-ms-input-placeholder { /* IE */
  color: #aeafaf;
  letter-spacing: 2px;
}
::-ms-input-placeholder { /* Edge */
  color: #aeafaf;
  letter-spacing: 2px;
}

.send-btn {
  width: 20%;
  height: auto;
  cursor: pointer;
  text-align: center;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.4vw;
  padding: 5px 10px;
  margin: 0 40%;
  margin-bottom: 10px;
}

.send-result {
  width: 100%;
  padding: 8px 0;
  text-align: center;
  color: #ffffff;
  display: none;
}

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

  /* iOSで自動拡大させない */
  input,
  textarea,
  select {
    font-size: 16px !important;
    transform: scale(0.8) !important;
  }

  .pc_flex {
    display: block;
  }

  .pc_on {
    display: none;
  }

  .sp_on {
    display: block;
  }

  .form_inner {
    width: 95%;
  }

  select {
    width: 70.5%;
  }

  .single {
    height: 3em;
  }

  .text_head {
    font-size: 12vw;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .text_head_sub {
    font-size: 5vw;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .text_main {
    font-size: 4.5vw;
    line-height: 1.5;
  }

  .text_small {
    font-size: 3vw;
  }

  .mb_5 {
    margin-bottom: 8vw;
  }

  .mb_3 {
    margin-bottom: 5vw;
  }

  .mb_1_5 {
    margin-bottom: 3vw;
  }

}
