@charset "UTF-8";

/* Theme Name: SmileLab */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Kiwi+Maru&family=Noto+Sans+JP:wght@100..900&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 3em;
}

/* root */
:root {
    --color: #ff9700;
    --white: #ffffff;
    --black: #333;
    --en: "Josefin Sans", sans-serif;
    --ja: "Kiwi Maru", serif;
}

/* 基本設定 */
body {
    background-color: var(--white);
    text-align: left;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--black);
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    body {
        font-size: 15px;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width: 1024px) {
    body {
        font-size: 16px;
    }
}

/* リンク */
a,
a:visited {
    text-decoration: none;
    color: var(--color);
    transition: all .5s;
}

a:hover,
a:visited:hover {
    color: var(--color);
}


#top {
    height: 1px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    padding: 1em;
    width: 100%;
    background-color: var(--white);
}

.navLeft{
	flex-basis: 30%;
}
.navRight {
    flex-basis: content;
}

.navRight {
    margin-left: auto;
    text-align: right;
}

.navRight a {
    color: var(--black);
}

.navRight a:hover {
    color: var(--color);
}

.navLogo {
    display: block;
    width: 70%;
    max-width: 400px;
    height: auto;
}

@media screen and (max-width:767px) {
    .spNone {
        display: none;
    }
}

@media screen and (max-width:1023px) {
    .navMenuPc {
        display: none;
    }
}

.navMenuSp {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

@media screen and (min-width:1024px) {
    .navMenuSp {
        display: none;
    }
}

.line {
    width: 100%;
    height: 2px;
    background-color: var(--color);
    margin-bottom: 4px;
}

.line:nth-child(1).open {
    transform: translateY(6px) rotate(45deg);
}

.line:nth-child(2).open {
    opacity: 0;
}

.line:nth-child(3).open {
    transform: translateY(-6px) rotate(-45deg);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    display: none;
    padding-top: 10vh;
    background-color: var(--color);
    text-align: center;
}

.spMenu li {
    margin-bottom: 0.5em;
}

.spMenu li a {
    font-size: 1.5em;
    color: var(--white);
}

.spMenuImage {
    display: block;
    margin: 0 auto;
    margin-bottom: 2em;
    width: 30%;
}

.navMenuPc li {
    margin-left: 1.5em;
    display: inline-block;
}

@media screen and (min-width:1440px) {
    .navMenuPc li a {
        font-size: 1.5em;
    }
}

header {
    min-height: 40vh;
    background: url('img/header.jpg') center/cover;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    header {
        min-height: 80vh;
    }

    .pcNone {
        display: none;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width: 1024px) {
    header {
        min-height: 100vh;
    }
}

main {
    margin: 3em auto;
}

section {
    margin: 5em auto;
    padding: 3em;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    section {
        text-align: center;
    }
}

.icon {
    display: block;
    margin: 0 auto 0.5em;
    width: 80px;
    height: auto;
}

section h2 {
    margin-bottom: 1em;
    text-align: center;
    font-family: var(--ja);
}

.box {
    padding: 5em 3em;
    box-shadow: 0 0 20px #c0c0c0;
}

section h3 {
    position: relative;
    margin-bottom: 1em;
    font-size: 2em;
    text-align: center;
}

section h3 span {
    position: absolute;
    top: -100%;
    left: 50%;
    z-index: -99;
    transform: translateX(-50%);
    font-size: 3em;
    font-family: var(--en);
    color: rgba(255, 151, 0, 0.1);
}

section h4 {
    margin-bottom: 0.5em;
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}

.box p:not(:last-of-type) {
    margin-bottom: 5em;
}

#flow p {
    margin-bottom: 1.5em;
}

.headline {
    margin: 0 auto 0.5em;
    background-color: var(--color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-family: var(--en);
    font-size: 35px;
    color: var(--white);
}

.choice {
    margin: 3em auto;
    padding: 3em;
    max-width: 1000px;
    background-color: rgba(255, 151, 0, 0.1);
    text-align: left;
}

.choiceLogo {
    vertical-align: middle;
    width: 50px;
    height: auto;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {

    .choice h4 {
        text-align: left;
    }
}

.textLeft {
    margin: 3em auto;
    max-width: 1000px;
    text-align: left;
}

h5 {
    padding-left: 0.5em;
    border-left: 5px solid var(--color);
    font-weight: bold;
    font-size: 1.2em;
}

.textLeft p {
    margin-bottom: 2.5em;
}

h6 {
    position: relative;
    padding-left: 60px;
    font-weight: bold;
    font-size: 1.2em;
}

h6::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--black);
}

.textLeft h4 {
    text-align: left;
}

b {
    font-weight: bold;
}

.flex {
    margin: 3em auto;
    max-width: 1000px;
    text-align: left;
}

.flex h4 {
    margin-bottom: 0;
    text-align: left;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    .flex {
        display: flex;
        flex-wrap: wrap;
    }

    .flexBox {
        padding: 1em;
        flex-basis: calc(100% / 3);
    }
}

.flexBox {
    font-size: 12px;
    margin-bottom: 1.5em;
}

.flexBox img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.slider {
    margin: 3em auto;
    max-width: 1000px;
}

.slider img {
    width: 100%;
    height: auto;
}

dl {
    margin: 3em auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    justify-content: space-between;
}

dt {
    flex-basis: 30%;
}

dd {
    flex-basis: 70%;
    text-align: left;
    margin-bottom: 1.5em;
}

dd h4 {
    text-align: left;
}

mark {
    display: inline-block;
    padding: 0.2em 0;
    width: 80%;
    background-color: rgba(255, 151, 0, 0.1);
    text-align: center;
    font-size: 1.1em;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {

    .flex2,
    .flex3 {
        margin: 3em auto 1.5em;
        display: flex;
        flex-wrap: wrap;
        max-width: 1000px;
        justify-content: space-between;
    }

    .flex2 div {
        flex-basis: 48%;
        text-align: left;
    }

    .flex3 div:nth-of-type(1) {
        flex-basis: 30%;
    }

    .flex3 div:nth-of-type(2) {
        flex-basis: 65%;
        text-align: left;
    }
}

.flex2 img {
    display: block;
    margin-bottom: 2em;
    width: 100%;
    height: auto;
}

.profile dd {
    padding-top: 0.5em;
}

.flex3 div:nth-of-type(1) img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.textBox {
    margin: 1.5em auto;
    max-width: 1000px;
    text-align: left;
}

.right {
    text-align: right;
}

footer {
    padding: 1.5em 0;
    background-color: var(--color);
    text-align: center;
    color: var(--white);
}

.footerImage {
    width: 80px;
    height: auto;
}

footer p {
    margin: 1em auto;
}

.footerMenuPc li {
    margin: 0 1em;
    display: inline-block;
}

.footerMenuPc a {
    color: var(--white);
}

.snsBox {
    margin-bottom: 3em;
    text-align: center;
}

.snsBox img {
    width: 50px;
    height: auto;
}

.timeIcon {
    width: 15px;
    height: auto;
}

.blogWrap {
    width: 100%;
    max-width: 1200px;
    margin: 2em auto;
    text-align: left;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    .blogWrap {
        display: flex;
        justify-content: space-between;
    }

    .leftBox {
        flex-basis: 68%;
    }

    .rightBox {
        flex-basis: 30%;
    }
}

select,
input {
    padding: 0.5em;
    width: 50%;
    border: thin solid var(--black);
}

button[type=submit] {
    height: 30px;
    padding: 0 0.5em;
    background-color: var(--black);
    color: var(--white);
}
.item {
    margin-bottom: 2em;
}
@media screen and (min-width: 768px) {
.item {
    display: flex;
    justify-content: space-between;
}

.itemLeft {
    flex-basis: 30%;
}

.titleLink {
    font-size: 1.2em;
}

.itemRight {
    flex-basis: 68%;
}
}

article h2,article h3 {
    text-align:left;
}

.itemLeft img {
    width: 100%;
    height: auto;
    transition: all .5s;
    border-radius: 20px;
}

.itemLeft img:hover {
    opacity: 0.8;
}

article img {
    width: 100%;
    height: auto;
}

article h2 {
    margin-bottom: 0.5em;
    text-align: left;
}

article p {
    margin: 1em auto;
}

.latestWrap {
    margin: 3em auto;
    width: 90%;
    max-width: 1200px;
}

.latestWrap h2 {
    text-align: center;
}

.latestPost {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
}

.latestPost li {
    padding: 1.5em;
    flex-basis: 50%;
}

@media screen and (min-width:768px) {
    .latestPost li {
        flex-basis: 33%;
    }
}

.latestPost img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}