/* for body */
body {
	margin: 0;
	padding: 0;
	font-size: 90%;
	background: #ffffff;
	color: #000;
	font-family: Verdana,"MS PGothic",Osaka,Arial,sans-serif;
}
#head {
	background: #00428e;
	color: #fff;
}
#head-in {
	padding: 8px 2em;
}
h1 {
	font-size: 135%;
	margin: 0;
}
#body {
	margin-left: 1.5em;
}

/* for table */
#form-tbl {
	margin-left: 1.5em;
}
#form {
	border-collapse: collapse;
	margin: 1em 0;
}
#form th, #form td {
	border: 1px solid #666;
	padding: 20px;
}
#form th {
	white-space: nowrap;
	background: #e8e8e8;
}
#form td {
	background: #fff;
}
p.btn input {
	width: 110px;
	height: 32px;
}

/* for title */


/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#body { margin-left: 0; }
	
	/* 投稿フォーム */
	#form-tbl { margin: 0 auto; text-align: center; }
	#form { width: 96%; margin: 10px auto; }
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    p.btn input { width: 10em; }
    
	/* 小見出し */
	h2 { margin: 1em 3px; width: 90%; }
	
	/* サンクス */
	p.msg { margin: 1em auto; }
}





























#main{
	width:90%;
	margin-right:auto;
	margin-left:auto;
	overflow:hidden;
	max-width:1200px;
	}

#box{
	width:100%;
	overflow:hidden;
	
}

#head{
	width:100%;
	overflow:hidden;
	align-items: flex-end;
}

#logo{
	width:400px;
	float:left;
	
}


#tel{
float:right;
}

#contents{
	width:78%;
	float:right;}

#sub{
	width:20%;
	float:left;
	padding-top:20px;}
@media screen and (max-width: 950px) {
	/* 800px以下に適用されるCSS（スマホ用） */
#contents{
	width:73%;
	float:right;}

#sub{
	width:25%;
	float:left;
	padding-top:10px;}
}


@media screen and (max-width: 800px) {
	/* 800px以下に適用されるCSS（スマホ用） */
	#sub{
		display:none;
}

#contents{
	width:100%;
	float:none;}

#logo{
	display:none;
	
}


#tel{
display:none;
}

#topimg{
	padding-top:80px;}

}

@media screen and (min-width: 801px) {
	/* 800px以下に適用されるCSS（スマホ用） */
	#menu{
		display:none;
}}

#sub a:hover{
	opacity:0.6;}



#L{
	width:30%;
	float:left;
	
}


#R{width:70%;
float:right;
}


h2{
	background-color:#fcc0a7;
	color:#cc3300;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:20px;
	font-size:120%;
	margin-top:30px;}
	

h3{
	background-color:#f8759f;
	color:#ffffff;
	max-inline-size: max-content;
	min-width:250px;
	padding:10px;
	text-align:center;
	margin-left:20px;
	font-size:110%;
	margin-top:30px;
	border-radius: 40px;}

	
	
#center{
	max-inline-size: max-content;
	margin-right:auto;
	margin-left:auto;
	padding-top:30px;
	padding-bottom:30px;}
	
	
#footer{
	background-color:#fcc0a7;
	text-align:center;
	color:#ffffff;
	margin-top:100px;
	padding-bottom:20px;
	padding-top:20px;}
	
	

#footer a{
	color:#ffffff;
	text-decoration:none;}

#message{
	width:90%;
	margin-right:auto;
	margin-left:auto;
	background-color:#FEFFE1;
	padding:20px;}


/* table01 */
#table01 tr {
  border-bottom: 1px solid #b5b1b1 !important;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}




.design10 {
 width: 80%;
 margin-right:auto;
 margin-left:auto;
 border-collapse: collapse;
 border-spacing: 0;
}
.design10 th {
 padding: 10px;
 border-bottom: solid 1px #666;
 text-align: center;
}
.design10 td {
 padding: 10px;
 border-bottom: solid 1px #666;
 padding-left:20px;
 
}







.design20 {
 width: 90%;
 margin-right:auto;
 margin-left:auto;
 border-collapse: collapse;
 border-spacing: 0;
}

.design20 td {
 padding: 10px;
 border-bottom: solid 1px #666;
 border-right:1px dotted #666;
 padding-left:20px;
 
}

.design20 td:last-child{ /* 一番左の列の指定 */
  border-right:0;
  
}




.design30 {
 width: 70%;
 margin-right:auto;
 margin-left:auto;
 border-collapse: collapse;
 border-spacing: 0;
}

.design30 td {
 padding: 10px;
 border-bottom: solid 1px #666;
 
 padding-left:20px;
 
}
.design30 th {
 padding: 10px;
 border-bottom: solid 1px #666;
 text-align: center;
 border-right:1px dotted #666;
}

.design30 td:last-child{ /* 一番左の列の指定 */
  border-right:0;
}












/* ===============================================
ヘッダーのスタイリング
=============================================== */
.header {
  height: 80px;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.header__container {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  color: #f8759f;
  padding: 0 25px;
  margin-right: auto;
  margin-left: auto;
}
.header__logo a {
  text-decoration: none;
  font-size: 30px;
  text-transform: uppercase;
  color: #f8759f;
  font-weight: bold;
}

/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.hamburger {
  display: block;
  width: 50px;
  height: 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #f8759f;
  transition: all 0.5s;
}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
}
input[type="checkbox"]:checked + .hamburger span {
  background-color: transparent;
}
input[type="checkbox"]:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:checked + .hamburger span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ===============================================
メニューのスタイリング
=============================================== */
.nav {
  position: fixed;
  width: 80%;
  height: 100vh;
  top: 80px;
  right: -120%;
  background-color: #f8759f;
  color: #fff;
  padding: 50px 0;
  transition: all 0.5s;
 
}
.nav__item a {
  display: block;
  font-size: 20px;
  padding: 20px 0 20px 50px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration:none;
 
}
.nav__item a:hover {
  color: #f8759f;
  background-color: #fff;
}
input[type="checkbox"]:checked ~ .nav {
  right: 0;
}