@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

body {
  font:
    13px/1.4 "游明朝",
    "Meiryo",
    arial,
    "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro",
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    Sans-Serif;
  color: #252525;
  background: #f7f2f2;
  width: 100%;
}

.wrap_original {
  overflow: hidden;
}

.c {
  text-align: center;
}
/*ヘッダー
---------------------------------------------------------------------------*/

#header {
  padding: 10px;
}

#header img {
  width: 350px;
  max-width: 500px;
}

#header ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  margin-right: 3%;
}

#header ul li {
  padding: 10px;
  margin-right: 10px;
  font-size: clamp(13px, 2.5vw, 25px);
}

#header ul a {
  color: #fff;
  text-decoration: none;
  background-color: #ff3838;
  padding: 10px;
  font-size: 25px;
  border: 3px solid #ff3838;
}

#header ul a:hover {
  color: #ff3838;
  background-color: #fff;
  border: 3px solid #ff3838;
}

#header span a {
  color: #000;
  background-color: #fff;
  border: 3px solid #39dbdb;
}

#header span a:hover {
  background-color: #39dbdb;
  color: #fff;
  border: 3px solid #39dbdb;
}

nav {
  position: relative;
  font-size: 25px;
  z-index: 1;
}
nav ul {
  position: absolute;
  left: 10%;
  display: table;
  margin: 0 auto;
  padding: 0;
  width: 80%;
  text-align: center;
}
nav ul li {
  display: table-cell;
  min-width: 50px;
}
nav ul li a {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-decoration: none;
  color: #fff;
  border-top: 5px solid #39dbdb;
}

nav ul li a:hover {
  color: #39dbdb;
  background-color: #fff;
  height: 35px;
  border-top: 5px solid #ccc;
}

nav span a {
  background-color: #fff;
}

.nav1 {
  color: #39dbdb;
}
/*ページトップ（ホーム）
---------------------------------------------------------------------------*/

#home-top {
  background: #39dbdb;
  width: 100%;
}

#home-top img {
  position: relative;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 35px;
}

.catch_copy span {
  transition: 1s;
  opacity: 0;
  transform: translateY(20px);
  display: block;
  position: absolute;
  top: 30%;
  left: 5%;
  background-color: rgba(252, 252, 252, 0.8);
  padding: 20px;
  font-size: 1.7vw;
  z-index: 1;
}
.catch_copy span:first-child {
  animation: catch_anime 1.4s forwards 1s;
}
.catch_copy span:nth-child(2) {
  animation: catch_anime 1.4s forwards 2s;
}
.catch_copy span:nth-child(3) {
  animation: catch_anime 1.4s forwards 3s;
}
.catch_copy span:nth-child(4) {
  animation: catch_anime 1.4s forwards 4.5s;
}

@keyframes catch_anime {
  0% {
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.catch_copy a {
  background-color: #ff3838;
  text-decoration: none;
  color: #fff;
  padding: 10px;
  margin-left: 20px;
}

.catch_copy a:hover {
  color: #ff3838;
  background-color: #fff;
  border: solid 3px #ff3838;
}
/*メイン
---------------------------------------------------------------------------*/

#main {
  margin: 0 auto;
  width: 80%;
}

#main h1 {
  text-align: center;
  margin-top: 100px;
  font-size: 40px;
}

#main h1 span {
  display: inline-block;
  position: relative;
  padding: 0.3em 0 0.2em 1em;
  border-bottom: 3px solid #39dbdb;
  color: #333333;
}

#main h1 span::before {
  position: absolute;
  top: 0;
  left: 0.3em;
  transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: #39dbdb;
  content: "";
}

#main h1 span::after {
  position: absolute;
  transform: rotate(15deg);
  top: 0.6em;
  left: 0;
  height: 8px;
  width: 8px;
  background: #39dbdb;
  content: "";
}

#main p {
  font-size: 20px;
  margin: 50px;
}

#main a {
  color: #000;
}

#main a:hover {
  color: #39dbdb;
}

#main em {
  display: inline-block;
  position: relative;
  font-size: 35px;
  color: #39dbdb;
}

.cstm-box-masking {
  position: relative; /* タイトル配置の基準 */
  margin: 2em auto; /* 外側余白 */
  background-color: #fff; /* ボックス背景色 */
  max-width: 1000px; /* 最大幅 */
  margin-top: 100px;
}

/* タイトル（テープ風） */
.cstm-box-masking .box-title {
  background-image: repeating-linear-gradient(
    -45deg,
    #dbfdff 0,
    #dbfdff 3px,
    #fafafa 3px,
    #fafafa 6px
  ); /* ストライプ模様 */
  transform: rotate(-2deg); /* テープの傾き */
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1); /* テープの影 */
  padding: 0.5em 1em; /* 内側余白 */
  line-height: 1; /* 行の高さ */
  position: absolute; /* 親の左上に固定 */
  top: -1em; /* 上位置 */
  left: 1em; /* 左位置 */
  display: inline-block; /* 内容幅に合わせる */
  font-size: 2em; /* フォントサイズ */
  width: auto; /* 幅自動調整 */
  max-width: calc(100% - 2em); /* 最大幅調整 */
  white-space: nowrap; /* 折り返さない */
  overflow: hidden; /* はみ出し非表示 */
  text-overflow: ellipsis; /* 省略記号表示 */
}

/* コンテンツ部分の余白 */
.cstm-box-masking .box-content {
  padding: 2.5em 2em 2em; /* 内側余白 */
}

/* 段落の余白リセット */
.cstm-box-masking p {
  margin: 0;
}

.photo {
  position: relative;
}

.photo img {
  width: 30%;
  position: absolute;
}
/*お知らせ
---------------------------------------------------------------------------*/

.tab-1 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 100px;
}

.tab-1 > label {
  flex: 1 1;
  order: -1;
  min-width: 70px;
  padding: 0.7em 1em 0.5em;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background-color: #e9f0f6;
  color: #535353;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}

.tab-1 > label:hover {
  opacity: 0.8;
}

.tab-1 input {
  display: none;
}

.tab-1 > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
  background-color: #fff;
  font-size: 18px;
}

.tab-1 label:has(:checked) {
  background-color: #fff;
  border-color: #39dbdb #f0f0f0 #fff;
  border-style: solid;
  border-width: 4px 1px 1px;
  border-radius: 5px;
  color: #333333;
}

.tab-1 label:has(:checked) + div {
  display: block;
}

/*お知らせ
---------------------------------------------------------------------------*/

.ta1 {
  width: 90%;
  margin: 0 auto;
}

.ta1 tr {
  display: block;
  margin-top: 40px;
}

.ta1 th {
  padding: 0 20px;
  font-weight: normal;
}

.ta1 td {
  padding: 0 20px;
}

/*table
---------------------------------------------------------------------------*/

.ta2 {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(13px, 2.5vw, 22px);
  margin-bottom: 100px;
}

.ta2 tr {
  display: block;
  margin-top: 40px;
}

.ta2 th {
  font-weight: normal;
  width: 200px;
  text-align: left;
}

.ta2 span {
  padding: 0.5rem 1rem;
  border-top: 2px solid #39dbdb;
  border-bottom: 2px solid #39dbdb;
}

.ta3 {
  border-collapse: collapse;
  width: 100%;
  font-size: 17px;
  margin-top: -30px;
  background-color: #f7f2f2;
}

.ta3 tr,
.ta3 th,
.ta3 td {
  border: 1px solid #252525;
}

.ta3 tr th {
  text-align: left;
  padding: 10px;
  width: 55%;
}

.ta3 tr td {
  text-align: center;
}

.border-none {
  border-left-width: 0;
}

.box-color {
  background-color: #39dbdb;
}

.now {
  background-color: rgba(57, 219, 219, 0.3);
  border-radius: 30px;
  padding: 20px;
  margin: 10px;
}

.ta4 {
  margin: auto;
  width: 80%;
  max-width: 600px;
}

.ta4 th {
  font-size: 20px;
  text-align: left;
  padding: 10px 0 10px 10px;
  color: #cf5b29;
  width: 30%;
}

.ta4 td {
  font-size: 18px;
  padding: 0 10px 10px 50px;
}

.ta4 big {
  color: #0080ff;
}

.border {
  border-left: 1px solid #f00;
  padding-left: 40px;
  display: block;
}

.ta5 {
  margin: 50px auto;
  border-collapse: collapse;
  line-height: 1.7;
}

.ta5 th {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 25px;
  width: 30%;
}

.ta5 td {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 20px;
}

/* 見出し */
.ta5 td:first-child {
  text-align: center;
  padding: 40px 0 40px 40px;
}

/* 内容 */
.ta5 td:last-child {
  padding: 40px;
  border-bottom: 1px solid #000;
}

.border1 {
  border-left: 1px solid #1b94b3;
  padding-left: 40px;
  display: block;
}

/*box
---------------------------------------------------------------------------*/

.box {
  border: 1px solid #000;
  overflow: hidden;
  border: 1px solid #fff; /*枠線の幅、線種、色*/
  border-radius: 5px; /*角丸のサイズ。直角がいいならこの１行を削除。*/
  padding: 20px; /*ボックス内の余白*/
  margin: 50px; /*ボックス同士（上下間）に空けるスペース*/
  background: rgba(0, 0, 0, 0.1);
}

.box img {
  width: 30%;
  max-width: 200px;
  margin-right: 20px;
}

.box h3 {
  font-size: 25px;
  text-align: center;
}

.box p {
  width: 91%;
}

.office a {
  text-decoration: none;
}

.office a:hover {
  opacity: 0.6;
  color: #000;
}

.box18 {
  margin: 2em 0;
  position: relative;
  padding: 0.25em 1em;
  border: solid 2px #ffcb8a;
  border-radius: 3px 0 3px 0;
}
.box18:before,
.box18:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid 2px #ffcb8a;
  border-radius: 50%;
}
.box18:after {
  top: -12px;
  left: -12px;
}
.box18:before {
  bottom: -12px;
  right: -12px;
}
.box18 p {
  margin: 0;
  padding: 0;
}

/*login
--------------------------------------------------------------------*/

.fsize {
  font-size: 24px;
  text-align: center;
}

.container {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type="text"],
input[type="password"] {
  width: 93%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #45a049;
}

/*フッター
---------------------------------------------------------------------------*/

#footer {
  clear: both;
  padding: 20px;
  background: #39dbdb;
  width: 100%;
  font-size: 18px;
}

#logo {
  width: 800px;
  margin: 0 auto;
}

#logo img {
  padding-right: 50px;
}

.footer_logo {
  display: flex;
}

.footer_logo img {
  width: 80%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 30px;
  font-size: 16px;
}

.grid a {
  text-decoration: none;
  color: #0074c2;
}

.grid a:hover {
  color: #fff;
}

.footer__navi-heading {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/*その他
-----------------------------*/

.list1 {
  padding: 0;
  position: relative;
  padding-left: 50px;
  font-size: 20px;
  display: -webkit-box;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.list1 li {
  color: black;
  border-left: solid 8px #39dbdb; /*左側の線*/
  background: whitesmoke; /*背景色*/
  margin-bottom: 20px; /*下のバーとの余白*/
  line-height: 1.5;
  border-radius: 0 15px 15px 0; /*右側の角だけ丸く*/
  padding: 0.5em;
  list-style-type: none !important;
  width: 40%;
}

em {
  color: red;
  font-style: normal;
}

.line-up {
  display: flex;
}

.line-up img {
  width: 35%;
  margin: 10px;
}

@media screen and (max-width: 950px) {
  .line-up {
    flex-wrap: wrap;
  }
  .line-up img {
    width: 100%;
    min-width: 400px;
  }
}

@media screen and (max-width: 500px) {
  .line-up {
    display: block;
  }
}

ul.sample1 {
  padding: 0;
  font:
    30px/1.6 "arial narrow",
    sans-serif;
  width: 100%;
  list-style: none;
  margin-top: 50px;
  margin-bottom: 100px;
}
ul.sample1 li {
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom: 5px;
  color: rgb(129, 194, 250);
  font-size: 30px;
  font-weight: bold;
  border-bottom: 1px solid rgba(129, 194, 250, 0.5);
}
ul.sample1 li:after,
ul.sample1 li:before {
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
ul.sample1 li:before {
  top: 0.7em;
  left: 20%;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(129, 194, 250, 0.5);
}
ul.sample1 li:after {
  top: 0.9em;
  left: 23%;
  width: 14px;
  height: 14px;
  background: rgba(129, 194, 250, 0.3);
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.Container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.Box-Container {
  display: flex;
  width: fit-content;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.Box {
  flex-shrink: 0;
  width: 300px;
  height: 500px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: #fff;
  padding: 30px;
}

.Box img {
  width: 50%;
}

.Arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.Arrow.left {
  left: 0;
}

.Arrow.right {
  right: 0;
}

.Hide {
  display: none;
}

.service h2 {
  text-align: center;
  margin-right: 50px;
  margin-top: 80px;
}

.service p {
  padding-bottom: 5%;
}

.service img {
  width: 300px;
  margin-top: 40px;
  padding: 20px;
}

.number {
  font-size: 50px;
  padding-right: 30px;
  font-family: "HGS行書体";
}

.container1 {
  width: min(90%, 760px);
  padding: 40px 0;
  margin-inline: auto;
  /* カウンターをリセット */
  counter-reset: step-index;
}

.step {
  position: relative;
  padding-bottom: 40px;
  /* カウンターを増やす */
  counter-increment: step-index;
}

/* 縦線の描画 */
.step:not(:last-child)::before {
  position: absolute;
  top: 0;
  left: 25px;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #ccc;
}

.step-title {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.step-title::before {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  content: counter(step-index);
  background-color: #1b94b3;
}

.step-text {
  padding-left: 40px;
  font-size: 16px;
  line-height: 1.5;
  color: #4c566a;
}

.sample_box2_5 {
  position: relative;
  padding: 1em 1.5em;
  margin: 2em 0;
  background-color: #f0f0f0; /*背景色*/
  color: #000000; /*文字色*/
  z-index: 1;
  width: 80%;
  margin: auto;
  margin-top: 20px;
}
.sample_box2_5::before,
.sample_box2_5::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.sample_box2_5::before {
  background-color: rgba(255, 255, 255, 0.2);
  left: 0;
  top: 0;
  z-index: -1;
}
.sample_box2_5::after {
  background-color: #dbfdff; /*ズレている方の背景色*/
  top: 5px;
  left: 5px;
  z-index: -2;
}
.sample_box2_5 p {
  margin: 0;
  padding: 0;
}
.sample_box2_5 li {
  font-size: 20px;
  padding: 20px;
  width: 60%;
  margin: auto;
  list-style-type: square;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 1800px;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.oneArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1024px;
  margin: 50px auto;
  padding: 0 10px;
}
.oneArea .onebox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.oneArea .onebox:nth-child(even) {
  flex-direction: row-reverse;
  margin-top: 20px;
}
.oneArea .onebox .imgArea {
  width: 16%;
  position: relative;
}
.oneArea .onebox:nth-child(odd) .imgArea img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: 0;
  padding-right: 30px;
}
.oneArea .onebox:nth-child(even) .imgArea img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: auto;
  right: 0;
  padding-left: 30px;
}
.oneArea .onebox .fukiArea {
  width: 63%;
}
.oneArea .onebox .fukidasi {
  width: 100%;
  position: relative;
  padding: 25px;
  background-color: #d6dfff;
  font-size: 18px;
  color: #231815;
  border-radius: 12px;
  box-sizing: border-box;
}
.oneArea .onebox .fukidasi::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 22px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.oneArea .onebox .fukidasi::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 40px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.oneArea .onebox:nth-child(odd) .fukidasi::before {
  left: -15px;
  border-left: 25px solid #d6dfff;
  border-top: 25px solid transparent;
}
.oneArea .onebox:nth-child(odd) .fukidasi::after {
  left: -25px;
  border-left: 25px solid #f7f2f2;
  border-top: 25px solid transparent;
}
.oneArea .onebox:nth-child(even) .fukidasi {
  background-color: #fde5e5;
}
.oneArea .onebox:nth-child(even) .fukidasi::before {
  left: auto;
  right: -15px;
  border-left: 25px solid transparent;
  border-top: 25px solid #fde5e5;
}
.oneArea .onebox:nth-child(even) .fukidasi::after {
  left: auto;
  right: -25px;
  border-left: 25px solid transparent;
  border-top: 25px solid #f7f2f2;
}
@media screen and (max-width: 1024px) {
  .oneArea .onebox:nth-child(odd) .imgArea img {
    max-width: 70%;
    top: 0;
  }
  .oneArea .onebox:nth-child(even) .imgArea img {
    max-width: 70%;
    top: 0;
  }
  .oneArea .onebox .fukidasi {
    padding: 15px;
    font-size: 14px;
  }
  .oneArea .onebox .fukidasi::before {
    top: 8px;
  }
  .oneArea .onebox .fukidasi::after {
    top: 20px;
  }
}
@media screen and (max-width: 420px) {
  .oneArea {
    margin: 30px auto;
  }
  .oneArea .onebox:nth-child(even) {
    margin-top: 15px;
  }
  .oneArea .onebox .imgArea {
    width: 20%;
  }
  .oneArea .onebox .fukidasi {
    padding: 10px 15px;
    font-size: 12px;
  }
}
