html {overflow: auto;}

body {
	width:100%;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-webkit-overflow-scrolling: touch;
	font-family: "ＭＳ Ｐゴシック","MS PGothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Sans-Serif;
	line-height: 1.8;
	margin: 0 auto;
	padding: 0;
	overflow: auto;
}


a {text-decoration:none;color: #333333;}

b {font-weight: bold;}

.b {font-weight: bold;}

img { border:none;}

option {font-weight: 300;}

/* 回り込み解除 */

.clearfix {zoom:1;}
.clearfix:after{content: "."; display: block; height: 0; clear: both; visibility: hidden;}



/* デバイス毎の表示切り替え */

@media screen and (min-width: 769px) {
.pc_none {display:none!important;}
.tab_only {display:none!important;}
.sp_only {display:none!important;}
}

@media screen and (min-width: 641px) and (max-width: 768px) {
.pc_only {display:none!important;}
.sp_only {display:none!important;}
.tab_none {display:none!important;}
}

@media screen and (max-width: 640px) {
.pc_only {display:none!important;}
.tab_only {display:none!important;}
.sp_none {display:none!important;}
}




/* WEBフォント */

.noto {font-family: 'Noto Sans JP', sans-serif;}

.yum {font-family: 游明朝,"Yu Mincho",YuMincho,Georgia,"Hiragino Mincho ProN",HGS明朝E,"MatissePro-M";}

.yug {font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;}

@font-face {
  font-family: YuGothicM;
  src: local("Yu Gothic Medium");
}


/* 指定フォントスタイル */

.red {color:#cc0000;}

.red2 {color:#ff0000;}

.orange {color:#ce6b38;}

.white {color:#fff;}

.tsw {text-shadow: 0px 0px 10px #fff;}

.tsb {text-shadow: 0px 0px 10px #000;}





/* スライドインアニメーション */

.main_bg  {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
-webkit-animation-delay: 0.5s; /* Safari 4.0 - 8.0 */
 animation-delay: 0.5s;
 -webkit-animation-name: opf0;
 animation-name: opf0;
 visibility: visible !important;
}

@-webkit-keyframes opf0 {
 0% { opacity: 0; }
100% { opacity: 1;}
}
@keyframes opf0 {
 0% { opacity: 0; }
100% { opacity: 1;}
}


.fdin  {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
-webkit-animation-delay: 0.5s; /* Safari 4.0 - 8.0 */
 animation-delay: 0.5s;
 -webkit-animation-name: opf2;
 animation-name: opf2;
 visibility: visible !important;
}

@-webkit-keyframes opf2 {
 0% { opacity: 0; }
100% { opacity: 1;}
}
@keyframes opf2 {
 0% { opacity: 0; }
100% { opacity: 1;}
}


.fdin2  {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:2s;
 -ms-animation-duration:2s;
 animation-duration:2s;
-webkit-animation-delay: 1.5s; /* Safari 4.0 - 8.0 */
 animation-delay: 1.5s;
 -webkit-animation-name: opf3;
 animation-name: opf3;
 visibility: visible !important;
}

@-webkit-keyframes opf3 {
 0% { opacity: 0; margin-top:20px;}
 100% { opacity: 1.0; margin-top:0;}
}
@keyframes opf3 {
 0% { opacity: 0; margin-top:20px;}
 100% { opacity: 1.0; margin-top:0;}
}





.img_top  {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
-webkit-animation-delay: 0.5s; /* Safari 4.0 - 8.0 */
 animation-delay: 0.5s;
 -webkit-animation-name: opf0;
 animation-name: opf0;
 visibility: visible !important;
}

@-webkit-keyframes itf0 {
 0% { opacity: 0; }
100% { opacity: 1;}
}
@keyframes itf0 {
 0% { opacity: 0; }
100% { opacity: 1;}
}


.title_in  {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
-webkit-animation-delay: 1.5s; /* Safari 4.0 - 8.0 */
 animation-delay: 1.5s;
 -webkit-animation-name: opf0;
 animation-name: opf0;
 visibility: visible !important;
}

@-webkit-keyframes itf1 {
 0% { opacity: 0; }
100% { opacity: 1;}
}
@keyframes itf1 {
 0% { opacity: 0; }
100% { opacity: 1;}
}

.contents_p  {
    width: 90%;
    max-width:700px;
    font-size: 13px;
    margin: auto;
    padding: 100px 0;
    z-index: 0;
    font-weight: 100;
}


.contents_p h3 {
    font-size: 14px;
    text-align: left;
    letter-spacing: 3px;
    font-weight: 400;
}







/* PC用 ここから */

@media screen and (min-width: 769px) {


h1 {font-size:30px;}
h2 {font-size:20px;}
h3 {font-size: 16px; text-align: center; letter-spacing: 3px;}


#contents {
    width:100%;
    margin:0;
    padding:0;
    position:relative;
}


#inner {
    width: 600px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 600px;
    z-index:1;
}

#inner .main_logo {
    width: 300px;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 260px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner .menu {
   width:600px;
   height: 30px;
}

#inner .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px;
    font-weight: 300;    
}


#main_copy {
    width: 100%;
    position:absolute;
    bottom:15px;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
}


/* 中ページ  */

#inner_c {
    width: 600px;
    margin: auto;
    z-index: 1;
    height: 150px;
}

#inner_c .main_logo {
    width: 200px;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 80px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner_c .menu {
   width:600px;
   height: 30px;
}

#inner_c .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner_c .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px;
    font-weight: 300;
}

.right_name {
text-align: right;
    width: 100%;
    display: block;
    font-weight: 100;
}

.contents_c  {
    width: fit-content;
    font-size: 13px;
    margin: auto;
    padding: 100px 0;
    z-index: 0;
    font-weight: 100;
}

#main_copy_c {
    width: 100%;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    margin: 10px 0;
}



/* メールフォーム */
.contents_m {
    width: 500px;
    margin: 100px auto;
    font-weight: 100;
    font-size: 13px;
    letter-spacing: 1px;
}

.title {
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 300;
}

.mailform table {
}

.mailform th,td {
    display:block;
    text-align: left;
    font-size: 13px;
}

.mailform th {
    margin: 20px 0 0 0;
}

.mailform td {
    margin: 0 0 0 0;
}

.mailform span {
    color: #eb6001;
}

#wrapper .inner_thanks {
    position: absolute;
    z-index: 0;
    max-width: 1200px;
    margin: auto;
    height: fit-content;
    width: 40%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-width: 555px;
}

input#submit_button {
    padding: 15px 40px;
    margin: 0 10px 0 0;
    background-color: #929292;
    color: #fff;
    border: #929292;
    border-radius:10px;
    cursor: pointer;  
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#submit_button:hover {
    background-color: #fff;
    color: #929292;
    border: 1px solid #929292;
    cursor: pointer;  
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#reset_button {
    padding: 15px 40px;
    background-color: #fff;
    color: #929292;
    border: 1px solid #929292;
    border-radius:10px;
    cursor: pointer;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#reset_button:hover {
    border: 1px solid #fff;
    cursor: pointer;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}


/* 各ボタンのiOSでのデフォルトスタイルを変更 */
input[type="submit"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #eb6001 1px solid;
  background-color: #eb6001;
  color:#fff;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type="reset"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #000 1px solid;
  background-color:#fff;
  color:#000;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="reset"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type=text], input[type="tel"]  {
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 50%!important;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
    font-size : 13px;
    border : 1px solid #ccc;
    -webkit-border-radius : 0;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
    width: 100%!important;
}

#select_button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding: 0 40px 0 10px;
    width: 50%;
    background:#EEE url(../img/ios_select_down.png) no-repeat;
    background-size:contain;
    background-position: right center;
}

}

/* PC用 ここまで */











































/* TABLET用 ここから */

@media screen and (min-width: 641px) and (max-width: 768px) {


h1 {font-size:30px;}
h2 {font-size:20px;}
h3 {font-size: 16px; text-align: center; letter-spacing: 3px;}


#contents {
    width:100%;
    margin:0;
    padding:0;
    position:relative;
}


#inner {
    width: 600px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 600px;
    z-index:1;
}

#inner .main_logo {
    width: 300px;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 260px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner .menu {
   width:600px;
   height: 30px;
}

#inner .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px;
    font-weight: 300;    
}


#main_copy {
    width: 100%;
    position:absolute;
    bottom:15px;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
}


/* 中ページ  */

#inner_c {
    width: 600px;
    margin: auto;
    z-index: 1;
    height: 150px;
}

#inner_c .main_logo {
    width: 200px;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 80px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner_c .menu {
   width:600px;
   height: 30px;
}

#inner_c .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner_c .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px;
    font-weight: 300;
}

.right_name {
text-align: right;
    width: 100%;
    display: block;
    font-weight: 100;
}

.contents_c  {
    width: fit-content;
    font-size: 13px;
    margin: auto;
    padding: 100px 0;
    z-index: 0;
    font-weight: 100;
}

#main_copy_c {
    width: 100%;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    margin: 10px 0;
}


/* メールフォーム */
.contents_m {
    width: 500px;
    margin: 100px auto;
    font-weight: 100;
    font-size: 13px;
    letter-spacing: 1px;
}

.title {
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 300;
}


.mailform table {
}

.mailform th,td {
    display:block;
    text-align: left;
    font-size: 13px;
}

.mailform th {
    margin: 20px 0 0 0;
}

.mailform td {
    margin: 0 0 0 0;
}

.mailform span {
    color: #eb6001;
}

#wrapper .inner_thanks {
    position: absolute;
    z-index: 0;
    max-width: 1200px;
    margin: auto;
    height: fit-content;
    width: 40%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-width: 555px;
}

input#submit_button {
    padding: 15px 40px;
    margin: 0 10px 0 0;
    background-color: #929292;
    color: #fff;
    border: #929292;
    border-radius:10px;
    cursor: pointer;  
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#submit_button:hover {
    background-color: #fff;
    color: #eb6001;
    border: 1px solid #929292;
    cursor: pointer;  
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#reset_button {
    padding: 15px 40px;
    background-color: #fff;
    color: #929292;
    border: 1px solid #929292;
    border-radius:10px;
    cursor: pointer;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

input#reset_button:hover {
    border: 1px solid #fff;
    cursor: pointer;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

/* 各ボタンのiOSでのデフォルトスタイルを変更 */
input[type="submit"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #eb6001 1px solid;
  background-color: #eb6001;
  color:#fff;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type="reset"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #000 1px solid;
  background-color:#fff;
  color:#000;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="reset"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type=text], input[type="tel"]  {
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 50%!important;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
    font-size : 13px;
    border : 1px solid #ccc;
    -webkit-border-radius : 0;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
    width: 100%!important;
}

#select_button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding: 0 40px 0 10px;
    width: 50%;
    background:#EEE url(../img/ios_select_down.png) no-repeat;
    background-size:contain;
    background-position: right center;
}

}

/* TABLET用 ここまで */











































/* SMP用 ここから */

@media screen and (max-width: 640px) {


h1 {font-size:30px;}
h2 {font-size:20px;}
h3 {font-size: 16px; text-align: center; letter-spacing: 3px;}


#contents {
    width:100%;
    margin:0;
    padding:0;
    position:relative;
}


#inner {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 600px;
    z-index:1;
}

#inner .main_logo {
width: 80%;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 230px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner .menu {
   width:100%;
   height: 30px;
}

#inner .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px 3vw;
    font-weight: 300;
}


#main_copy {
    width: 100%;
    position:absolute;
    bottom:15px;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
}


/* 中ページ  */

#inner_c {
    width: 100%;
    margin: auto;
    z-index: 1;
    height: 150px;
}

#inner_c .main_logo {
    width: 200px;
    background-image: url(../img/sonoichi_logo.png);
    background-size: 100%;
    background-position: bottom;
    height: 80px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#inner_c .menu {
    width: 100%;
    height: 30px;
    margin: 0 auto;
}

#inner_c .menu ul {
    list-style: none;
    text-align: center;
    font-size: 0;
    margin: 0;
    padding: 0;
}

#inner_c .menu li {
    display: inline-block;
    font-size: 14px;
    margin: 20px 3vw 0 3vw;
    font-weight: 300;
}

.right_name {
text-align: right;
    width: 100%;
    display: block;
    font-weight: 100;
}

.contents_c  {
    width: 80%;
    font-size: 13px;
    margin: auto;
    padding: 100px 0;
    z-index: 0;
    font-weight: 100;
}

#main_copy_c {
    width: 100%;
    color: #666;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    margin: 10px 0;
}



/* メールフォーム */
.contents_m {
    width: 90%;
    margin: 100px auto;
    font-weight: 100;
    font-size: 13px;
    letter-spacing: 1px;
}

.title {
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 300;
}


.mailform table {
}

.mailform th,td {
    display:block;
    text-align: left;
    font-size: 13px;
}

.mailform th {
    margin: 20px 0 0 0;
}

.mailform td {
    margin: 0 0 0 0;
}

.mailform span {
    color: #eb6001;
}

#wrapper .inner_thanks {
    position: absolute;
    z-index: 0;
    max-width: 1200px;
    margin: auto;
    height: fit-content;
    width: 40%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-width: 555px;
}

input#submit_button {
    padding: 15px 40px;
    margin: 0 10px 0 0;
    background-color: #929292;
    color: #fff;
    border-style: none;
    border-radius:10px;
    cursor: pointer;
    
}

input#reset_button {
    padding: 15px 40px;
    background-color: #fff;
    color: #929292;
    border: 1px solid #929292;
    border-radius:10px;
    cursor: pointer;
}

/* 各ボタンのiOSでのデフォルトスタイルを変更 */
input[type="submit"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #eb6001 1px solid;
  background-color: #eb6001;
  color:#fff;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type="reset"],
input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: #000 1px solid;
  background-color:#fff;
  color:#000;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="reset"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type=text], input[type="tel"]  {
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 100%!important;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
    font-size : 13px;
    border : 1px solid #ccc;
    -webkit-border-radius : 0;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
    width: 100%!important;
}

#select_button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding: 0 40px 0 10px;
    width: 100%;
    background:#EEE url(../img/ios_select_down.png) no-repeat;
    background-size:contain;
    background-position: right center;
}

}
/* SMP用 ここまで */




























