@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&family=Zen+Kaku+Gothic+New:wght@400;500&display=swap');

/* RESET
----------------------------------------------------------------------------------------------------*/
a,article,body,dd,div,dl,dt,em,form,footer,header,h1,h2,h3,h4,h5,h6,html,i,iframe,img,label,legend,li,nav,ol,p,section,main,span,table,tbody,tfoot,thead,time,tr,th,td,ul,video{font-family:inherit;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;white-space:normal;margin:0;padding:0;border:0;outline:0;background:transparent;line-height:1.6;text-align:left}textarea{font-family:inherit;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;margin:0;padding:0;border:0;outline:0;background:transparent;line-height:1.6;text-align:left}article,footer,header,nav,section,main{display:block}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}

/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
body {
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.6em;
 font-family: 'Roboto',"游ゴシック Medium", "Yu Gothic Medium","游ゴシック",YuGothic,"メイリオ",Meiryo,sans-serif;
  font-weight: 500;
   color: #666;
  -webkit-text-size-adjust: 100%;
}

@media only screen and ( max-width : 768px ) {
  body {font-size: 14px;}
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: middle;
  border: none;
}


/* ----------------------------------------------

 * アンカータグの設定

---------------------------------------------- */
a {
  outline:none;
  color: #333;
}

a:hover {
  text-decoration: none;
}


a,a:hover,a:hover img {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}



.banner{
  width: 200px;
  height: auto;
}



@media only screen and ( max-width : 768px ) {
  .sbox {
    margin-bottom: 20px;
  }
  .container {
    padding: 0 30px;
  }
  section {
    padding: 100px 0;
  }
}

@media only screen and ( max-width : 480px ) {
  .container {
    padding: 0 20px;
  }
}
@media only screen and ( max-width : 374px ) {
  .container {
    padding: 0 10px;
  }
}

@media print, screen and ( min-width : 769px ) {
  .sbox {
    margin-bottom: 25px;
  }
  .container {
    width: 90%;
  }
  section {
    padding: 200px 0;
  }
}

/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */

#header {
  box-shadow: 0px 3px 15px rgba(0,0,0,0.0);
  z-index: 99;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}

div#h_top {
    margin-top: -1em;
}


#gNav a:hover {
  color: #999;
}
nav li a {
  font-size: 13px;
  letter-spacing: 0.2em;
}
nav .sub-menu,.mean-container .mean-nav ul ul {
  background: #fff;
  background-image: linear-gradient(to top, #e6edf7 15%, #a4c1d7 100%);
}
@media only screen and ( max-width : 768px ) {
  #header {
    padding: 10px 0;
    height: 60px;
  }
  .h_logo {
    width: 200px;
    position: absolute;
    top: 18px;
    left: 10px;
    z-index: 100;
  }
  #gNav .nav {
    overflow-y: auto;
    height: 100vh;
  }
  .mean-nav .container {
    padding: 0;
  }
  nav li .fa {
    display: none;
  }
}

@media print, screen and ( min-width : 769px ) {
  #header {
    height: 80px;
  }
  .h_logo img {
    width: 300px;
  }
  #h_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #gNav ul {
    position: relative;
    display: flex;
    list-style: none; /* 箇条書きの点を消す */
  }
  #gNav li {
    position: relative;
    margin-right: 3em;
    margin-left: 3em;
  }
  #gNav li:last-child {
    margin-right: 0;
  }
  #gNav li i {
    font-size: 16px;
    margin-left: 5px;
  }
  #gNav li a {
    position: relative;
    display: block;
    text-align: center;
    line-height: 80px;
  }
  #gNav .sub-menu {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -100px;
    width: 200px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  #gNav .sub-menu a {
    padding: 10px;
    display: block;
    border-bottom: none;
    padding: 20px;
    line-height: 1.2em;
  }
  #gNav .sub-menu a:hover:after {
    content: none;
  }
  #gNav .sub-menu li {
    display: block;
    font-size: 16px;
    padding: 0;
    margin: 0;
  }
  #gNav .sub-menu li:last-child {
    border-bottom: none;
  }
  #gNav ul > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #gNav ul > li:hover a,#gNav .current-menu-item a,#gNav .current-menu-parent a {
    color: #719bad;
  }
  #gNav li:hover ul.sub-menu {
    top: 80px;
    visibility: visible;
    opacity: 1;
    z-index: 9999;
  }
  #gNav li ul li:after {
    content: none;
  }
 #gNav li:hover ul.sub-menu a {
    color: #111;
  }
  #gNav .sub-menu li a:hover {
    background: #fff;
  }
  #gNav .contact_btn a:hover {
    color: #fff;
  }
}

/* ---------------------------------------------------------------------------------------------

　   popup

--------------------------------------------------------------------------------------------- */


/* =============================
   ② ポップアップ共通スタイル
   ============================= */
/* 固定ボタン */
.fixed-buttons {
      position: fixed;
      bottom: 2%;
      left: 20px;
      display: flex;
      flex-direction: column;
      gap: 1em;
      z-index: 1000;
}
.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: gray;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}
.circle:hover {
  transform: scale(1.1);
}
.circle.red { background: #f19ca7; }
.circle.red:hover { background:#e29399;  }
.circle.green { background: #67b5b7; }
.circle.green:hover { background: #88bfbf; }
.circle.blue { background: #409ecc; }
.circle.blue:hover { background: #68a9cf; }

/* ポップアップ共通 */
.popup {
  position: fixed;
  z-index: 9999;
  display: none;
  opacity: 0;
  padding: 1.5em;
  color: #000;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* アニメーション */
.popup.show {
  display: block;
  animation: popupFadeIn 0.3s ease forwards;
}
.popup.hide {
  animation: popupFadeOut 0.3s ease forwards;
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes popupFadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.95); }
}

/* サイズと位置（PC用） */
#ppup_1 {
  width: 750px;
  height: 600px;
  top: 20%;
  left: 25%;
}
#ppup_2 {
  width: 700px;
  height: 400px;
  top: 20%;
  right: 20%;
}
#ppup_3 {
  width: 800px;
  height: 400px;
  bottom: 20%;
  right: 20%;
}

/* モバイル調整 */
@media screen and (max-width: 767px) {
  #ppup_1, #ppup_2, #ppup_3 {
    width: 90%;
    height: 700px;
    left: 5%;
  }
  #ppup_1 { top: 10%; }
  #ppup_2 { top: 10%; }
  #ppup_3 { top: 10%; }
}

/* 見出し＆テキスト調整 */
h1 { font-size: 30px; margin-bottom: 0.6em; line-height: 1.3; }
h2 { font-size: 24px; margin: 1em 0 0.5em; line-height: 1.4; }
h3 { font-size: 20px; margin: 1em 0 0.5em; line-height: 1.5; }
p  { font-size: 15px; line-height: 1.8; }

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  cursor: pointer;
}

    header {
      padding: 0.5em;
      color: #555;
    }

    .main-i {
      display: flex;
      flex-direction: column;
      align-items: center;
      top: 20px;
      padding: 0em;
    }

    .main-i img {
      max-width: 100%;
      height: auto;
    }

    .text-box {
      background: rgba(255, 255, 255, 0.726);
      border: 0px solid #ccc;
      padding: 1em;
      margin-top: 1em;
      min-width: 550px;
      line-height: 1.6;
    }

    @media screen and (min-width: 768px) {
      .main-i {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        top: 0px;
        position: relative;
      }

      .main-i img {
        width: auto;
        max-height: 500px;
      }

      .text-box {
        position: absolute;
        right: 10%;
        bottom: 20px;
        margin: 0;
        max-width: 95%;
      }
    }
    
    @media screen and (max-width: 767px) {
.text-box {
    background: rgba(255, 255, 255, 0.726);
    border: 0px solid #ccc;
    padding: 1em;
    margin: auto 0 auto;
    min-width: 400px;
    max-width: 680px;;
    line-height: 1.6;
}
}
 

/* ---------------------------------------------------------------------------------------------

　   CONTENTS

--------------------------------------------------------------------------------------------- */
#main p {
  word-break: break-all;
}

section {
  text-align: center;
}

#sec01 {
  background: #cadffa;
}
#sec02 {
  background: #99c1f3;
}
#sec03 {
  background: #7ea7d9;
}
#sec04 {
  background: #618bbe;
}
.btn {
  display: block;
  background: #fff;
  color: #618bbe;
  padding: 0.8em 1em;
  text-align: center;
  margin: 0 auto;
  border-radius: 100px;
}

@media only screen and ( max-width : 768px ) {
  #main {
    padding-top: 58px;
  }
  .btn {
    width: 60%;
  }
}

@media only screen and ( max-width : 480px ) {
  .btn {
    width: 100%;
  }
}

@media print, screen and ( min-width : 769px ) {
  #main {
    padding-top: 80px;
  }
  .btn {
    width: 300px;
  }
}


/* ローディング画面のスタイル */
#loading {
  /* 全画面を覆う */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 中央配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  
  background-color: #68a9cf;
  
  /* フェードアウトのアニメーション用 */
  transition: 1s ease;  
  z-index: 9999; /* 一番手前に表示するための指定 */
}
.spinner {
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    scale: 0;
  } 100% {
    scale: 1;
    opacity: 0;
  }
}

/* ローディング完了時 */
.loaded {
  opacity: 0;
  visibility: hidden;
}

