* {
  box-sizing: border-box;
}

body {
  font-family: 'MS Mincho', sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  padding: 0;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

header {
  position: relative;
  margin-bottom: 50px;
}

header .logo {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 15%;
}

.mv {
  display: flex;
  justify-content: center;
  width: 100%;
  color: #fff;
  background-image: radial-gradient(#000000, transparent);
  position: absolute;
  bottom: 0;
}

.kv {
  width: 100%;
  color: #fff;
  background-image: radial-gradient(#000000, transparent);
  position: absolute;
  bottom: 0;
}

.mv p {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  flex-basis: 40%;
  font-size: 2.2em;
  text-shadow: 2px 2px 0 #333;
  margin-top: -7%;
}

.kv h1{
	text-align:center;
}

h1 {
  flex-basis: 60%;
  font-size: 0.8em;
  text-shadow: 1px 1px 0 #333;
}

h2 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 2.3em;
  color: #000;
  text-shadow: 1px 1px 0 #fff;
  text-align: center;
  border-bottom: 1px solid #E485BB;
  margin: 0;
}

h2::first-letter {
  color: #E485BB;
}

h2:after {
  content: '';
  display: block;
  border-bottom: 1px solid #000;
  margin-bottom: 3px;
}

button {
  font-size: 1em;
  font-family: 'MS Mincho', sans-serif;
}

.container{
  margin:0 20px;
}

.business,
.staffing {
  margin-bottom: 50px;
  padding: 50px 0;
}

.business .text p,
.staffing .text p {
  font-size: 1.8em;
  text-align: center;
}

.business .text p.is-active,.staffing .text p.is-active  {
  animation: fadeIn 3s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
 
@keyframes fadeIn {
  0% {
	transform: translateY(180px);
    opacity: 0;
  }
  100% {
	transform: translateY(0);
    opacity: 1;
  }
}

.business .image{
	opacity: 0;
}

.business .image.is-active {
  animation: slideIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

.business .text .content,
.staffing .text .content {
  font-size: 1em;
  margin-left: 20px;
  margin-right: 20px;
}

 
.staffing .image.is-active {
  animation: mo 5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
 
@keyframes mo {
  0% {
    filter: blur(10px);
  }
  100% {
    filter: blur(0);
  }
}

.support {
  margin-bottom: 50px;
  padding: 50px 20px;
}

.support h2 {
  font-size: 1.2em;
}

.support h2 span {
  color: #E485BB;
}

.support .flex {
  display: flex;
  justify-content: center;
}

.support .illust {
  background-color: #fff;
  margin: 20px 0;
  padding: 10px;
}

.support .illust:first-child {
  margin-right: 20px;
}

.flow {
  background-color: #FFF8FC;
  padding: 50px 0;
}

.flow .box {
  width: 50%;
  font-size: 2em;
  color: #E485BB;
  background-color: #fff;
  border: 1px solid #E485BB;
  text-align: center;
  margin: 0 auto 50px;
}

.flow .icon {
  text-align: center;
  margin: 0 auto;
}

.flow .icon::after {
  display: block;
  content: '▼';
  color: #E485BB;
  font-size: 3em;
}

.flow .icon:last-child::after {
  display: none;
}

.flow .icon span {
  width: 200px;
  height: 200px;
  border: 1px solid #E485BB;
  background-color: #fff;
  border-radius: 50%;
  text-align: center;
  display: block;
  margin: 0 auto;
  padding: 50px;
}

.flow .icon span.is-active {
  animation: zoomIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.flow .pc {
  display: none;
}

.movie {
  display: flex;
  flex-direction: column-reverse;
  background-image: url('../images/image3.png');
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
}

.movie .box {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px;
}

.movie .box p {
  font-size: 0.8em;
}

.movie span {
  width: 25%;
  display: block;
}

.contact a {
  display: block;
  transition: 1s all;
  background-color: #eee;
  margin: 50px 10px;
  padding: 20px;
}

.contact a:hover {
  background-color: #ffff00;
}

.contact h2 {
  font-size: 1.3em;
  color: #000;
}

.contact p {
  color: #fff;
  background-color: #000;
  text-align: center;
  border-radius: 20px;
  padding: 10px;
}

.service {
  margin: 50px 0;
}

.service .image {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}

.service .button {
  text-align: center;
}

.service button {
  width: 70%;
  transition: all 1s;
  color: #000;
  background-color: #E7D6FA;
  border-radius: 20px;
  border: none;
  padding: 10px;
}

.service button:hover {
  background-color: #ffff00;
}

.company {
  padding: 50px 0;
}

.company p {
  text-align: center;
  margin: 32px 20px;
}

.company .image {
  text-align: center;
  margin: 0 100px;
}

.company .button {
  text-align: center;
}

.company button {
  width: 70%;
  color: #fff;
  transition: all 1s;
  background-color: #E485BB;
  border-radius: 20px;
  border: none;
  padding: 10px;
}

.company button:hover {
  color: #000;
  background-color: #ffff00;
}

form{
  margin-bottom:100px;
}

input,textarea{
  width:100% !important;
}

input{
  padding:10px;
}

input[type="submit"]{
  width:50% !important;
}

.submit{
  text-align:center;
}

iframe {
  width: 100%;
  height: 300px;
}

.company-image{
  padding:0 100px !important;
}

table {
	width:100%;
	border:none !important;
}

table tr td{
	border:1px solid #fff !important;
	padding:10px !important;
}

table tr td{
  background-color: #EEE;
}

table tr td:first-child{
  width:40%;
  background-color: #E485BB;
}

footer {
  background-color: #E485BB;
  padding: 50px;
}

footer a.logo {
  display: block;
  text-align: center;
  padding: 0 50px;
}

footer .tel {
  font-size: 2em;
}

footer .email a {
  text-decoration: underline;
}

footer .copy {
  text-align: center;
}

.menu-wrapper {
  position: relative;
}

.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed;
  /* ← fixedにして常に左上固定 */
  top: 40px;
  right: 20px;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

/* ハンバーガーがXに変形 */
#menu-toggle:checked+.menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked+.menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked+.menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

#menu-toggle:checked~.overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.spmenu {
  position: fixed;
  top: 0;
  left: -300px;
  /* ← 初期位置を左へ */
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: left 0.4s ease;
  z-index: 2;
}

#menu-toggle:checked~.spmenu {
  left: 0;
  /* ← 開いたときは左0へ */
}

.spmenu ul {
  list-style: none;
  padding: 60px 20px;
}

.spmenu li {
  margin: 20px 0;
}

.spmenu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.spmenu a:hover {
  color: #007bff;
}

@media (min-width: 768px) {
  .mv p {
    font-size: 4.3em;
    padding-left: 10px;
  }

  .business .text p {
    font-size: 3em;
    text-align: left;
  }

  .business .image {
    width: 40%;
  }

  .business .text,
  .staffing .text {
    margin: 0 50px;
  }

  .business .text .content {
    font-size: 1.5em;
    width: 50%;
    margin: 0 0 100px auto;
  }

  .staffing .text p {
    font-size: 3em;
    text-align: right;
  }

  .staffing .text .content {
    font-size: 1.5em;
    text-align: left;
    width: 50%;
    margin: 0 auto 100px 0;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 3em;
  }

  .business .flex .image,
  .staffing .flex .image {
    flex-basis: 60%;
  }

  .business .flex .text,
  .staffing .flex .text {
    flex-basis: 40%;
  }

  .support .illust {
    margin: 100px;
  }

  .flow {
    display: flex;
  }

  .flow .box {
    width: 20%;
  }

  .flow .box p {
    font-size: 1.8em;
  }

  .flow .icon::after {
    display: none;
  }

  .flow .icon span {
    width: 150px;
    height: 150px;
    padding: 30px;
  }

  .flow .pc {
    display: flex;
    align-items: center;
    color: #E485BB;
    font-size: 3em;
  }

  .service {
    margin: 100px 0;
  }

  .support h2 {
    font-size: 2.8em;
  }

  .service .image {
    width: 25%;
    margin: 0 auto;
  }

  .movie {
    display: block;
    background-size: cover;
    position: relative;
    height: 650px;
  }

  .movie .box {
    width: 40%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
  }

  .movie h3 {
    width: 80%;
    font-size: 1.5em;
  }

  .movie .box p {
    width: 80%;
    font-size: 1.2em;
  }

  .movie span {
    position: absolute;
    right: 30px;
    bottom: 0;
  }

  button {
    font-size: 1.5em;
    cursor: pointer;
  }

  .company {
    position: relative;
    height: 650px;
  }

  .company .image {
    width: 35%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .company .right h2 {
    width: 100%; 
  }

  .company .right .text {
    width: 50%;
    text-align: center;
    margin: 0 0 0 auto;
  }

  .contact a {
    display: block;
    background-image: url('../images/image6.png');
    background-position: center right 50px;
    background-size: 7%;
    background-repeat: no-repeat;
    margin: 100px;
    padding: 25px;
  }

  .contact h2 {
    font-size: 3em;
    border: none;
  }

  .contact h2::after {
    border: none;
  }

  .contact p {
    font-size: 2em;
    width: 50%;
    margin: 20px auto 0;
  }

  .company-image{
	padding:0 !important;
  }	

  iframe {
    height: 500px;
  }

  footer .flex {
    display: flex;
  }

  footer .logo {
    flex-basis: 30%;
  }

  footer .text {
    flex-basis: 70%;
  }

  footer p {
    font-size: 1.5em;
  }

  footer p.tel {
    font-size: 4em;
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .mv p {
    font-size: 7em;
  }

  h1 {
    font-size: 2.8em;
  }
	
  .container{
    max-width:1000px;
	margin:0 auto;
  }

  .support .illust {
    margin: 100px 250px;
  }

  .flow .icon span {
    width: 200px;
    height: 200px;
    padding: 50px;
  }

  .contact a {
    margin: 100px;
    padding: 50px;
  }
}