@charset "UTF-8";
/* CSS Document */

:root {
	--text-color: #52595e;
	}
	
html {font-size: 62.5%;}/*10px*/

body{
	font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
	font-size: 1.5rem;
	line-height: 1.8;
	color: var(--text-color);
	position: relative;
	margin: 0;
	background-color: #e9f0f9;
	}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  }
* {box-sizing: border-box;}

h1,
h2,
h3,
h4,
p,
ul,
ol,
li {
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}
ul,
ol {margin-left: 1.5em;}
nav ul,
nav ol {
	line-height: 1;
	list-style: none!important;
	margin-left: 0;
	}

table {
	border-collapse: collapse!important;
	width: 100%;
	}

a,
a:hover,
a:visited {
	color: #4766a2;
	text-decoration: none;
	}
img.img-explain + p,
a.img-explain + p,
img.img-explain + ul,
img.img-explain + ol {margin-top: 20px!important;}

.main-area.container {padding-top: 45px;}

img.img-border {
	outline: solid 1px rgba(0,0,0,0.25);
	outline-offset: -1px;
	}
img.img-shadow {
	box-shadow: 0px 2px 10px -2px rgba(0,0,0,0.2);
	}


/*****　ヘッダ　*****/

header {
	position: fixed;
	width: 100%;
	height: 45px;
	background-color: #9abce4;
	z-index: 100;
	margin-bottom: 2%;
	}
header .container {position: relative;}
header .container .site-title a {
	display: flex;
	justify-content: center;
    align-items: center;
	width: 190px;
	height: 45px;
	margin: auto;
	}

/*　スマホ用メニュー　*/

.pc-menu {display: none;}
.menu-btn {
    position: fixed;
	overflow: auto;
    top: 0px;
    left: 2%;
    display: flex;
    height: 45px;
    width: 45px;
    justify-content: center;
    align-items: center;
    z-index: 90;
	}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 10px;
    background-color: #fff;
    position: absolute;
	}
.menu-btn span:before {bottom: 8px;}
.menu-btn span:after {top: 8px;}

#menu-btn-check:checked ~ .menu-btn span {background-color: rgba(255, 255, 255, 0);/*透明*/}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
	}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
	}
#menu-btn-check {display: none;}

nav.menu-list {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
	overflow: auto;
    right: 100%;/*メニューを画面外へ*/
    z-index: 80;
    background-color: rgba(235,235,235,0.65);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
    transition: all 0.5s;
	padding: 30px 0 0 0;
	}

#menu-btn-check:checked ~ .menu-list {right: 20%;/*メニューを画面内へ*/}
nav.menu-list ul {
	margin: 0 4%;
	}
nav.menu-list ul li span.menu-title {
	display: block;
	background-color: #fff;
	border-radius: 4px;
	position: relative;
	padding: 11px 0 8px 4%;
	margin: 15px 0 0;
	}
nav.menu-list ul ul {
	padding-left: 4%;
	margin: 0;
	}
nav.menu-list ul ul li a{
	display: block;
	border-bottom: solid 1px rgba(0,0,0,0.15);
	position: relative;
	padding: 11px 0 8px 4%;
	}


/*　矢印　*/

a.arrow span {
	position: relative;
	display: block;
	}
a.arrow span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 1px #4766a2;
    border-right: solid 1px #4766a2;
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: 0;
	bottom: 0;
	margin: auto;
	}
a.arrow.white span::before {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
	}
a.arrow span.arrow-inline {
	display: inline-block;
	padding-right: 25px;
	}


/*　パンくずメニュー　*/

nav.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	font-size: 10px;
	color: #555;
	}
nav.breadcrumb ol li {margin-bottom: 10px;}
nav.breadcrumb ol li:not(:last-child):after {
	content: ">";
	color: #aaa;
	margin: 0 7px 0;
	}


/*****　コンテンツ　*****/

article.contents,
.sidemenu {
	background-color: #fff;
	padding: 4%;
	}

/*　ページタイトル　*/

.h1-area {
	margin: 4% 0;
	/*background-color: #eee;*/
	}
.h1-area h1 {
	font-size: clamp(24px, 2.3vw, 34px);
	letter-spacing: 1px;
	line-height: 1.4;
	margin-bottom: 4%;
	/*border: solid 1px #ccc;*/
	}
.h1-area h1 span {
	display: block;
	font-size: 70%;
	}
.h1-area {text-align: center;}
.h1-area h1 span.category {
	font-size: 1rem;
	letter-spacing: 0;
	background-color: #aaa;
	width: 150px;
	color: #fff;
	border-radius: 3px;
	padding: 4px 0 3px;
	margin: 0 auto 10px;
	}

/*　本文　*/

article.contents h1,
article.contents h2 {color: #aaa;}
article.contents h3 {color: #aaa;}

article.contents h1,
article.contents h2,
article.contents h3 {line-height: 1.5}

section.guide{
	/*border-top: solid 2px rgba(0,0,0,0.2);*/
	margin: 0 0 80px;
	}
section.guide h2 {
	font-size:clamp(20px, 2.3vw, 24px);
	background-color: #fdf5f1;
	width: 108%;
	border-bottom: solid 3px #bdcfeb;
	padding: 12px 4% 10px;
	margin: 0 0 20px -4%;
	}
section.guide h3 {
	font-size: clamp(17px, 2.3vw, 19px);
	padding: 0;
	margin: 0 0 15px;
	}
section.guide h4 {
	font-size: 16px;
	margin: 0 0 10px;
	}
section.guide p:not(:last-child){
	padding: 0;
	margin: 0 0 15px;
	}

section.guide .guide-sub:not(:last-of-type):after {
	content: "●";
	display: block;
	text-align: center;
	color: #e6e6e6;
	margin: 15px auto 15px;
	}
section.guide p + .guide-sub:before,
section.guide .guide-sub + p:before {
	content: "●";
	display: block;
	text-align: center;
	color: #e6e6e6;
	margin: 15px auto 15px;
	}
section.guide table + .guide-sub {margin-top: 40px;}


section.guide ul {
	list-style: none;
	margin: 0 0 20px;
	}
section.guide ul li{
	border-bottom: dotted 1px #ccc;
	padding: 0 10px 15px;
	margin-bottom: 15px;
	}

section.guide ul li span.list-title {
	display: block;
	font-weight: bold;
	}
section.guide ul li span.link-info {
	display: block;
	font-size: 1.3rem
	}
section.guide ul li.etc {border:none;}

/*　テンプレート一覧・共通　*/

section.guide ul.img-grid,
.sidemenu ul.img-grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 10px 4%;
	padding: 0;
	margin: 0;
	}
.sidemenu ul.img-grid {gap: 20px 4%;}

section.guide ul.img-grid li,
.sidemenu ul.img-grid li {
	border: none;
	padding: 0;
	/*border-top: solid 10px;*/
	}
.img-grid img {
	display: block;
	width: 100%;
	margin: auto;
	}
.img-grid span {
	display: block;
	font-size: 13px;
	color: var(--text-color);
	text-align: center;
	margin-top: 10px;
	}
section.guide ul.img-grid.keep li{width: 48%;}

section.guide ul.list-grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 0 4%;
	padding: 0;
	margin: 0;
	}
section.guide ul.list-grid li {width: 48%;}
	

.box {
	border: solid 1px #ccc;
	padding: 10px;
	}
.box + .box {
	margin-top: 4%;
	}

.title-photo img {
	aspect-ratio:1000/480;
	width: 100%;
	}


/*****　メニューページ　*****/

.h1-area.category {
	margin: 6% 0 4%;
	/*background-color: #eee;*/
	}
.h1-area.category h1 img {
	height: 30px;
	width: auto;
	margin-bottom: 15px;
	}

.h1-area.category .summary p + p {margin-top: 10px;}

.contents-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	}
.contents-menu section {
	width: 100%;
	background-color: #fcf7f2;
	/*background-color: #faf2ea;*/
	}
.contents-menu section a {
	display: block;
	color: var(--text-color);
	padding: 4%;
	}
.contents-menu.with-img section {
	position: relative;
	padding-top: 41.6%;
	}
.contents-menu section h2{
	font-size: 1.7rem;
	position: relative;
	line-height: 1;
	margin: 5px 0 15px;
	}
.contents-menu section h2:before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: solid 2px #aaa;
    border-right: solid 2px #aaa;
    transform: rotate(45deg);
    position: absolute;
    right: 3px;
    top: 3px;
	}
.contents-menu.with-img img {
	width: 108%!important;
	position: absolute;
	top: 0;
	left: 0;
	}

/*　スペックテーブル　*/

table.spec-table {
	border-top: solid 1px rgba(0,0,0,0.2);
	border-bottom: solid 1px rgba(0,0,0,0.2);
	font-size: 14px;
	text-align: left;
	}
table.spec-table th,
table.spec-table td {
	border-bottom: solid 1px rgba(0,0,0,0.15);
	padding: 6px 0 4px 5px;
	}

/*　ボタン　*/

.btn {
	display: block;
	width: 200px;
	text-align: center;
	background-color: #ccc;
	height: 40px;
	line-height: 40px;
	border-radius: 50px;
	margin: 8% auto;
	}
.btn a {color: #fff;}

.btn-simple {
	border: solid 1px #aaa;
	border-radius: 50px;
	padding: 1px 20px 0;
	}

/*　タブ　*/

.tabs label.tab_item {
	width: 48%;
	text-align: center;
	display: block;
	float: left;
	transition: name-person 0.2s ease;
	background-color: #F3F3F3;
	border-radius: 20px;
	padding: 5px 0 2px;
	margin: 0 4% 10px 0;
	}
.tabs label.tab_item:nth-of-type(even) {margin-right: 0;}

/*ラジオボタンを消す*/
input[name="tab_item"] {display: none;}
/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
	clear: both;
	overflow: hidden;
	}
/*タブのコンテンツを表示*/
#name-person:checked ~ #name-person_content,
#name-parent:checked ~ #name-parent_content,
#name-joint:checked ~ #name-joint_content,
#sample-season:checked ~ #sample-season_content,
#sample-option:checked ~ #sample-option_content{display: block;}

/*選択されているタブ*/
.tabs input:checked + .tab_item {background-color: #f7e7c9;}


/*****　サイドメニュー　*****/

/*　メニュー　*/

nav.side-list h3 {
	background-color: #fbe8c8;
	text-align: center;
	line-height: 100%;
	padding: 7px 0 5px;
	}
nav.side-list a {
	display: block;
	position: relative;
	}
nav.side-list ul ul {
	font-size: 14px;
	padding: 0 0 0 1.5em;
	margin-bottom: 15px;
	}
nav.side-list ul ul li {
	border-bottom: dotted 1px #ccc;
	}
nav.side-list span.menu-title {
	display: block;
	font-size: 15px;
	font-weight: bold;
	border-bottom: solid 2px #9abce4;
	padding: 10px 5px 7px 0.5em;
	margin-bottom: 5px;
	}
nav.side-list span.menu-title-sub {
	display: block;
	border-bottom: solid 1px #9abce4;
	padding: 20px 5px 7px 0.5em;
	margin-bottom: -1px;
	}
nav.side-list ul ul li a {
	padding: 10px 0 8px 0.5em;
	}


/*　デザインランキング　*/

section.side-ranking h3 {
	font-size: 1.6rem;
	color: #fa9746;
	text-align: center;
	background-image: url("../contents/home/line.png");
	background-repeat: repeat-x;
	background-position: top center;
	background-size: 17px;
	padding: 20px 0 0;
	margin: 0 0 20px;
	}

.design-ranking li {
	width: 48%;
	position: relative;
	padding-top: 10px!important;
	}
.design-ranking span {
	display: block;
	color: var(--text-color);
	padding: 0 0 7px;
	margin: 0 auto;
	}
.design-ranking img,
.template-category img {
	width: 86%;
	display: block;
	box-shadow: 0px 2px 10px -2px rgba(0,0,0,0.2);
	margin: 0 auto 10px;
	}
.design-ranking img.icon-rank {
	width: 28px;
	position: absolute;
	top: -4px;
	left: -4px;
	background-color: initial!important;
	box-shadow: initial;
	}

.design-ranking li.pink{background-color: #ffecef;}
.design-ranking li.yellow{background-color: #fdfbdf;}
.design-ranking li.blue{background-color: #e7f4fd;}
.design-ranking li.green{background-color: #edfae4;}

p.rank-rest {
	font-size: 14px;
	border-bottom: dotted 1px #ccc;
	padding: 0 0 0 0.5em;
	margin: 20px 0 0;
	}

/*****　フッター　*****/

footer {
	font-size: 12px;
	text-align: center;
	color: #fff;
	padding: 20px 0 15px;
	background-color: #9abce4;
	}
footer .container{display: block;}

footer p.site-info a {
	color: #fff;
	display: block;
	margin-bottom: 5px;
	}

footer .container .copyright{
	display: block;
	width: 92%;
	margin: auto;
	}
footer .container .copyright p:first-child{margin: 0 0 10px;}


/*****　広告　*****/

.adsense-wrap {
	width: auto;
	min-height: 280px;
	height: auto;
	margin: 8% 0 12%;
	}

.container.ad-bottom {
	margin: 20px auto;
	}

.ad-area {
    background-color: #ccc;
	display: block;
	}


/*****　アフィリエイト　*****/

.affiliate {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    width: 100%;
    align-items: center;
    padding: 40px 0 40px;
    /*background-color: rgba(0,0,0,0.2);*/
    }
.affiliate div {
    width: 100%;
    align-items: center;
   /* border: solid 1px #666;*/
    }
.affiliate div img {
    display: block;
    margin: auto;
    }

section.affiliate div { position: relative;}
section.affiliate div .prmark {position: absolute; width:100%; margin:-7px auto; padding:0; top:0; left:0; right:0; text-align: right; }
section.affiliate div .prmark span { background-color: rgba(0,0,0,0.3); color:white; font-size: 8pt; line-height: 8pt; padding: 3px;}
@media (min-width: 1000px) {section.affiliate div .prmark {width:300px; }}
@media (max-width: 840px) {section.affiliate div .prmark {width:300px; }}
@media (max-width: 640px) {section.affiliate div .prmark {width:100%; }}
@media (max-width: 600px) {section.affiliate div .prmark {width:300px; }}
	
/*****　表示・非表示　*****/

.away600 {display: block}

.appear840,
.appear1100 {display: none;}


/************************************************************/


@media (min-width: 600px) {


/*****　コンテンツ　*****/

article.contents,
.sidemenu {padding: 2%;}

section.guide h2 {
	width: 104%;
	padding: 12px 2% 10px;
	margin-left: -2%;
	}

.box + .box {margin-top: 2%;}


/*****　メニューページ　*****/

.h1-area.category h1 img {height: 36px;}

.contents-menu {gap: 20px 2%;}
.contents-menu section {width: 49%;}
.contents-menu.with-img section {padding-top: calc(41.6% / 2);}

/*　テンプレート一覧・共通　*/

section.guide ul.img-grid,
.sidemenu ul.img-grid {gap: 20px 2%;}
section.guide ul.img-grid.keep li{width: 49%;}

/*　タブ　*/

.tabs label.tab_item {
	width: 49%;
	margin-right: 2%;
	}

/*　ボタン　*/

.btn {margin: 4% auto;}


/*****　サイドメニュー　*****/

/*　デザインランキング　*/

.design-ranking li,
.template-category li {width: 32%;}


/*****　フッター　*****/


/*****　アフィリエイト　*****/

.affiliate div {width: calc(50% - 10px);}



/*****　表示・非表示　*****/

.away600 {display: none}


}


/************************************************************/


@media (min-width: 840px) {

header {margin-bottom: 20px;}
footer {margin-top: 20px;}

.container {
	width: 96%;
	margin: auto;
	}
.main-area.container {
	display: flex;
	gap: 20px;
	-ms-gap: 20px;
	padding-top: calc(45px + 20px);
	}
.main-area.container article {
	/*display: grid;
	grid-template-columns: calc(100% - 290px - 20px) 290px;*/
	width: calc(100% - 290px - 20px);
	}
.main-area.container .sidemenu {width: 290px;}
.main-area.container .contents,
.main-area.container .sidemenu {padding: 20px}

.main-area.container.wide {display: block;}
.main-area.container.wide article {width: 100%;}

/*****　ヘッダ　*****/

header {height: 45px;}
header .container {
	display: flex;
	flex-wrap: nowrap;
	}
header .container .site-title {
	position: relative;
	margin: 0 10px 0 0;
	}
header .container nav.pc-menu ul {
	display: flex;
	flex-wrap: nowrap;
	width: 185%;
	padding: 0;
	margin: 0;
	}
header .container nav.pc-menu li{
	display: flex;
	justify-content: center;
    align-items: center;
	height: 45px;
	/*width: calc(100% / 3);*/
	padding: 0 20px;
	margin: 0;
	}
header .container nav.pc-menu li a{
	display: flex;
	justify-content: center;
    align-items: center;
	width: 100%;
	height: 45px;
	}
header .container nav.pc-menu li img {height: 17px;}
	
.pc-menu {display: block;}

/*　スマホ用メニュー　*/

.menu-btn {display: none;}


/*****　メニューページ　*****/

.h1-area.category h1 img {height: 38px;}


/*****　コンテンツ　*****/


/*　ページタイトル　*/

.h1-area {margin: 20px 0;}

/*section.guide {padding: 0 20px;}*/

section.guide h2 {
	width: calc(100% + 40px);
	width: 100%;
	padding: 12px 20px 10px;
	margin-left: 0px;
	}

.box {padding: 20px;}
.box + .box {margin-top: 20px;}

/*****　サイドメニュー　*****/

/*　デザインランキング　*/

.sidemenu .design-ranking li {width: 100%;}



/*****　広告　*****/

.adsense-wrap {margin: 40px 0 60px;}
.sidemenu .adsense-wrap {margin-top: 0;}


/*****　表示・非表示　*****/

.appear840 {display: block;}


}


/************************************************************/


@media (min-width: 1100px) {

html {font-size: 68%;}/*約10%拡大*/

.container {width: 1100px;}

.h1-area,
h1,
.h1-area .summary {margin-bottom: 40px;}

.h1-area h1 {font-size: 32px;}

/*　テンプレート一覧・共通　*/

section.guide ul.img-grid,
.sidemenu ul.img-grid {gap: 20px 20px;}
section.guide ul.img-grid.keep li{width: calc(50% - 10px);}

.img-grid span {font-size: 14px;}

/*　タブ　*/

.tabs label.tab_item {
	width: calc(100% / 2 - 10px);
	margin-right: 20px;
	}


/*****　メニューページ　*****/

.h1-area.category h1 img {height: 46px;}


/*****　サイドメニュー　*****/

/*　デザインランキング　*/

.design-ranking li {
	width: calc(100% / 3 - 40px / 3);
	padding-top: 15px!important;
	}

/*****　表示・非表示　*****/

.appear1100 {display: block;}


}




