@charset "utf-8";

/* =========================
   RESET
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:
    linear-gradient(
      135deg,
      #f7fff9 0%,
      #eefaf5 50%,
      #fff6ed 50%
    );

  font-size:16px;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;

  color:#333;

  padding:5px 20px;
}

/* =========================
   CONTAINER
========================= */

.container{
  width:min(1100px, 100%);
  margin:auto;

  padding:40px;

  background:
    rgba(240,255,240,0.72);

  backdrop-filter: blur(14px);

  border-radius:32px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.08);
}

/* =========================
   HEADER
========================= */

#top{
  margin-bottom:20px;

  background:
    linear-gradient(
      135deg,
      #00b894,
      #00d2a8
    );

  border-radius:20px;

  padding:20px;

  font-size:36px;
  font-weight:800;

  text-align:center;

  color:white;

  letter-spacing:.12em;

  box-shadow:
    0 10px 30px rgba(0,184,148,.25);
}

/* =========================
   INPUT
========================= */

.input-area{
  display:flex;
  flex-direction:column;
  gap:36px;
}

/* =========================
   CARD
========================= */

.illust-wrap{
  display:flex;
  align-items:center;

  gap:40px;

  padding:15px;

  border-radius:28px;

  background:white;

  box-shadow:
    0 8px 30px rgba(0,0,0,.06);

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.illust-wrap:hover{
  transform:
    translateY(-8px);

  box-shadow:
    0 18px 40px rgba(0,0,0,.10);
}

/* =========================
   IMAGE
========================= */

.illust-hover{
  position:relative;

  width:240px;

  flex-shrink:0;
}

.illust-hover img{
  width:100%;
  display:block;

  transition:
    opacity .4s ease,
    transform .4s ease;
}

.img-hover{
  position:absolute;
  top:0;
  left:0;

  opacity:0;
}

.illust-hover:hover .img-hover{
  opacity:1;
}

.illust-hover:hover .img-default{
  opacity:0;
}

.illust-hover:hover img{
  transform:
    scale(1.05)
    rotate(-1deg);
}

/* =========================
   TEXT
========================= */

.illust-text h3{
  margin-bottom:18px;
  line-height:1.4;
}

.illust-text h3 a{
  text-decoration:underline;

  font-size:32px;
  font-weight:800;

  color:#0066ff;

  transition:.3s ease;
}

.illust-text h3 a:hover{
  color:#ff7a00;
}

/* 説明 */

.illust-text p{
  font-size:17px;

  line-height:2;

  color:#555;
}

/* =========================
   FORM
========================= */

#mgc,
#oku,
#kata,
#nensu,
#hihukunensu,
#inp_huho,
#inp_hihuku,
#inp_kiken,
#inp_hihukuzai{

  padding:12px 14px;

  border-radius:14px;

  border:
    2px solid #d7efe8;

  background:#fff;

  font-size:16px;

  transition:.25s ease;
}

#mgc:focus,
#oku:focus,
#kata:focus,
#nensu:focus,
#hihukunensu:focus,
#inp_huho:focus,
#inp_hihuku:focus,
#inp_kiken:focus,
#inp_hihukuzai:focus{

  outline:none;

  border-color:#00b894;

  box-shadow:
    0 0 0 5px rgba(0,184,148,.15);
}

/* =========================
   BUTTON
========================= */

#btn{
  cursor:pointer;

  border:none;

  padding:14px 24px;

  border-radius:16px;

  background:
    linear-gradient(
      135deg,
      #ff9f43,
      #ff7a00
    );

  color:white;

  font-size:16px;
  font-weight:700;

  transition:.3s ease;

  box-shadow:
    0 8px 20px rgba(255,122,0,.25);
}

#btn:hover{
  transform:
    translateY(-3px);

  box-shadow:
    0 12px 30px rgba(255,122,0,.35);
}

/* =========================
   TABLE
========================= */

table.aaa{
  width:100%;

  border-collapse:collapse;

  overflow:hidden;

  border-radius:18px;

  background:white;

  box-shadow:
    0 8px 24px rgba(0,0,0,.06);
}

table.aaa th{
  background:
    linear-gradient(
      135deg,
      #00b894,
      #00d2a8
    );

  color:white;

  padding:16px;

  font-size:16px;
}

table.aaa td{
  padding:16px;

  border-bottom:
    1px solid #edf3f1;

  font-size:15px;
}

/* =========================
   SUB TITLE
========================= */

.top2{
  position:relative;

  font-size:22px;
  font-weight:800;

  color:#00a884;

  margin-bottom:24px;

  padding-bottom:10px;
}

.top2::after{
  content:"";

  position:absolute;

  left:0;
  bottom:0;

  width:90px;
  height:5px;

  border-radius:999px;

  background:
    linear-gradient(
      90deg,
      #00b894,
      #7bed9f
    );
}


.top3{
  position:relative;

  font-size:18px;
  font-weight:800;

  color:#00a884;

  margin-bottom:24px;

  padding-bottom:10px;
}

.top3::after{
  content:"";

  position:absolute;

  left:0;
  bottom:0;

  width:1000px;
  height:5px;

  border-radius:999px;

}

/* =========================
   FOOTER
========================= */

.footer{
  width:min(1100px, 100%);
  margin:50px auto;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

  body{
    padding:20px 14px;
  }

  .container{
    padding:24px;
  }

  #top{
    font-size:24px;
    letter-spacing:.05em;
    line-height:1.5;
  }

  .illust-wrap{
    flex-direction:column;
    text-align:center;
  }

  .illust-hover{
    width:190px;
  }

  .illust-text h3 a{
    font-size:25px;
  }

  .illust-text p{
    font-size:15px;
  }
}



/* ツールチップ本体 */
.tooltip {
  position: relative;
  display: inline-block;

  border-bottom: 1px dotted #666;
  cursor: pointer;
}

/* 吹き出し */
.tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);

  width: 240px;

  background: #333;
  color: #fff;

  text-align: left;
  padding: 10px;
  border-radius: 8px;

  font-size: 14px;
  line-height: 1.5;

  transition: opacity 0.2s;

  z-index: 999;
}

/* 三角 */
.tooltip .tooltip-text::after {
  content: "";

  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 8px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* PC */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* スマホ */
.tooltip:active .tooltip-text {
  visibility: visible;
  opacity: 1;
}