/*==========================================================
base.css
Version : 1.0
Author  : One Design

Contents
--------------------------------------------
01 : CSS Variables
02 : Reset
03 : Base
04 : Layout
05 : Typography
==========================================================*/
/*==========================================================
01 : CSS Variables
==========================================================*/ :root {
  /*==================================
    Color
    ==================================*/
  --main: #0c72b8;
  --main-dark: #005999;
  --sub: #4aa3df;
  --accent: #ff9800;
  --text: #111;
  --gray: #666;
  --light: #999;
  --border: #dddddd;
  --bg: #f7fbff;
  --white: #ffffff;
  --black: #000000;
  --text-blue: #0095d9;
  --text-yellow: #ffd900;
  --text-orange: #f08300;
  --text-red: #d7003a;
  --text-green: #38b48b;
  /*==================================
    Width/hight
    ==================================*/
  --container: 1140px;
  --inner: 980px;
  --header-height: 80px;
  --section-space: 80px;
  /*==================================
    Radius
    ==================================*/
  --radius: 5px;
  --radius-lg: 10px;
  /*==================================
    Shadow
    ==================================*/
  --shadow: 0 5px 20px rgba(0, 0, 0, .08);
  /*==================================
    Animation
    ==================================*/
  --speed: .3s;
  /*==================================
    Font
    ==================================*/
  --font:
    "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}
/*==========================================================
02 : Reset
==========================================================*/
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, figure, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style-position: outside;
}
img {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, textarea, select {
  font: inherit;
}
/*==========================================================
03 : Base
==========================================================*/
html {
  font-size: 16px;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  word-break: break-word;
  overflow-wrap: anywhere;
}
/*==========================================================
Image
==========================================================*/
img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
/*==========================================================
Link
==========================================================*/
a {
  color: var(--main);
  text-decoration: none;
  transition: all var(--speed);
}
a:hover {
  color: var(--main-dark);
  text-decoration: underline;
}
/*==========================================================
Horizontal Line
==========================================================*/
hr {
  margin: 4rem 0;
  border: none;
  border-top: 1px solid var(--border);
}
/*==========================================================
Text
==========================================================*/
p {
  margin-bottom: 1.5em;
}
small {
  font-size: .875rem;
  color: var(--gray);
}
strong {
  color: var(--main-dark);
  font-weight: 700;
}
em {
  font-style: italic;
}
blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 5px solid var(--sub);
  background: var(--bg);
}
.text-right, 
p.right {
  text-align: right;
}
.text-center, 
p.center {
  text-align: center;
}
.text-blue {
  color: var(--text-blue);
}
.text-yellow {
  color: var(--text-yellow);
}
.text-red {
  color: var(--text-red);
}
.text-green {
  color: var(--text-green);
}
.text-big {
  font-size: 1.14em;
  font-weight: 700;
}
.text-large {
  font-size: 1.28em;
  font-weight: 700;
}
.bold {
  font-weight: 700;
}
/* Quick Tag CSS */
.red-text {
  color: var(--text-red);
}
.bold-red {
  color: var(--text-red);
  font-weight: 700;
}
.blue-text {
  color: var(--text-blue);
}
.bold-blue {
  color: var(--text-blue);
  font-weight: 700;
}
.marker-under {
  background: linear-gradient(transparent 70%, #ffff66 70%);
  font-weight: bold;
}
/*==========================================================
04 : Layout
==========================================================*/
header {
  
}
main {
  display: block;
}
section {
  
}
footer {
  
}
/*==========================================================
Container
==========================================================*/
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}
.inner {
  width: min(var(--inner), calc(100% - 40px));
  margin: auto;
}
.wrapper {
  overflow: hidden;
}
/*==========================================================
05 : Typography
==========================================================*/
h1, h2, h3, h4, h5, h6 {
  margin-bottom: .8em;
  line-height: 1.4;
  font-weight: 700;
  color: var(--main-dark);
}
h1 {
  font-size: 2.1rem;
}
h2 {
  font-size: 1.8rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.32rem;
}
h5 {
  font-size: 1.16rem;
}
h6 {
  font-size: 1rem;
}
/*==========================================================
06 : List
==========================================================*/
ul, ol {
  margin: 0 0 2rem 1.5rem;
}
ul li, ol li {
  margin-bottom: .6rem;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: .6rem;
  margin-bottom: 0;
}
dl {
  margin-bottom: 2rem;
}
dt {
  margin-bottom: .4rem;
  font-weight: 700;
  color: var(--main-dark);
}
dd {
  margin: 0 0 1rem;
}
/*==========================================================
07 : Table
==========================================================*/
/*
スマホでは

<div class="table-scroll">
    <table>
    ...
    </table>
</div>

で囲むだけで横スクロール対応
*/
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  min-width: 700px;
}
table {
  width: 100%;
  margin-bottom: 2rem;
  border-collapse: collapse;
}
th, td {
  padding: 15px 18px;
  border: 1px solid var(--border);
  vertical-align: middle;
}
th {
  background: var(--main);
  color: var(--white);
  text-align: left;
  font-weight: 700;
}
td {
  background: var(--white);
}
/*==========================================================
08 : Form
==========================================================*/
form {
  margin-bottom: 2rem;
}
fieldset {
  margin: 0;
  padding: 0;
  border: none;
}
legend {
  margin-bottom: 1rem;
  font-weight: 700;
}
label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 700;
}
input[type="text"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 14px;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #999;
}
textarea {
  min-height: 180px;
  resize: vertical;
}
input[type="file"] {
  padding: 8px;
}
::placeholder {
  color: #999;
}
input[type="date"] {
  width: 15em;
  min-height: 42px !important;
  padding: 0.5rem 0.8rem;
  box-sizing: border-box;
  font-size: 16px;
  color: #111111;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
input[type="number"]{
  width: 5em !important;
  min-height: 42px;
  padding: .6rem;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  box-sizing: border-box;
}
/*==========================================================
Check and Radio
==========================================================*/
/* 1. マークを大きくする */
input[type="radio"],
input[type="checkbox"] {
    transform: scale(1.4); /* 1.4倍の大きさに（数字を大きくするとさらに拡大） */
    margin-right: 10px;   /* マークと文字の間のスキマ */
    cursor: pointer;
}
label.form-check-label{
	
}


/*==========================================================
Select
==========================================================*/
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray) 50%), linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
/*==========================================================
09 : Button
==========================================================*/
button, .btn {
  display: inline-block;
  padding: 14px 40px;
  border: none;
  border-radius: var(--radius);
  background: var(--main);
  color: var(--white);
  cursor: pointer;
  transition: all var(--speed);
  text-align: center;
}
button:hover, .btn:hover {
  background: var(--main-dark);
  color: var(--white);
  text-decoration: none;
}
.btn-outline {
  background: none;
  border: 2px solid var(--main);
  color: var(--main);
}
.btn-outline:hover {
  background: var(--main);
  color: var(--white);
}
/*==========================================================
Disabled
==========================================================*/
button:disabled, .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
/*==========================================================
10 : Figure
==========================================================*/
figure {
  margin: 0 0 2rem;
}
figcaption {
  margin-top: .8rem;
  font-size: .9rem;
  color: var(--gray);
}
/*==========================================================
11 : iframe
==========================================================*/
iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
/*==========================================================
Responsive Movie
==========================================================*/
.movie {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/*==========================================================
Responsive Google Map
==========================================================*/
.map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/*==========================================================
Video
==========================================================*/
video {
  display: block;
  width: 100%;
  height: auto;
}
/*==========================================================
12 : Display Utility
==========================================================*/
.block {
  display: block;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}
.none {
  display: none;
}
/*==========================================================
13 : Flex
==========================================================*/
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.wrap {
  flex-wrap: wrap;
}
.nowrap {
  flex-wrap: nowrap;
}
.column {
  flex-direction: column;
}
.row {
  flex-direction: row;
}
.center {
  justify-content: center;
}
.between {
  justify-content: space-between;
}
.around {
  justify-content: space-around;
}
.evenly {
  justify-content: space-evenly;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.self-center {
  align-self: center;
}
.gap-10 {
  gap: 10px;
}
.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}
.gap-40 {
  gap: 40px;
}

/*横揃え
<div class="box">
  <div class="box-item w100">100</div>
  <div class="box-iitem w200">200</div>
  <div class="box-iitem w300">300</div>
</div>
*/
.box{
    width:640px;
    display:flex;
	justify-content:flex-start;
	/*justify-content:flex-end;*//*右寄せ*/
	/*justify-content:center;*//*左右中央寄せ*/
}
.box3{
    width:640px;
	height:100px;/*高さも指定*/
    display:flex;
	justify-content:flex-start;
	/*justify-content:flex-end;*//*右寄せ*/
	/*justify-content:center;*//*左右中央寄せ*/
	/*align-items:flex-start;*//*上揃え*/
	align-items:center;/*天地中央合わせ*/
	/*align-items:flex-end;*//*下揃え*/
}
.w100{ width:100px; }
.w200{ width:200px; }
.w300{ width:300px; }

.box-item{
    background:#ddd;
    border:1px solid #999;
}
/*アイテムの中の文字も天地左右中央*/
.box-item{
    display:flex;
    justify-content:center;
    align-items:center;
}

/*アイコンパレード画像を使う
<div class="icon-list">
    <img src="icon1.svg" alt="">
    <img src="icon2.svg" alt="">
    <img src="icon3.svg" alt="">
    <img src="icon4.svg" alt="">
</div>
[justify-content の指定]
	flex-start	左寄せ
	center	中央寄せ
	flex-end	右寄せ
	space-between	両端に配置し、間隔を均等にする
	space-around	両側に余白を付けて均等配置
	space-evenly	すべての間隔を均等にする
*/
.icon-list{
    display:flex;
    gap:12px;              /* アイコン同士の間隔 */
    justify-content:flex-start;
    align-items:center;
}
.icon-list img{
    width:40px;
    height:40px;
}
/*アイコンパレード追加指定*/
.icon-list{
    display:flex;
    gap:12px;
    flex-wrap:wrap;   /* 横幅が足りなければ折り返す */
}
.icon-list{
    display:flex;
    overflow-x:auto;  /* 折り返さず横スクロール */
}
/*画像にリンクを張る*/
.sns{
    display:flex;
    justify-content:center;
	/*justify-content:flex-start;*//*左寄せ*/
	/*justify-content:flex-end;*//*右寄せ*/
    align-items:center;
    gap:16px;
}
.sns img{
    width:32px;
    height:32px;
}
/*SVGアイコンやFont Awesomeを使う場合は、画像ではなくリンク自体をFlexで中央揃えにする*/
.sns-link {
    display:flex;
    gap:16px;
}

.sns-link a{
    display:flex;
    justify-content:center;/*左右センター*/
    align-items:center;/*天地センター*/
    width:40px;
    height:40px;
}
/*==========================================================
14 : Grid
==========================================================*/
.grid {
  display: grid;
  gap: 30px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/*==========================================================
15 : Card
==========================================================*/
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-body {
  padding: 30px;
}
/*==========================================================
16 : Object Fit
==========================================================*/
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*==========================================================
17 : Width Utility
==========================================================*/
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.w-33 {
  width: 33.333%;
}
.w-25 {
  width: 25%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
/*==========================================================
18 : Text Utility
==========================================================*/
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
/*==========================================================
19 : Margin Utility
==========================================================*/
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}
.mt-6 {
  margin-top: 60px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}
.mb-6 {
  margin-bottom: 60px;
}
/*==========================================================
20 : Padding Utility
==========================================================*/
.pt-0 {
  padding-top: 0;
}
.pt-1 {
  padding-top: 10px;
}
.pt-2 {
  padding-top: 20px;
}
.pt-3 {
  padding-top: 30px;
}
.pt-4 {
  padding-top: 40px;
}
.pt-5 {
  padding-top: 50px;
}
.pb-0 {
  padding-bottom: 0;
}
.pb-1 {
  padding-bottom: 10px;
}
.pb-2 {
  padding-bottom: 20px;
}
.pb-3 {
  padding-bottom: 30px;
}
.pb-4 {
  padding-bottom: 40px;
}
.pb-5 {
  padding-bottom: 50px;
}
/*==========================================================
21 : Border Utility
==========================================================*/
.border {
  border: 1px solid var(--border);
}
.round {
  border-radius: var(--radius);
}
.round-lg {
  border-radius: var(--radius-lg);
}
.shadow {
  box-shadow: var(--shadow);
}
/*==========================================================
22 : Background Utility
==========================================================*/
.bg-main {
  background: var(--main);
  color: var(--white);
}
.bg-sub {
  background: var(--bg);
}
.bg-white {
  background: var(--white);
}
/*==========================================================
23 : Color Utility
==========================================================*/
.color-main {
  color: var(--main);
}
.color-accent {
  color: var(--accent);
}
.color-gray {
  color: var(--gray);
}
.color-white {
  color: var(--white);
}
/*==========================================================
24 : PC / SP
==========================================================*/
.pc {
  display: block;
}
.sp {
  display: none;
}
/*==========================================================
25 : Animation
==========================================================*/
.fade {
  transition: all var(--speed);
}
.hover-up {
  transition: all var(--speed);
}
.hover-up:hover {
  transform: translateY(-5px);
}
.hover-scale {
  overflow: hidden;
}
.hover-scale img {
  transition: transform .5s;
}
.hover-scale:hover img {
  transform: scale(1.05);
}
/*==========================================================
26 : Tablet
==========================================================*/
@media screen and (max-width:1100px) {
  section {
    padding: 60px 0;
  }
  .container {
    width: calc(100% - 40px);
  }
  .inner {
    width: calc(100% - 40px);
  }
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.4rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/*==========================================================
27 : Smart Phone
==========================================================*/
@media screen and (max-width:767px) {
  html {
    font-size: 15px;
  }
  body {
    line-height: 1.75;
  }
  section {
    padding: 50px 0;
  }
  .container, .inner {
    width: calc(100% - 30px);
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  h3 {
    font-size: 1.45rem;
  }
  h4, h5, h6 {
    font-size: 1.2rem;
  }
  p {
    margin-bottom: 1.3em;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .flex {
    flex-wrap: wrap;
  }
  .w-75, .w-50, .w-33, .w-25 {
    width: 100%;
  }
  button, .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card-body {
    padding: 20px;
  }
  th, td {
    padding: 12px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
/*==========================================================
28 : Print
==========================================================*/
@media print {
  body {
    background: #fff;
    color: #000;
  }
  header, footer, nav, aside, .no-print {
    display: none !important;
  }
  a {
    color: #000;
    text-decoration: none;
  }
}
/*==========================================================
29 : Accessibility
==========================================================*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/*==========================================================
30 : Clearfix
==========================================================*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
/*==========================================================
31 : Hide
==========================================================*/
.hide {
  display: none !important;
}
/*==========================================================
End
==========================================================*/