@charset "utf-8";

:root {
  --ikou-color: #ffd4b9;
  --agata-color: #f0a2be;
  --orange: #ff9540;
  --pink: #e76499;
  --h2-pc: clamp(22px, 2.2vw, 32px);
  --h3-pc: clamp(20px, 2vw, 28px);
  --li-pc: clamp(18px, 1.7vw, 24px);
  --p-pc: clamp(16px, 1.5vw, 18px);
  --h2-sp: clamp(20px, 5vw, 24px);
  --h3-sp: clamp(20px, 4vw, 20px);
  --li-sp: clamp(16px, 3.2vw, 18px);
  --p-sp: clamp(14px, 2.8vw, 16px);
  --center: translateY(-50%) translateX(-50%);
}

/* SVGアニメ */
.svg_anime {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 10;
}
.svg_anime > p {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: var(--center);
  font-size: var(--h2-pc);
  animation: lode 0.8s ease-in infinite;
}

.svg_anime > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: var(--center);
  width: 50%;
}

path,
circle,
polygon {
  fill: none;
  stroke: #333; /*線の色を指定する*/
  stroke-dasharray: 2000; /*線の間隔を指定する*/
  stroke-dashoffset: 0; /*線の位置を指定する(IEは効かない属性)*/
  stroke-width: 0.5; /*線の太さを指定する*/
  -webkit-animation: hello 1.2s ease-in forwards;
  animation: hello 1.2s ease-in forwards;
}

path.orange,
circle.orange,
polygon.orange {
  -webkit-animation: hello2 1s ease-in forwards;
  animation: hello2 1s ease-in forwards;
}
/* SVGアニメ＿終 */

/* baseからの変更 */
header {
  border-bottom: 2px solid var(--pink);
}
@media screen and (max-width: 1200px) {
  nav.nav1 li a {
    font-size: 14px;
    padding: 12px 18px;
  }
  .nav1 .menu_online {
    padding: 6px 18px;
  }
}
.menu_phone {
  font-size: 20px;
  padding: 13px 16px;
  font-weight: normal;
}

/* 共通 */

main {
  background-color: #fff5ee;
  margin-top: 96px;
  overflow: hidden;
}
.main {
  width: 1200px;
  max-width: 60%;
  margin: 0 auto;
  position: relative;
}
section {
  position: relative;
  width: 90%;
  margin: 3vw auto;
}
section > div > p {
  width: 80%;
  margin: 0 auto;
}
img {
  object-fit: contain;
  height: auto;
}
h2 {
  position: relative;
  margin: 20px auto;
  text-align: center;
  font-size: var(--h2-pc);
  font-weight: bold;
  line-height: 1.5;
  z-index: 1;
}

h2::before {
  display: block;
  content: "";
  position: absolute;
  top: calc(var(--h2-pc) - 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 370px;
  height: 20px;
  z-index: -1;
  background: linear-gradient(
    transparent 30%,
    #f6eb44 30%,
    #f6eb44 100%,
    transparent 100%
  );
}

h3 {
  font-size: var(--h3-pc);
}
h4 {
  font-size: var(--h3-sp);
  margin-bottom: 0.5em;
}

h2,
h3,
h4,
p,
li,
a,
small {
  color: #333;
}
p {
  font-size: var(--p-pc);
  line-height: 1.45;
}
.span_inline_block {
  display: inline-block;
}

/* top */
.top {
  overflow: hidden;
}
.top_slider img {
  width: 100%;
  object-fit: cover;
}
/* 背景(before:右　after:左) */
section::before,
section::after {
  display: block;
  content: "";
  width: max(50px, 10vw);
  height: 100%;
  position: absolute;
  top: 0;
  background-size: min(300px, 100%);
  background-repeat: no-repeat;
  background-position-x: 50%;
}
section::before {
  right: calc(30% - 33vw);
}
section::after {
  left: calc(30% - 33vw);
}
section:nth-of-type(2)::before {
  background-image: url(../img/bg_img_01.png), url(../img/bg_img_03.png);
  background-position-y: 10%, 80%;
}
section:nth-of-type(2):after {
  background-image: url(../img/bg_img_02.png);
  background-position-y: 45%;
}
section:nth-of-type(3)::before {
  background-image: url(../img/bg_img_04.png), url(../img/bg_img_05.png);
  background-position-y: 26%, 70%;
}
section:nth-of-type(3)::after {
  background-image: url(../img/bg_img_06.png), url(../img/bg_img_07.png);
  background-position-y: 50%, 90%;
}
section:nth-of-type(4)::before {
  background-image: url(../img/bg_img_08.png);
  background-position-y: 15%;
}
section:nth-of-type(4)::after {
  background-image: url(../img/bg_img_09.png);
  background-position-y: 90%;
}
section:nth-of-type(5)::before {
  background-image: url(../img/bg_img_map.png);
  background-position-y: 0;
  width: 16vw;
  right: -6vw;
  top: -3vw;
}
/* サイドボタン */
.side_button a {
  position: fixed;
  right: 0;
  top: 200px;
  width: 150px;
  padding: 10px 20px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 3px 6px 0 #0000004d;
  line-height: 1.3;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  display: block;
  z-index: 3;
  transition: all 0.5s;
  background: linear-gradient(245deg, #008ade 0%, #7db0ff 100%);
}
.side_button a .span_inline_block {
  font-size: 16px;
}
a.game_link{
  top: 280px;
  background: linear-gradient(245deg, #0f8b71 0%, #83eca6 100%);
}
.side_button a.minne {
  left: 0;
  top: 200px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(245deg, #613030 0%, #F88639 100%);
  text-align: right;
}
.side_button a.youtube {
  left: 0;
  top: 280px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(245deg, #F75D8B 0%, #FEDC40 100%);
  text-align: right;
} 

/* about */
.marker_ikou {
  font-weight: bold;
  background: linear-gradient(
    transparent 60%,
    var(--ikou-color) 60%,
    var(--ikou-color) 100%,
    transparent 100%
  );
}
.marker_agata {
  font-weight: bold;
  background: linear-gradient(
    transparent 60%,
    var(--agata-color) 60%,
    var(--agata-color) 100%,
    transparent 100%
  );
}
.big_orange {
  font-weight: bold;
  color: var(--orange);
  display: block;
  font-size: 2rem;
  text-align: center;
}

/* サービス */
.servise_main p {
  width: 90%;
  margin: 1em auto;
}
/* タブの設定 */
/*tabの形状*/
.tab {
  display: flex;
  flex-wrap: wrap;
}
.tab li a {
  display: block;
  margin: 0 5px 0 0;
  padding: 15px 50px 15px 20px;
  color: #aaa;
  font-size: var(--li-sp);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
  transition: all 0.3s;
}
.tab li a.tab_ikou {
  background: var(--ikou-color);
}
.tab li a.tab_agata {
  background: var(--agata-color);
}
ul.tab li:last-of-type {
  line-height: 2.4;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--li-sp);
  color: #e47c7ccc;
  animation: lode 3s ease-in infinite;
}
ul.tab li:last-of-type::before {
  margin-right: 0.5em;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f100";
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a {
  color: #333;
  font-weight: bold;
  font-size: var(--li-sp);
}

/*エリアの表示非表示と形状*/
.area {
  display: none;
  opacity: 0;
  padding: 20px;
}
#ikou {
  background: var(--ikou-color);
}

#agata {
  background: var(--agata-color);
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
  display: block;
  animation: displayAnime 2s forwards;
}

.area_main {
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  border-radius: 20px;
}

#ikou > .area_main {
  background-color: #fff6e2;
}
#agata > .area_main {
  background-color: #ffe8f1;
}
@keyframes displayAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* タブの設定終わり */
.h3_sub {
  color: #333;
  font-weight: bold;
  font-size: 0.75em;
  padding: 0.5em 0;
  position: relative;
}
.h3_sub::before {
  display: inline-block;
  content: "＜";
}
.h3_sub::after {
  display: inline-block;
  content: "＞";
}
#ikou h3,
#ikou h4 {
  color: var(--orange);
}

#agata h3,
#agata h4 {
  color: var(--pink);
}
hr {
  margin: 0.5em;
  width: 100%;
  border-top: var(--pink) 1px solid;
}
.area_main li {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: clamp(60px, 5vw, 100px) 2em;
}
.area_main li > div {
  width: 50%;
}
.ikou_about,
.agata_about {
  position: relative;
}
.area_number {
  display: inline-block;
  position: absolute;
  top: -1.75em;
  left: -1em;
  text-align: center;
  width: 2.2em;
  line-height: 2.2em;
  font-size: var(--li-pc);
  color: #fff;
  background-color: var(--orange);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  z-index: 0;
  transition: all 0.5s;
}
.area_number:hover {
  background-color: #ff7424;
}
#agata .area_number {
  background-color: var(--pink);
}
#agata .area_number:hover {
  background-color: #cf0e6f;
}
/* 袋文字 */
h4 .hukuro {
  position: relative;
  -webkit-text-stroke: #fff6e2 3px;
  width: fit-content;
  z-index: 2;
}
#agata h4 .hukuro {
  -webkit-text-stroke: #ffe8f1 3px;
}

h4 .hukuro::before {
  content: "";
  -webkit-text-stroke: 0;
  position: absolute;
}
#ikou li:nth-of-type(1) .hukuro::before {
  content: "就職";
}
#ikou li:nth-of-type(2) .hukuro::before {
  content: "医療";
}
#ikou li:nth-of-type(3) .hukuro::before {
  content: "自分";
}
#ikou li:nth-of-type(4) .hukuro::before {
  content: "資格";
}
#ikou li:nth-of-type(5) .hukuro::before {
  content: "履歴";
}
#ikou li:nth-of-type(6) .hukuro::before {
  content: "関係";
}
#agata li:nth-of-type(1) .hukuro::before {
  content: "IT";
}
#agata li:nth-of-type(2) .hukuro::before {
  content: "支援";
}
#agata li:nth-of-type(3) .hukuro::before {
  content: "PC";
}

/* 袋文字＿終わり */
.area_main li > div.ikou_img,
.area_main li > div.agata_img {
  min-width: 200px;
  max-width: 340px;
}
#ikou li:nth-last-of-type(even),
#agata li:nth-of-type(odd) {
  flex-direction: row-reverse;
}
.ikou_img img,
.agata_img img {
  transform: rotate(-5deg);
  transition: all 0.5s;
}
.ikou_img img:hover,
.agata_img img:hover {
  transform: rotate(5deg);
}

.small {
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: -0.02em;
}
#agata .area_main > div:last-of-type {
  margin: 0 5% 2% auto;
}
#agata .area_main a {
  font-size: var(--p-pc);
  padding: 0.5em 3vw;
  border-radius: 30px;
  color: #fff;
  background: var(--orange);
  transition: all 0.5s;
}

#agata .area_main a:after {
  margin-left: 0.5em;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f054\f054\f054";
}
#agata .area_main a[href="#ikou"] {
  margin: 0 5% 0 auto;
}
#agata .area_main > div:last-of-type {
  transition: all 0.5s;
}
#agata .area_main div:last-of-type a {
  background: var(--pink);
}
.osigoto_h3,
.osigoto_h4 {
  margin-left: 5%;
}
.riyou_dekiru p {
  text-align: center;
  width: 100%;
}
.riyou_dekiru p:first-of-type {
  font-size: var(--h2-pc);
  margin-bottom: 0.5em;
}

/* お悩み */
p.worries_p{
  text-align: center;
  width: 80%;
  margin: 0 auto;
  color: #aaa;
  font-size: var(--p-sp);
  animation: lode 3s ease-in infinite;
}
p.worries_p::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f103";
  display: block;
}
.worries_about {
  position: relative;
  /* margin-top: 10%; */
  margin-bottom: 10%;
}
.worries_about > div {
  display: flex;
  position: absolute;
  top: 20%;
  width: 110%;
  margin-left: -5%;
  justify-content: space-between;
  align-items: flex-end;
}
.worries_about > div>div{
  background: url(../img/worries_a_01a.png) no-repeat 50%/0%;
  line-height: 0;
}
.worries_about > div>div:nth-of-type(2){
  background-image: url(../img/worries_a_02a.png);
}

.worries_about > div>div img:hover{
  opacity: 0;
}
.worries_about > div>div:hover{
  background-size: 100%;
}
.worries_about ul {
  width: clamp(500px, 50vw, 650px);
  margin: 0 auto;
}
.worries_about li {
  position: relative;
  width: fit-content;
  margin: 2em auto 2em 2em;
}
.worries_about li a {
  display: inline-block;
  padding: 2vw 5vw;
  background-color: #fff;
  border: #333 solid 1px;
  border-radius: 150px/50px;
  transition: all 0.5s;
}

.worries_about li:nth-last-of-type(even) {
  margin: 2em 2em 2em auto;
}
.worries_about p {
  position: absolute;
  top: -1.2em;
  left: -0.5em;
  font-size: var(--li-pc);
  color: #aaa;
}
.worries_about li:nth-last-of-type(even) p {
  left: unset;
  right: 0;
}
.worries_main h3 {
  font-size: 4vw;
  font-weight: bold;
  color: #ddd;
  transition: all 0.5s;
}
#Case_1 h3:hover {
  color: #fab1b1;
}
#Case_2 h3:hover {
  color: #ebbd79;
}
#Case_3 h3:hover {
  color: #84e284;
}
#Case_4 h3:hover {
  color: #6bf1d4;
}
li[id^="Case"] {
  background-color: #efefef;
  border: #666 solid 1px;
  margin: 2em auto;
}
li[id^="Case"] > div {
  display: flex;
  align-items: center;
  width: 80%;
  margin: min(4vw, 50px) auto;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 5px 10px 0 #0000004d;
}
li[id^="Case"] > div > div {
  line-height: 0;
}
li[id^="Case"] > div > div:last-of-type {
  width: auto;
}
li[id^="Case"] p {
  width: clamp(180px, 27vw, 485px);
  padding: 0.5em 1em 0.5em 0.5em;
  letter-spacing: -0.5px;
  text-align: justify;
}
li[id^="Case"] > div:last-of-type p {
  font-weight: bold;
}

.worries_about img {
  width: clamp(50px, 7vw, 120px);
  height: auto;
}
li[id^="Case"] p.a_zaitaku {
  width: unset;
  text-align: center;
  position: relative;
  top: -0.75em;
  font-weight: bold;
}
/* ホバーアニメ */
li[id^="Case"] > div:nth-of-type(2) {
  position: relative;
}
li[id^="Case"] > div:nth-of-type(2)::after {
  display: block;
  content: "";
  width: 120px;
  height: 120px;
  position: absolute;
  opacity: 0;
  transition: all 4s;
}
#Case_2 > div:nth-of-type(2)::after{
  background: url(../img/bg_img_01.png) no-repeat 50%/50%;
  opacity: 1;
  bottom:-20px ;
  right: 100%;
  transform: rotate(-900deg);
}
#Case_2 > div:nth-of-type(2):hover::after {
  right:-120px;
  transform: rotate(900deg);
}
#Case_4 > div:nth-of-type(2)::after {
  top: -130px;
  left: 0;
  background: url(../img/dz_03.png) no-repeat 50%/100%;
  transform: rotate(180deg);
}
#Case_4 > div:nth-of-type(2):hover::after {
  top: -20px;
  opacity: 1;
}
p.leadkun{
  width: 90%;
  margin: 0 auto;
  text-align: center;
  color:var(--ikou-color);
  font-size: var(--p-sp);
}
/* 見学・面談 */
#kengak h3::after {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f64a";
  font-size: var(--h3-pc);
  line-height: 0;
  opacity: 0;
  transform: translateX(20vw) rotate(360deg);
  color: #f35fa9d3;
  transition: all 0.8s;
}
#kengak h3:nth-of-type(2)::after {
  content: "\e4e5";
}
#kengak h3:hover::after {
  opacity: 1;
  transform: translateX(0.5rem) rotate(-360deg);
  color: #50a2ff;
}

#kengak div img {
  width: min(700px, 60%);
  display: block;
  margin: 0 auto;
}
#kengak div a {
  width: max(280px, 30%);
  display: block;
  margin: 0 auto;
  transition: all 0.35s;
}
#kengak div a img {
  width: 100%;
  filter: drop-shadow(0px 5px 5px #0000004d);
  transition: all 0.35s;
}
#kengak h3 {
  color: #50a2ff;
  width: min(700px, 60%);
  margin: min(50px, 8vw) auto 0.5em;
}
#kengak p {
  text-align: center;
  font-weight: bold;
  line-height: 1.25;
}
#kengak p::after {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f078";
  font-size: var(--h3-pc);
}
#kengak div a.meet_online {
  margin: 2em auto 1em;
  padding: 15px 3vw;
  border-radius: 20px;
  background: #00ae35;
  background: linear-gradient(0deg, #00ae35 0%, #00e790 100%);
  border: solid 2px #00ff6d;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: clamp(16px, 2.5vw, 30px);
  position: relative;
}
.meet_online span {
  font-size: clamp(24px, 3.5vw, 40px);
}
.meet_online::after {
  display: block;
  content: "";
  position: absolute;
  top: max(-30px, -20%);
  right: max(-30px, -10%);
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  background: url(../img/click.png) no-repeat 50% / 100%;
}

/* Map */
#map {
  margin-top: 5vw;
}
.map_main {
  background-color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 3% 0;
}
#map > div {
  width: 90%;
  margin: 0 auto;
}
.map_img {
  width: 40%;
}
#map .googlemap {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.googlemap_p {
  width: auto;
  margin: unset;
  font-size: 16px;
  padding-right: 1em;
  position: relative;
}
.googlemap_p::after {
  margin-left: 0.5em;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f178";
  font-size: var(--h3-pc);
  color: var(--orange);
}

.googlemap_a {
  font-size: var(--li-pc);
  padding: 0.5em 5vw;
  background: #6fb272;
  color: #fff;
  border-radius: 15px;
  border: solid 1px #446847;
  box-shadow: 0 5px 10px 0 #0000004d;
  transition: all 0.35s;
}
/* 営業時間 */

.access_position_p {
  width: 50%;
  background-color: #fff;
  height: auto;
  padding: 1em 0;
}
.business_hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 3fr 2fr;
  grid-column-gap: 10px;
  justify-items: stretch;
}
.business_hours table {
  margin-top: 5%;
}
.business_hours p,
.business_hours td,
table > caption {
  font-size: 16px;
  line-height: 1.3;
}
.color_p {
  color: #f7931f;
  font-size: 20px;
  margin: 1%;
}

.access_p {
  grid-column: 1/-1;
  grid-row: 1;
}
.table_1 {
  grid-column: 1;
  grid-row: 2;
}
.table_2 {
  grid-column: 2;
  grid-row: 2;
}
/* footer */
.main_end img {
  display: block;
  margin: 0 auto;
}

/* マウスホバー */
@media screen and (min-width: 1000px) {
  .side_button a:hover{
    width: 200px;
  }
  .tab li:not(.active) a.tab_ikou:hover {
    background: var(--orange);
    color: #fff;
  }
  .tab li:not(.active) a.tab_agata:hover {
    background: var(--pink);
    color: #fff;
  }

  #agata .area_main a:hover,
  #agata .area_main > div:last-of-type:hover {
    margin-right: 10px;
  }
  .worries_about li a:hover {
    background-color: #fff4b5;
    border-radius: 50px/150px;
  }

  #kengak div a.meet_online:hover {
    width: max(300px, 35%);
    background: #ffb319;
    background: linear-gradient(0deg, #f78180 0%, #fcd3d2 100%);
    border: solid 2px #faf0ef;
  }
  #kengak a img:hover {
    transform: translateY(15%);
    filter: unset;
  }
  .googlemap_a:hover {
    transform: translateY(15%);
    box-shadow: unset;
  }
}

/* 可変設定 */
@media screen and (max-width: 1200px) {
  nav.nav1 li a.menu_phone {
    font-size: 16px;
    padding: 11px 10px;
  }
  main {
    margin-top: 92px;
  }
  .main {
    max-width: 70%;
  }
  /* about_1200 */
  /* サービス_1200 */
  /* お悩み_1200 */
  /* 見学・面談_1200 */
  /* Map_1200 */
  /* footer_1200 */
}

@media screen and (max-width: 1000px) {
  /* top_1000 */
  .top_slider img {
    width: unset;
    height: 300px;
    overflow: hidden;
  }
  .main {
    max-width: 80%;
  }
  .side_button a {
    width: 120px;
    padding: 10px;
    font-size: 16px;
  }
  .side_button a .span_inline_block {
    font-size: 14px;
  }
  /* about_1000 */
  /* サービス_1000 */
  /* お悩み_1000 */
  /* 見学・面談_1000 */
  /* Map_1000 */
  /* footer_1000 */
}

@media screen and (max-width: 880px) {
  main {
    margin-top: 68px;
  }
  .svg_anime > p {
    top: 65%;
  }
  br.none_880 {
    display: none;
  }
  .br_880 {
    display: inline-block;
  }
  p {
    font-size: var(--p-sp);
    line-height: 1.3;
  }
  .side_button a {
    right: 20px;
    /* top: unset; */
    /* bottom: 80px; */
    width: 40px;
    height: 40px;
    border-radius: 5px;
    padding: 5px;
    line-height: 1;
    font-size: 15px;
    word-break: break-all;
    text-align: center;
  }

  .side_button a span.mobile_none {
    display: none;
  }
  .side_button a.game_link{
    /* bottom: 130px; */
  }
  .side_button a.youtube{
    left: 20px;
    /* bottom: 130px; */
    width: 40px;
    height: 40px;
    border-radius: 5px;
    padding: 5px;
    line-height: 1;
    font-size: 15px;
    word-break: break-all;
    text-align: center;
  }
  .side_button a.minne {
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    padding: 5px;
    line-height: 1;
    font-size: 15px;
    word-break: break-all;
    text-align: center;
  }
  /* about_880 */
  .big_orange {
    display: unset;
    font-size: var(--h3-pc);
    text-align: unset;
  }
  /* サービス_880 */
  .area_main li {
    margin: clamp(2em, 8vw, 100px) 0;
    flex-wrap: wrap;
  }
  .area_main li > div {
    width: 80%;
  }
  ul.tab li:last-of-type {
    display: none;
  }
  .h3_sub {
    display: block;
  }

  /* お悩み_880 */
  
  .worries_about ul {
    width: 75%;
  }
  .worries_about li {
    font-size: 14px;
    width: clamp(270px, 60%, 300px);
  }
  .worries_about li a {
    padding: 1.5em 3em;
  }
  li[id^="Case"] > div{
    width: 87%;
  }
  li[id^="Case"] p {
    font-size: 14px;
  }

  /* 見学・面談_880 */
  #kengak div img,
  #kengak h3 {
    width: 90%;
  }
  /* Map_880 */
  .map_main {
    flex-wrap: wrap;
  }
  .map_main > div {
    width: 80%;
  }
  /* footer_880 */
}

/* モバイルサイズ設定 */
@media screen and (max-width: 600px) {
  .span_br_600 {
    display: block;
  }
  .mobile_none {
    display: none;
  }

  .main {
    max-width: 100%;
  }
  h2 {
    font-size: var(--h2-sp);
    border: 2px solid #f6eb44;
    background-color: rgba(255, 255, 255, 0.75);
    width: 80%;
    padding: 5px 20px;
    border-radius: 10px;
  }
  h2::before {
    display: none;
  }
  h3 {
    font-size: var(--h3-pc);
  }
  h4 {
    font-size: var(--li-sp);
    font-weight: bold;
  }
  p {
    font-size: var(--p-sp);
    line-height: 1.2;
  }
  /* 背景削除 */
  .main section::before,
  .main section::after {
    display: none;
  }
  /* top_600 */
  .top_slider img {
    width: 100%;
    height: auto;
  }
  nav.nav1 li a {
    font-size: 18px;
    margin: 10px auto;
  }
  /* about_600 */
  /* サービス_600 */
  .tab li a {
    padding: 10px 15px;
    clip-path: none;
  }
  ul.tab li:last-of-type {
    display: inline-block;
    line-height: 2;
  }
  .riyou_dekiru p {
    width: 80%;
  }
  .riyou_dekiru p:first-of-type {
    font-size: var(--h2-sp);
  }
  .riyou_dekiru p .span_inline_block {
    display: inline;
  }
  #agata .area_main a:after {
    content: "\f054\f054";
  }
  /* お悩み_600 */
  .worries_main h3 {
    font-size: 2em;
  }
  .worries_about > div {
    top: unset;
    bottom: -10%;
    right: 5%;
    justify-content: flex-end;
  }

  li[id^="Case"] {
    width: 100%;
    margin: 3em auto;
  }
  li[id^="Case"] > div {
    width: 90%;
  }

  /* 見学・面談_600 */
  .meet_online::after {
    display: none;
  }
  #kengak div a.meet_online,
  #kengak div a img {
    width: 220px;
  }
  /* Map_600 */
  #map .googlemap {
    flex-wrap: wrap;
  }
  .googlemap_p {
    padding-right: unset;
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5em;
  }
  .googlemap_p::after {
    display: none;
  }
  /* footer_600 */
}

/* 営業時間可変 */
@media (max-width: 480px) {
  .none_480 {
    display: none;
  }
  .br_880 {
    display: unset;
  }
  .br_480 {
    display: block;
  }

  /* サービス_480 */
  ul.tab li:last-of-type {
    display: none;
  }
  .area_main h4 .span_inline_block {
    display: unset;
  }
  .area_main li > div {
    width: 100%;
  }
  .servise_main h3 {
    width: 100%;
    text-align: center;
  }
  .h3_sub::before,
  .h3_sub::after {
    display: none;
  }
  .riyou_dekiru p:first-of-type {
    font-size: 18px;
    font-weight: bold;
  }
  /* 悩み_480 */
  .worries_about {
    margin-bottom: 15%;
    padding-bottom: 100px;
  }
  .worries_about > div {
    bottom: -8%;
  }
  .worries_about li {
    margin: 2em auto;
    width: 100%;
  }
  .worries_about p {
    top: -0.9em;
    transform: rotate(-6deg);
  }
  .worries_about li:nth-last-of-type(even) p {
    left: -0.5em;
    top: -1.5em;
  }
  .worries_about li:nth-last-of-type(even) {
    margin: 2em auto;
  }
  li[id^="Case"] > div {
    flex-wrap: wrap;
    width: 80%;
    margin: 8vw auto;
    position: relative;
  }
  li[id^="Case"] > div > div:first-of-type {
    width: 100%;
    height: 2em;
    position: absolute;
    background-color: #8ce8f4;
    top: 0;
  }
  li[id^="Case"] > div:nth-of-type(2) > div:first-of-type {
    background-color: #ffaa00;
  }
  li[id^="Case"] > div > div:first-of-type::after {
    display: block;
    content: "問題";
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    width: fit-content;
    top: 50%;
    left: 50%;
    letter-spacing: 3px;
    transform: var(--center);
  }
  li[id^="Case"] > div:nth-of-type(2) > div:first-of-type::after {
    content: "解決";
  }

  li[id^="Case"] > div > div:nth-of-type(2) {
    width: 45%;
    height: 180px;
    margin-top: 2em;
    overflow: hidden;
  }
  li[id^="Case"] > div > div:nth-of-type(3) {
    width: 54%;
    margin-top: 2em;
  }

  li[id^="Case"] > div > div:first-of-type img {
    display: none;
  }
  li[id^="Case"] > div > div:nth-of-type(2) img {
    max-width: 140%;
    margin-left: -17%;
  }
  li[id^="Case_1"] > div:first-of-type > div:nth-of-type(2) img {
    margin-top: -20%;
  }
  li[id^="Case"] p {
    width: 100%;
    padding: 0.5em;
  }
  /* map_480 */
  .access_position_p {
    width: 80%;
  }
  .business_hours p,
  .business_hours td,
  table > caption {
    font-size: 14px;
    line-height: 1.45;
  }

  .mobile_img {
    display: block;
  }

  .business_hours td:first-of-type {
    width: 40%;
  }
}
@media (max-width: 380px) {
  .map_main > .access_position_p {
    width: 100%;
    font-weight: bold;
  }
  .business_hours {
    display: block;
    text-align: center;
  }
  .business_hours table {
    margin: 5% auto;
  }
}
@media (max-width: 340px) {
  li[id^="Case_1"] > div:first-of-type > div:nth-of-type(2) img {
    margin-top: 0;
  }
}
