/* リセット */

* {
  box-sizing: border-box;
}

html {
  overflow: auto;
}

body {
  overflow: hidden;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, textarea, p, blockquote, th, td, figure {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}

strong {
  font-weight: bold;
}

ol, ul {
  list-style: none;
}

caption, th {
  text-align: left;
}

q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/* Noto Sans JP -------------------------------------*/

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/NotoSansCJKjp-Light.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSansCJKjp-Regular.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/NotoSansCJKjp-Medium.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/NotoSansCJKjp-Bold.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/NotoSansCJKjp-Black.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Black.woff') format('woff');
}


/*-------------------------------------------------
/* 基本
--------------------------------------------------*/

:root {
  --color-text: #221714;
  --color-back: #F0F3F7;
  --color-main: #003F96;
  --color-dark-light-main: #B3C8E0;
  --color-dark-light-main-rgba: rgba(179,200,224,0.9);
  --color-light-main: #97BCE0;
  --color-bright-main: #CBDEF0;
  --color-so-bright-main: #CEE9F9;

  --color-contents-rgba: rgba(255, 255, 255, 0.9);

  --color-red: #C10D23;
  --color-red-orange: #EA5B6F;


  --color-gray: #8E939B;
  --color-light-gray: #E1E4E9;
  --color-visited: #585858;

  --font-family: YakuHanJP, 'Noto Sans CJK JP', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
  background-color: var(--color-back);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-print-color-adjust: exact;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: none;
}

/* iPhoneTELリンク色変更なしにする */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

img {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  position: relative;
  z-index: 1;
}

.wrapper::before {
  content: '';
  display: inline-block;
  background: url('../img/common/background_sp.png') no-repeat;
  background-size: 100%;
  aspect-ratio: 92/50;
  width: 410px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media screen and (min-width: 400px), print {
  .wrapper::before {
    width: 920px;
  }
}

@media screen and (min-width: 834px), print {
  .wrapper::before {
    background: url('../img/common/background.png') no-repeat;
    background-size: 100%;
    aspect-ratio: 170/82;
    width: 1700px;
    top: 0;
    left: 0;
  }
}


/*****************************************
*
* ヘッダ
*
******************************************/

header {
  text-align: left;
  padding: 0 20px;
}

@media screen and (min-width: 768px), print {
  header {
    padding: 0 40px;
  }
}


/*------------------------------------------*/
/* ロゴ
/*------------------------------------------*/

.logo {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  display: inline-block;
  background: url('../img/common/logo.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 489/64;
  width: 320px;
  max-width: 100%;
  height: auto;
  z-index: 1;
}

@media screen and (min-width: 768px), print {
  .logo {
    width: 400px;
  }
}

@media screen and (min-width: 834px), print {
  .logo {
    width: 489px;
  }
}

/*****************************************
*
* コンテンツ
*
******************************************/

.container {
  margin-top: 60px;
}

@media screen and (min-width: 834px), print {
  .container {
    margin-top: 100px;
  }
}


/*****************************************
*
* フッタ
*
******************************************/

footer {
  padding: 20px;
  margin-top: 80px;
}

@media screen and (min-width: 768px), print {
  footer {
    padding: 40px;
  }
}

@media screen and (min-width: 834px), print {
  footer {
    padding: 40px 60px;
    margin-top: 100px;
  }
}

/* コピーライト --------------------------------*/
.footer-copy {
  font-size: 0.7rem;
  font-weight: bold;
  margin-top: 20px;
}


/*****************************************
*
* 印刷用
*
******************************************/

@media print {
  body {
    width: 1200px;
    transform: scale(0.8);
    transform-origin: 0 0;
    -webkit-print-color-adjust: exact;
  }

  /* FireFoxテーブル印刷バグ回避 */
  _:-ms-lang(x)::-ms-backdrop, .wrapper {
    overflow: auto;
    display: table;
  }


  /* アニメーション無効 */
  [class^="animation"], [class*=" animation"],
  footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}