/* 汎用 */
body {
}

h1,
h2,
h3,
p,
a,
span,
textarea,
input,
select {
  -webkit-transform: rotate(0.028deg);
  -moz-transform: rotate(0.028deg);
  -ms-transform: rotate(0.028deg);
  -o-transform: rotate(0.028deg);
  transform: rotate(0.028deg);
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  /* color: #000000; */
}

hr {
  margin: 30px auto;
  border: none;
  border-bottom: 1px solid #424344;
}

* img {
  width: 100%;
  height: auto;
}

li {
  list-style: none;
}

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;
}

.pc_on {
  display: block;
}

.sp_on {
  display: none;
}

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

.font_head_sub {
  font-size: 3vw;
  letter-spacing: 2px;
  font-weight: bold;
}

.font_main {
  font-size: 1.3vw;
  line-height: 1.5;
}

.font_small {
  font-size: 1vw;
}

/* レイアウト */
.disp_flex {
  display: -webkit-flex; /* Safari */
  display: flex;
}

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

.flex_wrap {
  flex-wrap: wrap;
}

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

.just_sa {
  justify-content: space-around;
}

.flex_column {
  flex-direction: column;
}

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

.al_c {
  align-items: center;
}

.al_s {
  align-items: flex-start;
}

.al_e {
  align-items: flex-end;
}

.text_c {
  text-align: center;
}

.text_r {
  text-align: right;
}

.text_l {
  text-align: left;
}

.pos_rel {
  position: relative;
}

.pos_abs {
  position: absolute;
}

.mg_auto {
  margin: auto;
}

.mg_zero {
  margin: 0;
}

.mg_10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.mg_30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.mg_50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.pd_10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.pd_30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.pd_50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.pd_b10 {
  padding-bottom: 10px;
}

.pd_b30 {
  padding-bottom: 30px;
}

.pd_b50 {
  padding-bottom: 50px;
}

.pd_05em {
  padding: 0.5em;
}

.pd_l1em {
  padding-left: 1em;
}

/* 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;
}

/* 背景修飾 */
.br_50 {
  border-radius: 50px;
}

.br_30 {
  border-radius: 30px;
}

.br_10 {
  border-radius: 10px;
}

/* 吹き出し */
.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_color {
  color: #8f8479;
}

.text_brown {
  color: #786C63;
}

.text_dark_brown {
  color: #6A5A4A;
}

.text_white {
  color: #ffffff;
}

.text_black {
  color: #000000;
}

.text_red {
  color: #ff0000;
}

.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;
}

.under_line {
  text-decoration: underline;
}

/* フォント */
.font_min {
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

.font_maru {
  font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

.font_en {
  font-family: 'Arvo', serif;
}

/* サイズ */
.w_5 {
  width: 5%;
}

.w_10 {
  width: 10%;
}

.w_15 {
  width: 15%;
}

.w_20 {
  width: 20%;
}

.w_25 {
  width: 25%;
}

.w_30 {
  width: 30%;
}

.w_35 {
  width: 35%;
}

.w_40 {
  width: 40%;
}

.w_45 {
  width: 45%;
}

.w_48 {
  width: 48%;
}

.w_50 {
  width: 50%;
}

.w_60 {
  width: 60%;
}

.w_65 {
  width: 65%;
}

.w_70 {
  width: 70%;
}

.w_80 {
  width: 80%;
}

.w_85 {
  width: 85%;
}

.w_90 {
  width: 90%;
}

.w_95 {
  width: 95%;
}

.w_100 {
  width: 100%;
}

/* フォントサイズ */
.font_7 {
  font-size: 7vw;
}

.font_6 {
  font-size: 6vw;
}

.font_5 {
  font-size: 5vw;
}

.font_4 {
  font-size: 4vw;
}

.font_3 {
  font-size: 3vw;
}

.font_2 {
  font-size: 2vw;
}

.font_2_5 {
  font-size: 2.5vw;
}

.font_1_5 {
  font-size: 1.5vw
}

.font_1_3 {
  font-size: 1.3vw
}

.font_1_2 {
  font-size: 1.2vw
}

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

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

  .pc_on {
    display: none;
  }

  .sp_on {
    display: block;
  }

  .font_head {
    font-size: 4vw;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .font_head_sub {
    font-size: 3vw;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .font_main {
    font-size: 3vw;
    line-height: 1.5;
  }

  .font_small {
    font-size: 3vw;
  }

  .pc_flex {
    display: -webkit-box;
    display: block;
  }

  .sp_25 {
    width: 25%;
  }

  .sp_30 {
    width: 30%;
  }

  .sp_45 {
    width: 45%;
  }

  .sp_50 {
    width: 50%;
  }

  .sp_60 {
    width: 60%;
  }

  .sp_70 {
    width: 70%;
  }

  .sp_90 {
    width: 90%;
  }

  .sp_95 {
    width: 95%;
  }

  .sp_98 {
    width: 98%;
  }

  .sp_font_6 {
    font-size: 6vw;
  }

  .sp_font_5 {
    font-size: 5vw;
  }

  .sp_font_4 {
    font-size: 4vw;
  }

  .sp_font_3 {
    font-size: 3vw;
  }

  .sp_mg_auto {
    margin: auto;
  }

  .sp_mg_zero {
    margin: 0;
  }

  .sp_mg_10 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .sp_mg_30 {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .sp_mg_50 {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .sp_pd_10 {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sp_pd_30 {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .sp_pd_50 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .sp_pd_b10 {
    padding-bottom: 10px;
  }

  .sp_pd_b30 {
    padding-bottom: 30px;
  }

  .sp_pd_b50 {
    padding-bottom: 50px;
  }

  .sp_pd_05em {
    padding: 0.5em;
  }

  .sp_pd_l1em {
    padding-left: 1em;
  }

}