@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q,
blockquote {
  quotes: none;
}
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
}

body,
input,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3",
    Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #040404;
  line-height: 1.5;
}

.hover-opacity a {
  -moz-transition-property: all;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -moz-transition-timing-function: ease-in;
  -o-transition-timing-function: ease-in;
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
}
.hover-opacity a:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
}

input:focus {
  outline: 0;
}

a {
  text-decoration: none;
  color: #040404;
  -moz-transition-property: all;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -moz-transition-timing-function: ease-in;
  -o-transition-timing-function: ease-in;
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
}
a:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
}

.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

/* top page
---------------------------------*/
@media screen and (min-width: 992px) {
  #index .container {
    padding-left: 48px;
  }
}
#index #gheader a {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3;
  width: 43px;
  height: 43px;
}
#index #gheader a img {
  position: absolute;
  right: 13px;
  top: 21px;
  z-index: 2;
  width: 30px;
}
#index #gheader a:after {
  content: "";
  top: -250px;
  left: 25px;
  position: absolute;
  width: 470px;
  height: 470px;
  background-color: #000;
  z-index: 1;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (min-width: 992px) {
  #index #main-cont {
    margin-top: 26vh;
  }
}

@media screen and (max-width: 991px) {
  #index #main-cont {
    margin-top: 10vh;
  }
}

#index #main-cont .title {
  background-color: #000;
}
#index #main-cont .title .title-inner {
  background: url(../../img/ogawamine/gtop_bg_01.jpg) center center no-repeat;
  background-size: 2550px;
  height: 233px;
  position: relative;
  display: table;
  /* max-width:1000px;*/
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#index #main-cont .title h1 {
  display: table-cell;
  vertical-align: middle;
}
#index #main-cont .title h1 img {
  max-width: 285px;
  width: 100%;
  padding: 0 10px;
  margin-left:20px;
}
#index #main-cont .title a {
  position: absolute;
  display: block;
  z-index: 2;
}

#index #main-cont .title a img {
  max-width: 130px;
  width: 100%;
}
@media screen and (min-width: 701px) {
  #index #main-cont .title a {
    right: 20px;
    margin-top: -12px;
    top: 50%;
  }
}
@media screen and (max-width: 700px) {
  #index #main-cont .title a {
    max-width: 130px;
    left: 50%;
    margin-left: -65px;
    bottom: 20px;
  }
}

#index #main-cont .top-logos {
  position: relative;
}

#index #main-cont nav {
  width: 445px;
  height: 445px;
  position: fixed;
  transform-origin: bottom left;
  transform: scale(0.6);
  left: 95px;
  bottom: 47px;
  /* margin-top: -2vh; */
}

@media screen and (max-width: 991px) {
  #index #main-cont nav {
    transform: scale(0.5);
    left: 90px;
    bottom: 50px;
  }
}

@media screen and (min-width: 701px) {
  #index #main-cont nav {
  }
}

@media screen and (max-width: 700px) {
  #index #main-cont nav {
    transform-origin: bottom center;
    left: 50%;
    margin-left: -218px;
    bottom: 35px;
  }
}

@media screen and (max-height: 610px) {
  #index #main-cont nav {
    bottom: 5px;
  }
}

#index #main-cont nav:after,
#index #main-cont nav:before {
  content: "";
  position: absolute;
  z-index: 1;
  background-color: #231815;
}
#index #main-cont nav:after {
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  top: 50%;
  left: 0;
  right: 0;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#index #main-cont nav:before {
  height: 100%;
  width: 3px;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#index #main-cont nav ul li {
  position: absolute;
  z-index: 2;
}
#index #main-cont nav ul li:nth-child(1) {
  width: 152px;
  top: 85px;
  left: 50%;
  margin-left: -76px;
}
#index #main-cont nav ul li:nth-child(2) {
  width: 278px;
  top: 50%;
  right: -120px;
  margin-top: -18px;
}
#index #main-cont nav ul li:nth-child(3) {
  width: 231px;
  top: 50%;
  left: -70px;
  margin-top: -15px;
}
#index #main-cont nav ul li:nth-child(4) {
  width: 105px;
  bottom: 25px;
  left: 50%;
  margin-left: -52.5px;
}

/* Lab Top Page
---------------------------------*/
#lab section {
  padding-bottom: 40px;
}
#lab .sec01 {
  text-align: center;
}
@media screen and (min-width: 768px) {
  #lab .sec {
    display: -webkit-flex;
    display: flex;
  }
}
@media screen and (max-width: 767px) {
  #lab .sec .text {
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 768px) {
  #lab .sec div {
    width: 50%;
  }
  #lab .sec02 .text h2 {
    text-align: right;
  }
}
#lab .sec .text {
  color: #9f9fa0;
}
#lab .sec .text h2 {
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  #lab .sec .pic01 {
    margin-bottom: 30px;
    text-align: center;
  }
}
#lab .sec03 .pic01 {
  order: 1;
}
#lab .sec03 .text {
  order: 2;
}
@media screen and (min-width: 992px) {
  #lab .sec02 .text {
    margin-right: 50px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #lab .sec02 .text {
    margin-right: 10px;
  }
}
@media screen and (min-width: 992px) {
  #lab .sec03 .text {
    margin-left: 50px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #lab .sec03 .text {
    margin-left: 10px;
  }
}

/* Contact Page
---------------------------------*/
#contact #gheader {
  margin: 20px;
}
#contact #main-cont {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}
#contact #main-cont .title {
  text-align: center;
}
#contact #main-cont .title h1 {
  font-size: 30px;
}
#contact #main-cont .title h1 span {
  font-size: 14px;
  display: block;
}
#contact #main-cont .form-wrap {
  border-bottom: 1px solid #9f9fa0;
  padding: 15px 0;
}
@media screen and (min-width: 768px) {
  #contact #main-cont .form-wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
}
@media screen and (min-width: 768px) {
  #contact #main-cont .form-wrap .form-text {
    width: 180px;
    padding-top: 10px;
    border-right: 1px solid #9f9fa0;
  }
}
#contact #main-cont .form-wrap .form-text span {
  display: inline-block;
  position: relative;
}
#contact #main-cont .form-wrap .form-text span:after {
  position: absolute;
  content: "必須";
  z-index: 1;
  right: -40px;
  top: 1px;
  background-color: #e50012;
  color: #fff;
  font-size: 0.8em;
  padding: 0 5px;
}
@media screen and (min-width: 768px) {
  #contact #main-cont .form-wrap .form-input {
    width: calc(100% - 200px);
  }
}
#contact #main-cont .form-wrap .form-input input,
#contact #main-cont .form-wrap .form-input textarea {
  width: 100%;
  border: none;
}
@media screen and (min-width: 768px) {
  #contact #main-cont .form-wrap .form-input input,
  #contact #main-cont .form-wrap .form-input textarea,
  #contact #main-cont .form-wrap .form-input p {
    padding: 10px;
  }
}
#contact #main-cont .form-message {
  color: #595757;
  border: 2px solid #ea5415;
  padding: 10px;
  margin: 20px 0;
}
#contact #main-cont .form-privacy {
  text-align: center;
}
#contact #main-cont .form-privacy a {
  color: #ea5415;
}
#contact #main-cont .form-btn {
  margin: 20px 0;
  text-align: center;
}
#contact #main-cont .form-btn input {
  cursor: pointer;
  width: 150px;
  line-height: 40px;
  border: none;
  color: #fff;
  display: inline-block;
}
#contact #main-cont #btn-confirm,
#contact #main-cont #btn-return {
  background-color: #888889;
}

#contact #main-cont #btn-return {
  cursor: pointer;
  width: 150px;
  line-height: 40px;
  border: none;
  color: #fff;
  display: inline-block;
}
#contact #main-cont #btn-submit {
  background-color: #ea5415;
}

#contact #main-cont .error {
  color: #e50012;
  background-color: pink;
}

#contact #main-cont .success {
  color: #3c763d;
  background-color: #dff0d8;
}

#contact #main-cont .error-title {
  margin-top: 20px;
}
#contact #main-cont .error-list {
  margin: 15px 0;
}

#contact #main-cont .error-list li {
  position: relative;
  padding-left: 10px;
}

#contact #main-cont .error-list li:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #000;
  position: absolute;
  top: 8px;
  left: 0;
}

#contact #main-cont .contact-finish {
  text-align: center;
  margin: 15px 0;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}
