﻿@charset "utf-8";

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

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 1
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.title-1 {
  text-align: center;
  margin-bottom: 3em;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 2
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.title-2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #047141;
  padding: 0.25em 0;
  margin-bottom: 0.25em;
}

@media (max-width:736px) {
  .title-2 {
    font-size: 2.5rem;
  }
}

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

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

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

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

.layout-flex-3 > * {
  width: 30%;
  padding: 0.5em 1%;
}

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

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

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

/* ****************************************************************************************************
   * テキスト
**************************************************************************************************** */

.color-red { color:#f00; }

.align-l { text-align:left !important; }
.align-c { text-align:center !important; }
.align-r { text-align:right !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 {
  font-weight: normal;
  vertical-align: top;
  padding: 0.75em;
  padding-bottom: 1.1em;
  background: url(/resource/images/common/border.png) center bottom repeat-x;
}

table.default tr:first-child > * {
  padding-top: 1.1em;
  padding-bottom: 1.1em;
  background: url(/resource/images/common/border.png) center bottom repeat-x,
              url(/resource/images/common/border.png) center top repeat-x;
}

table.default tr > th[scope] {
  text-align: center;
}

@media (max-width:736px) {
  table.default tr > * {
    width: 100% !important;
    display: block;
  }
  table.default tr th {
    text-align: left !important;
    background: none;
    padding: 0.75em 0.5em 0 !important;
  }
  table.default tr:first-child th {
    padding: 1em 0.5em 0 !important;
    background: url(/resource/images/common/border.png) center top repeat-x;
  }
  table.default tr:first-child td {
    padding-top: 0.5em;
    background: url(/resource/images/common/border.png) center bottom repeat-x;
  }
}

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

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * ul
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

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
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

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
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

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; }
