/* リセットCSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
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%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 全ページ共有CSS */
html,
body {
  height: 100%;
}
html {
  touch-action: manipulation;
}
body {
  font-family:
    Meiryo,
    'メイリオ',
    Hiragino Kaku Gothic ProN,
    'ヒラギノ角ゴ ProN W3',
    Roboto,
    'Droid Sans',
    YuGothic,
    '游ゴシック',
    Verdana,
    'ＭＳ Ｐゴシック',
    sans-serif;
  background-color: #f7f7f7;
  /* 翻訳バー対策 */
  top: 0px !important;
}
h1,
h2,
h3,
div,
header,
a,
nav,
label,
button,
textarea,
input {
  box-sizing: border-box;
}
/* Chrome でフォントサイズが小さくなる問題対応 */
textarea {
  font-family:
    Hiragino Kaku Gothic ProN,
    'ヒラギノ角ゴ ProN W3',
    Roboto,
    'Droid Sans',
    YuGothic,
    '游ゴシック',
    Meiryo,
    'メイリオ',
    Verdana,
    'ＭＳ Ｐゴシック',
    sans-serif;
}
ol,
p {
  margin: 0;
}
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-decoration: none;
  color: #000000;
}
a:focus,
button:focus {
  opacity: 0.5;
}
h1.header_logo > a:focus {
  opacity: 0.75;
}
@media screen and (max-width: 600px) {
  a:hover,
  button:enabled:hover {
    opacity: 0.5;
  }
  h1.header_logo > a:hover {
    opacity: 0.75;
  }
}
input,
textarea,
label,
span {
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  border: none;
  outline: none;
  cursor: pointer;
}
textarea::placeholder,
input::placeholder {
  color: #cdcecf;
}

/* radio button & checkbox */
input[type='radio'],
input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
label {
  cursor: pointer;
}
label p {
  position: relative;
  display: inline-block;
  padding-left: 2.6rem;
  cursor: pointer;
}
input[type='radio'] + p:before,
input[type='radio'] + p:after,
input[type='checkbox'] + p:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.7rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
}
input[type='checkbox'] + p:before {
  border-radius: 0.15rem;
}
input[type='radio'] + p:before,
input[type='checkbox'] + p:before {
  background-color: #f7f7f7;
}
input[type='radio']:checked + p:after {
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
  background-color: #e83434;
}
input[type='checkbox']:checked + p:before {
  background-color: #e83434;
}
input[type='checkbox']:checked + p:after {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -8px;
  left: 2px;
  width: 4px;
  height: 8px;
  border-radius: 1px;
  border-top: 2.5px solid transparent;
  border-left: 2.5px solid transparent;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  -webkit-transform: rotateZ(37deg);
  transform: rotateZ(37deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}
select {
  width: 100%;
  height: 3rem;
  padding: 0 0.8rem;
  background-color: #ffffff;
  border: 1px solid #dbdcdb;
  outline: none;
  font-size: 0.8rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('https://cdn.demae-can.com/contents/img_s/icon-select-arrow.png');
  background-repeat: no-repeat;
  background-position: 95% center;
  background-size: 0.9rem;
}

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
textarea {
  height: 3rem;
  width: 100%;
  border: 1px solid #dbdcdb;
  border-radius: 0.3rem;
  padding: 0 0.8rem;
}
textarea {
  padding: 0.3rem 0.5rem;
}
/* radio button & checkbox */

.main {
  min-height: 100%;
  margin-bottom: -60px;
}

/* header */
header {
  width: 100%;
  padding: 0.7rem;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.16);
  position: relative;
}
header .header_logo {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  margin-top: 4px;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  text-align: center;
}
header .header_logo a {
  display: block;
}
header .header_logo img {
  object-fit: contain;
  object-position: 0% 50%;
  height: 32px;
  width: 140px;
}

/* footer */
footer,
.push {
  height: 60px;
}
footer {
  width: 100%;
  background-color: #eb3334;
  color: #ffffff;
  text-align: center;
  font-size: 0.8rem;
  line-height: 60px;
}
@media screen and (min-width: 801px) {
  footer {
    background-color: transparent;
    color: #646464;
  }
}

/* パンくずリスト */
.bread {
  padding: 1rem 1rem 1.4rem;
  line-height: 1.3;
  min-height: 50px;
  font-size: 0.6rem;
  color: #646464;
}
.bread a,
.bread span {
  display: inline-block;
  color: #646464;
  word-break: break-all;
}
.bread a:before,
.bread span:before {
  content: '>';
}
.bread a:first-of-type:before {
  content: '';
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

header #header_area {
  display: flex;
  justify-content: space-between;
}

@media screen and (min-width: 801px) {
  header {
    height: 3.5rem;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
  }
  header #header_area {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
  header .header_logo {
    margin-top: 2px;
  }
}
@media screen and (min-width: 801px) and (max-width: 1001px) {
  header #header_area {
    width: 800px;
  }
  header .header_logo_area {
    width: 220px;
  }
  header .header_logo img {
    width: 120px;
  }
}
@media screen and (min-width: 1001px) and (max-width: 1200px) {
  header #header_area {
    width: 1000px;
  }
  header .header_logo_area {
    width: 240px;
  }
}
@media screen and (min-width: 1201px) {
  header #header_area {
    width: 1200px;
  }
  header .header_logo_area {
    width: 280px;
  }
}

#container {
  margin-top: 6rem;
}
@media screen and (max-width: 800px) {
  #container {
    margin-top: 2rem;
  }
}
