@charset "utf-8";
@-ms-viewport {
  width: device-width;
}
html,
body {
  /* スムーススクロールあり */
  
scroll-behavior: smooth;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  background: #fff;

 padding: 0!important;
    padding-bottom: 0!important;
    
}
.fc2ad * {
    position: static!important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* スクロールアニメーション */
.dummy {
  height: 120vh;
  background-color: bisque;
}
.fade-in{
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

img,
iframe {
  max-width: 100%;
  height: auto;
}
body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, "sans-serif";
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  padding-top: 64px; /* navの高さ */
  color: #444444;
  background-color: #fff;
}
.container {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
main {
  width: 100%;
  height: auto;
  flex: 1;
}
/*---NAV----------------*/
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  width: 100%;
  height: min(9vh, 9vw);

  padding: 1% auto 3% auto;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}
nav img {
  width: 200px;
  height: auto;
  object-fit: contain;
  padding: 0;
  margin: 0 3%;
  opacity: 0.9;
}
nav ul {
  width: 80%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  display: flex;

  justify-content: flex-end;
  list-style-type: none;
}
nav ul li {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: center;
}
nav ul li a {
  width: 100%;
  height: auto;
  line-height: 1.5;
  font-size: 17px;
  text-decoration: none;
  color: rgba(0, 10, 20, 0.9);
  padding: 8px 10px 2px 10px;
  text-align: center;
  vertical-align: middle;
}

nav ul li:first-child {
  margin-left: 0;
}
nav ul li:last-child {
  margin: 0px 3%;
  border-radius: 30px;
  background-color: #000;
  border: solid 2px #000;
}
nav ul li:last-child :hover {
  color: rgba(255, 195, 252, 0.9);
}
.navcontact {
  color: #fff;
}
nav ul li a:hover,
#nav_contact:hover {
  color: rgba(186, 0, 121, 0.9);
  text-decoration: underline;
  transition: all 0.5s;
}

@media (max-width: 1023px) {
  nav ul li a {
    font-size: 12px;
  }
}
/* スマホ時 */
@media (max-width: 767px) {
  nav img {
  width: 130px;
  height: auto;
  object-fit: contain;
  padding: 0;
  margin: 0 3%;
  opacity: 0.9;
}
  /* ハンバーガー */
  .hamburger {
    display: none;
    position: fixed;
    top: 5px;
    right: 15px;
    width: 20px;
    height: 8px;
    z-index: 2000;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #000;
    margin-bottom: 5px;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
    z-index: 1500;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    margin: 20px 0;
  }

  .hamburger {
    display: block;
  }
}
/*------navi---------------------------*/
/*------header---------------------------*/
header {
  position: relative;
  width: 100%;
  height: 600px;
}
.image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  animation: image-switch-animation 25s infinite;
}
.src1 {
  background-image: url(/photo/header2.jpg);
}
.src2 {
  background-image: url(/photo/header3.jpg);
}
.src3 {
  background-image: url(/photo/header3.jpg);
}
.src4 {
  background-image: url(/photo/header1.jpg);
}
.src5 {
  background-image: url(/photo/header2.jpg);
}
.image:nth-of-type(1) {
  animation-delay: 0s;
}
.image:nth-of-type(2) {
  animation-delay: 5s;
}
.image:nth-of-type(3) {
  animation-delay: 10s;
}
.image:nth-of-type(4) {
  animation-delay: 15s;
}
.image:nth-of-type(5) {
  animation-delay: 20s;
}
@keyframes image-switch-animation {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
header h1 {
  position: absolute;
  top: 100px;
  left: 10%;

  display: inline-block;
  width: min(80%, 720px);

  border-bottom: 5px solid #972f71;
  height: auto;
  filter: drop-shadow(5px 5px 5px #000);
  font-size: min(20vw, 100px);
  color: #fff;
  padding: 0;
  margin-bottom: 10%;
  margin-right: max(10%, 500px);
  padding-bottom: 2vh;
  line-height: 0.9;
  z-index: 40;
  /*-filter: drop-shadow(2px 2px 0px #fff);---*/
}

header h2 {
  position: absolute;
  top: 223px;
  left: 10%;
  display: inline-block;
  width: min(80%, 720px);
  height: auto;
  font-family: "游明朝";
  font-size: 37px;
  color: #fff;
  filter: drop-shadow(2px 2px 2px #000);
  padding: 0;
  margin-right: max(10%, 500px);
  margin-bottom: 10%;
  z-index: 30;
  line-height: 0.7;
  text-align: left;
}
header h3 {
  position: absolute;
  top: 300px;
  left: 10%;
  display: inline-block;
  background-image: linear-gradient(0deg, #972f71, #de8cc0 50%, #972f71);
  width: min(80%, 720px);
  height: auto;
  margin: 0 auto;
  padding: 30px;
  font-family: "游明朝";
  font-size: 30px;
  color: #fff;
  text-align: left;
  filter: drop-shadow(12px 12px 12px #000);
  box-shadow: -1px -1px #fff;
  line-height: 1.5;
}
@media (max-width: 1023px) {
  header {
    height: 580px;
  }
  header h1 {
    font-size: 80px;
    text-align: center;
  }
  header h2 {
    top: 205px;
    font-size: 28px;
  }

  header h2,
  header h3 {
    margin-right: 15%;
    text-align: center;
  }
  header h3 {
    font-size: 25px;
    line-height: 2.0;
  }
}
@media (max-width: 767px) {
  .image {
  position: absolute;
  left: -200px;
  top: -80px;

}
  header {
    height: 500px;
  }
  header h1 {
    font-size: 50px;
    top: 120px;
  border-bottom: 3px solid #972f71;
  }
  header h2 {
    font-size: 15px;
    top: 180px;
  }
  header h3 {
    top: 250px;
    font-size: 12px;
      background-image: linear-gradient(0deg, #972f71, #db6bb2 50%, #972f71);
      padding: 20px 10px;
  }
}
/*------------------------header-------------------------------*/
/*-----------------------jyobun--------------------------------*/
.jyobun {
  width: 70%;
  height: 620px;
  margin: 150px auto;

  background-image: url(/photo/haikei.jpg);
  background-size: cover;
}
.jyobun p {
  padding-top: 50px;
  margin: auto;
  text-align: center;
}
.jyobun p:first-child {
  font-family: "游明朝";
  font-size: 25px;
  color: #0c0f1b;
  text-align: center;
  line-height: 2.5;
}
.jyobun p:last-child {
  font-family: "游明朝";
  font-size: 20px;
  color: #111020;
  text-align: center;
  line-height: 2;
  padding-bottom: 50px;
}
/* タブレット時 */
@media (max-width: 1023px) {
  .jyobun {
    width: 80%;
    height: 600px;
  }

  .jyobun p:first-child {
    font-size: 18px;
    line-height: 2.3;
    padding-top: 90px;
  }
}
.jyobun p:last-child {
  font-size: 15px;
  line-height: 1.8;
}

/* スマホ時 */
@media (max-width: 767px) {
  .jyobun {
    width: 90%;
    height: 520px;
  }
  .jyobun p:first-child {
    padding-top: 90px;
    font-size: 15px;
  }
  .jyobun p:last-child {
    font-size: 12px;
    padding: 20px 20px 0px 20px;
  }
}
/*-----------------------jyobun--------------------------------*/
/*-----------------------toha--------------------------------*/
.header_h {
  font-family: "游明朝";
  width: auto;
  padding: 30px;
}
h1 {
  display: block;
  width: 100%;
  height: auto;
  text-align: left;
  font-family: "游明朝";
  font-size: min(15vw, 70px);
  color: #fff;
  padding: 0;
  margin: 0 auto 2vw auto;
  line-height: 0.7;
  z-index: 40;
}

h2 {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  font-family: "游明朝";
  font-size: 40px;
  color: #121728;
  padding: 0;
  margin: 20px auto 15px auto;
  z-index: 40;
  line-height: 0.7;
}
h3 {
  width: 80%;
  height: auto;
  font-family: "游明朝";
  font-size: 20px;
  color: #222;
  text-align: center;

  border-bottom: solid 1px #222;
}
h4 {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  font-family: "游明朝";
  font-size: min(3vw, 25px);

  color: #0056ae;
  text-align: center;
}

.wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
}

.content {
  display: flex;
  flex-direction: column;
  width: 60%;
  height: auto;

  align-items: center;

  font-family: "游明朝";
  padding: 70px auto;
}
.content h2 {
  margin: 100px auto 20px auto;
}
.toha-content {
  height: 1200px;
  background-image: linear-gradient(
    120deg,
    #c1848f,
    #e1c1c7 30%,
    #f1eaeb 45%,
    #e1c1c7 60%,
    #c1848f
  );
}

.wrapper p {
  width: 70%;
  height: auto;
  font-size: 22px;
  margin: 40px auto;
  font-family: "游明朝";
  text-align: center;
  line-height: 60px;
}
.wrapper .tohaimg {
  width: 40%;
  height: auto;
  background-image: url(/photo/toha.jpg);
  background-size: cover;
}

.kajihaturi-content {
  display: flex;
  flex-direction: row;
  width: 80%;
  height: auto;
  margin: 20px auto 50px;
  padding: 0px;
  text-align: center;
  align-items: center;
}
.kaji-wrap {
  display: flex;
  flex-direction: column;
  width: 45%;
  height: 500px;
  margin: 10px auto;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.8);
  /*  filter: drop-shadow(1px 2px 2px #571127); */
}
.kaji-wrap h4 {
  width: 200px;
  height: auto;
  text-align: center;
  line-height: 1.5;
  margin-top: 15px;
  color: #460418;
}
.kaji-wrap p {
  width: 100%;
  line-height: 1.2;
  margin: 0;
  padding: 4%;
  font-size: 18px;
  text-align: left;
}
.kajiimg,
.haturiimg {
  width: 90%;
  height: 200px;
  background-size: cover;
  background-position: center;
  margin: 10px auto;
  filter: drop-shadow(1px 2px 2px #aaa);
}
.kajiimg {
  background-image: url(/photo/kajiimg.jpg);
}
.haturiimg {
  background-image: url(/photo/haturiimg.jpg);
}
@media (max-width: 1023px) {
  .wrapper {
    flex-direction: column;
  }
  .toha-content {
    width: 100%;
    background-image: url(/photo/toha.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 10%;
    margin-bottom: 10%;
  }
  .toha-content h1,
  .toha-content h2,
  .toha-content h3,
  .toha-content p {
    color: #fff;
    filter: drop-shadow(1px 1px 1px #000);
  }
  .kaji-wrap p {
    color: #280404;
    filter: drop-shadow(0px 0px 0px #000);
  }
  .toha-content h3 {
    border-bottom: solid 1px #fff;
  }
  .tohaimg {
    display: none;
  }
}
@media (max-width: 767px) {
  .wrapper {
    flex-direction: column;
  }
  .toha-content {
    height: 1400px;
  }
  .toha-content h2{
font-size: 30px;
  }
    .toha-content h3{
font-size: 11px;
line-height: 1.5;
  }
      .toha-content h4{
font-size: 16px;
  }
  .toha-content p {
    font-size: 14px;
    line-height: 2.0;
  }
  .kajihaturi-content {
    flex-direction: column;
    margin: 20px 5px;
  }
  .kaji-wrap {
    width: 100%;
    height: auto;
    margin: 0px 0px 30px 0px;
  }
}
/*--------------------------toha-----------------------------*/
/*--------------------------setubi-----------------------------*/
div.migi.setsubi {
  width: 100%;
  height: auto;
  background-image: url(/photo/nagare.jpg);
  background-size: contain;
}
.migi {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 80px;
}

.migi h2 {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
}
.setubi-content{
  height: 1200px;
  margin: 100px auto ;
}
.setubi-content h3 {
  width: 80%;
}
.setubi-content p {
  margin: 0px auto;
  font-size: 18px;
}
.migi .content {
  width: 100%;
}

.migi table {
  width: 60%;
  height: 200px;
  text-align: center;
}

.setsubiimgwrap {
  background-color: #f6e6ff;
  background-size: cover;
  background-repeat: no-repeat;
}
.setsubiimgwrap,
.jissekiimgwrap {
  width: 80%;
  height: auto;
  margin: 5% auto;
  padding: 0px 0px 3% 0px;
  text-align: center;
}
.setsubiinner,
.jissekiinner {
  width: 80%;
  height: auto;
  margin: 50px auto 0px auto;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.setsubiimgwrap p {
  display: inline;
  justify-content: flex-end;
  width: 100%;
  font-size: 15px;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
  background-color: #fff;
}

.setsubiinner div,
.jissekiinner div {
  text-align: center;
  width: 20%;
  height: 320px;
  display: flex;
  flex-direction: column;
}
.setsubiinner img {
  width: 100%;
  height: 250px;
  object-fit: cover;

  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
}
.setsubiinner p {
  margin: 10px 0px;
}
/* PC（4カラム） */
.setsubiinner div,
.jissekiinner div {
  width: calc(25% - 20px);
}
.setsubiinner p {
  text-align: center;
  align-items: end;
}
/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .setubi-content{
    margin-bottom: 500px;
  }
  .setsubiinner div,
  .jissekiinner div {
    width: calc(50% - 20px);
    margin-bottom: 20px;
  }
  .setsubiinner img {
    height: 200px;
  }
 div.setubi-content table th, div.setubi-content table td{
font-size: 12px;
}
}
/* スマホ（1カラム） */
@media (max-width: 767px) {
  .wrapper{
    width: 100%;
    height: auto;
  }
    .setubi-content{
    margin-bottom: 100px;
    height: 700px;
  }
  .setsubiinner {
    width: 60%;
  }
  .setsubiinner div,
  .jissekiinner div {
    width: 100%;
  }
  .migi h2 {
    font-size: 30px;
  }
    .migi h3 {
    font-size: 15px;
  }
    .migi p {
    font-size: 15px;
    line-height: 2.0;
    margin: 30px 10px;
  }
  .setubi-content table{
    width: 90%;
    margin: 0 auto;
  }
  .setubi-content th{
    width: 50%;
font-size: 10px;
  }
  .setubi-content td{

  }
}

/*--------------------------setubi-----------------------------*/
/*--------------------------jisseki-----------------------------*/
.jisseki-wrapper,
.jisseki-migi,
.jisseki-content {
  width: 100%;
  height: 700px;
}
.jisseki-content {
  background-image: url(/photo/haikei.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.jisseki-content h2,
.jisseki-content h3 {
  color: #000;
  box-shadow: none;

  filter: drop-shadow(none);
}
.jissekiimgwrap {
  width: 100%;
  height: auto;
  margin: 0px auto;
  padding: 20px 0px 70px 0px;
  display: flex;
  flex-direction: row;
}
.jissekiinner {
  width: 80%;
  height: 400px;
}
.jissekiinner div {
  width: 23%;
  height: auto;
  margin: 0;
}
.jissekiinner img {
  width: 100%;
  height: 180px;
  object-fit: cover;

  filter: drop-shadow(1px 1px 1px #000);
}

p.jissekiday,
p.jissekinaiyou {
  line-height: 1.4;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 2%;
  text-align: left;
  background-color: #fff;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
}

p.jissekiday {
  font-size: 15px;
  font-weight: bold;
  color: #55a;
  border-bottom: solid 1px #bbb;
  text-align: center;
}
p.jissekinaiyou {
  font-size: 15px;
}
/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .jisseki-wrapper,
  .jisseki-migi,
  .jisseki-content {
    height: 1100px;
  }
  .jissekiinner div {
    width: calc(50% - 20px);
    margin-bottom: 20px;
  }
  .setsubiinner img {
    height: 200px;
  }
  .jissekiinner p {
    color: #000;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {

  .jisseki-wrapper,
  .jisseki-migi,
  .jisseki-content {
    height: 1500px;
  }
  .jissekiinner div {
    width: 100%;
  }
   p.jissekiday{
    line-height: 1.5;
  padding: 12px;
   }
}
/*--------------------------jisseki-----------------------------*/
/*-------------------------gaiyou------------------------------*/
.gaiyou-migi {
  margin-bottom: 300px;
}
.gaiyou-content table {
  width: 65%;
  border-collapse: collapse;
}
.gaiyou-content h3 {
  width: 65%;
  border-bottom: 50%;
}
td,
th {
  border: 3px solid #fff;
  background-color: #f6e6ff;
  padding: 1em;
}
th {
  background-color: #863cac;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 30%;
  min-width: 4em;
}
.gaiyou-content td {
  text-align: left;
  padding-left: 80px;
}
.gaiyou-content .sikaku {
  padding-left: 63px;
}
/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .gaiyou-content table {
    width: 80%;
    font-size: 15px;
  }
  .gaiyou-content h3 {
    width: 80%;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .gaiyou-content table {
    width: 80%;
  }
  .gaiyou-content h3 {
    width: 80%;
  }
  .gaiyou-content td,  .gaiyou-content td.sikaku {
padding: 5px 5px 5px 10px;
  font-size: 10px;
  }
    .gaiyou-content th {
    font-size: 10px;
    width: 25%;
    padding: 5px;
  }
}
/*-------------------------gaiyou------------------------------*/

/*-------------------------area------------------------------*/
.area-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
}
.area-content {
  width: 60%;
  height: 600px;
  background-image: url(/photo/haikei.jpg);
  background-size: cover;
}
.areaimg {
  width: 40%;
  height: 600px;
  background-image: url(/photo/area2.jpg);
  background-size: cover;
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .area-wrapper {
    flex-direction: column;
  }
  .area-content {
    width: 100%;
    height: 500px;
    background-image: url(/photo/haikei.jpg);
    background-size: cover;
  }
  .areaimg {
    width: 100%;
    height: 300px;
    background-image: url(/photo/area2.jpg);
    background-size: cover;
    background-position: center;
  }
  .area-content h2{
    font-size: 30px;
}
.area-content h3{
font-size: 15px;
}
.area-content p{
font-size: 15px;
line-height: 2.5;
}
}
/*-------------------------area------------------------------*/

/*-------------------------access------------------------------*/
.migi-access {
  margin: 200px auto;
  height: auto;
}
.migi-access .wrapper,
.migi-access content {
  width: 100%;
  height: 800px;
}
iframe {
  width: 80%;
  height: 450px;
}
/*-------------------------access------------------------------*/

/*-------------------------saiyou------------------------------*/
.saiyou {
  width: 100%;
  height: auto;
  margin: 0px auto 500px auto;
  text-align: center;
  position: relative;
}
.saiyou .content {
  width: 70%;
  margin: 0px 30% 0px 10%;
  padding: 0px 100px 100px 100px;
  text-align: center;
  height: auto;
  background-image: url(/photo/haikei.jpg);
}
.saiyou p {
  font-size: 18px;
  line-height: 2.2;
  margin-top: 10px;
}
.recruit-aside {
  width: 40%;
  height: 400px;

  position: absolute;
  top: 500px;
  left: 50%;
  background-image: url(/photo/recruit3.jpg);
  background-size: cover;
  background-position: center;
}
.recruit-aside label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #222;
  background-image: linear-gradient(90deg, #fff, #fff 50%, #fff);
  font-size: 20px;
}

/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .saiyou {
    display: flex;
    flex-direction: column;
    margin: 0px auto 300px auto;
  }
  .saiyou .content {
    margin: 0px auto;
    padding: 5% 5% 20% 5%;
  
  }

  .aside {
    width: 50%;
    height: 300px;
    top: 630px;
    left: 50%;

    transform: translate(-50%, 0%);
  }

  .aside h4 {
    font-size: 20px;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .saiyou {
    margin: 0px auto 500px auto;
  }
  .saiyou .content {
    width: 100%;
    margin: 0px;
    padding: 5% 0px 20% 0%;
  }
  .saiyou p {
    font-size: 15px;
  }
  .aside {
    width: 100%;
    height: 250px;
    top: 500px;
  }
.saiyou h2{
  font-size: 30px;
}
.saiyou h3{
  font-size: 15px;
}
.saiyou p{
  font-size: 13px;
}
  .recruit-aside h4 {
    width: 40%;
    font-size: 15px;
  }

}

/* サブウィンドウ */
  .saiyou label{
    width: 90%;
    height: auto;
    padding: 10px;
  }
.open_sub_window {
  display: block;
  width: 15em;
  padding: 1em 2em;
  border-radius: 10px;
  background-color: #3388dd;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.open_sub_window:hover {
  opacity: 0.8;
}

.check_sub_window {
  display: none;
}

.bg_sub_window {
  display: block;
  position: fixed;
  width: 700px;
  height: auto;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.bg_sub_window:hover {
  transition: 0.5s;
}

.check_sub_window:checked + .bg_sub_window {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: 0.5s;
}

.sub_window {
  position: fixed; /* 画面基準にする */
  top: 50px; /* 上からの位置 */
  left: 50%;
  transform: translateX(-50%);

  background-color: #fff;
  overflow-y: auto;
  width: 800px;
  padding-top: 20px;
  border: solid 2px#aaa;
}
.sub_window_content table {
  width: 300px;
  margin: 0 auto;
  font-size: 12px;
}

.close-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.close_sub_window {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;

  background: #fff; /* 任意 */
  border-radius: 50%; /* 任意 */
}
.close_sub_window::before,
.close_sub_window::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 3px;
  background-color: #000;
}

.close_sub_window::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close_sub_window::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.close_sub_window:hover {
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .sub_window {
    width: 100%;
  }

    .saiyou label{
    width: 95%;
  }
  label.bg_sub_window{
     width: 100%;}

  .sub_window {
    width: 100%;
  }

.close-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.close_sub_window {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;

  background: #fff; /* 任意 */
  border-radius: 50%; /* 任意 */
}
.close_sub_window::before,
.close_sub_window::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 3px;
  background-color: #000;
}

.close_sub_window::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close_sub_window::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.close_sub_window:hover {
  cursor: pointer;
}

.sub_window_content {
  width: 100%;
  display: table;
  margin: 0px auto;
  padding: 0px 0% 5% 0px;
}
.sub_window_content table {
  width: 100%;
  font-size: 12px;
}
.saiyou td{

}
.saiyou th{

}
}
/*-------------------------saiyou------------------------------*/
/*-------------------------recent------------------------------*/
.recenthaikei {
  display: block;
  width: 80%;
  height: auto;
  background-size: cover;
  background-image: url(/photo/recenthaikei11.jpg);
  background-position: center;
}
.recentwrap {
  text-align: center;
}
.recentul {
  width: 70%;
  padding: 60px 0px 60px 10%;
  list-style-type: none;
  line-height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
  margin: 100px auto;
  box-sizing: border-box;
}

/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .recentul {
    width: 70%;
    padding: 60px 0px 60px 50px;
    font-size: 13px;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .recentul {
    width: 100%;
    padding: 30px 0px 30px 15px;
    font-size: 10px;
  }
}

/*-------------------------recent------------------------------*/

/*-------------------------contact------------------------------*/
.contact-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  background-image: url(/photo/contact2.jpg);
}
.contact-img {
  width: 28%;
  height: auto;
  background-image: url(/photo/contact.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-aside {
  display: flex;
  flex-direction: row;
  margin: 50px 10% 50px 10%;
  padding: 0px;
  width: 50%;
  height: 300px;
  background-color: #fff;
  border-radius: 30px 30px 30px 30px;
}
.contact-content h3 {
  width: 30%;
  margin-bottom: 4%;
}
.contact p {
  font-size: 20px;
}
div.mail,
div.telfax {
  display: flex;
  flex-direction: column;

  width: 50%;
  height: 300px;
  vertical-align: middle;
  text-align: center;
  justify-content: center;
  align-items: center;
}
div.telfax {
  border-left: solid 3px #bbb;
  margin: 0;
  padding: 0;
}
div.mail {
  line-height: 3.5;
  border-bottom: none;
}
p.mail1,
p.telp {
  width: 100%;
  height: 50%;
  margin: 0;
  padding: 0;
  line-height: 7.5;

  font-style: bold;
  font-size: 20px;
  border-bottom: dotted 2px #bbb;
}

div.telfax p.tel {
  width: 100%;
  height: auto;
  padding-top: 30px;
  font-size: 29px;
  font-style: bold;
  line-height: 0.5;
}
.contact a{
color: #000;
border-bottom: none;
text-decoration: none;
}
div.telfax p.eigyou {
  font-size: 14px;
  color: #222;
  line-height: 0.5;
}
div.telfax p.kinnkyuu {
  font-size: 12px;
  color: #555;
}
div.mail2-wrap {
  width: 100%;
  height: 50%;
}
p.mail2 {
  width: 90%;
  margin: 40px auto 0 auto;
  line-height: 2.5;
  border-radius: 30px;
  text-align: center;
  background-color: #000;
  color: #fff;

  font-size: 20px;
}
p.mail2 a{
  color: #fff;
}
img.mailpng {
  width: 22px;
  height: auto;
  color: #fff;
}
.mail2:hover {
  text-decoration: underline;
  transition: all 0.5s;
  transform: translate(0px, -5px);
  background-color: #bb67f8;
  border: solid 1px #000;
}
.contact p a:hover{
  text-decoration: none;
  transition: all 0.5s;
  transform: translate(0px, -5px);
}
/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .contact-wrap {
    flex-direction: column-reverse;
  }
  .contact-img {
    width: 100%;
    height: 400px;
  }

  .contact-aside {
    margin: 50px auto;
    padding: 0px;
    width: 80%;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .contact-aside {
    display: flex;
    flex-direction: column;
    margin: 10% auto;
    text-align: center;
    padding: 0px;
    width: 70%;
    height: auto;
  }
  .contact-content h3 {
    width: 30%;
    margin: 2% auto 7% auto;
    text-align: center;
  }
  .contact p {
    margin: 10% auto;
  }
    .contact-img{
      height: 200px;
    }
  div.mail,
  div.telfax {
    width: 100%;
    height: auto;
    border-left: none;
  }

  div.mail {
    border-bottom: dotted 2px #bbb;
  }
  p.mail1,
  p.telp {
    height: 80px;
    margin: 0px;
    font-style: bold;
    font-size: 15px;
    border-bottom: none;
  }

  div.telfax p.tel {
    padding: 0%;
    margin: 0 0 10px 0;
    font-size: 20px;
       font-style: bold;
  }

  div.mail2-wrap {
    width: 100%;
    height: 450%;
  }
  p.mail2 {
    width: 200px;
    height: 35px;
    margin: 0% auto 15% auto;
    font-size: 15px;
  }
     .contact-aside .telfax p.eigyou{
    font-size: 10px;

  }
   .contact-aside .telfax p.kinnkyuu {
    margin-top: 0%;
    font-size: 10px;
  }
  .telfax div.telfaxsita{
     margin: 5px;
     height: 90px;
  }
}
/*-------------------------contact------------------------------*/
/*-------------------------footer------------------------------*/
footer {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  margin: 200px 0px 0px 0px;
  padding: 0px;
}
footer img {
  width: 300px;
  height: auto;
  opacity: 0.7;
}
.footercontent {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 500px; /* 高さはmin-heightで確保 */

  background-image: url(/photo/footer3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 20px;
}
.footer-wrap {
  display: flex;
  flex-direction: row;
  margin-left: 10%;
}
div.footer-ado {
  width: 50%;
}
div.footer-gyoumu,
.footer-wrap ul {
  width: 25%;
}
div.footer-ado,
div.footer-gyoumu,
.footer-wrap ul {
  height: 50%;
  line-height: 2;
  text-align: left;
  margin: 5% auto 5% auto;
  padding: 5%;
}

.footer-wrap ul {
  font-size: 20px;
  list-style-type: none;
}
a.work {
  font-size: 20px;
}
.footer-wrap li {
  color: #fff;
}
.footercontent p,
.footercontent a {
  width: 100%;
  height: auto;
  display: block;
  color: #fff;
  margin: 0 auto;
}

.footer-sita {
  margin: 0 auto;
  text-align: center;
  line-height: 2;
}
/* タブレット（2カラム） */
@media (max-width: 1023px) {
  .footercontent {
    min-height: 400px;
  }
  footer img {
    width: 200px;
  }
  div.footer-ado,
  div.footer-gyoumu,
  .footer-wrap ul {
    padding: 2%;
  }
}

/* スマホ（1カラム） */
@media (max-width: 767px) {
  .footercontent {
    min-height: 300px;
  }
  .footer-wrap {
    margin-left: 3%;
    padding-bottom: 50px;
  }
  footer img {
    width: 100px;
  }
  footer p,footer li{
    font-size: 10px;
  }
  div.footer-ado,
  div.footer-gyoumu,
  .footer-wrap ul {
    padding: 2%;
  }
  .footer-wrap ul {
    font-size: 10px;
  }
  a.work,footer a {
    font-size: 10px;
  }
}

/*-------------------------footer------------------------------*/
@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?1h3rgh");
  src:
    url("fonts/icomoon.eot?1h3rgh#iefix") format("embedded-opentype"),
    url("fonts/icomoon.ttf?1h3rgh") format("truetype"),
    url("fonts/icomoon.woff?1h3rgh") format("woff"),
    url("fonts/icomoon.svg?1h3rgh#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-envelop:before {
  content: "\e945";
}

.icon-envelop {
  background-color: #fff;
  color: #000;
}

#fc2_bottom_bnr{position:static!important;}
.fc2ad *{position:static!important;}
.fc2_footer_ad {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}