﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, #flex {
    height: auto;
    min-height: auto;
    width: 100%;
    min-width: 100%;
}

body {
    color: #888;
    font-size: 15px;
    font-family: "メイリオ", "游ゴシック",  'Yu Gothic', "ヒラギノ丸ゴ ProN W4", "ＭＳ Ｐゴシック", "ＭＳ ゴシック", sans-serif;
    line-height: 26px;
    letter-spacing: 0.4px;
    background-color: #fefefe;
}

#flex {
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
}

article {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        width: 60%;
        margin: 30px 0;
        padding: 30px;
}

article, #flex, .column_2 {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

article, #flex {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.column_2 {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

article {
    border: 1px solid #ccc;
    box-shadow: 5px 5px 10px -5px #ccc;
}

.bg_l, .bg_r {
    position: fixed;
    z-index: 2;
    width: 95px;
    height: 210px;
}

.bg_l {
    background: url('../bg_tb.png') no-repeat;
    top: 0;
    left: -10px;
}

.bg_r {
    background: url('../bg_tb.png') no-repeat;
    bottom: -50px;
    right: -20px;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.contents, .line {
    height: 100%;
}

.contents {
    z-index: 1;
    position: relative;
    direction: ltr;
}

.column, .column_2 {
    width: 100%;
    direction: ltr;
}

.column p {
    width: 100%;
    border: 1px dashed #ccc;
    margin: 10px auto;
    padding: 15px;
}

.column_2 p {
    padding: 10px;
}

.column span, .column_2 span {
    border-bottom: 1px dashed #aaa;
    padding: 2px 0;
}

.column .center, .column_2 .center {
    width: 100%;
    flex: none;
    text-align: center;
    border: 0;
    margin: 0;
    padding: 20px;
}

.left{
    direction: rtl;
}

.line {
    position: relative;
}

.line:before, .line:after {
    content: "";
    margin: auto;
    background-color: #ccc;
    position: absolute;
    z-index: 0;
}

.bg_c {
    background: url('../bg_center.png') no-repeat;
    background-color: #fefefe;
    position: absolute;
    z-index: 1;
    width: 61px;
    height: 230px;
}

h1 {
    font-family: 'Miss Fajardose', cursive;
    color: rgba(85, 85, 85, .9);
    position: absolute;
    z-index: 3;
    top: 75px;
}

h2 {
    width: 100%;
    flex: none;
    font-family: 'Marcellus SC', sans-serif;
    letter-spacing: 2px;
    font-weight: normal;
    text-align: center;
}

mark {
    font-size: 15px;
    background: linear-gradient(transparent 60%, rgba(198, 137, 198, .5) 0%);
}

a {
    color: #888;
    text-decoration: none;
}

a:link {
    color: #bbb;
}

a:hover {
    color: #add691;
}

img {
    display: inline-block;
    border: 0px solid #ccc;
}

.title {
    display: inline-block;
    border: 0px solid #ccc;
    width: 40%;
}

/* 画面サイズ1000px以下 */

@media screen and (max-width: 1000px) {
    html, body, #flex {
      height: auto;
      min-height: auto;
      font-size: 15px;
      line-height: 27px;
    }
    #flex {
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
    }
    article {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        width: 95%;
        margin: 30px 0;
	padding: 20px;
    }
    .contents {
        width: 100%;
        height: auto;
        position: relative;
        overflow: visible;
        margin: 30px 0;
        padding: 10px;
    }
    .column, .column_2 {
        padding: 0 0 30px;
    }
    .column_2 p {
        width: 50%;
    }
    .line {
        width: 100%;
        height: 50px;
    }
    .line:before, .line:after {
        width: 90%;
        height: 1px;
        left: 0;
        right: 0;
        top: 50%;
    }
    .bg_c {
        background-size: contain;
        top: -97px;
        left: 0;
        right: 0;
        margin: 0 auto;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    h1 {
        font-size: 8em;
        left: 60px;
    }
    h2 {
        font-size: 1.6em;
        margin: 20px 0 6px;
    }
}


/* 画面サイズ500px以下 */

@media screen and (max-width: 500px) {

    article {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        width: 95%;
        margin: 30px 0;
	padding: 5px;
    }
.bg_l, .bg_r {
    position: fixed;
    z-index: 2;
    width: 71px;
    height: 156px;
}
    .bg_l {
        background: url('../bg_tb_sp.png') no-repeat;
        top: 0;
        left: -5px;
    }

    .bg_r {
        background: url('../bg_tb_sp.png') no-repeat;
        bottom: -5px;
        right: -10px;
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
    }
    .contents {
        width: 100%;
    }
    .column, .column_2 {
        padding: 0 0px 30px;
        direction: ltr;
    }
.column p {
    width: 95%;
    }
    .column_2 p {
        width: 100%;
        flex: none;
    }
    h1 {
        font-size: 7em;
        left: 30px;
        font-weight: normal;
    }
img {
    display: inline-block;
    border: 0px solid #ccc;
}

.title {
    display: inline-block;
    border: 0px solid #ccc;
    width: 80%;
}
}

/* 2021.7.3　修正 */