@charset "UTF-8";
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/YakuHanJP-Regular.woff2") format("woff2"), url("../fonts/YakuHanJP-Regular.woff") format("woff");
}
@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: bold;
  src: url("../fonts/YakuHanJP-Bold.woff2") format("woff2"), url("../fonts/YakuHanJP-Bold.woff") format("woff");
}

:root {
  -webkit-font-smoothing: antialiased;
  --clr-text: #000;
  --clr-text-light: #333;
  --clr-placeholder:#A7A7A7;
  --clr-red: #e60012;
  --clr-blue: #3c3c8c;
  --clr-blue-pale: #5156ba;
  --clr-facebook: #1877f2;
  --ff-sans: "YakuHanJP", "Outfit", "Noto Sans JP", sans-serif;
  --fz-sp: 1.6rem;
  --fz-pc: 1.6rem;
  --ls: normal;
  --lh: 2;

  --green: #9edc26;
  --blue: #4cbfdc;

  --speed: .5s;
}

.simplebar-track ::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  display: none;
}
.simplebar-track{ background: #ccc; }
.simplebar-track.simplebar-vertical{
  width: calc(10/750*100vw);

  @media (min-width: 768px) {
    width: 5px;
  }
}
.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{
  background: #a3a3a3;
  left: 0;
  right: 0;
  top: 0;
  inset: 0;

  border-radius: 0;
}

/* ::-webkit-scrollbar{
  width: calc(10/750*100vw);
}
::-webkit-scrollbar-track{
  background-color: #ccc;
}
::-webkit-scrollbar-thumb{
  background-color: #a3a3a3;
} */

/* [&::-webkit-scrollbar]:bg-[#ccc]
[&::-webkit-scrollbar]:w-[calc(10/750*100vw)]
[&::-webkit-scrollbar-thumb]:bg-[#a3a3a3] */

.ui-widget,
body {
  font: inherit;
  font-family: var(--ff-sans);
  font-weight: normal;
  -webkit-text-size-adjust: 100%;
  letter-spacing: var(--ls);
  -webkit-font-feature-settings: "pkna" 1;
          font-feature-settings: "pkna" 1;
}
@media (min-width: 1000px) {
  .ui-widget,
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
  font-size: 62.5%;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after {
  content: "";
  content: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

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

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
  font-size: 16px;
  font-family: "Work Sans", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  line-height: var(--lh);
  letter-spacing: var(--ls);
  -webkit-font-feature-settings: "palt" 1;
          font-feature-settings: "palt" 1;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

input, textarea {
  -webkit-appearance: none;
  border-radius: 0;
}
input:focus, textarea:focus {
  outline: 2px solid #125FC4;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: var(--clr-placeholder);
  display: inline;
  vertical-align: middle;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: var(--clr-placeholder);
  display: inline;
  vertical-align: middle;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: var(--clr-placeholder);
  display: inline;
  vertical-align: middle;
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: var(--clr-placeholder);
  display: inline;
  vertical-align: middle;
}
input::placeholder, textarea::placeholder {
  color: var(--clr-placeholder);
  display: inline;
  vertical-align: middle;
}

select {
  border-radius: 0;
}
select:focus {
  outline: 0;
}
select::-ms-expand {
  display: none;
}

button {
  font-size: var(--fz-sp);
  font-family: var(--ff-sans);
  line-height: var(--lh);
  letter-spacing: var(--ls);
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}
button:focus {
  outline: 0;
}
@media (min-width: 1000px) {
  button {
    font-size: var(--fz-pc);
    cursor: pointer;
  }
}

b, strong {
  font-weight: 700;
}

sup {
  vertical-align: super;
  font-size: 10px;
}

sub {
  vertical-align: baseline;
  font-size: 10px;
}

img {
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

label{
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
input[type="checkbox"]{
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 5px;
  position: relative;

  &::before{
    content: '';
    display: block;
    width: calc(40/750*100vw);
    height: calc(28/750*100vw);
    background: url(../images/inputcheck.webp) center / contain no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    opacity: 0;
  }

  @media (min-width: 768px) {
    &::before{
      width: 20px;
      height: 14px;
    }
  }

  &:checked{
    &::before{ opacity: 1; }
  }
}


input[type="text"], input[type="date"], input[type="email"], input[type="tel"], select{
  height: 60px;
  border-radius: 5px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 1.6rem;
  background-color: #fff;

  &:disabled{
    background-color: #fff;
    color: #aaa;
  }

  @media (min-width: 768px) {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
  }
}
textarea{
  border-radius: 5px;
  padding: 15px;
  font-size: 1.6rem;
  display: inline-block;
}



.fadeinUp{

  opacity: 0;
  transform: translateY(30px);
  transition: transform var(--speed) ease-in-out, opacity var(--speed) ease-in-out;
  transition-delay: .1s;

  &.is-animeted{
    opacity: 1;
    transform: translateY(0);
  }

  @media (min-width: 768px) {
    transform: translateY(50px);
  }


}


.fadeinRight{
  opacity: 0;
  transform: translateX(30px);
  transition: transform var(--speed) ease-in-out, opacity var(--speed) ease-in-out;

  &.is-animeted{
    opacity: 1;
    transform: translateX(0);
  }
  @media (min-width: 768px) {
    transform: translateX(50px);
  }
}


.fadeinLeft{
  opacity: 0;
  transform: translateX(-30px);
  transition: transform var(--speed) ease-in-out, opacity var(--speed) ease-in-out;

  &.is-animeted{
    opacity: 1;
    transform: translateX(0);
  }
  @media (min-width: 768px) {
    transform: translateX(-50px);
  }
}


.delay1{ transition-delay: calc(1 * .3s); }
.delay2{ transition-delay: calc(2 * .3s); }
.delay3{ transition-delay: calc(3 * .3s); }
.delay4{ transition-delay: calc(4 * .3s); }
.delay5{ transition-delay: calc(5 * .3s); }
.delay6{ transition-delay: calc(6 * .3s); }
.delay7{ transition-delay: calc(7 * .3s); }
.delay8{ transition-delay: calc(8 * .3s); }
.delay9{ transition-delay: calc(9 * .3s); }
.delay10{ transition-delay: calc(10 * .3s); }

.ui-widget.ui-widget-content{
  font-size: 16px;
}