﻿/* ****************************************************************************************************
   * タイトル
**************************************************************************************************** */

.title-1 {
  margin: 0 auto 1em;
  padding: 0 3em 0.5em;
  font-size: 3.8rem;
  text-align: center;
  font-family: NotoSerifCJKjp;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-display: swap;
}

.title-1::before {
  content: '';
  width: 2.316em;
  height: 2.105em;
  margin-right: 1.25em;
  background: url(../../_images/_common/title-bg-1.png) center center no-repeat;
  background-size: 100% 100%;
  flex-shrink: 0;
}

.title-1::after {
  content: '';
  width: 2.316em;
  height: 2.105em;
  margin-left: 1.25em;
  background: url(../../_images/_common/title-bg-2.png) center center no-repeat;
  background-size: 100% 100%;
  flex-shrink: 0;
}

.title-2 {
  font-family: NotoSerifCJKjp;
  font-size: 3.8rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1em;
  font-display: swap;
}

.title-3 {
  font-size: 3rem;
  font-family: NotoSerifCJKjp;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  color: #144a97;
  padding: 0.25em 0;
  margin-bottom: 1em;
  font-display: swap;
}

@media (max-width:736px) {
  .title-1,
  .title-2 {
    font-size: 2.4rem;
  }
  .title-3 {
    font-size: 1.8rem;
  }
}

/* ****************************************************************************************************
   * btn
**************************************************************************************************** */

.btn-1 {
  position: relative;
  display: table;
  font-size: 1.8rem;
  font-weight: bold;
  color: #144a97;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  border: 3px solid;
  padding: 0.75em 1em;
  padding-right: 2em;
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  transition: 0.2s background;
}

.btn-1:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  display: block;
  width: 16px;
  height: 16px;
  background: url(../../_images/_common/btn-1.png) center center /contain no-repeat;
  margin-top: -8px;
  transition: 0.2s right;
}

.btn-1:hover:after {
  right: 0.8em;
  background: url(../../_images/_common/btn-1-hover.png) center center /contain no-repeat;
}

.btn-1:hover {
  color: #fff;
  border-color: #144a97;
  background: #144a97;
}

.btn-2 {
  min-width: 300px;
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #004ea2;
  padding: 0.75em 2em;
  margin: 0 auto;
}

.btn-2.back {
  background: #aaa;
}

/* ****************************************************************************************************
   * layout
**************************************************************************************************** */

[class*="layout-flex"] {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
}

.layout-flex-2.reverse {
  flex-direction: row-reverse;
}

.layout-flex-2 > * {
  width: 48%;
}

.layout-flex-2 > *:nth-child(n+3) {
  margin-top: 40px;
}

.layout-flex-3 > * {
  width: 30%;
}

.layout-flex-3 > *:nth-child(n+4) {
  margin-top: 30px;
}

.layout-flex-4 > * {
  width: 23%;
}

.layout-flex-4 > *:nth-child(n+5) {
  margin-top: 30px;
}

@media (max-width:736px) {
  .layout-flex-2 > *,
  .layout-flex-3 > * {
    width: 100%;
  }
  .layout-flex-2 > *~*,
  .layout-flex-3 > *~* {
    margin-top: 20px;
  }
  .layout-flex-4 > * {
    width: 49%;
  }
  .layout-flex-4 > *:nth-child(n+3) {
    margin-top: 20px;
  }
}

/* ****************************************************************************************************
   * Animation
**************************************************************************************************** */

.anime-float { animation:float 2s ease-in-out infinite alternate; }

@keyframes float {
  0% { margin-top: 0 }
  100% { margin-top: -12px; }
}
/* ****************************************************************************************************
   * テキスト
**************************************************************************************************** */

.color-red { color:#f00; }

.align-l { text-align:left !important; }
.align-c { text-align:center !important; }
.align-r { text-align:right !important; }

@media (max-width:736px) {
  .align-c.pc {
    text-align: left !important;
  }
}

/* ****************************************************************************************************
   * 画像
**************************************************************************************************** */

.inline-left  { margin-right:4.70%; margin-bottom:0.75em; float:left; }
.inline-right { margin-left:4.70%; margin-bottom:0.75em; float:right; }

.inline-left img,
.inline-right img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.valign-t { vertical-align:top; }
.valign-m { vertical-align:middle; }
.valign-b { vertical-align:bottom; }

/* ****************************************************************************************************
   * テーブル
**************************************************************************************************** */

table.default + * { margin-top:1.5em; }

* + table.default { margin-top:1.5em; }

table.default { width:100%; border-collapse:collapse; }

table.default tr > th,
table.default tr > td {
  padding: 0.5em;
  font-weight: normal;
  text-align: left;
  border-bottom: 2px dotted #dcdce0;
}

table.default tr > th[scope] {
}

table.default tr > td {
}

@media (max-width:736px) {
  table.default:not(.no-responsive),
  table.default:not(.no-responsive) tbody,
  table.default:not(.no-responsive) tr,
  table.default:not(.no-responsive) tr > * {
    width: 100%;
    display: block;
  }
  table.default:not(.no-responsive) tr ~ tr {
    margin-top: 1em;
  }
  table.default:not(.no-responsive) tr > td {
    border: none;
  }
  table.default:not(.no-responsive) caption {
    display: block;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5em;
  }
}

/* ****************************************************************************************************
   * リスト
**************************************************************************************************** */

ul.default,
ul.default li {
  margin: 0;
  padding: 0;
}

ul.default {
  margin-left: 1.25em;
}

ul.default li {
  list-style: disc;
}

ul.default li ~ li {
  margin-top: 0.5em;
}

ul.default + * { margin-top:1.5em; }

* + ul.default { margin-top:1.5em; }

ol.default,
ol.default li {
  margin: 0;
  padding: 0;
}

ol.default {
  margin-left: 1.75em;
}

ol.default li {
  list-style: decimal;
}

ol.default li ~ li {
  margin-top: 0.5em;
}

ol.default + * { margin-top:1.5em; }

* + ol.default { margin-top:1.5em; }

dl.default,
dl.default dt,
dl.default dd {
  margin: 0;
  padding: 0;
}

dl.default dt {
  font-weight: inherit;
}

dl.default dd {
  margin-top: 0.5em;
  margin-left: 2.25em;
  display: list-item;
  list-style: disc;
}

dl.default + * { margin-top:1.5em; }

* + dl.default { margin-top:1.5em; }

/* ****************************************************************************************************
   * フロートクリア
**************************************************************************************************** */

.clearfix:after { content:''; display:block; clear:both; }

.clear { clear:both; }
