/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
/* reset css */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
/* reset css end 
---------------------------------------------------------------*/
@charset "UTF-8";

html {
    font-size: 100%;
}
body {
    font-family: 'Noto Serif JP', serif;
}
img {max-width: 100%;

}
/*  大きな背景画像  */
.big-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
#top-page {
    background-image: url(image/imiji_bg.png);
    min-height: 100vh;
}
/* 画面サイズが1279px以下の時はPC用メニューは非表示
------------------------------------------------------------- */
@media screen and (max-width: 1279px) {
    .pc-menu {
      display: none;
    }
  }
  /* 画面サイズが1280px以上の時はスマホ用メニューは非表示
  ----------------------------------------------------------- */
  @media screen and (min-width: 1280px) {
    .sp-menu {
      display: none;
    }
  }
  header {
    width: 50%;
    height: auto;
    margin-top: 24px;
    margin-left: 8px;
    margin-bottom: 30px;
}
  .main-menu {
    margin-left: 14px;
    margin-top: 18px;
    display: flex;
    width: 1280px;
  }

  .pc-menu {
    width: 100%;
  }
  .pc-menu > ul {
    list-style: none;
  }
  .pc-menu > ul > li {
    text-align: center;
    font-size: 16px;
    width: 15%;
  }
  .pc-menu > ul > li > a {
    display: block;
    text-decoration: none;
    color: #000000;
    line-height: 60px;
  }
  .pc-menu > ul > li > a:hover {
    background: #cccccc;
  }
  .sp-menu__box {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background: none;
  }
  .sp-menu__box span,
  .sp-menu__box span:before,
  .sp-menu__box span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #2b2a2a;
    position: absolute;
  }
  .sp-menu__box span:before {
    bottom: 8px;
  }
  .sp-menu__box span:after {
    top: 8px;
  }
  #sp-menu__check {
    display: none;
  }
  #sp-menu__check:checked ~ .sp-menu__box span {
    background: rgba(255, 255, 255, 0);
  }
  #sp-menu__check:checked ~ .sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #sp-menu__check:checked ~ .sp-menu__box span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #sp-menu__check:checked ~ .sp-menu__content {
    left: 0;
  }
  .sp-menu__content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #999;
    transition: all 0.5s;
  }
  .sp-menu__list {
    padding: 70px 10px 0;
  }
  .sp-menu__item {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .sp-menu__link {
    display: block;
    width: 100%;
    font-size: 24px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 60px 28px 10px 0;
  }



  #menu ul{
  list-style: none; 
  padding: 0;
  margin: 0;
  }
  #menu li{
  padding: 0; 
  margin: 0;
  }
  #menu li a{
  text-decoration: none;
  color: #555;
  padding: 0px 0px 0px 20px;
  font-size: 14px;
  }

  #wrapper{
    min-height: 100vh;
    position: relative;
}

  #footer {
    position: absolute;
    text-align: center;
    bottom: 40px;
    width: 100%;
    height: 20px;
    color: #999;
    font-size: 6px;
    font-family:"Hiragino Mincho Pro","ＭＳゴシック", "MS Gothic","メイリオ", serif"

}


/*contact
---------------------------------------------------------*/
@media screen and (min-width: 1280px) {
.form{
    margin-top: -240px;
    margin-left: 25%;
    margin-right: 5%;
}
}
h2{font-size: large;
  margin-bottom: 40px;
}
p{
  margin-left:10px;
  margin-bottom: 40px;
  font-size: 14px;
}
form div{
  margin-bottom: 14px;
}
label{
    font-size: 1.125rem;
    margin-bottom:  10px;
    display: block;  
}
input[type="text"],
input[type="email"],
textarea{
  padding: 10px;
  width: 60%;
  color:#999;
  border:1px solid #999;
  border-radius: 5px;
  font-size: 1rem;
  max-width: 240px;
  }
input[type="msg"],
textarea{
  padding: 10px;
  width: 60%;
  color:#999;
  border:1px solid #999;
  border-radius: 5px;
  font-size: 1rem;
  max-width: 480px;
  height: 6rem;
  }  
  button{
  background: #666666;
  color: white;
  font-size:16px;
  font-weight:bold;
  padding: 10px 20px;
  margin-top: 50px;
  margin-left: 480px;
  font-family:serif;

  }
  /*モバイル版
  -----------------------------------------------*/
@media screen and (max-width: 1279px) {
  .form{
      margin-top: 15px;
      margin-left:20%;
      margin-right:20%;
  }
}
h2{font-size: large;
  margin-bottom: 40px;
}
p{
  margin-left:10px;
  margin-bottom: 40px;
  font-size: 14px;
}
form div{
  margin-bottom: 14px;
}
label{
    font-size: 1.125rem;
    margin-bottom:  10px;
    display: block;  
}
input[type="text"],
input[type="email"],
textarea{
  padding: 10px;
  width: 100%;
  color:#999;
  border:1px solid #999;
  border-radius: 5px;
  font-size: 1rem;
  max-width: 240px;
  }
input[type="msg"],
textarea{
  padding: 10px;
  width: 100%;
  color:#999;
  border:1px solid #999;
  border-radius: 5px;
  font-size: 1rem;
  max-width: 480px;
  height: 6rem;
  }  
  button{
  background: #666666;
  color: white;
  font-size:16px;
  font-weight:bold;
  padding: 10px 20px;
  margin-right: 250px;
  font-family:serif;
  position:absolute;	
	margin: auto;
  }


  /*contact_end
---------------------------------------------------------*/

/*about_us
---------------------------------------------------------*/
@media (min-width: 1401px){
#main_content{
    width: 860px;
    margin: 0;
    margin-left: 348px;
    margin-top: -348px;
    font-size: 12px;
}
}
@media (min-width: 1280px){
  #main_content{
      width: 860px;
      margin: 0;
      margin-left: 348px;
      margin-top: -348px;
      font-size: 12px;
  }
}

/*about_us end
---------------------------------------------------------*/

/*philosophy---------------------------------------------*/

@media (min-width: 1280px){
   #philosophy{
    position: relative;
    text-align: left;
    font-family: 'Noto Serif JP', serif, serif;
    line-height: 2.15;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.1rem;
    color: #000;
    font-size: 15px;
    padding: 10px 0;
    width: 860px;
    margin-top: -380px;
    margin-left: auto;
    margin-right: auto;}
  }

@media (min-width: 1279px){
    #philosophy{
      position: relative;
      text-align: left;
      font-family: 'Noto Serif JP', serif, serif;
      line-height: 2.2;
      letter-spacing: 0.02rem;
      color: #000;
      font-size: 12px;
      padding: 10px 0;
      width: 860px;
    }
  }