html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: "A1明朝", "hina-mincho", "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "リュウミン R-KL", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    background-color: #f8f7f2;
}

:root {
    --s-font-93992796: 'A1明朝';
    --s-font-518ef124: 'A1ゴシック R JIS2004';
    --s-font-5f9154e3: 'A1ゴシック M JIS2004';
    --s-font-73b506c1: 'Work Sans';
    --s-font-a7a9bb05: 'A1ゴシック L JIS2004';
    --s-font-14ac6d27: 'Noto Sans JP';
}
:host, :root {
    --fa-style-family-classic: "Font Awesome 6 Free";
    --fa-font-solid: normal 900 1em / 1 "Font Awesome 6 Free";
    --fa-style-family-brands: "Font Awesome 6 Brands";
    --fa-font-brands: normal 400 1em / 1 "Font Awesome 6 Brands";
}

img {
    width: 100%;
    display: block;
}

iframe {
    display: block;
}

a {
    text-decoration: none;
    color: black;
}

.sp-br {
    display: none;
}

/*===header====*/
#header {
    width: 100%;
    z-index: 101;
    position: fixed;
}

.header-inner {
    display: flex;
    align-items: center;
}
.header__logo {
    display: flex;
    padding: 0.5rem;
    align-items: center;
}
.header__logo2 {
    width: 80px;
}
.header__logo--txt {
    font-size: 1.2rem;
    font-weight: 600;
}
.header__menu {
    margin-left: auto;
}
.header__menu--area {
    display: flex;
    padding: 1rem 2rem;
}
.header__menu--list {
    margin-right: 2rem;
}
.header__menu--list:last-child {
    margin-right: inherit;
}

.header__home {
    display: none;
}
.header__btn--inner_txt p {
    display: none;
}

.header__sns--list {
    display: none;
}

/*===以下共通CSS===*/
.common-wrap {
    max-width: 1200px;
    margin: auto;
}

/*=フェードイン=*/
.js-animation {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: all 1s;
}
.js-animation.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/*=共通ボタン=*/
.common-btn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: 0.3s;
  max-width: 170px;
}
.common-btn a::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 15px;
  height: 1px;
  background-color: #000;
  transition: 0.3s;
}
.common-btn a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background-color: #000;
  transition: 0.3s;
}
.common-btn a:hover {
  opacity: 0.5;
}
.common-btn a:hover::before,
.common-btn a:hover::after {
  right: 0.5em;
}

/*=Link Text=*/
.linktxt span {
  /* 初期値のinlineではtransformが効かないためinline-blockを指定 */
  display: inline-block;
  transition: transform 0.3s;
}
.linktxt:hover span {
  transform: perspective(600px) rotateY(-15deg) rotateX(20deg);
  opacity: 0.5;
}

/*=下層ページ=*/
.mv__inner {
    display: flex;
    align-items: flex-end;
}
.mv__title {
    width: 20%;
    display: flex;
    justify-content: center;
    letter-spacing: 0.5rem;
    padding-bottom: 5rem;
}
.mv__common--title {
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    max-width: 100%;
}
.mv__title--main {
    font-size: 2rem;
    border-bottom: 1px solid #cecece;
    padding-bottom: 2rem;
    font-weight: 600;
}
.mv__title--sub {
    font-size: 0.9rem;
    font-weight: normal;
    padding-left: 0.5rem;
}

.mv__img {
    width: 80%;
    height: 65vh;
    background-size: cover;
}

.page__subtitle {
    padding: 8rem 0 0.5rem 0;
    font-weight: normal;
    text-align: center;
}
.page__title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 600;
}

.page__content {
    max-width: 900px;
    margin: auto;
    padding: 5rem 1rem;
}

/*=ページネーション=*/
.page-nation {
    margin-top: 3rem;
}
.page-numbers {
    display: flex;
    width: fit-content;
    margin: auto;
}
.page-numbers li {
    margin-right: 1rem;
}
.page-numbers li:last-child {
    margin-right: inherit;
}
.page-numbers span, .page-numbers a {
    padding: 10px 14px;
    border-radius: 25px;
}
.page-numbers span {
    border: 1px solid #000;
    background-color: #9e9e9e;
    color: #000;
}
.page-numbers a {
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    transition: .3s;
}
.page-numbers a:hover {
    background-color: #9e9e9e;
    border: 1px solid #fff;
}

/*=パンクズリスト=*/
.nav__inner {
    display: flex;
    padding: 1rem;
    max-width: 900px;
    margin: auto;
}
.nav__inner--list {
    margin-right: 1rem;
}
.nav__inner--list:last-child {
    margin-right: inherit;
}
.nav__inner--list a, .nav__inner--list span {
    font-size: 0.8rem;
}
.nav__inner--list a:hover {
    opacity: 0.5;
}

/*=common-section=*/
.common-btn {
    padding-top: 3rem;
}
.common-section__btn a {
    margin: auto;
    color: #fff;
}
/* .common-btn a::before, .common-btn a::after {
    background-color: #fff;
} */

.common-nagaimolab {
    background-image: url(../img/common-section-img.jpg);
    background-size: cover;
    padding: 5rem 1rem;
}
.common-nagaimolab__center {
    text-align: center;
    color: #fff;
}
.common-section__subtitle {
    font-size: 0.9rem;
    font-weight: normal;
}
.common-section__title {
    font-size: 3rem;
    padding: 0.5rem 0 2.5rem 0;
}
.common-section__txt {
    line-height: 2rem;
}

.common-contact {
    background-color: #27303f;
    padding: 5rem 1rem;
}

.common-section__btn a::after, .common-section__btn a::before {
    background-color: #fff;
}

/*===footer====*/
#footer {
    background-color: #2c2c2c;
}
.footer__inner {
    display: flex;
    color: #fff;
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: auto;
}

.footer__cuore {
    width: 35%;
    padding-right: 1rem;
}
.footer__company--name {
    font-size: 1.2rem;
    font-weight: 600;
}
.footer__cuore--name {
    width: 60px;
}
.footer__cuore--address {
    margin: 1rem 0 0.5rem 0;
    line-height: 1.2rem;
    font-size: 0.8rem;
}
.footer__cuore--gm {
    width: max-content;
}
.footer__cuore--gm a {
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}
.footer__cuore--gm a:hover {
    opacity: 0.5;
}

.footer__menu {
    width: 35%;
    border-right: 1px solid #fff;
    display: flex;
    padding-right: 1rem;
}
.footer__menu--list {
    margin-bottom: 1.5rem;
}
.footer__menu--list a {
    color: #fff;
}
.footer__menu--list:last-child {
    margin-bottom: inherit;
}
.footer__menuarea:first-child {
    margin-right: 2rem;
}

.footer__sns {
    width: 30%;
    padding-left: 5rem;
}
.footer__sns--title {
    margin-bottom: 1rem;
}
.footer__sns--list {
    margin-bottom: 1rem;
}
.footer__sns--list:last-child {
    margin-bottom: inherit;
}
.footer__sns--list a {
    color: #fff;
}
.footer__sns--txt {
    font-size: 0.9rem;
    padding-left: 0.5em;
    vertical-align: super;
}

.footer__cpr p {
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 1rem;
}

/*ipad以下用CSS*/
@media screen and (max-width:850px) {
    /*===header===*/
    .header__logo--img {
        font-size: 1.3rem;
    }
    .header__logo {
        width: max-content;
    }

    /*=ハンバーガーメニュー=*/
    .header__btn {
        display: block;
        position: absolute;
        right: 10px;
        z-index: 99;
        border: 1px solid #000;
        padding: 5px 20px 4px 8px;
        border-radius: 15px;
    }
    .header__btn--inner {
        display: flex;
        align-items: center;
    }
    .header__btn--inner_bar {
        position: relative;
    }
    .header__btn--inner_txt {
        padding-right: 1rem;
    }
    .header__btn--inner_txt p {
        display: block;
        font-size: 0.7rem;
    }
    
    .bar {
        width: 20px;
        height: 1px;
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000;
    }

    .bar__top {
        top: 5px;
    }
    .bar__middle {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .bar__bottom {
        bottom: 5px;
    }

    .header__btn.close .bar__top {
        transform: translate(-50%, 10px) rotate(45deg);
        transition: transform .3s;
        top: -11px;
    }
    .header__btn.close .bar__middle {
        opacity: 0;
        transition: opacity .3s;
    }
    .header__btn.close .bar__bottom {
        transform: translate(-50%, -8px) rotate(-45deg);
        transition: transform .3s;
        bottom: -8px;
    }

    .header__menu {
        display: none;
        background-color: #F8F7F2;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        padding: 30px 0;
        text-align: center;
        overflow: scroll;
    }
    .header__menu--area {
        display: block;
        padding: 3rem 3rem 1rem 3rem;
    }
    .header__menu--list {
        margin-right: inherit;
        text-align: left;
        margin-bottom: 3rem;
        font-size: 1.2rem;
    }
    .header__home {
        display: block;
    }
    .header__sns--list {
        display: block;
    }
    .header__sns--txt {
        padding-left: 0.5rem;
    }
}

/*タブレット以下用CSS*/
@media screen and (max-width:768px) {
    /*===footer===*/
    .footer__inner {
        padding: 5rem 1rem;
    }
    .footer__cuore {
        width: 40%;
    }
    .footer__menu {
        width: 40%;
    }
    .footer__sns {
        width: 20%;
        padding-left: 2rem;
    }
}

/*スマホ用CSS*/
@media screen and (max-width:470px) {
    /*=header=*/
    .header__sns--txt {
        padding-left: 0.5rem;
        vertical-align: bottom;
    }

    /*=下層ページ=*/
    .page__title {
        font-size: 2rem;
    }

    /*===common-section===*/
    .mv__title {
        width: 25%;
    }
    .mv__img {
        width: 75%;
        height: 60vh;
        background-position: center;
    }
    .mv__title--main {
        font-size: 1.3rem;
    }

    .sp-br {
        display: block;
    }

    /*===footer===*/
    .footer__inner {
        flex-direction: column;
        padding: 5rem 1rem;
    }
    .footer__cuore {
        width: 100%;
    }
    .footer__menu {
        width: 100%;
        padding-right: inherit;
        border-right: inherit;
        padding: 3rem 0;
    }
    .footer__sns {
        width: 100%;
        padding-left: 0;
    }

    .footer__sns--txt {
        vertical-align: super;
    }
    .footer__sns--list {
        margin-bottom: 1.5rem;
    }
}
