@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("../css/parts.css?20260420");
@import url("../css/list.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--bg-color: #fff;
	--bg-border-color: #ccc;
	--bg-inverse-color: #333;
	
	--template-color: #e31944;
	--template-light-color: #f8e6e9;
	--parts-color: #4a9eb4;
	--parts-light-color: #e7f5f9;

	/* 現在のアクセント色（デフォルトはテンプレ色） */
	--accent-color: var(--template-color);
	--accent-light-color: var(--template-light-color);
	--accent-inverse-color: #fff;

	--content-space-l: 5vw;
	--content-space-s: 2rem;

	--header-height: 70px;
	--sidebar-width: 220px;

	--base-font: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	
	--accent-font: "Jost";

}


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: 14px;
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);
	-webkit-text-size-adjust: none;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	line-height: 2;
	overflow-x: hidden;
}
body#parts {
  --accent-color: var(--parts-color);
  --accent-light-color: var(--parts-light-color);
}


/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section,article
---------------------------------------------------------------------------*/
section, article {
	padding: 0 var(--content-space-l);
	margin: 1rem 0;
}
article section {
	padding-inline: 0;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;
}
a:hover {
	text-decoration: none;
	color: var(--accent-color);
}
a[target="_blank"]::after {
	font-family: "Font Awesome 6 Free";
    content: "\f08e";
	font-weight: bold;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	opacity: 0.4;
}
.no-blank a[target="_blank"]::after {display: none;}


/*container
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/*h1
---------------------------------------------------------------------------*/
#container > h1 {
	margin: 0;
	font-size: 0.8rem;
	position: absolute;
	right: 1rem;
	top: calc(var(--header-height) + 1rem);
	color: #999;
}

.side-message {
	position: absolute;
	right: 70px;
	top: 0px;
}

	/*画面幅500px以下の追加指定*/
	@media (max-width:500px) {
	
	.side-message {
		display: none;
	}
	
	}/*追加指定ここまで*/

.side-message a {
	display: block;text-decoration: none;
	font-size: 0.8rem;
	padding: 0.1rem 1rem;
	background: #fdecf0;
	border-radius: 0 0 5px 5px;
	font-weight: 600;
}

/*point
---------------------------------------------------------------------------*/
.point h4 {padding: 0;margin: 0;}
.point {
	padding: 2rem;
	border: 3px solid #ddd;
	border-radius: 5px;
	margin-inline: 1rem;
}
div.point {margin-inline: 0;}
.point h4 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
}
.point *:last-child {
	margin-bottom: 0;
}

/*point2
---------------------------------------------------------------------------*/
.point2 {
	border: none;
	background: var(--accent-color);
	color: var(--accent-inverse-color);
}
.point2 .color1 {
	color: yellow !important;
}

/*header
---------------------------------------------------------------------------*/
header {
    display: flex;
    align-items: center;
	padding: 1rem var(--content-space-s);
	gap: 2rem;
	box-shadow: 0px 0px 50px rgba(0,0,0,0.07);
	height: var(--header-height);
}

#logo {margin: 0;flex-shrink: 0;}
#logo img {
	display: block;
	width: 180px;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}



/*content-body（sub + main の横並びラッパー）
---------------------------------------------------------------------------*/
#content-body {
	display: flex;
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-block: 2rem;
}

main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}

main h2 {
	clear: both;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;	
	position: relative;
	border-bottom: 3px solid #eee;
}
main h2 .uline {
	display: inline-block;position: relative;
	padding-bottom: 0.5rem;
	bottom: -3px;
	border-bottom: 3px solid var(--accent-color);
}

main h3 {
	background: #f5f5f5;
	padding: 0.4rem 1rem;
	border-radius: 5px;
	border: 1px solid #ddd;
}

main h4 {
	font-size: 1.2rem;
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:600px) {
	
	main h2, main h3, main h4 {
		font-size: 1.1rem;
		letter-spacing: normal;
	}
	
	}/*追加指定ここまで*/

main p {
	padding-inline: 1rem;
}

/*メニューのチェンジボタン（テンプレ or パーツ）
---------------------------------------------------------------------------*/
.sub-change-btn {
	display: flex;
	line-height: 1.5;
	/*margin-inline: calc(-1 * var(--content-space-l));*/
	margin-bottom: 2rem;
}
#sub .sub-change-btn {
	margin: -1.5rem;
	margin-bottom: 3rem;
}
.sub-change-btn a {
	text-decoration: none;
	flex: 1;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-direction: column;
	padding: 1rem 0;
	position: relative;
	background: var(--accent-color);
	color: var(--accent-inverse-color);
}

/*▼*/
body:not(#parts) .sub-change-btn a:nth-of-type(1)::before,
body#parts .sub-change-btn a:nth-of-type(2)::before {
	content: "▼";
	position: absolute;
	font-size: 14px;
	bottom: -14px;
	width: 100%;
	left: 0;
	color: var(--accent-color);
	transform: scaleX(1.5);
}
.sub-change-btn a:nth-of-type(1) span {
}

/*「コピペで作る」*/
.sub-change-btn a span:first-child {
	font-size: 0.8rem;
	display: inline-block;
	margin-bottom: 0.3rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-weight: 700;
}
.sub-change-btn strong {
	font-size: 1.2rem;
}


/*sub
---------------------------------------------------------------------------*/
/*subブロック冒頭を、トップのみ非表示に*/
.home .not-home {
	display: none;
}

#sub {
	order: -1;
	width: var(--sidebar-width);
	flex-shrink: 0;
	position: sticky;
	top: 0;
	align-self: flex-start;
	height: 100vh;
	overflow-y: auto;
	padding: 1.5rem;
	background: #f8f8f8;
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:800px) {
	
	#sub {
		display: none;
	}
	
	}/*追加指定ここまで*/

#sub h3 {
	font-size: 1rem;
	margin-bottom: 0.2em;
}
#menubar h3 {
	margin-bottom: 0.1em;
}

/*サブコンテンツ冒頭の見出し*/
.home #sub h3.title, #parts #sub h3.title {
	/*background: var(--accent-light-color);*/
	color: var(--accent-color);
	border-top: 1px solid var(--accent-color);
	border-bottom: 1px solid var(--accent-color);
	text-align: center;
	padding: 0.5rem 0.2rem;
}
body:not(.home):not(#parts) #sub h3.title {
	display: none;
}

#sub ul a {
	text-decoration: none;/*display: block;*/
}
#sub .arrow a {
	display: block;
}
#sub .arrow li a::before {
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
    content: "\f0c8";
	padding-right: 0.2em;
	opacity: 0.4;
	transform: scale(0.4);
	transform-origin: left;
}

/*WEB制作業者様も無料で使える〜*/
#sub h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	position: relative;
	margin-bottom: 2rem;
	line-height: 1.5;
}
#sub h2 .large {
	font-size: 2.2rem;
}
#sub h2::before,#sub h2::after {
	content: "";
	position: absolute;
	bottom: 10%;
	height: 70%;
	width: 2px;
}
#sub h2::before {
	left: 0px;
	border-left: 1px solid var(--base-inverse-color);
	transform: rotate(-15deg);
}
#sub h2::after {
	right: 0px;
	border-right: 1px solid var(--base-inverse-color);
	transform: rotate(15deg);
}
/*色で絞り込む
---------------------------------------------------------------------------*/
.color-btn-container {
	margin-bottom: 2rem;
}
.color-btn-container ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em;
}
.color-btn {
	margin: 0 !important;padding: 0 !important;
	opacity: 1 !important;
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 2px;
}
.color-btn.monochrome {background: linear-gradient(120deg, #fff 50%, #000 50%);border: 1px solid #999;}
.color-btn.black {background: #000;}
.color-btn.white {background: #fff;border: 1px solid #999;}
.color-btn.red {background: #ff0000;}
.color-btn.pink {background: #f749ab;}
.color-btn.purple {background: #7649f7;}
.color-btn.blue {background: #0a26fb;}
.color-btn.green {background: #01be17;}
.color-btn.yellow {background: #edf505;}
.color-btn.brown {background: #614e21;}
.color-btn.vivid {background: linear-gradient(120deg, #ff00e4 50%, #00e4ff 50%);}
.color-btn.pastel {background: linear-gradient(120deg, #ffbdbd 50%, #b5f8c0 50%);}
.color-btn.kusumi {background: linear-gradient(120deg, #a478a6 50%, #8faaa7 50%);}


/*header内のメニュー（※開閉メニューとはブロックが異なります）
---------------------------------------------------------------------------*/
#menubar2 ul {margin: 0;padding: 0;}

/*メニューブロック全体の設定*/
#menubar2 {
	flex: 1;
}
#menubar2 > nav > ul {
	display: flex;
	gap: 1.5rem;
	font-weight: bold;
}

	/*画面幅800px以下の追加指定*/
	@media screen and (max-width:800px) {

	#menubar2 {
		display: none;	/*非表示に*/
	}

	}/*追加指定ここまで*/


/*メニュー１個あたりの設定*/
#menubar2 li a {
	display: block;text-decoration: none;
}


/*header内のメニューのドロップダウンメニュー（※開閉メニューとはブロックが異なります）
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
#menubar2 ul ul {
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;
	border: 1px solid var(--bg-border-color);
}

/*最後のメニュー以外に、下の線を入れる*/
#menubar2 ul ul li:not(:last-child) {
	border-bottom: 1px solid var(--bg-border-color);
}

/*メニュー１個あたり*/
#menubar2 ul ul a {
	background: #fff;
	padding: 0.2rem 1rem;
}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}

/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	text-shadow: none;
	animation: animation1 0.5s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上下に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: #fff;	/*背景色*/
}

	/*画面幅900px以下の追加指定*/
	@media screen and (max-width:900px) {

	.small-screen #menubar {
		width: 100%;
	}

	}/*追加指定ここまで*/

.small-screen #menubar {display: none;}

/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;
	/*text-decoration: none;*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-right: 1em;		/*アイコンとメニューテキストとの間に空けるスペース。1文字分。*/
	font-size: 0.7em;		/*アイコンサイズ。70%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}

/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}

/*submenu（開閉メニューの冒頭のメニュー）
---------------------------------------------------------------------------*/
.small-screen .submenu {
	margin-bottom: 2rem;
}
.small-screen .submenu a {
	display: block;text-decoration: none;
}
.small-screen .submenu > ul > li > a {
	border: 1px solid var(--bg-border-color);
	margin-bottom: 1rem;
	padding: 1rem 2rem;
	border-radius: 5px;
}
/*子メニュー（ドロップダウンメニュー）*/
.small-screen .submenu ul ul {
	margin-bottom: 1rem;
}
.small-screen .submenu ul ul a {
	padding: 0.6rem 2rem;
	border-bottom: 1px solid #eee;
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;
	top: 0px;
	width: 70px;
	height: 70px;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;
	background: var(--bg-inverse-color);
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;	/*背景色*/
}
#menubar_hdr.ham span {
	background: #fff;	/*線の色*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}


/*btnと、btn-frame-dl（パーツのフレームのDLボタン）と、btn-copy（パーツのコピーボタン）
---------------------------------------------------------------------------*/
.btn a,
.btn-frame-dl a,
.list-parts .btn-copy {
	display: block;text-decoration: none;
	background: var(--accent-color);
	color: var(--accent-inverse-color);
	padding: 0.2rem 1rem;
	border-radius: 5px;
	font-weight: 600;
	text-align: center;
}
.btn.cta a,
.btn-frame-dl.cta a {
	font-size: 1.2rem;
	padding: 0.6rem 2rem;
}
/*上書き*/
.btn-frame-dl.cta a {
	font-size: 1.1rem;
	padding: 0.6rem 0.5rem;
}

.btn.inline-block {
	display: inline-block;
}
.btn a:hover,
.btn-frame-dl a:hover {
	filter: brightness(1.2);
}


/*footer-menu
---------------------------------------------------------------------------*/
#footer-menu {
	list-style: none;margin: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: auto;
	margin-bottom: 1rem;
	padding-top: 4rem;
}


/*copyright
---------------------------------------------------------------------------*/
footer small {
	display: block;
	position: fixed;
	right: 0.5rem;
	bottom: 1rem;
	writing-mode: vertical-lr;
	opacity: 0.5;
	letter-spacing: 0.1em;
}

/*FAQ
---------------------------------------------------------------------------*/
.faq {
	font-weight: 600;
}
.faq dt {
	margin-bottom: 1rem;
	border: 1px solid var(--bg-border-color);
	border-radius: 3px;
	text-indent: -2rem;
	padding: 0.5rem 1em 0.5rem 3em;
}
.faq dt::before {
	font-family: "Font Awesome 6 Free";
    content: "\f059";
	padding-right: 1rem;
	color: var(--accent-color);
}
.faq dd {padding: 0 1rem 1rem 3rem;}
.faq dt {cursor: pointer;}

/*ta1
---------------------------------------------------------------------------*/
.ta1 caption {
	font-weight: bold;
	padding: 0.2rem 1rem;
	margin-bottom: 1rem;
	background: #eee;
	border-radius: 5px;
}
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 2rem;
}
.ta1 th, .ta1 td {
	padding: 1rem;
	word-break: break-all;
	border: 1px solid var(--bg-border-color);
}
.ta1 th {
	width: 13rem;
	background: #fafafa;
}

/*お知らせブロック
---------------------------------------------------------------------------*/
.new dd {
	padding-bottom: 1rem;
	line-height: 2;
}
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	border-radius: 2px;
	padding: 0 1rem;
	width: 8rem;
	transform: scale(0.85);
	border: 1px solid #777;
}
.new .template {
	border-color: transparent;
	background: var(--accent-light-color);
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	/*ブロック全体*/
	.new {
		padding-left: var(--main-space);
		padding-right: var(--main-space);
		display: grid;
		grid-template-columns: auto 1fr;
	}

	}/*追加指定ここまで*/

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*ファイル名表示用
---------------------------------------------------------------------------*/
.file-name {
	text-shadow: none;
	display: block;
	background: #333;
	color: #ccc;
	font-size: 0.9rem;
	line-height: 1.5;
	padding: 4px;
	width: 11em;
	text-align: center;
	border-radius: 3px 3px 0px 0px;
	margin-top: 1rem;
}
.file-name + img {
	margin-top: 0;
}
/*ct/step.htmlにて利用。タグの記載部分。*/
.file-name + .look {
	margin-top: -0px;
}


/*li
---------------------------------------------------------------------------*/
.li-mb0 li {margin-block: 0 !important;}
.li-mb1rem li {margin-bottom: 1rem !important;}
.li-mb3rem li {margin-bottom: 3rem !important;}


/*marker（マーカー風スタイル）
---------------------------------------------------------------------------*/
.marker {
	background: linear-gradient(transparent 75%, #fff337 75%);
}


/*その他
---------------------------------------------------------------------------*/
.border1 {border: 1px solid #ccc;}
.color1,.color1 a {color: var(--accent-color) !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0.5rem 1rem;background: #333;color: #ccc; border-radius: 3px;margin: 3px 0; word-break: break-all;}
.look .color1 {color: yellow !important;}
.look-light {background: var(--accent-light-color); color: #333;}
.small1,.small {font-size: 0.85em;}
.large1,.large {font-size: 1.8em; letter-spacing: 0.05em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/* 要素単位のテーマ切り替え（ページ設定の --accent-color より優先） */
.template-theme {
	--accent-color: var(--template-color);
	--accent-light-color: var(--template-light-color);
}
.parts-theme {
	--accent-color: var(--parts-color);
	--accent-light-color: var(--parts-light-color);
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	.ws {width: 50%;}

	}/*追加指定ここまで*/
