@charset "utf-8";

/*------------------------------------------------
Variables
------------------------------------------------*/

:root {
  /* Color */
  --primary-color: #00457B;
  --primary-color-rgb:0, 69, 123;
  --secondary-color: #E2EBF0;
  --secondary-color-rgb: 226, 235, 240;
  --primary-text-color: #111111;

  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;

  --color-black: #000000;
  --color-black-rgb: 0, 0, 0;

  --color-light-gray: #E2E2E2;
  --color-gray: #d6d8d7;

  /* Layout */
  --header-size-sp: 60px;
  --header-size-pc: 170px;
  --layout-gap: 40px;
}

/*------------------------------------------------
基本
------------------------------------------------*/

html {
  font-size: 62.5%;  /* フォントサイズを10pxに設定 */
}

body {
  color: var(--primary-text-color);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.4rem;  /* 14px */
  line-height: 2;
  position: relative;
}

.font-noto-sans {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.font-anton {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media print, screen and (min-width: 769px) {
  body {
    font-size: 1.6rem;  /* 16px */
  }
}

/*----- コンテンツが少ない場合に、フッターを最下部に固定 -----*/

html {
  display: flex;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
  min-height: 1%;
  /* padding-top: var(--header-size-sp); */
  background-color: var(--primary-bg-color);
  position: relative;
}

@media print, screen and (min-width: 769px) {
  body {
    min-height: 100vh;
  }
  /*main {
    padding-top: var(--header-size-pc);
  }*/
}


/*----- リンクホバー -----*/
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .6;
  transition: opacity 0.25s ease-in;
}

/*----- PCで電話番号リンク無効 -----*/
@media print, screen and (min-width: 769px) {
  a[href^="tel:"] {
    /*    color: inherit;*/
    text-decoration: none;
    pointer-events: none;
  }
}

/*----- イメージ下スペース削除 右クリック禁止 -----*/
img {
  vertical-align: middle;
  width: 100%;
}

/*----- テーブルスタイル削除 -----*/
table {
  border-collapse: collapse;
}

/*----- リストスタイル削除 -----*/
ul, ol {
  list-style: none;
}


/*----- 可変BRタグ -----*/
.br-sp {
  display: inline-block;
}

@media print, screen and (min-width: 667px) {
  .br-sp {
    display: none;
  }
}

.br-tb {
  display: none;
}

@media print, screen and (min-width: 667px) {
  .br-tb {
    display: inline-block;
  }
}
@media print, screen and (min-width: 769px) {
  .br-tb {
    display: none;
  }
}

.br-pc {
  display: none;
}

@media print, screen and (min-width: 769px) {
  .br-pc {
    display: inline-block;
  }
}


/*------------------------------------------------
フッター
------------------------------------------------*/

footer {
  background-image: url(../image/footer_bg.jpg);
  background-size: contain;
  background-position: center center;
  text-align: center;
}
.footer-message {
  color: var(--primary-color);
  /* font-size: clamp(1rem, 0.32rem + 3.4vw, 4.4rem); */
  font-size: clamp(1rem, 0.4rem + 3vw, 4rem);
  font-weight: 900;
  margin: 3em 0.5em;
}

.footer-bottom {
  display: inline-block;
  width: 60%;
  max-width: 327px;
  margin:0 auto;
}

.footer-bottom-logo {
  display: block;
  margin-bottom: 10px;
}
.footer-bottom-copy {
  font-size: 1rem;
  display: block;
  margin-bottom: 30px;
}

@media print, screen and (min-width: 769px) {
  footer {
    background-position: bottom 90px center;
  }
}
@media print, screen and (min-width: 1600px) {
  footer {
    background-size: 80%;
    background-position: bottom 20px center;
  }
}

/*========== コピーライト ==========*/

.copyright {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  width: 100%;
}

@media print, screen and (min-width: 769px) {
  .copyright {
    font-size: 1.3rem;
    text-align: right;
  }
}

/*------------------------------------------------
common-inner
------------------------------------------------*/
.common-inner {
  max-width: 960px;
  margin: 0 auto;
}

/*------------------------------------------------
ページトップボタン
------------------------------------------------*/

.pagetop-button {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  bottom: 70px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  position: fixed;
}

.pagetop-button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px 10px 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

@media print, screen and (min-width: 769px) {
  .pagetop-button {
    bottom: 30px;
    right: 30px;
  }
}
