@charset "UTF-8";

/* ------------------------------------------------------
RESET
------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
}

body {
    line-height: 1.5;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
}

details,
menu,
figcaption,
figure,
main,
article,
aside,
footer,
header,
nav,
section {
    display: block;
}

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
figure,
figcaption,
blockquote,
table,
tr,
th,
td {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

dfn {
    font-style: italic;
}

mark {
    background-color: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

canvas,
audio,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

img {
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    display: inline-block;
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

[hidden],
template {
    display: none;
}

table {
    font: inherit;
    font-size: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
}

/* ------------------------------------------------------
GENERAL
------------------------------------------------------ */
img {
    max-width: 100%;
    height: auto;
}

p {
    letter-spacing: 0.1em;
    margin: 0 0 1.5em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

.section {
    padding: 0 0 50px 0;
}

.section:last-child {
    padding-bottom: 0;
}

.section .section {
    padding: 0 0 25px;
}

.image_l {
    float: left;
    margin: 0 20px 10px 0;
}

.image_r {
    float: right;
    margin: 0 0 10px 20px;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
    overflow: hidden;
    margin: 0;
    cursor: pointer;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
}

.clearfix {
    display: inline-block;
}

/* Hides from IE-mac */
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* ------------------------------------------------------
Variables
------------------------------------------------------ */
:root {
    --main-color: #333;
    --white-color: #fff;
    --red-color: #e83820;
    --jp-font: "Noto Sans JP", sans-serif;
    --en-font: "EB Garamond", serif;
    --NotoSerif-font: "Noto Serif JP", serif;
    --Inter-font: "Inter", sans-serif;
    --ShipporiMincho-font: "Shippori Mincho", serif;
    --Jost-font: "Jost", sans-serif;
}

.d_flex {
    --spacing: 20px;
    --column: 3;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-1 * var(--spacing));
    margin-bottom: calc(-1 * var(--spacing));
}

.d_flex > * {
    margin-right: var(--spacing);
    margin-bottom: var(--spacing);
    width: calc((100% / var(--column)) - var(--spacing));
    text-align: center;
}

/* ------------------------------------------------------
Container
------------------------------------------------------ */
html {
    font-size: 100%;
    font-style: normal;
    background: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1;
}

body {
    font-family: var(--jp-font);
    font-size: 16px;
    font-weight: 400;
    color: var(--main-color);
}

#wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* ------------------------------------------------------
Contents
------------------------------------------------------ */
.en {
    font-family: var(--en-font);
}

.h3title {
    font-family: var(--NotoSerif-font);
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.48;
}

.h3title span.en {
    display: block;
    font-size: 45%;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
}

.btn_primary {
    width: 100%;
    max-width: 320px;
    height: 80px;
}

.btn_primary a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--white-color);
    border-radius: 40px;
    background: var(--red-color);
    border: 2px solid var(--red-color);
    transition: all .3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

.btn_primary a.set_w {
    color: var(--red-color);
    background: var(--white-color);
    border-color: var(--white-color);
}


.btn_primary a:hover {
    color: var(--red-color);
    background: var(--white-color);
}

.btn_primary a.set_w:hover {
    color: var(--white-color);
    background: var(--red-color);
}

.inview {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.inview.is-active {
    transform: translateY(0px);
    opacity: 1;
}

/* ------------------------------------------------------
Header
------------------------------------------------------ */
#header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 88;
}

#header .header_headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 19px 135px 0 30px;
}

#header #top a {
    display: block;
    line-height: 0;
}

#header .h_menu {
    width: 100%;
    max-width: 808px;
    display: flex;
    justify-content: space-between;
}

#header .h_menu li a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--white-color);
    position: relative;
}

#header .h_menu li a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    position: absolute;
    bottom: -1px;
    left: 0;
    transform-origin: left bottom;
    transform: scaleX(0);
    transition: transform 0.3s;
}

#header #toggle-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: fixed;
    top: 48px;
    right: 30px;
    z-index: 99999;
}

#header #toggle-menu .hamburger {
    width: 50px;
    height: 15px;
    display: inline-block;
    margin-bottom: 19px;
    position: relative;
}

#header #toggle-menu .hamburger span {
    width: 100%;
    height: 1px;
    display: block;
    background: var(--white-color);
    transform: rotate(0deg);
    transition: all .25s ease-in-out;
    position: absolute;
    left: 0;
}

#header #toggle-menu .hamburger span:nth-child(1) {
    top: 0;
}

#header #toggle-menu .hamburger span:nth-child(2) {
    bottom: 0;
}

#header #toggle-menu.active .hamburger span:nth-child(1) {
    top: 10px;
    transform: rotate(-45deg);
}

#header #toggle-menu.active .hamburger span:nth-child(2) {
    bottom: 4px;
    transform: rotate(45deg);
}

#header #toggle-menu .txt {
    font-family: var(--NotoSerif-font);
    font-size: 15px;
    font-weight: 500;
    color: var(--white-color);
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    transition: all .3s ease;
    position: relative;
}

#header #toggle-menu .txt span {
    height: 75px;
    letter-spacing: 0.1em;
    transition: all .3s ease;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#header #toggle-menu .txt .close_txt,
#header #toggle-menu.active .txt .menu_txt {
    opacity: 0;
    visibility: hidden;
}

#header #toggle-menu.active .txt .close_txt {
    opacity: 1;
    visibility: visible;
}

#header #toggle-menu.is-changed .hamburger span {
    background: var(--main-color);
}

#header #toggle-menu.is-changed .txt {
    color: var(--main-color);
}

#header #toggle-menu.active .hamburger span {
    background: var(--white-color) !important;
}

#header #toggle-menu.active .txt {
    color: var(--white-color) !important;
}

#header .overlay_menu {
    width: 50%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    transform: translateX(100%);
    opacity: 0;
    background: var(--red-color);
    padding-top: 122px;
    transition: opacity 1s, all 0.8s ease;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99998;
}

#header .overlay_menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

#header .overlay_menu ul {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 30px;
}

#header .overlay_menu ul li {
    filter: blur(64px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 1s cubic-bezier(.33, 1, .68, 1);
}

#header .overlay_menu ul li a {
    font-family: var(--NotoSerif-font);
    font-size: 34px;
    font-weight: 600;
    color: var(--white-color);
    letter-spacing: 0.1em;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    transition: all 1s cubic-bezier(.33, 1, .68, 1);
}

#header .overlay_menu ul li a.is-dim {
    opacity: .3;
}

#header .overlay_menu ul li a span {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

#header .overlay_menu ul.active li {
    filter: blur(0);
    transform: translateX(0);
    opacity: 1;
}

#header .overlay_menu ul.active li:nth-child(2) {
    transition-delay: .2s;
}

#header .overlay_menu ul.active li:nth-child(3) {
    transition-delay: .4s;
}

#header .overlay_menu ul.active li:nth-child(4) {
    transition-delay: .6s;
}

#header .overlay_menu ul.active li:nth-child(5) {
    transition-delay: .8s;
}

#header .overlay_menu ul.active li:nth-child(6) {
    transition-delay: 1s;
}

#header .overlay_menu .overlay_logo {
    text-align: center;
    padding: 32px 0 65px;
    position: relative;
}

#header .overlay_menu .overlay_logo::before {
    position: absolute;
    content: '';
    width: 0;
    border-top: 1px solid var(--white-color);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all .8s cubic-bezier(.33, 1, .68, 1);
}

#header .overlay_menu .overlay_logo.active::before {
    width: 100%;
    transition-delay: .3s;
}

#header .overlay_menu .overlay_logo figure {
    margin-bottom: 20px;
}

#header .overlay_menu .overlay_logo .name {
    font-weight: 700;
    color: var(--white-color);
}

#header .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: all .8s cubic-bezier(.33, 1, .68, 1);
}

#header .overlay.opened {
    pointer-events: auto;
    opacity: 1;
}

/* ------------------------------------------------------
idx_mainvisual
------------------------------------------------------ */
#idx_mainvisual {
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
}

#idx_mainvisual::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    top: 0;
    left: 0;
}

#idx_mainvisual .inner {
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /*
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
*/
}

#idx_mainvisual.is-show .inner,
#idx_mainvisual.is-active .inner {
    /*
    opacity: 1;
    transform: translateY(0);
*/
}

#idx_mainvisual.is-active .inner {
    /*    transition-delay: .8s;*/
}

#idx_mainvisual h2 {
    font-family: var(--NotoSerif-font);
    font-size: 132px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    position: relative;
    right: -69px;
}

#idx_mainvisual h2 span {
    display: block;
    letter-spacing: 0.1em;
    color: var(--white-color);
}

#idx_mainvisual h2 span:nth-child(2) {
    margin-top: 145px;
}

#idx_mainvisual .idx_mv_txt {
    font-family: var(--NotoSerif-font);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 2.06;
    color: var(--white-color);
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    position: relative;
    top: 51px;
}

#idx_mainvisual .mv_logo {
    width: 100%;
    max-width: 580px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loading {
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

#loading .loading_txt {
    font-family: var(--NotoSerif-font);
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    opacity: 0;
    filter: blur(64px);
}

#loading .loading_txt span {
    display: block;
    font-size: 71.43%;
    letter-spacing: 0.1em;
    margin-bottom: 9px;
}

#loading .loading_logo {
    width: 100%;
    max-width: 580px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
}

#idx_mainvisual .mv_slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
}

#idx_mainvisual .mv_slider .swiper-wrapper,
#idx_mainvisual .mv_slider .swiper-slide,
#idx_mainvisual .mv_slider figure {
    height: 100%;
}

#idx_mainvisual .mv_slider .swiper-slide {
    overflow: hidden;
}

#idx_mainvisual .mv_slider figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#idx_mainvisual .mv_slider .swiper-slide-active figure,
#idx_mainvisual .mv_slider .swiper-slide-duplicate-active figure,
#idx_mainvisual .mv_slider .swiper-slide-prev figure {
    animation: zoom_animation 13s linear 0s 1 normal both;
}

@keyframes zoom_animation {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.18);
    }
}

/* ------------------------------------------------------
idx_about
------------------------------------------------------ */
#idx_about {
    color: var(--white-color);
    background: var(--red-color);
    padding: 293px 0 0;
    position: relative;
}

#idx_about::before,
#idx_about::after {
    position: absolute;
    content: '';
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

#idx_about::before {
    height: 40px;
    top: 0;
    background: var(--white-color);
}

#idx_about::after {
    background: url(../images/top/curve01.png) no-repeat;
    background-size: cover;
    background-position: top center;
    height: 350px;
    top: 40px;
}

#idx_about .inner {
    z-index: 1;
}

#idx_about .idx_about_headline .inner::before {
    position: absolute;
    content: '';
    background: url(../images/top/idx_about_logo.png) no-repeat;
    background-size: contain;
    width: 93.75vw;
    max-width: 1200px;
    height: 101.719vw;
    max-height: 1302px;
    top: -21px;
    right: -360px;
    z-index: -1;
    pointer-events: none;
}

#idx_about .idx_about_headline h3 {
    font-family: var(--ShipporiMincho-font);
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.43;
    text-align: justify;
}

#idx_about .idx_about_slogan {
    padding: 71px 0 99px;
    position: relative;
}

#idx_about .idx_about_slogan::before,
#idx_about .idx_about_slogan::after {
    position: relative;
    display: block;
    content: '';
    background-repeat: repeat-x;
    width: 100vw;
    transition: all 1s linear;
    pointer-events: none;
}

#idx_about .idx_about_slogan::before {
    background-image: url(../images/top/idx_about_slogan01.png);
    background-size: 2975px 100%;
    height: 107px;
    margin-bottom: 18px;
    animation: idx_about_slogan01 60s linear infinite;
}

@keyframes idx_about_slogan01 {
    0% {
        background-position: 2975px 0;
    }

    100% {
        background-position: 0 0;
    }
}

@keyframes idx_about_slogan01_sp {
    0% {
        background-position: 1390px 0;
    }

    100% {
        background-position: 0 0;
    }
}

#idx_about .idx_about_slogan::after {
    background-image: url(../images/top/idx_about_slogan02.png);
    background-size: 3116px 100%;
    height: 110px;
    animation: idx_about_slogan02 60s linear infinite;
}

@keyframes idx_about_slogan02 {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 3116px 0;
    }
}

@keyframes idx_about_slogan02_sp {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1416px 0;
    }
}

#idx_about .idx_about_wrap {
    display: flex;
    justify-content: space-between;
    gap: 45px;
}

#idx_about .idx_about_txt {
    width: 45.313vw;
    max-width: 580px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2.3;
    text-align: justify;
    margin-bottom: 75px;
}

#idx_about .idx_about_txt a {
    color: var(--white-color);
    text-decoration: underline;
}

#idx_about .idx_about_txt p:not(:last-child) {
    margin-bottom: 46px;
}

#idx_about .idx_about_gallery {
    width: 100%;
    flex: 1;
    padding-top: 54px;
}

#idx_about .idx_about_gallery .image01 {
    width: 37.5vw;
    max-width: 480px;
    margin-left: auto;
}

#idx_about .idx_about_gallery .image02 {
    width: 31.25vw;
    max-width: 400px;
    margin-top: -47px;
}

#idx_about .idx_about_gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* ------------------------------------------------------
idx_products
------------------------------------------------------ */
#idx_products {
    color: var(--white-color);
    background: var(--red-color);
    padding: 105px 0 0;
    margin-bottom: -60px;
    position: relative;
}

#idx_products .inner {
    z-index: 1;
}

#idx_products .inner::before {
    position: absolute;
    content: '';
    background: url(../images/top/idx_about_logo.png) no-repeat;
    background-size: contain;
    width: 93.75vw;
    max-width: 1200px;
    height: 101.719vw;
    max-height: 1302px;
    top: -345px;
    left: -360px;
    z-index: -1;
    pointer-events: none;
}

#idx_products .h3title {
    margin-bottom: 16px;
}

#idx_products .idx_products_txt {
    line-height: 2.375;
    text-align: justify;
    margin-bottom: 59px;
}

#idx_products .idx_products_list {
    display: flex;
    gap: 30px;
    margin-bottom: 79px;
}

#idx_products .idx_products_list li {
    width: calc((100% - 60px) / 3);
    display: block;
    position: relative;
}

#idx_products .idx_products_list li figure {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

#idx_products .idx_products_list li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#idx_products .idx_products_list li h4 {
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    color: var(--white-color);
    position: absolute;
    bottom: 32px;
    left: 0;
}

#idx_products .idx_products_list li h4 span {
    display: inline-block;
    letter-spacing: 0.1em;
    line-height: 2;
    background: #1a1a1a;
    padding: 5px 14px 6px 17px;
}

#idx_products .btn_primary {
    margin: 0 auto;
}

/* ------------------------------------------------------
idx_history
------------------------------------------------------ */
#idx_history {
    background: url(../images/top/idx_history_bg.jpg) repeat;
    padding: 433px 0 273px;
    position: relative;
}

#idx_history::before,
#idx_history::after {
    position: absolute;
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    width: 100%;
    height: 340px;
    left: 0;
    pointer-events: none;
}

#idx_history::before {
    background-image: url(../images/top/curve02.png);
    top: 0;
}

#idx_history::after {
    background-image: url(../images/top/curve01.png);
    bottom: 0;
    transform: rotate(180deg);
}

#idx_history .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    z-index: 1;
}

#idx_history .idx_history_gallery {
    width: 90vw;
    height: 30vw;
    display: flex;
    margin: 53px 0 72px;
}

#idx_history .idx_history_gallery figure {
    width: 50%;
    height: 100%;
}

#idx_history .idx_history_gallery figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#idx_history .idx_history_txt {
    width: 100%;
    max-width: 600px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2.3;
    text-align: justify;
    flex: 1;
}

#idx_history .idx_history_txt p:not(:last-child) {
    margin-bottom: 46px;
}

#idx_history .btn_primary {
    position: relative;
    bottom: 11px;
}

#idx_history .idx_history_slogan {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: 18%;
    right: 0;
    pointer-events: none;
}

#idx_history .idx_history_quote {
    text-align: right;
    margin-top: 18px;
}

#idx_history .history_title {
    font-family: var(--NotoSerif-font);
    font-size: 230px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(51, 51, 51, 0.15);
    white-space: nowrap;
}

/* ------------------------------------------------------
idx_info
------------------------------------------------------ */
#idx_info {
    padding: 127px 60px 0;
}

#idx_info .idx_info_wrap {
    width: 100%;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

#idx_info .idx_info_block {
    width: 50%;
    height: 28vw;
}

#idx_info .idx_info_block a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--white-color);
    padding: 45px 49px;
    position: relative;
    overflow: hidden;
}

#idx_info .idx_info_block a::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: -1;
}

#idx_info .idx_info_block .h3title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.09em;
    margin-bottom: 81px;
    position: relative;
    z-index: 1;
}

#idx_info .idx_info_block .h3title span.en {
    font-size: 54.17%;
    margin-bottom: 13px;
}

#idx_info .idx_info_block figure {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

#idx_info .idx_info_block figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    transition: all .3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

#idx_info .idx_info_block .idx_info_frame {
    width: 80px;
    height: 80px;
    position: relative;
}

#idx_info .idx_info_block .idx_info_btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--white-color);
    pointer-events: none;
    will-change: transform;
    transition: all .3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

#idx_info .idx_info_block .idx_info_btn svg {
    width: 36px;
}

#idx_info .idx_info_block .idx_info_btn svg .cls-1 {
    fill: none;
    stroke: var(--white-color);
    stroke-miterlimit: 10;
    transition: all .3s cubic-bezier(0.39, 0.58, 0.57, 1);
}

/* ------------------------------------------------------
Footer
------------------------------------------------------ */
#footer .box_contact {
    padding: 80px 60px 150px;
}

#footer .box_contact .box_contact_wrap {
    text-align: center;
    color: var(--white-color);
    background: var(--red-color);
    border-radius: 10px;
    padding: 69px 0 58px;
    position: relative;
}

#footer .box_contact .box_contact_wrap .inner {
    z-index: 1;
}

#footer .box_contact .h3title {
    margin-bottom: 14px;
}

#footer .box_contact .box_contact_txt {
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    margin-bottom: 19px;
}

#footer .box_contact .box_contact_txt:last-child {
    margin-bottom: 0;
}

#footer .box_contact .box_contact_txt a {
    color: var(--white-color);
    text-decoration: underline;
}

#footer .box_contact .box_contact_phone {
    margin-bottom: 60px;
}

#footer .box_contact .box_contact_phone a {
    display: block;
    font-family: var(--Inter-font);
    font-size: 55px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white-color);
    margin-bottom: 8px;
}

#footer .box_contact .box_contact_phone a i {
    display: inline-block;
    background: url(../images/common/icon_phone.png) no-repeat;
    background-size: contain;
    width: 42px;
    height: 55px;
    margin-right: 18px;
    position: relative;
    top: 4px;
}

#footer .box_contact .box_contact_gallery {
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

#footer .box_contact .box_contact_gallery figure {
    position: absolute;
}

#footer .box_contact .box_contact_gallery .image01 {
    width: 19.067vw;
    max-width: 286px;
    top: 201px;
    left: 3.333vw;
}

#footer .box_contact .box_contact_gallery .image02 {
    width: 12vw;
    max-width: 180px;
    bottom: 72px;
    left: 12.267vw;
}

#footer .box_contact .box_contact_gallery .image03 {
    width: 13.333vw;
    max-width: 200px;
    top: 56px;
    right: 3.333vw;
}

#footer .box_contact .box_contact_gallery .image04 {
    width: 15.333vw;
    max-width: 230px;
    bottom: 168px;
    right: 7.133vw;
}

#footer .box_contact .box_contact_gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

#footer .footer_container {
    background: #f5f5f5;
    padding: 50px 0 44px;
}

#footer .footer_container .f_logo {
    text-align: center;
    margin-bottom: 70px;
}

#footer .footer_container .f_connect {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 102px;
}

#footer .footer_container .f_companyname {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

#footer .footer_container .f_address {
    font-weight: 500;
    line-height: 2.25;
    margin-bottom: 47px;
}

#footer .footer_container .f_sns {
    display: flex;
    align-items: flex-end;
    gap: 34px;
}

#footer .footer_container .f_sns dt {
    letter-spacing: 0.05em;
    padding-bottom: 3px;
}

#footer .footer_container .f_sns dd {
    display: flex;
    gap: 32px;
}

#footer .footer_container .f_sns dd a {
    transition: all .3s ease;
}

#footer .footer_container .f_link {
    width: 100%;
    max-width: 465px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    row-gap: 34px;
}

#footer .footer_container .f_link li {
    width: calc((100% - 25px) / 2);
}

#footer .footer_container .f_link li a {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
}

#footer .footer_container .f_link li a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
    transform-origin: left bottom;
    transform: scaleX(0);
    transition: transform 0.3s;
}

#footer .footer_container .f_bottom {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding: 0 30px;
}

#footer .footer_container .f_slogan {
    font-family: var(--NotoSerif-font);
    font-size: 110px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 0;
}

#footer address {
    font-size: 11px;
    letter-spacing: 0.1em;
    font-style: normal;
    text-align: center;
}


/* MOZZILLA CSS */
@-moz-document url-prefix() {}

/* IE CSS */
@media screen\0 {}

/* EDGE 12+ CSS */
@supports (-ms-ime-align:auto) {}
