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

.title-1 {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 45px;
}

.title-1:before {
  content: attr(data-text);
  font-size: 4rem;
  font-weight: bold;
  font-family: Oswald;
  font-style: italic;
  display: block;
  margin-left: -5px;
  padding-bottom: 8px;

  text-shadow: 8px 10px 3px rgba(115, 210, 111, 0.3);
}

.title-2 {
  width: calc( 100% - 60px );
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  padding: 0.5em;
  background: #f1f1f1;
  margin: 0 auto 1em;
}

.title-2:before,
.title-2:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  height: 100%;
  background: #f1f1f1;
  transform: skewX(-20deg);
}

.title-2:before {
  left: -20px;
}

.title-2:after {
  left: auto;
  right: -20px;
}

.title-3 {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  padding: 0.25em 0;
  margin-bottom: 0.75em;
}

.title-4 {
  position: relative;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  padding: 0.25em 0;
  margin-bottom: 0.75em;
}

.title-4:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #bbb;
}

.title-4 span {
  display: inline-block;
  position: relative;
  background: #fff;
  padding-left: 3px;
  padding-right: 3px;
}

.title-5 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
  color: #74d370;
  padding: 0.25em 0;
}

@media (max-width:736px) {
  .title-1 {
    font-size: 1.6rem;
    margin-bottom: 2em;
  }
  .title-1:before {
    font-size: 3rem;
  }
  .title-3,.title-4 {
    font-size: 2.2rem;
  }
  .title-3 {
    text-align: left;
  }
}

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

.btn-1 {
  position: relative;
  display: table;
  color: #fff;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  padding: 2em 3em;
  background-color: #000;
  transition: 0.2s background-color;
  overflow-y: hidden;
}

.btn-1:before,
.btn-1:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  background-color: #000;
  transform: skewX(-20deg);
  transition: 0.2s background-color;
}

.btn-1:before {
  left: -15px;
}

.btn-1:after {
  right: -15px;
}

.btn-1:hover,
.btn-1:hover:before,
.btn-1:hover:after {
  background-color: #999;
}

/* ****************************************************************************************************
   * 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) {
  [class*="layout-flex"] {
    display: block;
  }
  .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;
  }
}

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

.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.75em;
  font-weight: normal;
  text-align: left;
  border: 1px solid #bbb;
}

table.default tr > th {
  font-weight: bold;
  text-align: left;
  background: #f1f1f1;
}

table.default tr > td {
  background: #fff;
}

@media (max-width:736px) {
  table.default:not(.no-responsive),
  table.default:not(.no-responsive) > tbody,
  table.default:not(.no-responsive) > tbody > tr,
  table.default:not(.no-responsive) > tbody > tr > * {
    width: 100%;
    display: block;
  }
  table.default tr > th,
  table.default tr > td {
    padding: 0.5em;
  }
  table.default:not(.no-responsive) > tbody > tr ~ tr {
    margin-top: 1em;
  }
  table.default:not(.no-responsive) > tbody > 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; }
