@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300&display=swap');

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

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

/* body */
html {
    scroll-behavior: smooth;
    font-size: 0.79vw;
}

body {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    position: relative;
    font-family: 'Sawarabi Gothic', sans-serif;
    color: #333;
    background: #fdfdfd;
}

/* bg */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fdfdfd;
    z-index: 100;
    transition: 0.8s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #033e9c;
    font-family: 'Oswald', sans-serif;
}

.overflow {
    overflow: hidden;
}

.disappear {
    visibility: hidden;
    opacity: 0;
}

.bg span {
    font-size: 5.2rem;
    font-weight: 900;
    letter-spacing: 1.7rem;
}

.bg img {
    width: 6.7rem;
}

.animation {
    animation-name: slidein;
    animation-duration: 3s;
}

.J,
.C,
.R,
.E,
.W {
    opacity: 0;
}

.icon {
    opacity: 0;
}

.iconanimation {
    animation-name: opacity;
    animation-duration: 1s;
}

/* header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 7.4rem;
    padding: 0.5% 2%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fdfdfd;
    z-index: 10;
}

#logo_img img {
    width: 3.5vw;
}

/* nav */
input {
    display: none;
}

nav {
    width: 30%;
}

#nav-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#nav-inner>li {
    font-size: 1.4rem;
    list-style: none;
}

.line {
    width: 0%;
    height: 3px;
    background: #333;
    transition: ease-in-out 0.5s;
}

#nav-inner li a:hover~.line {
    width: 100%;
}


/* main */
main {
    width: 100%;
    position: absolute;
    top: 7.4rem;
}

/* top */
.top_head {
    position: relative;
    width: 100%;
    height: 38vw;
    background-image: url(../img/favicon.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
}

.top_head-inner {
    width: 100%;
    height: 38vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top_head h1 {
    position: relative;
    font-size: 6rem;
    margin: 0 0 2rem 0;
    color: #212836;
}

.top_head h1::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2.7rem;
    border-radius: 10px;
    background-color: rgba(240, 131, 0, 0.5);
}

.top_head h2 {
    color: #033e9c;
    font-size: 4.7rem;
    letter-spacing: 0.3rem;
    font-family: 'Merriweather', serif;
}

/* 問い合わせ欄 */
.phone_area {
    padding: 2%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.phone_area_inner,
.phone_area_inner1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 3rem 0 0;
    width: 25%;
    height: 5.4rem;
    background-color: rgb(255, 255, 255);
    border: solid 3px rgb(255, 180, 67);
    border-radius: 0.7rem;
    font-size: 1.5rem;
}

.phone_area_inner1 {
    background-color: #ffffff;
    border: solid 3px #212836;
}


.phone_area_inner::after,
.phone_area_inner1::after {
    margin: 0 0.7rem;
    position: absolute;
    content: '';
    top: 30%;
    right: 3%;
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid rgb(255, 180, 67);
    border-right: 0.3rem solid rgb(255, 180, 67);
    transform: rotate(135deg);
    transform-origin: center;
    transition: 0.3s;
}

.phone_area_inner1::after {
    right: 20px;
    border-top: 0.3rem solid #212836;
    border-right: 0.3rem solid #212836;
}

.arrow::after {
    transform: rotate(-45deg);
}

.phone_area_inner img,
.phone_area_inner1 img {
    width: 5.4rem;
}

.phone_area_inner ul,
.phone_area_inner1 ul {
    position: absolute;
    top: 77px;
    z-index: 999;
    list-style: none;
    width: 100%;
}

.phone_area_inner ul li,
.phone_area_inner1 ul li {
    background-color: #ffffff;
    margin-bottom: 0.2rem;
    border-radius: 10px;
}

.phone_area_inner1 ul li {
    background-color: #ffffff;

}

.phone_area_inner li a,
.phone_area_inner1 li a {
    display: flex;
    align-items: center;
}

/* メインコンテンツ */
section {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6%;
}

section h1 {
    padding: 2rem;
    font-size: 3.4rem;
    text-underline-offset: 0.3rem;
}

#back_word {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 8.7rem;
    opacity: 0.2;
    color: #fdfdfd;
}

/* content policy*/
#policy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #212836;
    color: #fdfdfd;
}

#policy h1 {
    text-decoration: underline #fdfdfd;
}

.policy-inner {
    text-align: center;
    display: flex;
    flex-direction: row;
}

.policy-inner img {
    width: 33%;
    background-color: #fdfdfd;
    border-radius: 50%;
}

.policy-inner p {
    display: flex;
    width: 100%;
    padding: 2rem 4rem;
    text-align: left;
    align-items: center;
    font-size: 2.3rem;
    line-height: 2em;
    font-family: 'Sawarabi Mincho', serif;
}

#policy_line {
    position: relative;
}

#policy_line::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    border-radius: 3px;
    background-color: rgba(240, 131, 0, 0.8);
}

/* content service*/
#service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

#service h1 {
    text-decoration: underline #212836;
    color: #212836;
}

.service-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-inner ul {
    margin-bottom: 2em;
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
}

.service-inner ul li {
    width: 25vw;
    margin-right: 3em;

}

.service-inner ul li:last-child {
    margin-right: 0;
}

.service-inner ul li dl {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.service-inner ul li dl dt {
    font-size: 3em;
    font-weight: bold;
}

.service-inner ul li dl dd {
    margin-bottom: 1em;
}

.service-inner ul li img {
    width: 100%;
    padding: 0;
    border: 5px solid #212836;
    border-radius: 50%;
}

.service-inner img {
    width: 70%;
    padding: 3rem 0;
}

.service-inner-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    font-size: 2rem;
}

.service-inner-content p {
    margin-bottom: 1em;
    color: white;
    background-color: #003192;
    border-radius: 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
}

#line {
    color: #333;
    background-color: white;
    border-bottom: 10px solid #ff7300;
    border-radius: 0px;
    font-size: 0.9em;
}

#line_sp {
    display: none;
}

.flex-row {
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
}

.flex-row div:first-child {
    border-right: 3px solid #333;
}

.flex-row div:nth-child(2) {
    border-left: 3px solid #333;
    border-right: 3px solid #333;
}

.flex-row div:last-child {
    border-left: 3px solid #333;
}

.flex-row h2 {
    font-size: 2.1rem;
}

.flex-row p {
    color: #333;
    background-color: #ffffff;
    font-size: 2rem;
}

.flex-row li {
    margin-right: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style-type: none;
}

.flex-row li:last-child {
    margin-right: 0;
}

.flex-row li::before {
    content: "⇒";
}

#service #back_word {
    color: #212836;
}

/* content access */

#access {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(33, 40, 54, 0.2);
}

#access h1 {
    text-decoration: underline #212836;
    color: #212836;
}

.access-map {
    display: grid;
    grid-template-columns: 40rem 35rem;
    grid-template-rows: 30rem;
    justify-content: center;
    align-items: center;
}

.map iframe {
    width: 100%;
    height: 30rem;
}

.map-content {
    padding: 0 5.4rem;
    font-size: 1.3rem;
}

table {
    width: 100%;
}

caption {
    font-size: 2rem;
    font-weight: 700;
    color: #212836;
    text-align: left;
    margin: 0 0 1.2rem 0;
}


th {
    text-align: left;
    padding: 0.3rem 0;
}

th a {
    position: relative;
}


#access #back_word {
    color: #212836;
}

/* footer */
footer {
    width: 100%;
    padding: 1.5%;
    text-align: center;
    color: #fdfdfd;
    background-color: #212836;
}