﻿@charset "UTF-8";

:root {
  --mainFont: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  --mainColor: #004EA2;
  --textColor: #373B43;
  --bgColor: #F5F7F8;
  --acColor: #FF365D;
  --btnColor: #FF8B36;
  --borderColor: #DADCE0;
  --grayColor: #A5AAB3;
}

.block-cookie-consent {
  z-index: 20;
}

/* ----全体設定---- */

body {
  font-family: var(--mainFont);
  color: var(--textColor);
}

body.fixed {
  overflow: hidden;
}

/* ----リンク---- */

a {
  color: inherit;
  text-decoration: none;
  transition: all .3s;
}

a:hover,
a:focus {
  text-decoration: none;
  opacity: 0.8;
}

a.blank span {
  padding: 0 18px 0 0;
  background: url(/img/usr/common/icon_window.png) no-repeat right center / 12px;
}

/* ----タグ---- */

main,
section,
h1,
h2,
h3,
h4,
h5,
figure,
nav {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
}

img {
  vertical-align: bottom;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
}

/* ----ボタン---- */

button {
  margin: 0;
  padding: 0;
  text-align: left;
  font-weight: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.btn,
.btn-default,
input[type="submit"],
input[type="button"],
button {
  border-radius: 5px;
}

.btn-default,
.btn-secondary {
  color: #fff;
  background: var(--textColor);
  border: 1px solid var(--textColor);
}

.btn-primary {
  font-weight: bold;
  font-size: 16px;
  background: var(--btnColor);
  border: 1px solid var(--btnColor);
}

.btn-danger {
  background: #a3a4a8;
  border: 1px solid #a3a4a8;
}

/* ----price---- */

.price {
  color: var(--textColor);
}

.price:has(+ .default-price) {
  color: #D93200;
}

.default-price {
  font-weight: 400;
  color: var(--grayColor);
}

.price::after,
.default-price::after {
  content: " (税込)";
  font-weight: 400;
  font-size: 11px;
}

/* ----フォーム---- */

.checkbox {
  vertical-align: middle;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
  border-color: var(--borderColor);
  border-radius: 5px;
}

input[type="checkbox"] {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: #fff;
  border: 1px solid var(--borderColor);
  border-radius: 2px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="checkbox"]:checked {
  background: var(--mainColor);
  border-color: var(--mainColor);
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 5px;
  height: 9px;
  margin: auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

input[type="radio"] {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: #fff;
  border: 1px solid var(--borderColor);
  border-radius: 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="radio"]:checked {
  background: var(--mainColor);
  border-color: var(--mainColor);
}

input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  background: #fff;
  border-radius: 50%;
}