@charset "utf-8";

/*
 * style.css
 *
 *  version --- 1.0
 *  updated --- 2025/10/17
 */

/* !root
---------------------------------------------------------- */
:root {
    --NotoSansJP: "Noto Sans JP", sans-serif;
    --Jost: "Jost", sans-serif;
    --Lora: "Lora", serif;
}

/* !HTML5 elements
---------------------------------------------------------- */
header, 
footer, 
nav, 
section, 
aside, 
article {
    display: block;
}

/* !Reseting
---------------------------------------------------------- */
/*html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

fieldset {
  border: none;
}

ul,
ol,
li {
	list-style: none;
}

img {
	max-width: 100%;
    height: auto;
	vertical-align: top;
}

table {
	border-collapse: collapse;
}

button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
}

select::-ms-expand {
	display: none;
}

input[type=radio]::-ms-check,
input[type=checkbox]::-ms-check{
	display: none;
}

select,
input[type=radio],
input[type=checkbox],
input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=number],
input[type=reset],
input[type=button],
input[type=submit],
textarea {
	appearance: none;
	border-radius: 0;
	font-family: "Zen Old Mincho", serif;
}

input[type=text]::-ms-clear,
input[type=tel]::-ms-clear,
input[type=number]::-ms-clear{
	display: none;
}

input[type=reset],
input[type=button],
input[type=submit]  {
	font-family: "Zen Old Mincho", serif;
	cursor: pointer;
}

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

/* 以下は、header,footer追加後の修正 */
#main.main_ohara {
    margin-top: 0px !important;
    /* ↓headerタグのpositionがfixedのため */
    padding-top: 100px !important;
}

#main.main_ohara .Main__body {
    font-family: "Zen Old Mincho", serif;
    font-size: 1.6rem;
    -webkit-text-size-adjust: none;
    line-height: 1.5;
    font-weight: normal;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


#main.main_ohara .Main__body ul,
#main.main_ohara .Main__body ol,
#main.main_ohara .Main__body li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}



/* !Clearfix
---------------------------------------------------------- */
.clearfix {
    display: block;
    min-height: 1%;
}

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

* html .clearfix {
    height: 1%;
}

/* !Layout
---------------------------------------------------------- */
html {
    overflow-y: scroll;
    font-size: 62.5%;
}

/*** タブレット 768x ~ 1200px***/
@media screen and (min-width: 768px) and (max-width: 1200px) {
    html {
        /*font-size: calc(100vw / 120);*/
    }
}

/*** スマホ 320px ~ 767px***/
@media screen and (max-width: 767px) {
    html {
        /*font-size: 62.5%;*/
    }
}

/* body {
    font-family: "Zen Old Mincho", serif;
    font-size: 1.6rem;
    -webkit-text-size-adjust: none;
    line-height: 1.5;
    font-weight: normal;
    color: #000;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
} */



body.unload {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

/* !Base Fonts -------------------------------------------------------------- */
/*a {
    color: #000;
    text-decoration: none;
}
*/
/*** hover ***/
@media screen and (min-width: 960px) {
    /*a {
        transition: all 0.5s;
    }

    a:hover {
        text-decoration: underline;
    }*/

    .op {
        transition: opacity 0.5s ease-out;
    }

    .op:hover {
        opacity: .7;
        text-decoration: none;
    }

    a[href^="tel:"] {
        cursor: default;
        pointer-events:none;
    }
}

.is-hide {
    display: none;
}

/*** 非スマホ 768px ~ ***/
@media screen and (min-width: 768px) {
    .is-sp {
        display: none;
    }
}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    .is-pc {
        display: none;
    }
}

@-webkit-keyframes blur {
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes blur {
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

.blur {
    visibility: visible !important;
    -webkit-filter: blur(15px);
    filter: blur(15px);
    transform: translateZ(0);
    -webkit-animation-name: blur;
          animation-name: blur;
}

/* !loading
---------------------------------------------------------- */
#loading {
    width: 100%;
    height: 100%;
    background: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .6s ease, visibility .3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body.unload #loading {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#loading .loading-inner {
    width: 30%;
    position: relative;
}

#loading .loading-line {
    width: 100%;
    height: .11574vw;
}

#loading .loading-line .loading-line__bar {
    width: 0;
    height: 100%;
    background: #1E1E1E;
    transition: width 2s ease;
}

#loading.is-loading .loading-line .loading-line__bar {
    width: 100%;
}

#loading .loading-year {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: 100%;
    transform: translateY(-2.3vw);
    font-size: 1.389vw;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .16em;
}

#loading .loading-year small {
    font-size: 66.66%;
}

#loading .loading-logo {
    position: absolute;
    left: 100%;
    bottom: 0;
    z-index: 2;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    font-size: 2.5vw;
    line-height: 2;
    letter-spacing: .4em;
    transform: translate(7.1759vw,6.12vw);
}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){

    #loading .loading-inner {
        width: 100%;
        position: relative;
    }

    #loading .loading-line {
        height: .15rem;
    }

    #loading .loading-year {
        transform: translateY(-2.4rem);
        font-size: 1.4rem;
    }

    #loading .loading-year small {
        font-size: 1rem;
    }

    #loading .loading-logo {
        position: fixed;
        left: 1.5rem;
        top: 1.6rem;
        font-size: 1.8rem;
        transform: unset;
    }
}


/* !wrapper
---------------------------------------------------------- */
#wrapper {
    width: 100%;
}

/* !header
---------------------------------------------------------- */
/* #header {
    width: 100%;
    position: relative;
    z-index: 999;
} */
#header-ohara {
    width: 100%;
    position: relative;
    z-index: 999;
}

.header-logo-ohara {
    position: absolute;
    font-size: 2.4rem;
    line-height: 2;
    font-weight: 500;
    letter-spacing: .5em;
    left: 7rem;
    top: 7.3rem;
    z-index: 2;
    margin: 0;
}

.header-logo-ohara span {
    display: block;
    margin-top: 2.5rem;
    font-size: .864rem;
    line-height: 2;
    font-family: var(--Jost);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.about-page .header-logo-ohara {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    left: 5.4rem;
    top: 8rem;
    font-size: 3rem;
    line-height: 2;
    letter-spacing: .4em;
}

.btn-menu {
    position: fixed;
    right: 4rem;
    /* top: 4rem; */
    top: 12rem;
    z-index: 9999;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 100%;
    border: .1rem solid #000;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn-menu:before,
.btn-menu:after {
    content: '一';
    font-size: 2.8rem;
    line-height: .5;
    font-weight: 600;
    opacity: 0;
    transition: all .3s ease;
}

.btn-menu.is-active:before {
    opacity: 1;
    transform: translate(.1rem, .7rem) rotate(45deg);
}

.btn-menu.is-active:after {
    opacity: 1;
    transform: translate(-.1rem, -.7rem) rotate(-45deg);
}

.btn-menu span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 600;
    padding-bottom: .3rem;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all .3s ease;
}

.btn-menu.is-active span {
    opacity: 0;
}

.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/*** hover ***/
@media screen and (min-width: 960px) {}

@media only screen and (min-width : 768px){
    body:not(.home) .header-logo-ohara a {
        pointer-events: none;
    }
}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    /* #header {
        padding: 1.5rem;
    } */
    #header-ohara {
        padding: 1.5rem;
    }

    .header-logo-ohara {
        position: relative;
        left: .9rem;
        top: .1rem;
        font-size: 1.4rem;
    }

    .header-logo-ohara span {
        margin-top: .7rem;
        font-size: .6rem;
        line-height: 2.88;
    }

    .about-page .header-logo-ohara {
        position: relative;
        left: 0;
        top: 0;
        font-size: 1.8rem;
    }

    .btn-menu {
        right: 1.6rem;
        /* top: 1.6rem; */
        top: 7.6rem;
        width: 4rem;
        height: 4rem;
    }

    .btn-menu:before,
    .btn-menu:after {
        font-size: 1.6rem;
    }

    .btn-menu.is-active:before {
        opacity: 1;
        transform: translate(.1rem, .4rem) rotate(45deg);
    }

    .btn-menu.is-active:after {
        opacity: 1;
        transform: translate(-.1rem, -.4rem) rotate(-45deg);
    }

    .btn-menu span {
        font-size: 1.6rem;
        padding-bottom: .2rem;
    }
}

/* !global navigation
---------------------------------------------------------- */
#g-navi {
    position: fixed;
    right: 2.4rem;
    /* top: 2.4rem; */
    top: 10.4rem;
    z-index: 998;
    width: 48rem;
    max-height: calc(100dvh - 4.8rem);
    background: #fff;
    padding: 3.2rem 4.7rem;
    box-shadow: 0 .4rem .4rem .4rem rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
#g-navi.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#g-navi ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#g-navi ul li {
    font-size: 1px;
    line-height: 1;
}

#g-navi ul li a {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    width: 100%;
}

#g-navi ul li a .image {
    width: 16rem;
    display: block;
}

#g-navi ul li a .image img {
    width: 100%;
}

#g-navi ul li a .title {
    width: calc(100% - 18.4rem);
}

#g-navi ul li a .title .title-en {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--Lora);
    line-height: 1.2857;
    letter-spacing: .04em;
    margin-bottom: .4rem;
    display: block;
}

#g-navi ul li a .title .title-ja {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .32em;
    display: block;
}

/*** hover ***/
@media screen and (min-width: 960px) {}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    #g-navi {
        position: fixed;
        right: 0;
        /* top: 0; */
        top: 6rem;
        z-index: 998;
        width: 100%;
        max-height: 100dvh;
        background: #fff;
        padding: 3.5rem 2.4rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #g-navi ul {
        width: 53%;
        gap: 2.3rem;
    }

    #g-navi ul li a {
        gap: .8rem;
    }

    #g-navi ul li a .image {
        width: 8.8rem;
    }

    #g-navi ul li a .title {
        width: calc(100% - 9.6rem);
    }

    #g-navi ul li a .title .title-en {
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0;
        margin-bottom: .1rem;
        display: block;
    }

    #g-navi ul li a .title .title-ja {
        font-size: 1.2rem;
        line-height: 1.45;
        letter-spacing: 0;
    }

    #g-navi .g-navi__logo {
        width: 45%;
    }

    #g-navi .g-navi__logo .g-navi__logo--ja {
        font-size: 1.4rem;
        line-height: 2.22;
        font-weight: 600;
        letter-spacing: .4em;
    }

    #g-navi .g-navi__logo .g-navi__logo--en {
        font-size: .5rem;
        font-family: var(--Jost);
        line-height: 2;
        font-weight: 400;
        letter-spacing: .08em;
        margin-top: 1.6rem;
    }
}

/* !main Visual
---------------------------------------------------------- */
#main-visual {
    width: 100%;
    position: relative;
}

#main-visual .mv-image {
    line-height: 1;
    font-size: 1px;
}

#main-visual .mv-image img {
    width: 100%;
}

#main-visual .mv-logo {
    font-size: 2.55vw;
    line-height: 2;
    letter-spacing: .4em;
    color: #fff;
    position: absolute;
    right: 22vw;
    top: 13.7vw;
    z-index: 2;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .01s ease 2.3s;
}

#main-visual.animated .mv-logo {
    opacity: 1;
}

#main-visual .mv-copy {
    position: absolute;
    left: 4vw;
    bottom: 0;
    z-index: 2;
    font-size: .9vw;
    color: #fff;
    font-family: var(--NotoSansJP);
    text-shadow: 0 0 .4rem rgba(0, 0, 0, 0.4);
    height: 4.22vw;
}

.mv-scroll {
    position: absolute;
    right: 2.3148vw;
    bottom: 0;
    height: 100%;
    padding: 2vw 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.mv-scroll .mv-scroll__item {
    display: flex;
    align-items: center;
    gap: 1.27vw;
    font-size: 1.3889vw;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
}

.mv-scroll .mv-scroll__item span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.3889vw;
    height: 1.3889vw;
    border-radius: 100%;
} 

.mv-scroll .mv-scroll__item span:before {
    width: 1.1574vw;
    height: 1.1574vw;
    content: '';
    background: #fff;
    border-radius: 100%;
}

.mv-scroll .mv-scroll__item:first-child span {
    border: 0.11574vw solid #fff;
}

.mv-scroll .mv-scroll__item:first-child span:before {
    width: 0.5787vw;
    height: 0.5787vw;
}

.mv-scroll .mv-scroll__line {
    width: .05787vw;
    background: #fff;
    height: .774884259259259vw;
    position: absolute;
    right: 0.65vw;
    top: 5vw;
    z-index: 1;
    opacity: 0;
    transition: opacity .01s ease 1.3s, height 1s ease 1.3s;
}

#main-visual.animated .mv-scroll .mv-scroll__line {
    opacity: 1;
    height: calc(100% - 10vw);
}

.mv-scroll .mv-scroll__line:after {
    width: .215856481481481vw;
    height: .774884259259259vw;
    background: url(../img/top/icon_scroll_bar.svg) center center no-repeat;
    background-size: 100% 100%;
    content: '';
    position: absolute;
    bottom: -.02893vw;
    right: 0;
    z-index: 2;
}

/*** hover ***/
@media screen and (min-width: 960px) {}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){

    #main-visual .mv-logo {
        font-size: 4.615vw;
        right: 3.846vw;
        top: 10.25vw;
    }

    #main-visual .mv-copy {
        left: 5.641vw;
        bottom: 6.923vw;
        font-size: 1.7vw;
        height: 8.2vw;
    }

    .mv-scroll {
        right: 6.15384615384615vw;
        bottom: 10.25641025641026vw;
        height: 71.28205128205128vw;
        padding: 0;
    }

    .mv-scroll .mv-scroll__item {
        gap: 3.46153846153846vw;
        font-size: 3.07692307692308vw;
    }

    .mv-scroll .mv-scroll__item span {
        width: 3.07692307692308vw;
        height: 3.07692307692308vw;
    } 

    .mv-scroll .mv-scroll__item span:before {
        width: 100%;
        height: 100%;
    }

    .mv-scroll .mv-scroll__item:first-child span {
        border: .256410256410256vw solid #fff;
    }

    .mv-scroll .mv-scroll__item:first-child span:before {
        width: 1.538461538461538vw;
        height: 1.538461538461538vw;
    }

    .mv-scroll .mv-scroll__line {
        width: .256410256410256vw;
        height: 1.841025641025641vw;
        right: 1.41025641025641vw;
        top: 3.7vw;
    }

    #main-visual.animated .mv-scroll .mv-scroll__line {
        height: calc(100% - 8.44vw);
    }

    .mv-scroll .mv-scroll__line:after {
        width: .512820512820513vw;
        height: 1.841025641025641vw;
        bottom: 0;
        right: 0;
    }
}

/* !teaser
---------------------------------------------------------- */
#teaser {
    width: 100%;
}

#teaser .teaser-heading {
    width: 100%;
    height: 34rem;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 2.765rem;
    line-height: 1;
    letter-spacing: 1.125em;
    /*padding-bottom: calc(4rem - .5625em);*/
    margin: 0;
    font-weight: 400;
}

#teaser .teaser-image {
    width: 100%;
    position: relative;
}

#teaser .teaser-image img {
    width: 100%;
}

#teaser .teaser-image .teaser-image__caption {
    position: absolute;
    left: 7rem;
    top: 4rem;
    z-index: 2;
    font-size: 2rem;
    font-family: var(--Lora);
    font-weight: 500;
    color: #fff;
}

/*** hover ***/
@media screen and (min-width: 960px) {}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    #teaser {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column-reverse;
    }

    #teaser .teaser-heading {
        padding: 2.4rem;
        height: 14.7rem;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 1.6rem;
        letter-spacing: 1.5em;
    }

    #teaser .teaser-image .teaser-image__caption {
        left: 2.4rem;
        top: unset;
        bottom: -2.4rem;
        transform: translateY(100%);
        font-size: 1.2rem;
        letter-spacing: .08em;
        color: #1E1E1E;
    }
}

/* !contents
---------------------------------------------------------- */
#contents {
    width: 100%;
}

.inner {
    width: 100%;
    padding: 0 6.9rem;
}

.btn-links {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: 20.8rem;
    height: 4.2rem;
    border-top: .1rem solid #000;
    border-bottom: .1rem solid #000;
    font-size: 1.4rem;
    line-height: 1.5;
    font-family: var(--Jost);
    font-weight: 600;
    color: #1E1E1E;
    padding: 0 1.4rem;
}

/*** hover ***/
@media screen and (min-width: 960px) {}

/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    .inner {
        padding: 0 2.4rem;
    }

    .btn-links {
        width: 24rem;
        height: 4rem;
        padding: 0 1.6rem;
    }
}

/* !about
---------------------------------------------------------- */
.about-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6rem;
    margin-bottom: 12rem;
}

.about-top .about-top__left {
    width: calc(59.75% - 6rem);
    padding: 4rem 0;
}

.about-top .about-mainimg {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 16.3rem;
}

.about-top .about-mainimg img {
    width: 40rem;
    margin-right: -8.7rem;
}

.about-top .about-heading {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 7rem;
}

.about-top .about-heading .about-heading__en {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    font-family: var(--Lora);
    padding-top: .9rem;
    word-break: keep-all;
    white-space: nowrap;
}

.about-top .about-heading .about-heading__ja {
    font-size: 2rem;
    line-height: 2;
    font-weight: 400;
    letter-spacing: .24em;
}

.about-top .about-textarea {
    display: flex;
    gap: 4rem;
}

.about-top .about-textarea .about-textarea__item {
    width: 100%;
    font-size: 1.4rem;
    letter-spacing: .08em;
    font-weight: 400;
    line-height: 2.2857;
    text-align: justify;
}

.about-top .about-textarea .about-textarea__item:last-child {
    margin-top: 6.4rem;
}

.about-top .about-top__right {
    width: 40.25%;
    max-width: 64rem;
    margin-right: -6.9rem;
    height: 114rem;
    overflow: hidden;
}

.js-image-scroll {
    overflow: hidden;
    display: flex;
}

.js-image-scroll.is-vertical {
    flex-direction: column;
}

.js-image-scroll ul {
    display: flex;
    align-items: flex-start;
}

.js-image-scroll.is-vertical ul {
    flex-direction: column;
}

.js-image-scroll ul:nth-child(odd) {
    animation-name: image-loop-left1;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.js-image-scroll.is-vertical ul:nth-child(odd) {
    animation-name: image-loop-up1;
}

.js-image-scroll ul:nth-child(even) {
    animation-name: image-loop-left2;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.js-image-scroll.is-vertical ul:nth-child(even) {
    animation-name: image-loop-up2;
}

@keyframes image-loop-left1 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
@keyframes image-loop-left2 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200%);
    }
}

@keyframes image-loop-up1 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
@keyframes image-loop-up2 {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-200%);
    }
}


.about-middle {
    width: calc(100% + 13.8rem);
    margin: 0 -6.9rem;
    margin-bottom: 16rem;
}

.about-middle li {
    padding-right: 1.8rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    height: 58.5rem;
}

.about-middle li img {
    width: auto;
    max-width: unset;
    height: 100%;
}

.about-middle li.is-half img {
    height: 50%;
}

.about-bottom {
    width: calc(100% + 13.8rem);
    margin: 0 -6.9rem 16rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.about-bottom .about-bottom__left {
    width: 34.72%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.about-bottom .about-bottom__left img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

.about-bottom .about-bottom__middle {
    width: 28.24%;
    font-size: 1.4rem;
    line-height: 2.857;
    font-weight: 400;
    padding: 6rem 0;
}

.about-bottom .about-bottom__middle h3 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 4.8rem;
    letter-spacing: .24em;
}

.about-bottom .about-bottom__right {
    width: 27.78%;
    display: flex;
    flex-wrap: wrap;
    gap: 8rem 4rem;
}

.about-bottom .about-bottom__right .about-bottom__right--image01 {
    width: 100%;
    padding-left: 33.33%;
}

.about-bottom .about-bottom__right .about-bottom__right--image02,
.about-bottom .about-bottom__right .about-bottom__right--image03 {
    width: 37.5%;
}

.about-bottom .about-bottom__right .about-bottom__right--image03 {
    padding-top: 4rem;
}

.about-bottom .about-bottom__right img {
    width: 100%;
}


.about-bottom .about-bottom__links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 2;
}

.google-map {
    margin-bottom: 12rem;
}

.google-map .google-map__access {
    font-size: 1.4rem;
    line-height: 1.66;
    font-family: var(--NotoSansJP);
    font-weight: 400;
    margin-bottom: 2.4rem;
}

.google-map .google-map__iframe {
    width: calc(100% + 13.8rem);
    margin: 0 -6.9rem;
    position: relative;
    padding-top: 56.25%;
}

.google-map .google-map__iframe iframe {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
}

@media screen and (max-width: 1539px) {
    .about-bottom__middle .is-break {
        display: none;
    }
}

/*** 非スマホ 768px ~ ***/
@media screen and (min-width: 768px) {
    .about-bottom .about-bottom__links .btn-links {
        justify-content: center;
    }
}


/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    .about-top {
        display: block;
        margin-bottom: 4rem;
    }

    .about-top .about-top__left {
        width: 100%;
        padding: 0;
    }

    .about-top .about-mainimg {
        display: block;
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem 3.2rem;
    }

    .about-top .about-mainimg img {
        width: 100%;
        margin-right: 0;
    }

    .about-top .about-heading {
        display: block;
        margin-bottom: 2.4rem;
    }

    .about-top .about-heading .about-heading__en {
        font-size: 1.2rem;
        line-height: 1.25;
        padding-top: 0;
        margin-bottom: 4.5rem;
        display: block;
    }

    .about-top .about-heading .about-heading__ja {
        font-size: 1.4rem;
        display: block;
    }

    .about-top .about-textarea {
        display: block;
    }

    .about-top .about-textarea .about-textarea__item {
        font-size: 1.2rem;
        line-height: 2;
    }

    .about-top .about-textarea .about-textarea__item:last-child {
        margin-top: 2.4rem;
    }

    .about-top .about-top__right {
        display: none;
    }

    .about-top .about-top__image {
        width: calc(100% + 4.8rem);
        margin: 2.4rem -2.4rem;
    }

    .about-top .about-top__image li {
        width: fit-content;
    }

    .about-top .about-top__image li img {
        width: auto;
        max-width: unset;
        height: 23rem;
    }


    .about-middle {
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem;
        margin-bottom: 3.8rem;
    }

    .about-middle li {
        padding-right: .78rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .78rem;
        height: 25rem;
    }

    .about-middle li img {
        width: auto;
        max-width: unset;
        height: 100%;
    }

    .about-middle li.is-half img {
        height: 50%;
    }

    .about-bottom {
        width: 100%;
        margin: 0 0 11.5rem;
        flex-direction: column-reverse;
        position: relative;
        gap: 3rem;
    }

    .about-bottom .about-bottom__left {
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem;
        aspect-ratio: unset;
    }

    .about-bottom .about-bottom__left img {
        width: 100%;
        height: 100%;
    }

    .about-bottom .about-bottom__middle {
        width: 100%;
        font-size: 1.2rem;
        line-height: 2.667;
        padding: 0;
    }

    .about-bottom .about-bottom__middle h3 {
        font-size: 1.4rem;
        line-height: 2.2857;
        margin-bottom: 2.4rem;
    }

    .about-bottom .about-bottom__right {
        display: none;
    }


    .about-bottom .about-bottom__links {
        position: relative;
        left: 0;
        transform: translateX(0);
        width: 100%;
    }

    .google-map {
        margin-bottom: 4rem;
    }

    .google-map .google-map__access {
        font-size: 1.2rem;
        margin-bottom: 1.6rem;
    }

    .google-map .google-map__iframe {
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem;
        position: relative;
        padding-top: 82%;
    }
}



/* !home
---------------------------------------------------------- */
.home .header-logo-ohara {
    display: none;
}

.home .btn-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.home.is-scroll .btn-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.top-wrap {
    /* padding: 11rem 0 16rem; */
        /* padding: 11rem 0 0rem; */
        padding: 9rem 0 16rem;
}

.top-heading {
    display: flex;
    flex-direction: column;
    gap: 8.3rem;
}

.top-heading .top-heading__en {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 500;
    font-family: var(--Lora);
}

.top-heading .top-heading__ja {
    font-size: 2.765rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 1.24em;
    font-family: var(--Lora);
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    text-orientation: upright;
    white-space: nowrap;
}

.top-about {
    /* margin-bottom: 19.6rem; */
    margin-bottom: 6rem;
}

.top-about .top-heading {
    width: 6.8rem;
    align-items: center;
    gap: 14rem;
    margin-bottom: 20rem;
}

.top-about .top-heading .top-heading__en {
    font-size: 2.4rem;
}

.top-heading .top-heading__ja {
    font-size: 2.4rem;
}

.top-about__top {
    display: flex;
    align-items: flex-start;
    padding-top: 4rem;
    margin-bottom: 8rem;
}

.top-about__top .top-about__top--left {
    width: 50%;
}

.top-about__top .top-about__top--left img {
    width: 100%;
    margin-left: -6.9rem;
}

.top-about__top .top-about__top--right {
    width: 50%;
    position: relative;
    padding-top: 4rem;
    padding-right: 15%;
}

.top-about-text {
    max-width: 40rem;
    font-size: 1.382rem;
    line-height: 2.5;
    font-weight: 500;
    text-align: justify;
    margin-left: 3.4rem;
}

.top-about-links {
    margin: 4rem 0 0 3.4rem;
}

.top-about-image {
    position: absolute;
    width: 39.93%;
    right: -6.9rem;
    bottom: 4.5rem;
    z-index: 2;
}

.top-about-image img {
    width: 100%;
}

.top-about-text-en {
    font-size: 1rem;
    line-height: 2;
    font-family: var(--Jost);
    font-style: italic;
    font-weight: 400;
    text-align: justify;
    width: 40rem;
    position: absolute;
    right: 4rem;
    top: 3.438rem;
    z-index: 2;
}

.top-about__middle {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 12rem;
}

.top-about__middle p {
    max-width: 41.5rem;
    line-height: 1;
    font-size: 1px;
}

.top-about__middle p:last-child {
    margin-top: 13.8rem;
}

.top-about__middle img {
    width: 100%;
}

.top-about__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% + 13.8rem);
    margin: 0 -6.9rem;
    height: 79rem;
    overflow: hidden;
}

.top-about__bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-section .top-section__item {
    padding-right: 50%;
    position: relative;
}

.top-section .top-section__item + .top-section__item {
    margin-top: 14rem;
}

.top-section .top-heading {
    min-height: 42rem;
}

.top-section .top-section__item .top-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    z-index: 2;
}

.top-section .top-section__item .top-image .top-image__small {
    position: absolute;
    right: 104%;
    width: 28%;
    max-height: 36.3rem;
    top: 0;
    z-index: 2;
    overflow: hidden;
}

.top-section .top-section__item .top-image .top-image__large {
    width: calc(100% + 6.9rem);
    margin-right: -6.9rem;
    max-height: 57.6rem;
    overflow: hidden;
}

.top-section .top-section__item .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-section .top-box {
    width: 100%;
    max-width: 58.8rem;
}

.top-section .top-title {
    font-size: 2.765rem;
    line-height: 1.446;
    font-weight: 500;
    min-height: 1.446em;
}

.top-section .top-textarea {
    margin-top: 4rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.714;
    text-align: justify;
}

.top-section .top-links {
    margin-top: 4rem;
}


/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    /* .home #header {
        padding: 0;
    } */
    .home #header-ohara {
        padding: 0;
    }

    .top-wrap {
        padding: 4.8rem 0 8rem;
    }

    .top-heading {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .top-heading .top-heading__en {
        font-size: 1.4rem;
        line-height: 1.2857;
    }

    .top-heading .top-heading__ja {
        font-size: 2rem;
        letter-spacing: 1.2em;
    }

    .top-about {
        margin-bottom: 8rem;
    }

    .top-about .top-heading {
        width: 100%;
        flex-direction: column;
        gap: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .top-about .top-heading .top-heading__en {
        font-size: 1.4rem;
        width: 100%;
        text-align: left;
    }

    .top-heading .top-heading__ja {
        font-size: 2rem;
    }

    .top-about__top {
        display: block;
        padding-top: 0;
        margin-bottom: 4rem;
    }

    .top-about__top .top-about__top--left {
        width: 70%;
    }

    .top-about__top .top-about__top--left img {
        margin-left: -2.4rem;
    }

    .top-about__top .top-about__top--right {
        width: 100%;
        padding-top: 2.4rem;
        padding-right: 0;
    }

    .top-about-text {
        max-width: 100%;
        font-size: 1.4rem;
        line-height: 1.667;
        margin-left: 0;
    }

    .top-about-links {
        margin: 3.2rem 0 0;
        position:relative;
        z-index: 997;
    }

    .top-about-links .btn-links {
        width: 17.1rem;
    }

    .top-about-image {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        text-align: right;
        margin-top: .5rem;
        margin-top: -6.7rem;
    }

    .top-about-image img {
        width: 35%;
        margin-right: -2.4rem;
    }

    .top-about-text-en {
        display: none;
    }

    .top-about__middle {
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem;
        margin-bottom: 0;
    }

    .top-about__middle p {
        max-width: 100%;
    }

    .top-about__middle p:last-child {
        margin-top: 2rem;
    }

    .top-about__bottom {
        display: none;
    }

    .top-section .top-section__item {
        padding-right:0;
    }

    .top-section .top-section__item + .top-section__item {
        margin-top: 11.5rem;
    }

    .top-section .top-heading {
        min-height: 0;
        margin-bottom: 1.8rem;
    }

    .top-section .top-section__item .top-image {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(100% + 4.8rem);
        margin: 0 -2.4rem 3.2rem;
    }

    .top-section .top-section__item .top-image .top-image__small {
        position: relative;
        right: 0%;
        width: 30.769%;
        max-height: unset;
    }

    .top-section .top-section__item .top-image .top-image__large {
        width: 69.231%;
        margin-right: 0;
        max-height: unset;
    }

    .top-section .top-box {
        max-width: 100%;
    }

    .top-section .top-title {
        font-size: 2rem;
        line-height: 1.45;
        min-height: 0;
    }

    .top-section .top-textarea {
        margin-top: 2.4rem;
        font-size: 1.4rem;
        line-height: 1.66;
    }
}





/* 以下は、header,footer追加後の修正 */
#foot_sharebutton ul {
    margin: 0;
    padding-left: 0;
    display: flex;
}

@media only screen and (max-width : 767px) {
    #main.main_ohara {
        padding-top: 60px !important;
    }

    #foot_sharebutton {
        position: static;
        padding: 20px 10px 10px 10px;
    }
}

.gnavi-totop {
    text-align: left;
}
.gnavi-totop a {
    border-top: none;
    border-bottom: none;
    width: auto;
    padding-left: 0px;
    height: auto;
    font-family: "Zen Old Mincho", serif;
}


.top-message {
    padding: 15rem 0 0;
}

.top-message p {
    margin: 0;
}

.top-message .top-message__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    /* height: 20rem; */
    height: 15rem;
}

.top-message .message-jap {
    width: 87.2rem;
    font-size: 1.382rem;
    line-height: 2.5;
    font-weight: 500;
    margin-right: 4rem;
}

.top-message .message-jap p + p {
    margin-top: 2.5rem;
}
.top-message .message-eng p + p {
    margin-top: 2.0rem;
}

.top-message .message-eng {
    width: 44rem;
    padding-right: 4rem;
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;
    font-family: var(--Jost);
    font-style: italic;
    padding-top: 2.4rem;
    position: sticky;
    top: 0;
}

.top-message .top-links {
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.top-message .top-links:after {
    width: 100%;
    height: 12.6rem;
    position: absolute;
    left: 0;
    top: -11.6rem;
    z-index: -1;
    content: '';
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 79.05%);
}

.js-showmore-target .is-close,
.is-active .js-showmore-target .is-open {
    display: none;
}

.js-showmore-target .is-open,
.is-active .js-showmore-target .is-close {
    display: block;
}

.top-message.is-active .top-links:after {
    opacity: 0;
    pointer-events: none;
}


/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    .top-message {
        padding: 9rem 0 4.8rem;
    }

    .top-message .top-message__inner {
        display: block;
        height: 15rem;
    }

    .top-message .message-jap {
        width: 100%;
        line-height: 1.75;
        margin-right: 0;
    }

    .top-message .message-jap p + p {
        margin-top: 1.75rem;
    }

    .top-message .message-eng {
        display: none;
    }

    .top-message .top-links:after {
        height: 29.5rem;
        top: -22.4rem;
    }
}

.other-page .Main {
    overflow: visible;
}


.contents-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6.5rem 0 16rem;
}

.contents-wrap .contents-side {
    width: 27rem;
    position: sticky;
    top: 10rem;
    padding-top: 2.5rem;
}

.contents-wrap .contents-main {
    width: calc(100% - 43.5rem);
}


.table-contents .table-contents__title {
    position: relative;
    padding: 2rem .5rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
}

.table-contents .table-contents__title:before {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    content: '';
    width: 20rem;
    height: .1rem;
    background: #1E1E1E;
}

.table-contents .table-contents-target {
    display: none;
}

.table-contents .table-contents__list {
    margin-top: .5rem;
}

.table-contents .table-contents__list a {
    display: flex;
    align-items: center;
    padding: 1.2rem 0 1.2rem .8rem;
}

.table-contents .table-contents__list .number {
    width: 2.5rem;
    font-size: 1rem;
    line-height: 1.3;
    font-family: var(--Lora);
    font-weight: 500;
    color: rgba(30, 30, 30, 0.8);
    height: 4.4rem;
    display: flex;
    align-items: flex-start;
}

.table-contents .table-contents__list .image {
    width: 6.4rem;
    aspect-ratio: 16 / 11;
}

.table-contents .table-contents__list .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-contents .table-contents__list .title {
    width: calc(100% - 8.9rem);
    padding-left: 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.667;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.contents-main .contents-main__item + .contents-main__item {
    margin-top: 5.4rem;
}

.contents-main .contents-main__item .contents-number {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 4rem;
    line-height: 1.275;
    letter-spacing: .08em;
    font-family: var(--Lora);
    font-weight: 400;
    font-style: italic;
    color: #1E1E1E;
    word-break: keep-all;
    white-space: nowrap;
    margin-bottom: 5.5rem;
}

.contents-main .contents-main__item .contents-number:before {
    width: 100%;
    height: .1rem;
    background: #000000;
    content: '';
}

.contents-main .contents-main__item .contents-box {
    width: 100%;
    max-width: 72rem;
}

.contents-main .contents-heading {
    font-size: 2.4rem;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 1.667;
    margin-bottom: 2.4rem;
}

.contents-main .contents-image {
    width: 100%;
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contents-main .contents-image figure {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.contents-main .contents-image figure img {
    width: 100%;
}

.contents-main .contents-text {
    font-size: 1.4rem;
    line-height: 2.285714285714286;
    letter-spacing: .04em;
    text-align: justify;
    margin-bottom: 2.4rem;
}

.contents-main .contents-text p + p {
    margin-top: 2.285714285714286em;
}

.contents-main .contents-text .icon {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-right: 1.4rem;
}


.contents-main .contents-flexbox {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.contents-main .contents-flexbox .contents-image {
    width: 28rem;
}

.contents-main .contents-flexbox .contents-text {
    width: calc(100% - 32rem);
}

.anchor-wrap {
    position: relative;
}

.anchor-wrap .anchor {
    position: absolute;
    top: -10rem;
    z-index: -1;
}


/*** スマホ 767px ~ ***/
@media only screen and (max-width : 767px){
    .contents-wrap {
        padding: 0 0 10rem;
        position: relative;
        display: block;
    }

    .contents-wrap .contents-side {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        margin-top: -6.7rem;
        margin-bottom: 4.5rem;
        padding-top: 0;
    }

    .contents-wrap .contents-main {
        width: 100%;
    }


    .table-contents .table-contents__title {
        width: 8rem;
        position: relative;
        padding: .5rem .6rem .4rem;
        font-size: 1rem;
        line-height: 1.4;
    }

    .table-contents .table-contents__title:before {
        width: 100%;
    }

    .table-contents .table-contents-target {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        cursor: pointer;
        background: url(../img/common/icon_down.svg) right .4rem center no-repeat;
        background-size: .6rem auto;
    }

    .table-contents .table-contents-target.is-active {
        transform: scaleY(-1);
    }


    .table-contents .table-contents__list {
        margin-top: .5rem;
        display: none;
    }

    .table-contents .table-contents__list a {
        display: flex;
        align-items: flex-start;
        padding: 1.2rem 0 1.2rem .8rem;
    }

    .table-contents .table-contents__list .number {
        width: 2.5rem;
        font-size: 1rem;
        line-height: 1.3;
        font-family: var(--Lora);
        font-weight: 500;
        color: rgba(30, 30, 30, 0.8);
    }

    .table-contents .table-contents__list .image {
        width: 6.4rem;
        aspect-ratio: 16 / 11;
    }

    .table-contents .table-contents__list .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .table-contents .table-contents__list .title {
        width: calc(100% - 8.9rem);
        padding-left: 1.2rem;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1.667;
        overflow : hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .contents-main .contents-main__item + .contents-main__item {
        margin-top: 5.4rem;
    }

    .contents-main .contents-main__item .contents-number {
        display: block;
        text-align: center;
        font-size: 1.4rem;
        margin-bottom: 3.8rem;
    }

    .contents-main .contents-main__item .contents-number:before {
        display: none;
    }

    .contents-main .contents-heading {
        font-size: 1.6rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .contents-main .contents-image {
        gap: 2rem;
        margin-bottom: 1.8rem;
    }

    .contents-main .contents-text {
        font-size: 1.2rem;
        line-height: 2;
        letter-spacing: 0;
        margin-bottom: 1.8rem;
    }

    .contents-main .contents-text p + p {
        margin-top: 2em;
    }


    .contents-main .contents-flexbox {
        display: block;
    }

    .contents-main .contents-flexbox .contents-image {
        width: 100%;
        margin-bottom: 2.4rem;
    }

    .contents-main .contents-flexbox .contents-text {
        width: 100%;
    }

    .anchor-wrap .anchor {
        top: -6rem;
    }
}

ruby {
    display: inline-block;
    position: relative;
}

ruby rb {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    transform: translate(-50%, -50%);
    word-break: keep-all;
    font-size: 70%;
}


