@charset "UTF-8";

/*
   Break Point

  // Small devices (landscape phones, 576px and up)
  @media (min-width: 576px) { ... }

  // Medium devices (tablets, 768px and up)
  @media (min-width: 768px) { ... }

  // Large devices (desktops, 992px and up)
  @media (min-width: 992px) { ... }

  // X-Large devices (large desktops, 1200px and up)
  @media (min-width: 1200px) { ... }

  // XX-Large devices (larger desktops, 1400px and up)
  @media (min-width: 1400px) { ... }

*/

body {
  margin: 0;
  padding: 0;
}

/* Lists (enumeration) */
/* ============================================ */
/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0em;
/*  font-weight: <weight>; */
/*  font-style: normal; */
/*  font-family: 'Noto Serif JP', serif; */
/*  font-family: 'Noto Sans JP', sans-serif; */
/*  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif; */
  color: #000000;
  overflow-x: hidden;
  font-size: 1.0em;
  line-height: 1.5;
}

header {
  width: 100%;
}

main {
  flex: 1;
  width: 100%;
  overflow-y: scroll;
}

footer {
  width: 100%;
}

button {
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: black;
}

img {
/*    max-width: 100%; */
/*    width: 100%; */
    height: auto;
    vertical-align: bottom;
}

/* Style inputs, select elements and textareas */
input[type=text], input[type=tel], input[type=email], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

select {
  background-color: #fff;
}
/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.checkbox input[type=checkbox].checkbox__item{
  display: none;
}

.checkbox label {
  display: inline-block;
}

/* spanの左側にボタンを配置するスペースを作る */
.checkbox .checkbox__item + span {
  padding-left: 2em;
  display: inline-block;
  position: relative;
}

/* 各パーツを作成 */
.checkbox .checkbox__item + span::after,
.checkbox .checkbox__item + span::before {
  content: '';
  display: block;
  position: absolute;
  border: 1px solid #AAAAAA;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
}

/* after上書き */
.checkbox .checkbox__item + span::after {
  opacity: 0;
  width: 10px;
  height: 15px;
  transform: rotate(45deg);
  left: 5px;
  border: none;
  border-right: 3px solid #f18800;
  border-bottom: 3px solid #f18800;
}

/*
  checked状態
  文字のcolorとボタンのopacityを変更
*/
.checkbox .checkbox__item:checked + span {
  color: #f18800;
}

.checkbox .checkbox__item:checked + span::after {
  opacity: 1;
}

/*-- local style common --*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.error {
  color: #ff0000
}

.asterisk {
  color: #ff0000;
  margin-left: .3rem;
}

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

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

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

/* 表示位置調整 */
section::before {
  content:'';
  display: block;
  padding-top: 300px;
  margin-top: -300px;
}

/*-- dexktop or mobile --*/
.desktop {
  display: initial;
}

.mobile {
  display: none;
}

@media screen and (max-width: 576px) {
  .desktop {
    display: none;
  }
  
  .mobile {
    display: initial;
  }
}
