@charset "UTF-8";
/* Body */
body {
	font-family:"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	background-color: #EFEFEF;
	margin: 0;
}


:root {
	--main-color: #fff9e9;
	--sub-color: #ffffff;
	
}

/* -----------------------------------------Container----------------------------------------- */
.container {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFFFFF;
	max-width: 1200px;
}

/* Header */
header {
	width: 100%;
	background-image: url(/bunkahappyou/happyou2020/02/images/logobg.svg);
	background-color: #B67C00;
}

h1 {
	color: #fff;
	font-size: 18px;
	font-weight: normal;
	letter-spacing: 5px;
	vertical-align: middle;
	padding: 5px 0px 5px 10px;
	margin: 0;
}

.header .img {
	
}

/* pickup Section */

.lead {
	font-size: 90%;
	color:#333333;
	margin-left: 2%;
	margin-right: 2%;
	line-height: 1.0;
}

h4 {
	font-weight: normal;
	letter-spacing: 0.2em;
	margin-bottom: 5px;
}

.pickup {
	clear: both;
	display: inline-block;
	width: 100%;
	background-color: #FFFFFF;
	
	/* [disabled]min-width: 400px;*/
	padding-bottom: 35px;
	padding-top: 0px;
	margin-top: -5px;
	margin-bottom: 0px;
}

p {
	color: #5F5F5F;
	line-height: 1.3;
}

.box {
	border: 1px dotted;
	padding: 8px;
	line-height: 1.5;
}

/* -----------------------------------------01thema----------------------------------------- */

.thema {
	width: 23%;
	margin-left: 1%;
	margin-right: 1%;
	margin-top: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F8F8F8;
	text-align: center;
	border-radius: 3px;
	border-bottom: 4px solid #FFC478;
	float: left;
}

.photo {
	max-width: 80%;
	opacity: 0.9;	/*不透明度*/
}

.text {
	margin-left: 10%;
	margin-right: 10%;
	text-align: left;
	line-height: 0.95;
}

.tt {
	color: #333333;
	font-size: 100%;
}

.st {
	color: #666666;
	font-size: 80%;
}

.zemi {
	color: #FF9C49;
	font-size: 90%;
	letter-spacing: 0.3em;
}

.labo {
	color: #333333;
	font-size: 60%;
}


footer {
	background-color: #B3B3B3;
	padding-top: 2px;
	padding-bottom: 2PX;
}

.copyright {
	text-align: right;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 15px;
	background-color: #717070;
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight: lighter;
	font-size: 70%;
	letter-spacing: 0.3em;
}

/* -----------------------------------------02zemi----------------------------------------- */

.main {
	margin: 0;
	padding: 0 2%;
}

.conA {
	background-color: var(--main-color);
	padding: 1% 2%;
}

.conB {
	background-color: var(--sub-color);
	padding: 0 2%;
}



h2 {
	font-size: 100%;
	color: #ef8500;
	letter-spacing: 0.2em;
	margin-top: 30px;
}

.text2	{
		border-top:dotted 1px #999999;
		text-decoration:none;
		font-size:12px;
		font-weight:normal;
		letter-spacing: 0.1em;
		line-height:1.4em;
		color:#777777;
		margin-right: 2%;
	}

a:link {
	text-decoration: none;
	font-weight: bold;
	color: #666666;
}
a:visited {
	text-decoration: none;
	color: #666666;
}
a:hover {
	text-decoration: none;
	color: #ef8500;
}
a:active {
	text-decoration: none;
	color: #666666;
}

.red {
	color: #ff0000;
}

.orange {
	color: #ef8500;
}

/* -----------------------------------------flex----------------------------------------- */

/* zemi一覧 */

.flex2{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 98%;
}

.flex2 > *{
  min-width: 15%;
  flex-basis: auto;
  padding: 2px;
  margin: 0px;
  border: 0px dotted #FF9C49;
  color: #666666;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.1em;
}


/* 大きい箱 */
.flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 98%;
}

/* 小さい箱 */
.fbox, .blank{
  min-width: 30%;
  flex-basis: 30%;
  margin-bottom: 8px;
  padding: 5px;
  border: 1px dotted #FF9C49;
  color: #666666;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.1em;
  grid-template-columns: auto;
}



.blank {
	border: 0px;
	color: #fff;
}





/* -----------------------------------------02summary----------------------------------------- */

.text3	{
		text-decoration:none;
		font-size:13px;
		font-weight:normal;
		letter-spacing: 0.1em;
		line-height:1.6em;
		color:#777777;
		margin-right: 2%;
}


/*  test  */


.smry {
  display: grid;
  grid-template-areas:"s1 s2";
  grid-template-rows: auto;
  grid-template-columns: 3fr 1fr;
}
 

.s1{
	grid-area: "s1";
	padding: 5px;
}
 
.s2 {
	grid-area: "s2";
	padding: 5px;
	
}
.s2 img {
	border: 1px solid #e4e4e4;
	width: 500px;
}


@media screen and (max-width: 1023px) {
  .smry {
    grid-template-areas:"s1""s2";
    grid-template-rows: auto;
    grid-template-columns: auto;
  }

	.s2 img {
	width: 500px;
}	

}


@media (min-width: 376px)and (max-width: 767px) {
  .smry {
    grid-template-areas:"s1""s2";
    grid-template-rows: auto;
    grid-template-columns: auto;
  }

	.s2 img {
	width: 80%;
}	

}



@media (max-width: 375px) {
  .smry {
    grid-template-areas:"s1""s2";
    grid-template-rows: auto;
    grid-template-columns: 100%;
  }

	.s2 img {
	width: 100%;
}
	
	
}


/* -----------------------------------------Tablets----------------------------------------- */

@media (min-width: 376px)and (max-width: 767px) {

.container {
	width: 100%;
}
	
.thema {
	width: 48%;
}

	
/* 大きい箱 */
.flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 98%;
}


/* 小さい箱 */
.fbox, .blank{
  min-width: 40%;
  flex-basis: 45%;
  margin-bottom: 8px;
  padding: 5px;
  border: 1px dotted #ef8500;
  color: #666666;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.1em;
  display: grid;
  grid-template-columns: auto;
}

.blank {
	border: 0px;
}


}


/* -----------------------------------------Mobile----------------------------------------- */
@media (max-width: 375px) {

.container {
	width: 100%;
}

.thema {
	width: 100%;
}

/* 大きい箱 */
.flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 98%;
}

/* 小さい箱 */
.fbox, .blank{
  min-width: 40%;
  flex-basis: 45%;
  margin-top: 0px;
  margin-bottom: 8px;
  padding: 5px;
  border: 1px dotted #FF9C49;
  color: #666666;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.1em;
  display: grid;
  grid-template-columns: auto;
}

.tbox {
	padding: 2px;
}

.blank {
	border: 0px;
}

}




