﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
:root {
  --c-black:#000000;
  --c-blue-light:#00A1C6;
  --c-orange:#FFA00F;
  --c-gray:#565967;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* ----全体設定---- */

html,
body {
  height: 100%;
}

body {
  font-family: "Noto Sans JP","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: #525252;
  font-optical-sizing: auto;
  background-color: #ffffff;
  min-width: 1280px;
}

/* ----ヘッドライン---- */

h1,
.h1 {
  margin: 0 0 20px 0;
  font-size: 32px;
  font-weight: normal;
}

h2 {
  margin: 0 0 20px 0;
  font-size: 26px;
  font-weight: normal;
}

h3 {
  margin: 0 0 10px 0;
  font-size: 21px;
  font-weight: normal;
}


/* ----リンク---- */

a:link {
  color: var(--c-blue-light);
  text-decoration: none;
}
a:visited {
  color: var(--c-blue-light);
  text-decoration: none;
}
a:active {
  color: var(--c-blue-light);
  text-decoration: underline;
}
a:hover {
  color: var(--c-blue-light);
  text-decoration: underline;
}

/* ----タグ---- */

img {
  max-width: 100%;
}

hr {
  border: 0;
  border-bottom: 1px dotted #ccc;
}

/* ----入力フォーム共通---- */

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"] {
  padding: 3px 6px;
  border: 1px solid #848484;
  background-color: #fff;
  border-radius: 2px;
}

textarea {
  line-height: 1.5;
  border: 1px solid #848484;
  background-color: #fff;
  border-radius: 2px;
  padding: 3px 6px;
}

select {
  padding: 1px 65px 1px 6px;
  border: 1px solid #848484;
  background-color: #fff;
  border-radius: 2px;
  background-image: url(../img/sys/agency/ico_arrow.png);
  background-position: right 8px top 8px;
  background-repeat: no-repeat;
  background-size: 15px 9px;
  -webkit-appearance: none;
  appearance: none; 
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
input[type="search"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
  border: 1px solid #666;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus {
  background-color: #E8FDFF;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #848484;
  border-radius: 50%;
  position: relative;
}

input[type="radio"]::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-black);
  opacity: 0;
}

input[type="radio"]:checked {
  border-color: var(--c-black);
}

input[type="radio"]:checked::after {
  opacity: 1;
}

input[type="radio"]:has(+label) {
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  border: none;
}

input[type="radio"] + label {
  position: relative;
  padding-left: 25px;
  margin: 3px 0;
  margin-right: 1.5em;
}

input[type="radio"] + label::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #848484;
  border-radius: 50%;
  top: 3px;
  left: 0;
}

input[type="radio"] + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-black);
  opacity: 0;
}

input[type="radio"]:checked + label::before {
  border-color: var(--c-black);
}

input[type="radio"]:checked + label::after {
  opacity: 1;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  position: relative;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #848484;
  border-radius: 3px;
}

input[type="checkbox"]::after {
  content: "";
  display: block;
  position: absolute;
  left: 6px;
  top: calc(50% - 1px);
  width: 6px;
  height: 10px;
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
}

input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled + label {
  cursor: default;
}

input[type="checkbox"]:checked:disabled {
  background: #848484;
}

input[type="checkbox"]:checked:not(:disabled) {
  border-color: var(--c-black);
  background: var(--c-black);
}

input[type="checkbox"]:checked::after {
  opacity: 1;
}

label.radio,
label.checkbox,
input[type="radio"],
input[type="radio"] + label,
input[type="checkbox"],
input[type="checkbox"] + label,
select {
  cursor: pointer;
}

/* IE9以下に対応していないのでコメントアウト
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2em;
背景画像で矢印実装
}
select::-ms-expand {
  display: none;
}
*/

input[type="text"][disabled] {
  background: #dcdcdc;
  cursor: not-allowed;
}
input[type="text"][size="1"]  { width:   7px; }
input[type="text"][size="2"]  { width:  14px; }
input[type="text"][size="3"]  { width:  21px; }
input[type="text"][size="4"]  { width:  28px; }
input[type="text"][size="5"]  { width:  35px; }
input[type="text"][size="6"]  { width:  42px; }
input[type="text"][size="7"]  { width:  49px; }
input[type="text"][size="8"]  { width:  56px; }
input[type="text"][size="9"]  { width:  63px; }
input[type="text"][size="10"] { width:  70px; }
input[type="text"][size="11"] { width:  77px; }
input[type="text"][size="12"] { width:  84px; }
input[type="text"][size="13"] { width:  91px; }
input[type="text"][size="14"] { width:  98px; }
input[type="text"][size="15"] { width: 105px; }
input[type="text"][size="16"] { width: 112px; }
input[type="text"][size="17"] { width: 119px; }
input[type="text"][size="18"] { width: 126px; }
input[type="text"][size="19"] { width: 133px; }
input[type="text"][size="20"] { width: 140px; }
input[type="text"][size="21"] { width: 147px; }
input[type="text"][size="22"] { width: 154px; }
input[type="text"][size="23"] { width: 161px; }
input[type="text"][size="24"] { width: 168px; }
input[type="text"][size="25"] { width: 175px; }
input[type="text"][size="26"] { width: 182px; }
input[type="text"][size="27"] { width: 189px; }
input[type="text"][size="28"] { width: 196px; }
input[type="text"][size="29"] { width: 203px; }
input[type="text"][size="30"] { width: 210px; }
input[type="text"][size="31"] { width: 217px; }
input[type="text"][size="32"] { width: 224px; }
input[type="text"][size="33"] { width: 231px; }
input[type="text"][size="34"] { width: 238px; }
input[type="text"][size="35"] { width: 245px; }
input[type="text"][size="36"] { width: 252px; }
input[type="text"][size="37"] { width: 259px; }
input[type="text"][size="38"] { width: 266px; }
input[type="text"][size="39"] { width: 273px; }
input[type="text"][size="40"] { width: 280px; }
input[type="text"][size="41"] { width: 287px; }
input[type="text"][size="42"] { width: 294px; }
input[type="text"][size="43"] { width: 301px; }
input[type="text"][size="44"] { width: 308px; }
input[type="text"][size="45"] { width: 315px; }
input[type="text"][size="46"] { width: 322px; }
input[type="text"][size="47"] { width: 329px; }
input[type="text"][size="48"] { width: 336px; }
input[type="text"][size="49"] { width: 343px; }
input[type="text"][size="50"] { width: 350px; }
input[type="text"][size="51"] { width: 357px; }
input[type="text"][size="52"] { width: 364px; }
input[type="text"][size="53"] { width: 371px; }
input[type="text"][size="54"] { width: 378px; }
input[type="text"][size="55"] { width: 385px; }
input[type="text"][size="56"] { width: 392px; }
input[type="text"][size="57"] { width: 399px; }
input[type="text"][size="58"] { width: 406px; }
input[type="text"][size="59"] { width: 413px; }
input[type="text"][size="60"] { width: 420px; }
input[type="text"][size="65"] { width: 455px; }
input[type="text"][size="70"] { width: 490px; }
input[type="text"][size="75"] { width: 525px; }
input[type="text"][size="80"] { width: 560px; }
input[type="text"][size="85"] { width: 595px; }
input[type="text"][size="90"] { width: 630px; }
input[type="text"][size="95"] { width: 665px; }
input[type="text"][size="100"] { width: 700px; }

/* ----ラジオボタン、チェックボックス---- */

.radio {
  margin-right: 10px;
}
