/* reset.css */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;3
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* common */
html {scroll-behavior: smooth;}

:root {
	--main-primary:#F8951D;
	--main-secondary: #165FAA;
	--main-heading: #3A34FF;
	--main-CourseMain: #C6A700;
}

a {
    transition: 0.3s ease-in-out;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 1.5px;
	cursor: pointer;
}
p {
    letter-spacing: 2px;
	 line-height: 2.3;
}

a.primaryBtn {
    background: var(--main-primary);
    color: #fff;
    font-weight: 500;
    padding: 13px 35px 16px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    display: flex;
    justify-content: center;
	 overflow: hidden;
}
a.primaryBtn:after, button.secondaryBtn:after, a.secondaryBtn:after, a.thirdBtn:after {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}
a.thirdBtn {
    background: #fff;
    color: #000;
    font-weight: 500;
    padding: 13px 35px 16px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    display: flex;
    justify-content: center;
	 overflow: hidden;
}
a.secondaryBtn, button.secondaryBtn {
    background: #000;
    color: #fff;
    font-weight: 500;
    padding: 14px 35px 17px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.12);
    min-width: 260px;
    display: flex;
    justify-content: center;
    width: fit-content;
    font-size: 1.1rem;
	 overflow: hidden;
}
a.secondaryBtn:hover, a.primaryBtn:hover, a.thirdBtn:hover, button.secondaryBtn:hover {
    opacity: 0.8;
}
button.secondaryBtn {
    cursor: pointer;
    margin: 0 auto;
}
a.outLink {
    position: relative;
}
a.outLink:after {
    content: "\f2d2";
    font-family: "Font Awesome 5 Free";
    font-weight: 100;
    position: relative;
    opacity: 0.6;
    padding-left: 6px;
}

/* animetion */
@keyframes fadeHeader {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
  }
}

@keyframes textopa {
  0% {
	 font-size: 15rem;
    text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.45);
  }
  100% {
	 font-size: 14rem;
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 0.15);
  }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 1s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* form */
section#form {
    padding: 80px 0 100px;
}
.form__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.form__innerleft {
    width: 40%;
}
.form__innerleft .case__innerHeading {
    flex-direction: column;
    gap: 25px;
    align-items: baseline;
    display: flex;
	text-align: left;
}

ul.form__innerlist--text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 3px;
	 width: 100%;
}
.case__innerHeading p {
    font-size: 1.1rem;
}
ul.form__innerlist--text li {
    position: relative;
    padding-left: 38px;
	 font-size: 1.1rem;
	text-align: left;
}
ul.form__innerlist--text li:before {
    left: 8px;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    color: var(--main-primary);
}
.form__innerleft--img {
    max-width: 450px;
    text-align: center;
    border: solid 1px #ccc;
    padding: 35px 40px;
    width: 100%;
    border-radius: 3px;
	 background: #f9f9f9;
}
.form__innerleft--img img {
    filter: drop-shadow(0px 1px 8px #ddd);
}
.form__innerright {
    border-radius: 5px;
    width: 56%;
    padding: 15px 20px 0;
    position: relative;
    background: #fff;
    filter: drop-shadow(-4px 2px 12px rgba(0, 0, 0, 0.06));
}
p.form__innerright--text {
    margin-bottom: 20px;
    text-align: center;
    color: #707070;
    font-size: 0.9rem;
    margin-top: 15px;
}
p.tyuusya {
    font-size: 0.8rem;
    color: #707070;
    letter-spacing: 1px;
}

/* form size */
.form__innerright--form.contactFormRe iframe {
    height: 680px;
}
.form__innerright--form iframe {
    min-height: 900px;
}

section#serviceHead.primary {
    background: var(--main-primary);
    margin-top: 80px;
}
section#serviceHead.primary .serviceHead__inner {
    height: 300px;
}
.serviceHead__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}
.serviceHead__inner h1 {
    font-size: 2rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
	 z-index: 1;
	 animation: fadeHeader 2s ease 0s 1 normal;
}
.serviceHead__inner p {
    font-family: Roboto;
    font-size: 10rem;
    font-style: italic;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 2px;
    z-index: 1;
    opacity: 0.12;
    color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-54%);
}

/* thanks */
section#thanks {
    position: relative;
}
.thanks__inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}
.thanks__inner h1 {
    font-family: Roboto;
    font-size: 10rem;
    font-style: italic;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 2px;
    z-index: 1;
    position: relative;
    margin: 0 auto;
    color: var(--main-primary);
}
.thanks__inner a.primaryBtn {
    padding: 17px 35px 20px;
    min-width: 260px;
    font-size: 1.1rem;
    width: fit-content;
    margin: 25px auto 0;
}