﻿/*
Theme Name: eブックス\\
Template URI: https://www.gifu-ebooks.jp
Description:みのかもSDGsフォトコン css
Author: 株式会社太洋社
Author URL: https://www.p-taiyosha.co.jp/
Version: 4.0
tags:このスタイルシートは、ヘッダ・フッタなどサイト共通用に制作されたものです。
*/



/* 共通のスタイル
------------------------------ */
html {
	scroll-behavior: smooth;
	box-sizing: border-box;
}

body {
	font-family: YuGothic, 游ゴシック, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	box-sizing: border-box;
}


img {
	image-rendering: -webkit-optimize-contrast;
}

a {
	text-decoration: none;
}

/* マージンやインデントの設定 */
.indent {
	padding-left: 1.3rem;
	text-indent: -1.3rem;
}

.indent:first-letter {
	margin-right: 0.3rem;
}

.p-left {
	padding-left: 1.3rem;
}

.margin-r {
	margin-right: 0.3rem;
}

.margin-l-2 {
	margin-left: 2rem;
	margin-top: -.3rem;
}

.margin-l-1 {
	margin-left: 1rem;
	margin-top: -.3rem;
}

/* テキストをBに */
.text-b {
	font-weight: bold;
}

/* リンクボタン */
.minokamoSDGs__linkbutton {
	margin: 1rem 0 2rem 3rem;
	border-radius: 10px;
	background-color: #71bba7;
	text-align: center;
	color: #fffc74;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.8rem;
	padding: .5rem 1rem;
	width: fit-content;
}



/* ====================================
	みのかもSDGsインスタフォトコンページ
	====================================*/

/* wrap */
.minokamoSDGs__wrap {
	background-color: #e3f1eb;
}
.minokamoSDGs__white {
	max-width: 800px;
	background-color: #fff;
	margin: 0 auto;
	padding: 1.5rem;
}

/* メイン画像 */
.minokamoSDGs__image {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.minokamoSDGs__image img {
	width: 100%;
}

/* 大見出し*/
.minokamoSDGs__title {
	margin: 1rem auto;
	border-radius: 10px;
	background-color: #71bba7;
	text-align: center;
	color: #fffc74;
	padding: .5rem;
}

.minokamoSDGs__title h1 {
	font-size: 32px;
	line-height: 1.3;
	font-weight: 600;
}
@media (max-width:600px) {
	.minokamoSDGs__title h1 {
		font-size: 24px;
		line-height: 1.3;
	}
}
@media (max-width:450px) {
	.minokamoSDGs__title h1 {
		font-size: min(5vw, 20px);
		line-height: 1.3;
	}
}
/* 本文大枠 */
.minokamoSDGs__honbun {
	text-align: justify;
	line-height: 1.5rem;
	font-size: 1rem;
}

/* 中見出し */
.minokamoSDGs__tyumidashi {
	width: 100%;
	border-bottom: 2px solid #71bba7;
	text-align: justify;
	font-weight: bold;
	color: #7a5045;
	padding-bottom: .5rem;
	margin: 2rem auto 1rem auto;
}
.minokamoSDGs__tyumidashi h2 {
	font-size: clamp(18px, 4vw, 28px);
}
/* 小見出し */
.minokamoSDGs__komidashi {
	font-weight: bold;
	color: #7a5045;
	margin-top: .8rem;
	margin-bottom: .3rem;
	padding-left: 1.3rem;
	text-indent: -1.3rem;
}

/* 本文テキスト */
.minokamoSDGs__honbun--text {
	font-size: .95rem;
	color: #222;
	margin-bottom: .5rem;
}

/* インデントまるいろ */
.minokamoSDGs__honbun--maru {
	font-size: 1rem;
	color: #71bba7;
	font-weight: bold;
}
/* まるグレー */
.minokamoSDGs__maru--gray {
	font-size: 1rem;
	color: #bdbdbd;
	font-weight: bold;
}

/* 小見出し商品 */
.minokamoSDGs__komidashi--syohin {
	font-weight: bold;
	color: #7a5045;
	margin-bottom: .3rem;
	padding-left: 2rem;
	text-indent: -1.3rem;
}

/* 小見出しのしかく囲み */
.minokamoSDGs__honbun--shikaku {
	display: inline-block;
	background-color: #71bba7;
	color: #fffc74;
	width: fit-content;
	height: 1.5rem;
	margin-right: 0.5rem;
	text-align: center;
	border-radius: 5px;
	padding-left: .5rem;
	padding-right: .5rem;
	text-indent: -0rem;
}

/* 注釈 */
.minokamoSDGs__tyusyaku {
	border-top: 1px dotted #444;
	padding-top: 1rem;
	margin-top: 1rem;
	margin-bottom: 2rem;
}
.minokamoSDGs__tyusyaku--text {
	font-size: .85rem;
	line-height: 1.3rem;
	color: #222;
	padding-left: .85rem;
	text-indent: -.85rem;
	margin-bottom: .5rem;
}
.tyusyaku--2moji {
margin-left: 0.85rem;
margin-bottom: 1rem;
}


/* タブレット以上 */
@media screen and (min-width:650px) {
	/* 改行トル */
	.pc_none {
		display: none;
	}
	/* パディング拡大 */
	.minokamoSDGs__white {
		max-width: 800px;
		background-color: #fff;
		margin: 0 auto;
		padding: 3rem;
	}
}
