@import url("https://use.typekit.net/tba2oge.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@charset "UTF-8";


/* header.css */

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: border-box;
}
body {
   font-family: "Noto Sans JP", sans-serif;
   background-color: rgba(255,255,255,1);
   opacity: 1;
   background-image:  linear-gradient(#F0F0F0 1.3px, transparent 1.3px), linear-gradient(to right, #F0F0F0 1.3px, rgba(255,255,255,1) 1.3px);
   background-size: 30px 30px;
   margin: 0;
   color: #333;
   font-size: var(--font-size-base);
}
:root {
   --font-size-base: 1rem;
   --basic-color: #4db5ab;
   --age-color: #F1EEE6;
   --education-color: #E5E5F9;
   --work-color: #dfbae3;
   --marriage-color: #ffb5c0;
   --children-color: #ffd9b8;
   --life-color: #d5f2ca;
   --money-color: #cbe8f2;
   --btn-color: #ef8080;
   --btn-nk-color: #ff8965;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --font-en: "sofia-pro-variable",sans-serif;
}
.emoji {
    font-family: var(--font-emoji);
    font-size: 1.5rem;
    margin-right: 0.3em;
}

/*--------------------------
   HEADER
-----------------------------*/

.fontsize_change {
   display: none;
}

header {
    background-image: url("/file/img/1027200.jpg");
    background-repeat: repeat;
    background-size: auto;
    border-bottom: 2px dashed #000;
    padding: 2em 1em;
    position: relative;
}
header h1 {
    position: absolute;
    top: 50%;
    font-size: 1.8rem;
    transform: translateY(-50%);
    margin: 0;
    left: 50px;
    letter-spacing: 0.08em;
    font-family: var(--font-en);
}
header h1 a {
    text-decoration: none;
    color: #333;
}
header h1 a span {
    display: block;
}
header h1 a span.upper {
    display: block;
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 1rem;
    margin-bottom: 0.5em;
}
header h1 a span.lower {
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    margin-top: 0.5em;
}
.header-wrap {
    display: flex;
    justify-content: center;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 55px;
    padding: 1.5em 1em;
    border: 1px solid #000;
    font-size: 1.15rem;
}
nav ul {
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
nav ul:after {
    content: none;
}
.header-wrap nav ul li {
    margin-bottom: 0;
}
nav a {
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3em;
    color: #333;
}

.main-menu {
  display: none;
  width: 30px;
  cursor: pointer;
}

@media (max-width: 1422px) {
header {
    display: flex;
    justify-content: center;
    gap: 2em;
    align-items: center;
}
header h1 {
    position: relative;
    top: unset;
    transform: none;
    left: unset;
    text-align: center;
}
.header-wrap {
    margin: 0;
}
}
@media (max-width: 1024px) {
header {
    padding: 1em;
    display: block;
}
nav ul {
    flex-direction: column;
    padding: 40px 20px;
}
.header-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 50vh;
    background: #fff;
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -3px 0 10px rgba(0,0,0,0.2);
    border-radius: 55px 0 0 55px;
}
.main-menu {
    display: block;
    position: fixed;
    z-index: 1000;
    top: 24px;
    right: 15px;
    width: 75px;
    height: 50px;
}
.main-menu-wrap {
    position: relative;
    background: #fff;
    border-radius: 50%;
    width: 75px;
    height: 50px;
    border: 1px solid;
}
.main-menu:after {
    content: "";
    background: #333;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: -1;
    right: -3px;
    bottom: -6px;
    border-radius: 50%;
}
.main-menu.active:after {
    opacity: 0;
}

.main-menu span {
    display: block;
    height: 3px;
    width: 60%;
    background: #333;
    transition: 0.3s;
    position: absolute;
    top: 13px;
    left: 15px;
}
.main-menu span:nth-child(2) {
    top: 23px;
} 
.main-menu span:nth-child(3) {
    top: 33px;
} 
.header-wrap.open {
    right: 0;
}

.main-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.main-menu.active span:nth-child(2) {
    opacity: 0;
}
.main-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
}


@media (max-width: 844px) {
.header-wrap {
    height: 100vh;
}
}
@media (max-width: 600px) {
.header-wrap {
    width: 84%;
    height: 70vh;
}
}

/*  SP  */

body.dev-sp nav ul {
    padding: 60px 20px;
}
body.dev-sp .main-menu {
    top: 10px;
    right: 14px;
    width: 60px;
    height: 40px;
}
body.dev-sp .main-menu-wrap {
    width: 60px;
    height: 40px;
}
body.dev-sp .main-menu span {
    top: 9px;
    left: 12px;
}
body.dev-sp .main-menu span:nth-child(2) {
    top: 17px;
}
body.dev-sp .main-menu span:nth-child(3) {
    top: 25px;
}
body.dev-sp .main-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}