/* カスタム CSS をここに入力してください */ /* 画像付きコメント */ .combox img{ width:40px; border-radius:50%; margin:5px 10px 10px 0px; }.combox{ border:solid 1px #c0c0c0; border-radius:5px; }.comment-text{ display: flex; align-items: center; border-bottom: 1px dotted #ccc; padding-bottom: 1px; margin:10px 20px 5px; }.combox p{ margin-bottom:0px; line-height:18px; }.combox .star2{ color:#FFB400; }.comment-text2{ margin: 0px 20px 10px; text-align:justify; }.comment-text2 p{ line-height:26px; } .syasenrain { position: relative; padding-bottom: 10px; font-size: 18px; font-weight: bold; margin-bottom: 17px; } .syasenrain::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; background-image: repeating-linear-gradient(45deg, #003c78 0px, #003c78 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%); background-size: 8px 8px; } .yokorain { position: relative; border-bottom: 3px solid #ff0000; font-size: 18px; font-weight: bold; margin-bottom: 17px; } .yokorain::after { position: absolute; content: " "; display: block; border-bottom: solid 3px #003c78; bottom: -3px; width:15%; } /*テーブル枠線、背景色*/ table th, table td { border: 1px solid #ccc; background: #ffffff; } /*プロフィール枠*/ #author_profile { border: 1px solid #0e7ac4; width: 100%; margin: 40px auto; overflow: hidden; } #author_profile p { margin-bottom: 20px; line-height: 1.8; } /*この記事を書いた人の見出し*/ #author_profile p.label { font-size: 14px; font-weight: bold; color: #fff; background: #0e7ac4; padding: 10px 15px; } /*名前*/ #author_profile p.author_name { font-size: 14px; font-weight: bold; display: inline-block; position: relative; } /*名前下の下線*/ #author_profile p.author_name::after { content: ""; border-bottom: solid 3px #194c80; position: absolute; left: 0; right: 0; bottom: -6px; } /*左側画像ブロック*/ #author_profile .left { width: 14%; float: left; margin: 10px 0 15px 30px; } /*画像サイズ*/ #author_profile .left img { width: 100%; } /*右側テキストブロック*/ #author_profile .right { width: 74%; float: left; font-size: 12px; line-height: 1.6; padding: 5px 0 20px 30px; } /*テキスト下部SNSブロック*/ #author_profile .right ul.author_sns { margin: 0; border-top: 1px dotted #dddddd; margin-top: 15px; padding-top: 20px; } #author_profile .right ul.author_sns li { float: left; margin-right: 15px; list-style: none; } #author_profile .right ul.author_sns li:last-child { margin-right: 0; } /*SNSアイコンを使う場合は別途アイコンCSSの設定が必要*/ #author_profile .right ul.author_sns li i.icon-facebook { color: #fff; background-color: #194c80; margin-right: 8px; padding: 6px 8px 0; position: relative; bottom: -3px; } /*SP時の挙動(画面サイズが小さい時)*/ @media (max-width: 480px) { #author_profile p.author_name { text-align: center; } #author_profile .left { width: 100%; float: none; margin-left: 0; margin-bottom: 0; text-align: center; } #author_profile .left img { width: 33%; } #author_profile .right { width: 90%; float: none;    padding: 10px 20px 0; } #author_profile .right ul.author_sns li { margin-bottom: 20px; } } .box5-red { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:800px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 2em 2em 1.7em; /* ボックスの内側余白(上:2em 左右:2em 下:1.7em) */ border: 1px solid #e60033; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ background: #FFFFFF; /* ボックス背景色 */ } .box5-red .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -18px; /* 上から(-18px)移動*/ left: 27px; /* 左から(27px)移動 */ background: #e60033; /* タイトル背景色 */ color: #fff; /* タイトル文字色 */ padding: 0.6em 1em;/* タイトルの内側余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 17px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ border-radius:4px;/* タイトルの角丸 */ } .box5-red p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } .box5-blue { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:800px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 2em 2em 1.7em; /* ボックスの内側余白(上:2em 左右:2em 下:1.7em) */ border: 1px solid #0e7ac4; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ background: #FFFFFF; /* ボックス背景色 */ } .box5-blue .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -18px; /* 上から(-18px)移動*/ left: 27px; /* 左から(27px)移動 */ background: #0e7ac4; /* タイトル背景色 */ color: #fff; /* タイトル文字色 */ padding: 0.6em 1em;/* タイトルの内側余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 17px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ border-radius:4px;/* タイトルの角丸 */ } .box5-blue p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } .box5-purple { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:800px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 2em 2em 1.7em; /* ボックスの内側余白(上:2em 左右:2em 下:1.7em) */ border: 1px solid #b60081; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ background: #FFFFFF; /* ボックス背景色 */ } .box5-purple .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -18px; /* 上から(-18px)移動*/ left: 27px; /* 左から(27px)移動 */ background: #b60081; /* タイトル背景色 */ color: #fff; /* タイトル文字色 */ padding: 0.6em 1em;/* タイトルの内側余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 17px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ border-radius:4px;/* タイトルの角丸 */ } .box5-purple p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } .box5-gray { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:800px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 2em 2em 1.7em; /* ボックスの内側余白(上:2em 左右:2em 下:1.7em) */ border: 1px solid #525252; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ background: #FFFFFF; /* ボックス背景色 */ } .box5-gray .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -18px; /* 上から(-18px)移動*/ left: 27px; /* 左から(27px)移動 */ background: #525252; /* タイトル背景色 */ color: #fff; /* タイトル文字色 */ padding: 0.6em 1em;/* タイトルの内側余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 17px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ border-radius:4px;/* タイトルの角丸 */ } .box5-gray p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } .list-3{ list-style: none; padding:0; margin:0; } .list-3 li { position: relative; margin:0.5em 0 !important; padding-left: 25px; } .list-3 li:before { font-family: FontAwesome; content: "\f058"; /*アイコン*/ color: #ea5550; /* 色 */ position: absolute; left:0; } /* スマート 囲み枠 1 */ .kakomi-smart1 { position: relative; margin: 2em auto; padding: 2.5em 1em 1em; width: 96%; /* ボックス幅 */ border-style: solid; border-color: #0e7ac4; /* 枠の色 */ border-width: 5px 1px 1px; background-color: #f7f7f7; /* 背景色 */ color: #666; /* テキスト色 */ box-shadow: 1px 1px 3px #ccc; /* 影 */ } .title-smart1 { position: absolute; top: 8px; left: 15px; background-color: #f7f7f7; /* タイトル背景色 */ color: #0e7ac4; /* タイトル色 */ font-size: 1.0em; font-weight: bold; } .box3-green { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:600px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 1.7em 2em; /* ボックスの内側余白(上下:1.7em 左右:2em) */ border: 2px solid #58be89; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ } .box3-green .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -10px; /* 上から(-10px)移動*/ left: 30px; /* 左から(30px)移動 */ background: #fff; /* タイトル背景色 */ color: #58be89; /* タイトル文字色 */ padding: 0 10px;/* タイトルの余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 20px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ } .box3-green p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } /* 緑色アンダーライン */ .marker-P-green { background: linear-gradient(transparent 60%, #ccffcc 0%); font-weight: bold; } .box3-gray { position: relative; /* 配置に関するもの(ここを基準に) */ max-width:800px; /* ボックスの横幅 */ margin: 2em auto; /* ボックスの外側余白(上下:2em 左右:auto) */ padding: 1.7em 2em; /* ボックスの内側余白(上下:1.7em 左右:2em) */ border: 2px solid #a9a9a9; /* ボックスの線 (太さ 線の種類 線の色)*/ border-radius: 4px; /* ボックスの角丸 */ } .box3-gray .box-title { position: absolute; /* 配置に関するもの(ここを動かす) */ top: -10px; /* 上から(-10px)移動*/ left: 30px; /* 左から(30px)移動 */ background: #fff; /* タイトル背景色 */ color: #a9a9a9; /* タイトル文字色 */ padding: 0 10px;/* タイトルの余白 */ line-height: 1;/* タイトルの行の高さ */ font-size: 20px;/* タイトル文字の大きさ */ font-weight: bold;/* タイトル文字の太さ */ } .box3-gray p { margin: 0; /* 文字の外側余白リセット*/ padding: 0; /* 文字の内側余白リセット*/ } /* タイトル付 枠(影)1 */ .kakomi-box12 { position: relative; margin: 2em auto; padding: 1.2em; width: 96%; color: #555555; /* 文字色 */ background-color: #fff; border: 2px solid #8FBC8F; /* 枠線の太さ・色 */ box-shadow: 2px 2px 1px #ccc;/* 影の色 */ } .title-box12 { position: absolute; padding: 0 .5em; left: 20px; top: -15px; font-weight: bold; background-color: #fff; /* タイトル背景色 */ color: #8FBC8F; /* タイトル文字色 */ } /* タイトル付 枠 黒 */ .kakomi-box13 { position: relative; margin: 2em auto; padding: 1.2em; width: 96%; color: #555555; /* 文字色 */ background-color: #fff; border: 1px solid #808080; /* 枠線の太さ・色 */ } .title-box13 { position: absolute; padding: 0 .5em; left: 20px; top: -15px; font-weight: bold; font-size: 14px; background-color: #fff; /* タイトル背景色 */ color: #808080; /* タイトル文字色 */ } /* ホワイトボード風 タイトル 2*/ .wboard-w2 { position: relative; margin: 2em auto; padding: 3.2em 1em 1em; width: 96%; /* ボックス幅 */ background-color: #fff; /* ボックス背景色 */ color: #000000; /* 文章色 */ border: 5px solid #c6c6c6; /* 枠線 */ box-shadow: 0 0 8px #333, 0 0 2px #555 inset; } .wboard-w2::before, .wboard-w2::after { position: absolute; content: ''; bottom: 4px; width: 25px; border-radius: 2px; box-shadow: 1px 1px 3px #666; } .wboard-w2::before { right: 60px; border: solid 3px #333; /*飾りペン黒 */ transform: rotate(2deg); /*飾りペン角度 */ } .wboard-w2::after { right: 22px; border: solid 3px #ff0000; /*飾りペン赤 */ transform: rotate(9deg); /*飾りペン角度 */ } .title-w2 { position: absolute; top: .6em; left: 1em; font-weight: bold; /* 太文字 */ font-size: 1.1em; color: #ff0000; /* タイトル文字色 */ } /*プロフィール枠(この記事を書いた人)2*/ #author_profile2 { border: 1px solid #00984f; width: 100%; margin: 40px auto; overflow: hidden; } #author_profile2 p { margin-bottom: 20px; line-height: 1.8; } /*この記事を書いた人の見出し*/ #author_profile2 p.label { font-size: 14px; font-weight: bold; color: #fff; background: #00984f; padding: 10px 15px; } /*名前*/ #author_profile2 p.author_name { font-size: 14px; font-weight: bold; display: inline-block; position: relative; } /*名前下の下線*/ #author_profile2 p.author_name::after { content: ""; border-bottom: solid 3px #006948; position: absolute; left: 0; right: 0; bottom: -6px; } /*左側画像ブロック*/ #author_profile2 .left { width: 14%; float: left; margin: 10px 0 15px 30px; } /*画像サイズ*/ #author_profile2 .left img { width: 100%; } /*右側テキストブロック*/ #author_profile2 .right { width: 74%; float: left; font-size: 12px; line-height: 1.6; padding: 5px 0 20px 30px; } /*テキスト下部SNSブロック*/ #author_profile2 .right ul.author_sns { margin: 0; border-top: 1px dotted #dddddd; margin-top: 15px; padding-top: 20px; } #author_profile2 .right ul.author_sns li { float: left; margin-right: 15px; list-style: none; } #author_profile .right ul.author_sns li:last-child { margin-right: 0; } /*SNSアイコンを使う場合は別途アイコンCSSの設定が必要*/ #author_profile2 .right ul.author_sns li i.icon-facebook { color: #fff; background-color: #194c80; margin-right: 8px; padding: 6px 8px 0; position: relative; bottom: -3px; } /*SP時の挙動(画面サイズが小さい時)*/ @media (max-width: 480px) {  #author_profile2 p.author_name { text-align: center; }  #author_profile2 .left { width: 100%; float: none; margin-left: 0; margin-bottom: 0; text-align: center; }  #author_profile2 .left img { width: 33%; }  #author_profile2 .right { width: 90%; float: none; padding: 10px 20px 0; }  #author_profile2 .right ul.author_sns li { margin-bottom: 20px; }