/* Base Reset */
.pc {
  display: block;
}
.mob {
  display: none;
}
.flex {
  display: flex;
}
.tab_flex {
  display: flex;
}
.mob_flex {
  display: block;
}
.m_flex {
  display: flex;
}
/*BASE FONT PC*/
html {
  font-size: 68.59375%;

  /*font-family: "Zen Kaku Gothic New", sans-serif !important;*/
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 400; /*300 400 500 700 900*/
  font-style: normal;
}

body {
  font-size: 1.756rem;
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: 80px;
  background-color: #f4f4f4;
}

main {
  overflow-x: hidden;
  padding-bottom: 5vw;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.inside {
  width: 70%;
  margin: auto;
}
.inside2 {
  width: 90%;
  margin: auto;
}

.kakko_f {
  margin-left: -1vw;
}
.kakko_b {
  margin-right: -0.5vw;
}
/*UL*/
li {
  list-style: none;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6vw;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5% 0 5.5%;
  z-index: 2000;
  background: linear-gradient(125deg, transparent 51.5%, #fff 50%);
}

.logo {
  width: 13vw;
  filter: drop-shadow(1px 0 0 white) drop-shadow(-1px 0 0 white)
    drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white);
}
/*COLOR*/
.c_orange {
  color: #e94709;
}
.c_green {
  color: #00a33e;
}
.c_yellow {
  color: #ffd900;
}

/* PC Navigation */
.pc-nav {
  display: flex;
  list-style: none;
  gap: 20px;
  /**/
  position: absolute;
  width: 29%;
  right: 15%;
  justify-content: space-between;
}

.pc-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 1.2vw;
  webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.pc-nav a:hover {
  color: #00a33e;
  border-bottom: 3px solid #00a33e;
  webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

/* Drawer Toggle Button (2-line Hamburger) */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  /*display: flex;*/
  flex-direction: column;
  gap: 8px;
  /* Adjusted gap for 2 lines */
  position: relative;
  z-index: 2100;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

/* Animation for 2 lines turning into X */
.menu-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Fade Drawer Styles */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-nav {
  list-style: none;
  text-align: center;
}

.drawer-nav li {
  margin: 20px 0;
}

.drawer-nav a {
  text-decoration: none;
  font-size: 5.5vw;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.drawer-nav a:hover {
  color: #007bff;
}

/*FOOTER*/
.foot_logo {
  top: 4vw;
  position: absolute;
  width: 13vw;
  filter: drop-shadow(1px 0 0 white) drop-shadow(-1px 0 0 white)
    drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white);
}

/* Footer Styles */
footer {
  background-color: #fff;
  padding: 10.5vw 0 0 0;
  margin-top: auto;
  /* Push to bottom */
  border-top: 1px solid #e0e0e0;
  position: relative;
  background: #ffd900;
}

.footer-container {
  justify-content: space-between;
  gap: 40px;
  width: 70%;
  margin: 0 auto 2vw auto;
}

footer .left {
  width: 47%;
}

li {
  margin-bottom: 0.5vw;
}

.ctc_name {
  font-size: 1.4vw;
  font-weight: bold;
  line-height: 120%;
  margin-left: 0.5vw;
}

.plan_name {
  font-size: 1vw;
  font-weight: bold;
  line-height: 120%;
  margin-left: 0.5vw;
}

.phone {
  width: auto;
  height: 4vw;
}

.plan_phone {
  /*font-size: 2.6vw;
  line-height: 120%;
  font-family: fantasy;
  letter-spacing: 0.1vw;*/
}
.tel_no {
  width: auto;
  height: 2.4vw;
  margin-top: 0.3vw;
}

footer .center {
  width: 53%;
  padding-top: 4.5vw;
}

.footer-nav {
  width: 36%;
  position: absolute;
  top: 10.5vw;
  right: 14.7vw;
  font-size: 1.2vw;
  font-weight: 500;
}

.footer-nav li {
  border: 1px solid #000;
  height: 2.2vw;
  width: calc(100% / 4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.footer-nav a:hover {
  color: #fff;
  background: #000;
  webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
.spon_block {
  justify-content: flex-end;
}

.spon_block img {
  margin-left: 0.5vw;
}

.spon {
  font-size: 1vw;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  border-radius: 0.3vw;
  width: 2vw;
  letter-spacing: 0.2vw;
  height: 3.5vw;
}

.spon_name {
  margin-left: 0.5vw;
  font-size: 1.4vw;
  line-height: 130%;
}

.copyright {
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  height: 5vw;
  font-size: 0.8vw;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.15vw;
  font-weight: 100;
}

/*GOTOP*/
#pageTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
  z-index: 1000;
}

#pageTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#pageTop:hover {
  background-color: #555;
}

/* Mobile View */
@media screen and (max-width: 768px) and (min-width: 480px) {
  .tab {
    display: block;
  }
  .pc {
    display: none;
  }
  .tab_flex {
    display: flex;
  }
  .pc-nav {
    width: 40%;
    right: 5%;
  }
  .pc-nav a {
    /*font-size: 1.5rem;*/
  }
  .footer-container {
    width: 90%;
  }
  .ctc_logo {
    width: 6vw;
    height: auto;
  }
  .ctc_name {
    font-size: 2.6vw;
  }
  .plan_name {
    font-size: 2.4vw;
    margin-left: 1.5vw;
  }
  .phone {
    height: 8vw;
  }
  .tel_no {
    height: 4vw;
  }
  .spon {
    font-size: 2vw;
    border-radius: 0.8vw;
    width: 4vw;
    height: 8vw;
  }
  footer .center {
    width: 65%;
  }
  .spon_name {
    margin-left: 1vw;
    font-size: 2.2vw;
    line-height: 140%;
  }
  .tochigi,
  .qr {
    display: block;
    width: 4vw;
    height: 4vw;
  }

  .footer-nav {
    width: 47%;
    right: 5.4vw;
    font-size: 1.8vw;
    top: 9.5vw;
  }
  .footer-nav li {
    height: 4vw;
  }
} /*END*/

/* モバイル用の調整（より厳密に制御したい場合） */
@media (max-width: 480px) {
  .tab {
    display: none;
  }
  .pc {
    display: none;
  }
  .mob {
    display: block;
  }
  .flex {
    display: block;
  }

  .mob_flex {
    display: flex;
  }
  header {
    height: 15vw;
    padding: 0 0% 0 5.5%;
    background: none;
  }
  .logo {
    width: 37vw;
  }
  .menu-btn {
    display: flex;
    top: 0;
    background: #fff;
    height: 15vw;
    width: 15vw;
    margin: 0;
    padding: 5vw 4.8vw;
    border-bottom-left-radius: 10%;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
  .menu-btn span {
    height: 5px;
    width: 6vw;
    background-color: #f39400;
  }

  #apply {
    margin: 15vw 0;
  }
  /*FOOTER*/
  footer {
    padding-bottom: 15vw;
  }
  footer .left {
    width: 100%;
  }
  footer .center {
    width: 100%;
    height: 35vw;
  }
  .footer-container {
    width: 90%;
  }

  footer .left li {
    width: 100%;
    margin-bottom: 3vw;
  }
  .foot_logo {
    position: unset;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 0 10vw 0;
  }
  .ctc_logo {
    height: 14vw;
    width: auto;
  }
  .ctc_name {
    font-size: 2.2rem;
  }
  .kakko_f {
    margin-left: -4vw;
  }

  .phone {
    width: auto;
    height: 18.5vw;
  }
  .plan_name {
    font-size: 5vw;
    margin-left: 2.7vw;
  }
  .plan_phone {
    font-size: 4.4vw;
  }
  .tel_no {
    width: auto;
    height: 10.5vw;
    margin-top: 1.4vw;
  }

  .spon_block {
    position: relative;
    width: 100%;
    justify-content: flex-start;
  }
  .spon {
    font-size: 3.6vw;
    width: 8vw;
    height: 13vw;
    border-radius: 2vw;
  }
  .spon_name {
    margin-left: 3vw;
    font-size: 5vw;
  }
  .tochigi {
    position: absolute;
    bottom: -15vw;
    width: 18vw;
    right: 22vw;
  }
  .qr {
    position: absolute;
    bottom: -13vw;
    width: 18vw;
    right: 3vw;
  }

  .footer-nav {
    width: 100%;
    bottom: 0;
    top: unset;
    left: 0;
    right: 0;
    background: #fff;
    font-size: 3.6vw;
    height: 10vw;
  }
  .footer-nav li {
    height: 14vw;
  }
  .copyright {
    position: absolute;
    bottom: 10vw;
    font-size: 2.4vw;
  }
  .footer-nav a {
    display: block;
    text-align: center;
    background: #fff;
  }
  .home,
  .apply,
  .work,
  .award {
    display: block;
    height: 5vw;
    margin: 2vw auto 0vw auto;
  }
} /*END*/

/*iPhone12mini***********************************************/
@media (max-width: 375px) {
  .theme_ttl {
    /*font-size: 5vw !important;
    letter-spacing: 0;*/
  }
  .ctc_name {
    margin-left: 3vw;
    font-size: 5vw;
  }
  .spon_name {
    margin-left: 2.5vw;
    font-size: 5vw;
  }
  .kakko_f {
    margin-left: -3vw;
  }
  .kakko_b {
    margin-right: -2vw;
  }
  .copyright {
    font-size: 2.4vw;
  }
} /*END*/
/*Galaxy S22***********************************************/
@media (max-width: 360px) {
} /*END*/
