﻿@charset "UTF-8";

/******************** 記事ページ ********************/
/*** --------------- クリエイティブ・コモンズ --------------- ***/
.waku .mol_ccbytop {
    width: 100%;
    margin: 0;
    border-radius: 2px;
    background: #fff;
}

/*** --------------- 記事ページ 右メニュー --------------- ***/
.waku .kiji_sub .kiji_aside {
    border: none;
    background: #fff;
    margin-top: 40px;
    padding: 16px;
}

.waku .kiji_sub .kiji_aside:first-child {
    margin: 0;
}

.waku .kiji_sub .catch {
    padding: 0;
    margin: 0;
}

.waku .kiji_sub .kiji_aside h2 {
    font-family: 'BIZ UDPMincho', serif;
    font-weight: lighter;
    font-size: 125%;
    letter-spacing: 0.1em;
    border: none;
    border-bottom: 1px solid #919191;
    background: transparent;
    padding: 0 10px 1px;
    margin-bottom: 12px;
}

.waku .kiji_sub .kiji_aside.syosai_sonota h3 {
    font-size: 100%;
    margin: 0;
}

/**** 記事ページ見出しのスタイル ****/
/* 最初のh2 */
.mol_contents > .anchor:first-child + h2 {
    margin-top: 0;
}

/* 最初の要素がpの場合 */
.mol_contents > p:first-child {
    margin-top: 0;
}

.mol_contents h2 {
    position: relative;
    font-size: 175%;
    padding: 20px 20px 20px 60px;
    margin: 30px 0 0;
    background: #F5F5F5;
    letter-spacing: 0.12em;
    line-height: 1.5;
}

.mol_contents h2::before {
    content: '';
    position: absolute;
    width: 20px;
    aspect-ratio: 1 / 1;
    background: url(img/newsletter_icon_h4.png) center center / contain no-repeat;
    top: 31px;
    left: 20px;
}

.mol_contents h3 {
    position: relative;
    font-size: 150%;
    padding: 15px 10px 15px 40px;
    margin: 30px 0 0;
    letter-spacing: 0.12em;
    line-height: 1.5;
    border-top: 3px solid #DDDDDD;
    border-bottom: 3px solid #DDDDDD;
}

.mol_contents h3::before {
    content: '';
    position: absolute;
    width: 15px;
    aspect-ratio: 1 / 1;
    background: url(img/newsletter_icon_h4.png) center center / contain no-repeat;
    top: 26px;
    left: 12px;
}

.mol_contents h4 {
    position: relative;
    font-size: 125%;
    padding: 0px 10px 10px 35px;
    margin: 20px 0 0;
    letter-spacing: 0.12em;
    line-height: 1.5;
    border-bottom: 2px solid #919191;
}

.mol_contents h4::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: url(img/newsletter_icon_h4.png) center center / contain no-repeat;
    top: 9px;
    left: 10px;
}

/* ----- 画像 ----- */
.mol_imageblock_img a {
    transition: 0.3s;
}

.mol_imageblock_img a:hover {
    opacity: 0.8;
}

div.mol_imageblock .mol_imageblock_img_medium
div.mol_contents div.mol_imageblock_img_medium {
    max-width: 380px;
}

div.mol_imageblock_img_al_floatleft,
div.mol_imageblock_img_al_floatright,
div.mol_imageblock_img_al_left,
div.mol_imageblock_img_al_right,
div.mol_imageblock_w_long.mol_imageblock_img_al_center{
    min-width: 390px;
}

@media only screen and (max-width:  480px) {
div.mol_imageblock_img_al_floatleft,
div.mol_imageblock_img_al_floatright,
div.mol_imageblock_img_al_left,
div.mol_imageblock_img_al_right,
div.mol_imageblock_w_long.mol_imageblock_img_al_center{
    min-width: 100%;
}
}

/* ----- リンク ----- */
.mol_textblock a {
	text-decoration: underline;
}

.mol_textblock a:hover {
	text-decoration: none;
}

/* ----- リスト ----- */
.mol_textblock ul li {
    position: relative;
    display: block;
    margin: 12px 0 0;
    padding-left: 15px;
}

.mol_textblock ul li::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #333;
    transform: rotate(45deg);
    top: 0.6em;
    left: 1px;
}

.mol_contents ol {
    padding-left: 50px;
}

/* ----- 添付ファイルブロック ----- */
.mol_attachfileblock .icon {
	top: -3px;
}

.mol_attachfileblock a {
    text-decoration: underline;
}


.mol_attachfileblock a:hover {
    text-decoration: none;
}

/* ----- アンケート ----- */
.inkiji .main_naka .syosai_qa h2 {
    font-size: 125%;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #919191;
    padding: 0 10px 1px;
}

#body .design .main_naka .syosai_qa .qa_button button {
    border-radius: 5px;
    border: 1px solid #333;
    padding: 5px 16px;
}

#body .design .main_naka .syosai_qa .qa_button button:hover {
    color: #333;
    background: #fff;
    border: 1px solid #333;
}
