@charset "utf-8";

*, *::before, *::after { box-sizing:border-box; }

html { -webkit-text-size-adjust:100%; }
body {
  margin:0; padding:0;
  -webkit-font-smoothing:antialiased;
  }
h1, h2, h3, h4,h5, dl, dd, ul, form, textarea, figure { margin:0; padding:0; font-size:100%; }
article, aside, dialog, figure, footer, header, hgroup, nav, section, main { display:block; }


/* clearfix 回り込み解除 ------------------------ */
.clearfix:after { content:""; clear:both; display:block; }

/* 共通 ------------------------ */
a { color:#000; -webkit-transition:all .3s; transition:all .3s; }
a:active, a:hover { color:#f00; }
a:focus { outline:none; }

strong { font-size:1.2em; }
em { font-style:normal; font-weight:bold; }

fieldset { border:none; }
table { border-collapse:collapse; border-spacing:0; }
map area:focus, map area:active { outline:none; border:0; }
address { font-style: normal;}

ul { list-style-type:none; }
ul.disc, ul.square {  display: grid; row-gap: .7em; padding-left:1.3em; }
.disc > li { list-style-type:disc;  line-height: 1.7;}
.square > li { list-style-type:square;  line-height: 1.7;}
.decimal > li { list-style-type:decimal;  line-height: 1.7;}

ul.kome { display: grid; row-gap: .5em;}
ul.kome li { text-indent:-1em; margin-left:1em; line-height: 1.7; }
ul.kome li::before { content:"※"; }
p.kome { text-indent:-1em; margin-left:1em; }

ol.kome { display: grid; row-gap: .5em; padding-left:5px; }
ol.kome li { text-indent:-2em; margin-left:2em; line-height: 1.7; }
ol.kome { list-style:none; counter-reset:number; }
ol.kome li::before { counter-increment:number; content:"※"counter(number)" "; }
.kome_red li::before { color:#c00; }

ol.paren { padding-left:1.8em; }
ol.paren > li { list-style-type:none; counter-increment:paren; }
ol.paren > li::before { content: "(" counter(paren) ") "; display:inline-block; width:1.7em; margin-left:-1.8em; padding-left:.1em; }

.uline { text-decoration: underline; }

img { max-width:100%; height:auto; font-size:0; line-height:0; border-width:0px; vertical-align:bottom; }
img.middle { vertical-align:middle; }

.serif {
  font-family:
    "游明朝", "Yu Mincho", YuMincho,
    "ヒラギノ明朝 ProN W6", "HiraMinProN-W6",
    "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  }

.fleft  { float:left; }
.fright { float:right; }

.left   { text-align:left; }
.center { text-align:center; }
.right  { text-align:right; }

.big    { font-size:1.3em; }
.small  { font-size:.85em; }
.bold   { font-weight:bold; }
.italic { font-style:italic; }
.marker { background:linear-gradient(transparent 50%, #fff284 0%); }

.clear  { clear:both; }
.hide   { display:none !important; }
.iblock { display:inline-block; }
.wide   { width:100%; }
.indent { text-indent:-1em; padding-left:1em; }
.shadow { box-shadow:0 0 3px rgba(0,0,0,0.3); }

.red, .err { color:#c00; }

.flex { display:-webkit-box; display:flex; flex-wrap:wrap; }
.flex-between { -webkit-box-pack:justify; justify-content:space-between; }
.flex-center  { -webkit-box-pack:center; justify-content:center; }
.flex-end  { -webkit-box-pack:end; justify-content:flex-end; }
.flex-align-center { -webkit-box-align:center; align-items:center; }

.item-center { display:grid; place-items:center; }
.vh_ctr {
  position:absolute; top:50%; left:50%;
  -webkit-transform:translate(-50%, -50%);
  transform:translate(-50%, -50%);
}

.autofit { width: fit-content; margin-inline: auto; }

.link-disabled { cursor:default; pointer-events:none; opacity:0.6; }

.is-fixed { position:fixed; top:0; right:0; bottom:0; left:0; }
.is-hide { transform: translateY(-100%); }
.is-empty {
  height: 0;
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  border:none !important;
}

/* youtube */
.youtube_wrap { aspect-ratio: 16 / 9; }
.youtube_wrap > iframe { width:100% !important; height:100% !important; object-fit: cover; }

/* popup */
.white-popup { width:auto; max-width:640px; margin:20px auto; padding:20px; background:#FFF; position:relative; }

/* form ------------------------ */
label { display:inline-block; }
select { padding:3px 8px 6px; font-size:16px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
  border-radius:3px; padding:4px 8px; font:16px/1 inherit inherit; border:1px solid #ccc;
  }
input[type="submit"], input[type="button"], button {
  -webkit-box-sizing:content-box;
  -webkit-appearance:button;
  appearance:button;
  border:none;
  border-radius:0;
  box-sizing:border-box;
  cursor:pointer;
  font-size:1em;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display:none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset:-2px;
}
input:is([type="text"],[type="num"]), textarea, select { margin:3px 0; }

input.t { width:15%; }
input.s { width:30%; }
input.m { width:60%; }
input.l { width:98%; }
textarea { width:98%; }
label input { margin:0; }

/* 959px 以下 ------------------------ */
@media screen and (max-width: 959px) {
  .pc_only { display:none; }
}

/* 599px 以下 ------------------------ */
@media screen and (max-width: 599px) {
  .sp_none { display:none; }
  .sp_center { text-align: center;}

  input.t { width:30%; }
  input.s { width:60%; }
  input.m { width:96%; }

  /* 横スクロール */
  .scrollWrap { width:100%; padding-top:20px; overflow-y:scroll; -webkit-overflow-scrolling:touch; }
  .scrollWrap > .scroll { margin-bottom:20px; position:relative; }
  .scrollWrap > .scroll:before { content:"横にスクロールできます→"; position:absolute; top:-20px; left:0; font-size:13px; }
  .scrollWrap > .scroll > .hscroll { width:640px; }
}

/* 600px 以上 ------------------------ */
@media screen and (min-width: 600px) {
  .sp_only { display:none; }
  .pctb_center { text-align: center;}
}

/* 960px 以上 ------------------------ */
@media screen and (min-width: 960px) {
  .pc_none { display:none; }
  .pc_center { text-align:center; }

  .txt_vertical {
   -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }

  /* 選択中テキストの背景色とテキスト色 */
  ::selection { background:#b3d1c7; }

  /* 電話番号リンク PCで無効 */
  a[href^='tel:'] { cursor:default; pointer-events:none; }

  /* hover scale */
  a .scale { -webkit-transition:all .5s ease-out; transition:all .5s ease-out; }
  a:hover .scale  { -webkit-transform: scale(1.05); transform: scale(1.05); }

}
