/* サブタイトルなどのコンテンツ要素の設定 */

/* コンテナの基本設定 */
.contents {
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
}

.contents section {
	position: relative;
}
.contents section .container {
    padding: 2rem;
    margin: 0 auto;
	max-width: 980px;
}

/* 基本要素の表示設定 */
.first-orange:first-letter {
    color: #33a8f1 ;
}

.contents p {
    font-size: 18px;
    margin: 0;
    padding: 1rem 0;
}

.contents p strong {
    background: linear-gradient(transparent 60%, rgba(255,255,0,0.8) 0%);
}
.contents img{
    max-width: 100%;
    height: auto;
}

.contents input[type=text],
.contents textarea
{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
}
.contents select {
    display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.contents table {
    margin:auto;
}

.contents table tr {
}

.contents table td {
    border: #dee2e6 solid 2px;
    padding: 0.5rem;
}

/* サブタイトル */
.contents .subtitle {
    position: relative;
}
.contents .subtitle h2{
    font-size: 48px;
    text-align: center;
    margin-bottom: 0;
    max-width: 980px;
    padding: 0 10px;
    margin: 0 auto;
}

.contents .subtitle:after {
    content: "";
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 2px;
    width: 100px;
    background-color:#33a8f1 ;
}
.contents .subtitle > .bg {
	position: absolute;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	z-index: -1;
}
.contents .subtitle > .bg::before {
	content: "";
    position: absolute;
	opacity: 0.3;
	z-index: -1;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	background-repeat: repeat;
    background-image: radial-gradient(#33a8f1  0.6px, transparent 0.6px);
    background-size: 12px 12px;
}

/* 図の挿入用 */
.contents .figure{
	display: inline-block;
    width: 100%;
}
.contents .figure > div{
    display: flex;
    justify-content: center;
}
.contents .figure label {
    display: block;
    text-align: right;
    font-size: 14px;
}

/* ボタン */
.contents .round-orange-button {
    background-color: #33a8f1 ;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 60px;
    display: inline-flex;
    max-width: 300px;
    margin: 0 auto;
    transition-duration: 0.3s;
    transition-property: background-color;
    transition-timing-function: ease-in-out;
}
.contents .round-orange-button:hover {
    background-color: #000;
}

/* チェックボックス */
.contents .checks {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-left: -0.5rem;
}
.contents .checks input[type=checkbox] {
    transform: scale(2);
}

.contents .checks label {
    padding-left: 1rem;
}

.contents .checks label,
.contents .checks input[type=checkbox] {
    cursor: pointer;
}

.contents .checks label span {
    padding-left: 0.5rem;
}

/* モバイル対応部分 */
/* 700以下 */
@media only screen and (min-width:0px) and (max-width: 700px){
    .contents {
        margin-top: 1rem;
    }
    .contents .subtitle h2{
        font-size: 32px;
    }
    .contents .round-orange-button{
        padding: 10px;
    }
}