@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/
body{
   background-color:#fffbf8;
}
.title{
   font-size: 28px;
   color: #3e3a39;
   text-align: center;
   margin-top: 40px;
}


.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;

}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}

.back-to-top {
position: fixed;
bottom: 15px;
right: 15px;
background-color: #f3c75999;
color: white;
padding: 10px 14px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
font-size: 14px;
z-index: 999;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}

.back-to-top:hover {
background-color: #e07e0099;
}


h1{
   color:#3e3a39;
   font-size: 28px;
   margin:auto;
}

.nakamidashi::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 31px solid transparent;
    border-left: 31px solid #f3c759;
}



.nakamidashi {
    width: 267px;
    height: 57px;
    background-color: #ffffff;
    outline: 1px solid #f3c759;
    outline-offset: -1px;
    color: #3e3a39;
    font-weight: bold;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 30px;
}

main h2{
   color: #3e3a39;
   font-size: 22px bold;
   font-weight: 500;
   margin: auto;

}
.extra_decoration {
    width: 27px;
    height: 3px;
    background-color: #f3c759;
    opacity: 0.5;
    margin-top: 7px;
    margin-right: -239px;
    position: absolute;
}

.nakamidashi::after{
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 0;
    height: 0px;
    border-left: 32px solid transparent;
    border-top: 32px solid #fffbf8FF;
}


.komidashi{
   width: 210px;
   height: 33px;
   background-color: #fffbf8;
   font-size: 16px;
   border-top: 1.5px solid #f3c759 ;
   border-bottom: 1.5px solid #f3c759;

    place-items: center;
    text-align: center;
    position: relative;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 30px;
}


.komidashi_p{
   color: #3e3a39;
   font-size: 16px;
   font-weight: 500;
   margin: 0 auto;
   line-height: 33px;
}

.komidashi::before{
   content:"";
   transform: rotate(135deg);
   border-top: 15px solid #f3c759;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: -15px;
   left: -14.5px;
}
.komidashi::after{
   content:"";
   transform: rotate(-45deg);
   border-top: 15px solid #f3c759;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: 17px;
   left: 195.5px;
}


/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  background-color: #fffbf8;
  width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: auto;
  border-bottom: 2px solid #f3c759;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #999999;
  background-color: #f2f2f250;
  display: flex;
  float: left;
  text-align: center;
  transition: 0.3s all;
    border-top: solid 1px #99999980;
    border-right: solid 1px #99999980;
    border-left: solid 1px #99999980;
	justify-content: center;
	align-items: center;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}



/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
  background-color: #fffbf8;
  height: auto;
}


/*選択されているタブのコンテンツのみを表示*/
#kyoute:checked ~ #kyoute_content,
#kanmuri:checked ~ #kanmuri_content,
#kijutsu:checked ~ #kijutsu_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #fffbf8;
  color: #3e3a39;
  font-weight: 500;
  border-top: solid 2px #f3c759;
    border-right: solid 2px #f3c759;
    border-left: solid 2px #f3c759;
    border-bottom: solid 2px transparent;
}


.box {
    background-color: #ffffff;
    width: 300px;
    height: 200px;
    border: 1px solid #f3c759;
    margin: 0 auto;
    margin-top: 20px;
    padding: 15px;
}

.c-txtsp{
   font-size: 14px;
}

.pie-chart1 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 27.3%,
				#f28e2c 0,
				#f28e2c 56.5%,
				#e15759 0,
				#e15759 80.1%,
				#76b7b2 0,
				#76b7b2 91.9%,
				#59a14f 0,
				#59a14f 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		outline: 1px solid #ccc;
	}
	

	.pie-chart1 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart1 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart1 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}


.pie-chart2 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 27.9%,
				#f28e2c 0,
				#f28e2c 59.1%,
				#e15759 0,
				#e15759 77.9%,
				#76b7b2 0,
				#76b7b2 92.2%,
				#59a14f 0,
				#59a14f 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		margin-top: 25px;
		outline: 1px solid #ccc;
		border-bottom: solid 1px #ccc;
}

	.pie-chart2 h2 {
		position: absolute;
		margin: 1rem;
	}
	.pie-chart2 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart2 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart2 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}

.pie-chart3 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 21.9%,
				#f28e2c 0,
				#f28e2c 37%,
				#e15759 0,
				#e15759 71.2%,
				#76b7b2 0,
				#76b7b2 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		outline: 1px solid #ccc;
	}
	.pie-chart3 h2 {
		position: absolute;
		margin: 1rem;
	}
	.pie-chart3 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart3 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart3 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}

	.pie-chart4 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 22.2%,
				#f28e2c 0,
				#f28e2c 51.1%,
				#e15759 0,
				#e15759 82.2%,
				#76b7b2 0,
				#76b7b2 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		margin-top: 25px;
		outline: 1px solid #ccc;
	}
	.pie-chart4 h2 {
		position: absolute;
		margin: 1rem;
	}
	.pie-chart4 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart4 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart4 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}




	.pie-chart5 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 29.5%,
				#f28e2c 0,
				#f28e2c 58.2%,
				#e15759 0,
				#e15759 83.8%,
				#76b7b2 0,
				#76b7b2 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		margin-top: 25px;
		outline: 1px solid #ccc;
		border-bottom: solid 1px #ccc;
	}
	.pie-chart5 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart5 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart5 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}


   	.pie-chart6 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 35.7%,
				#f28e2c 0,
				#f28e2c 60.7%,
				#e15759 0,
				#e15759 84.5%,
				#76b7b2 0,
				#76b7b2 95.2%,
				#59a14f 0,
				#59a14f 100%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		outline: 1px solid #ccc;
	}
	.pie-chart6 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart6 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart6 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}

   .pie-chart7 {
		background:
			radial-gradient(
				circle closest-side,
				transparent 50%,
				white 0
			),
			conic-gradient(
				#4e79a7 0,
				#4e79a7 32.6%,
				#f28e2c 0,
				#f28e2c 56.5%,
				#e15759 0,
				#e15759 80.4%,
				#76b7b2 0,
				#76b7b2 95.6%,
				#59a14f 0,
				#59a14f 99.9%
		);
		position: relative;
		width: 300px;
		min-height: 350px;
		margin: auto;
		margin-top: 25px;
		outline: 1px solid #ccc;
		border-bottom: solid 1px #ccc;
	}
	.pie-chart7 cite {
		position: absolute;
		bottom: 0;
		font-size: 80%;
		padding: 1rem;
		color: gray;
	}
	.pie-chart7 figcaption {
		position: absolute;
		bottom: 1em;
		right: 1em;
		font-size: smaller;
		text-align: left;
	}
	.pie-chart7 span:after {
		display: inline-block;
		content: "";
		width: 0.8em;
		height: 0.8em;
		margin-left: 0.4em;
		height: 0.8em;
		border-radius: 0.2em;
		background: currentColor;
	}

.piechart_p{
      position: absolute;
      font-size: 20px;
      font-weight: bold;
      margin-top: 30px;
      margin-left: 15px;
	}

.back{
      font-size: 17px;
      font-weight: 500;
      color: #3e3a39;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #f9f9f9;
      width: 180px;
      height: 45px;
      margin: 0 auto;
      box-shadow: 1px 1px 1px #00000080;
      margin-top: 60px;
      margin-bottom: 90px;
      position: relative;
      text-decoration: none;
}

.back::before{
   content: "";
    position: absolute;
    top: 30px;
    left: 0px;
    width: 15px;
    height: 15px;
    background-color: #f3c759;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.back::after{
    content: "";
    position: absolute;
    top: 0px;
    left: 166px;
    width: 15px;
    height: 15px;
    background-color: #b3b3b3;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}


.yokoline {
    display: inline-block;
    width: 30px;
    height: 0.75px;
    background: #4d4d4d;
    position: absolute;
    top: 55%;
    transform: translateY(-60%);
    left: 33px;
}

.nanameline {
    display: inline-block;
    width: 10px;
    height: 0.75px;
    background: #4d4d4d;
    transform: rotate(-45deg) translateY(-60%);
    transform-origin: left bottom;
    position: absolute;
    top: 55%;
    left: 33px;
}

.capbox {
    position: relative;
    width: 345px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #f3c759;
    border-bottom: 1px solid #f3c759;
	margin-top: 40px;
}

.capbox::before,
.capbox::after {
    position: absolute;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% + 10px);
    background-color: #f3c759;
    content: '';
}

.capbox::before {
    left: 5px;
}

.capbox::after {
    right: 5px;
}

.honbun{
   font-size: 14px;
}
/*
css概説（復習用　要らなければ消してください）

vol.1 用語の解説

セレクタ…装飾をつけたい対象の要素のこと
属性…セレクタに施したい装飾の種類
値…セレクタに施したい装飾の具体的内容

例：h1{color:red;}
h1がセレクタ　colorが属性　redが値

vol.2 セレクタの指定
①要素名で指定
h1{color:red;}

②class名で指定
.class{color:red;}

③id名で指定
#id{color:red;}

④要素名プラスclass名で指定
div.class{color:red;}

⑤要素名プラスid名で指定
div#id{color:red;}

⑥要素の位置から指定
header div{color:red;}   
↑スペースを入れる（ここではheader内のdiv要素を指定）

vol.3 属性・値の指定

①{属性:値;}の形で記述
{color:red;}

②１つのセレクタに対する指定はまとめて記述できる
h1{
   color:red;
   width:90%;
}

③指定が重複したら後の行にあるものが優先
h1{
   color:red;
   width:90%;
   color:blue;
}
↑ここではh1はblueになる

④指定が重複したらより特定が強いものが優先
h1{
   color:red;
   width:90%;
}
header h1{
   color:blue;
}
↑ここではheader内のh1はcolorがblue、widthが90%になる
*/

@media screen and (min-width:1024px) {
    /*レスポンシブ用*/
h1{
	font-size: 32px;
}
.capbox{
   width: 80%;
}
.honbun {
    font-size: 18px;
    text-align: center;
}
.tab_item{
	font-size: 20px;
	height: 59px;
}
label{
	cursor: pointer;
}
label:hover{
    opacity: 0.6;
	background-color: #fffbf8;
}
.chart_contents{
	display:flex;
   flex-wrap:wrap;
   gap: 30px;
   justify-content: center;
   margin-bottom: 1px;
}
.pie-chart1{
	width: 45%;
	height: 300px;
	margin: 0;
}
.pie-chart2{
	width: 45%;
	height: 300px;
	margin: 0;
}
.pie-chart3{
	width: 30%;
	height: 300px;
	margin: 0;
}
.pie-chart4{
	width: 30%;
	height: 300px;
	margin: 0;
}
.pie-chart5{
	width: 30%;
	height: 300px;
	margin: 0;
}
.pie-chart6{
	width: 45%;
	height: 300px;
	margin: 0;
}
.pie-chart7{
	width: 45%;
	height: 300px;
	margin: 0;
}
figcaption{
	font-size: 18px;
}
span{
	margin-right: 2px;
}
.moji{
	font-size: 18px;
}
.back{
   width: 188px;
   height: 53px;
   font-size: 18px;
}
.back::before{
   content: "";
    position: absolute;
    top: 33px;
    left: 0px;
    width: 20px;
    height: 20px;
    background-color: #edaa0b;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.back::after{
    content: "";
    position: absolute;
    top: 0px;
    left: 168px;
    width: 20px;
    height: 20px;
    background-color: #b3b3b3;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.back:hover{
   transform: translateY(4px);
   box-shadow: none;
}
}
    