:root {
    --blue: #007aa8;
    --deep: #043e8d;
    --ink: #111;
    --font: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif
}

* {
    box-sizing: border-box
}



.for-you>h2 {
    text-align: center;
    font-size: 46px;
    letter-spacing: .16em;
    margin-bottom: 130px;
}

html {
    scroll-behavior: smooth
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    font-weight: 400;
    line-height: 2;
    letter-spacing: .08em;
    opacity: 0;
    animation: pageFadeIn 1.2s ease .3s forwards;
}
@keyframes pageFadeIn {
    to {
        opacity: 1;
    }
}

html,
body {
    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%
}
h1, h2, h3, p {
    margin-top: 0
}
h2, h3 {
    font-weight: 400
}
.section {
    width: min(1120px, calc(100% - 20px));
    margin-inline: auto
}
.hero {
    height: 813px;
    position: relative;
    overflow: hidden;
    background: #027cab url(../assets/header_bg_zindex1.jpg) center/cover no-repeat
}
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../assets/header_bg_zindex3d.png) center bottom/cover no-repeat;
    z-index: 3;
    pointer-events: none
}
.hero__side {
    position: absolute;
    z-index: 2;
    width: 214px;
    height: auto;
    object-fit: cover;
    opacity: .9;
		mix-blend-mode: multiply;
}
.hero__side--left {
    left: 0;
    top: 0;
		mix-blend-mode: multiply;
}
.hero__side--right {
    right: 0;
    top: 0;
		mix-blend-mode: multiply;
}
.hero__copy {
    position: absolute;
    z-index: 4;
    width: min(650px, 52vw);
    height: auto;
    left: 50%;
    top: 280px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: heroCopyPop 1.03s cubic-bezier(.19,1,.22,1) 1.2s forwards;
}
@keyframes heroCopyPop {
    0% {
        transform: translate(-50%, -50%) scale(.15);
        opacity: 0;
    }
    66% {
        
    }
    99% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
.hero__scroll {
    position: absolute;
    z-index: 5;
    bottom: 24px;
    left: 50%;
    color: #fff;
    font: 11px sans-serif;
    letter-spacing: .28em;
    writing-mode: vertical-rl
}
.intro {
    min-height: 1330px;
    position: relative;
    padding-top: 150px;
	margin-bottom: 200px;
}
.vertical {
    writing-mode: vertical-rl
}
.tcy {
    text-combine-upright: all;
    letter-spacing: normal;
    position: relative;
    right: 3.45px;
	margin-top: 4px;
}
.intro__body .tcy {
    right: 0;
    margin-top: 0;
}
.intro__lead {
    position: absolute;
    left: 50%;

    font-size: 42px;
    line-height: 1.7;
    font-weight: 500;

}
.intro__text {
    position: absolute;
    left: calc(50% - 440px);

	line-height: 1.8;
    font-size: 20px
}
.intro__body {
    position: absolute;
    left: calc(50% + 170px);
    right: auto;
line-height: 1.8;
    font-size: 28px
}


.intro__lead,
.intro__text,
.intro__body {
    top: 400px;
    transform: translateY(-50%);
}

.intro__lead {
    transform: translate(-50%, -50%);
}


.book-stage {
    position: absolute;
    left: 50%;
    top: 825px;
    transform: translateX(-50%);
    width: 100%;
    height: 500px;
	margin-top: 50px;
}
.book-stage__book {
    position: absolute;
    width: 350px;
    left: calc(50% - 270px);
    top: 0;
    z-index: 2;
}


.book-stage__sea-wrap {
    position: absolute;
width: 180px;
    left: calc(50% - 500px);
    top: 85px;
    text-align: center;
}

.book-stage__sea {
    position: static;
    width: 100%;
}

.book-stage__sea-text {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
}

.book-stage__attention {
position: absolute;
    width: 180px;
    right: 460px;
    z-index: 3;
    mix-blend-mode: multiply;
    top: -140px;
}

.book-stage__sea-text sup {
    font-size: 14px;
    vertical-align: super;
}

.book-data {
    position: absolute;
    left: calc(50% + 120px);
    top: -15px;
    width: 380px;
    font-size: 13px;
    line-height: 1.6;
}
.book-data div {
	margin-bottom: 5px;
}
.book-data dt {
    width: 54px;
    font-weight: 700
}
.book-data dd {
    margin: 0;
    flex: 1
}
.panorama {
    height: 450px;
    background: url(../assets/01_bg.jpg) center/cover no-repeat
}
.story {
    padding: 150px 0 130px
}
.story>h2 {
    text-align: center;
    font-size: 46px;
    letter-spacing: .16em;
    margin-bottom: 130px
}
.story-row {
    display: grid;
    align-items: center;
    margin-bottom: 120px;
    gap: 9%;
}
.story-row img {
    width: 100%;
    height: auto;
}
.story-row--one {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: max(20px, calc((100vw - 1120px) / 2));

        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0px;
    }


   .story-row--one .story-copy:not(.story-row--one__overlay) {
        order: 1;
        flex: 0 0 320px;
        width: 320px;
        min-width: 320px;
        align-self: flex-start;
    }

    /* 右端の写真（常にウインドウ右端にフィットし、狭い画面ではstory-copyを優先して縮小） */
    .story-row--one__media {
        order: 2;
        flex: 1 1 0%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .story-row--one__media img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 2048 / 1388;
        object-fit: cover;
    }
    /* 写真の下端に少しだけ重なる「なぜ洗剤を作ることになったのか」 */
    .story-row--one__overlay {
            margin-top: -15%;
        align-self: flex-end;
        flex: none;
        width: auto;
        min-width: 0;
        padding-right: 30%;
    }


.story-row--two {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    width: 92%;
    margin-left: 3%
}
.story-row--two img {
    flex: 0 0 410px;
    width: 410px;
    margin-top: 0px;
}
.story-row--two .story-copy--pre {
    margin-top: 0px;
}
.story-row--three {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
/* 右の写真（開発風景=photo03）はページ右端。左の写真と同じ比率で縮小 */
.story-row--three img:first-child {
    order: 3;
    flex: 1 1 400px;
    min-width: 0;
    height: auto;
    object-fit: contain;
    margin-top: 199px;
}

/* 左の写真（登山=photo04）はページ左端。右の写真と同じ比率で縮小 */
.story-row--three img:last-child {
    order: 1;
    flex: 1 1 329px;
    min-width: 0;
    height: auto;
    object-fit: contain;
}

.story-row--three .story-copy {
    order: 2;
    flex: 0 0 auto;
    margin-top: 121px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 70px;
}

    .story-row .story-copy {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
    }

    /* 本文を左側 */
    .story-row .story-copy p {
        order: 1;
        writing-mode: vertical-rl;
        margin: 0;
        float: none;
        line-height: 1.8;

        max-height: none;
    }

    /* 見出しを右側 */
    .story-row .story-copy h3 {
        order: 2;
        writing-mode: vertical-rl;
        margin: 0;
        float: none;
        font-size: 27px;
        line-height: 1.1;

        min-height: 180px;
    }
.handoff {
    position: relative;
    height: 825px;
    background: url(../assets/02_bg.jpg) center/cover no-repeat;
}
.handoff__card {
    position: absolute;
    left: calc(50% - 420px);
    top: 168px;
    width: 460px;
    height: 460px;
    background: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.handoff__card h2 {
    writing-mode: vertical-rl;
font-size: 26px;

    margin: 0;
    align-self: flex-start;
    margin-top: 60px;
}
.handoff__list {
    writing-mode: vertical-rl;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
        line-height: 2;

}
.handoff__list li {
    margin: 0;
}
.handoff__book {
    position: absolute;
    left: calc(50% - 50px);
    top: 135px;
    width: 120px;
    z-index: 2;
}
.for-you {
    padding: 160px 0 190px
}
.for-you__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
}
.for-you__title span {
    width: 1px;
    height: 95px;
    background: #222
}
.for-you__title h2 {
    writing-mode: vertical-rl;
    font-size: 25px;
    letter-spacing: .15em;
    margin: 0
}
.for-you__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 70px
}
.for-you__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px
}
.for-you__col--left img {
    width: 320px
}
.for-you__col--right img {
    width: 260px
}
.for-you__quote {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    font-size: 16px;
    line-height: 2.2;

}
.for-you__quote p {
    writing-mode: vertical-rl;
    margin: 0;
}
.for-you__quote small {
    writing-mode: vertical-rl;
    display: block;
    font: 10px sans-serif;
    letter-spacing: 0;
    margin-right: 20px;
}
.footer {
    background: #064191 url(../assets/fotter_bg.jpg) center/cover no-repeat;
    color: #fff;
    padding: 105px 40px
}
.footer__inner {
    width: min(635px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: center
}
.footer__inner>img {
    width: 230px;
	margin-top: 20px;
}
.footer h2 {
    font-size: 18px;
    margin-bottom: 14px
}
.reserve {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    color: #006fb0;
	background-color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    margin-bottom: 25px;
		border-radius: 5px;
}
.reserve small {
    font: 10px sans-serif;
    letter-spacing: .12em
}
.is-disabled {

}
.footer blockquote {
    margin: 0;
    font-size: 12px;
    line-height: 1.9
}
.source {
    font-size: 12px
}
.publisher {
    font-size: 12px;
    margin: 24px 0 0
}
.publisher a {
    color: #fff
}
.fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s, transform .9s
}
.fade.is-show {
    opacity: 1;
    transform: none
}

.first-story{
	margin-bottom: 0px;
}

.booktitle01{
	font-size: 16px;
	font-weight: bold;
}

.sp_only{
		display: none;
}

.proftitle{
	margin-bottom: 5px;
	font-size:16px;
	display: block;
	font-weight: bold;
}

.footer__wrap{
	width: 100%;
	margin: 0 auto;
	text-align: center;
	margin-bottom:50px;
}

.footer__wrap img{
	width: 436px;
	height: auto;
	margin: 0 auto;
}

.ellipsis {
  text-orientation: upright;
}

.footwrap{
	    background-color: #f1eee8;
	width: 100%;
	padding: 4% 0;
}

.btminfo{
	display: flex;
	gap:40px;
	width: 840px;
	margin: 0 auto;
	align-items: center;
}

.btminfo img{
	width: 210px;
	height: auto;
}

.btmtitle{
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 8px;
}

.btmtext{
	font-size: 14px;
	line-height: 1.5;
}

.line-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.1em;
    min-width: 240px;
    margin-top: 24px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #006fb0;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
	font-family:"zen-kaku-gothic-new", sans-serif;
}

.footcopy{
	width: 100%;
	text-align: center;
	padding: 4% 0 0 0;
	font-size: 14px;
}

.ellipsis-v { display: inline; }
.ellipsis-h { display: none; }

@media(max-width:767px) {
	
  .ellipsis-v { display: none; }
  .ellipsis-h { display: inline; }
	
	.btminfo{
	display:block;
	width: 94%;
	margin: 0 auto;
	align-items: center;
		text-align: center;
		padding-top: 4%;
}
	
	.btminfo img{
	width: 120px;
	height: auto;
		margin: 0 auto;
}
	
	.btmtitle {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
		margin-top: 10px;
}
	
	
	.booktitle01,.booktitle02{
		text-align: center;
	}
	
	.kimprof{
		padding: 4%;
		background-color: #f1eee8;
		border-radius: 5px;
		line-height: 2;
	}
	

.footer__wrap img{
	width: 90%;
	height: auto;
	margin: 0 auto;
}
	
	.proftitle{
	font-size:20px;
		margin-bottom: 15px;
		text-align: center;
}

    .book-stage__sea-text {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .book-stage__sea-text sup {
        font-size: 9px;
    }
	
    body {
        line-height: 1.9;
        letter-spacing: .04em
    }
    .section {
        width: calc(100% - 40px)
    }
    .hero {
        height: 600px;
        background-position: center
    }
    .hero:after {
        background-size: auto 100%;
        background-position: center bottom
    }
    .hero__side {
        width: 105px;
        opacity: .42
    }
    .hero__side--left {
        left: -35px
    }
    .hero__side--right {
        right: -35px
    }
    .hero__copy {
        width: 90vw;
        top: 200px;
    }
    .intro {
        min-height: auto;
        padding: 70px 0 30px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
		margin-bottom: 70px;
    }
    .intro__lead, .intro__text, .intro__body, .book-stage {
        position: static;
        transform: none
    }
    .intro__lead {
        writing-mode: vertical-rl;
        font-size: 24px;
        line-height: 1.5;
        letter-spacing: 0em;
        order: 2
    }
	
	.for-you__quote {
    letter-spacing: 0em;
		margin-bottom: 15px;
}
	
	
    .intro__text {
        writing-mode: vertical-rl;
        font-size: 17px;
        line-height: 1.6;
        order: 1;
        letter-spacing: .2em;
		  font-feature-settings: "vert" 1;
  -webkit-font-feature-settings: "vert" 1;
    }
    .intro__body {
        writing-mode: vertical-rl;
        font-size: 17px;
        line-height: 1.6;
        order: 0;
			letter-spacing: .3em;
    }
    .book-stage {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 20px;
        align-items: start;
        padding-top: 0px;
			    margin-top: 0px;
    }
    .book-stage__book, .book-stage__sea, .book-stage__attention, .book-data {
        position: static
    }
    .book-stage__book {
        width: 180px;
        grid-column: 2;
        grid-row: 1/3
    }
    .book-stage__sea {
        width: 90px;
        grid-column: 1;
        grid-row: 1
    }
    .book-stage__attention {
        width: 110px;
        grid-column: 1;
        grid-row: 2
    }
    .book-data {
        grid-column: 1/3;
        width: 100%;
        font-size: 14px;
        margin-top: 20px;
		line-height: 1.7;
    }
    .panorama {
        height: 230px
    }
    .story {
        padding: 85px 0
    }
    .story>h2 {
        font-size: 35px;
        margin-bottom: 70px
    }
    .story-row, .story-row--one, .story-row--two, .story-row--three {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 25px
    }
    .story-row--two .story-copy {
        order: 1
    }
    .story-row--two .story-copy--pre {
        text-align: left
    }
    .story-row--three .story-copy {
        margin-top: 0
    }
    .story-row--three img {
        height: 260px !important
    }
    .story-row img {
        height: auto !important
    }
    .story-row .story-copy h3, .story-row .story-copy p {
        writing-mode: horizontal-tb;
        float: none;
        min-height: 0;
        max-height: none;
        letter-spacing: normal;
        margin: 0 0 14px
    }
    .story-copy h3 {
        font-size: 18px
    }
    .story-copy p {
        font-size: 15px
    }
    .for-you {
        padding: 90px 0
    }
    .handoff {
        height: auto;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .handoff__book {
        order: 1;
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        width: 140px;
        margin: 0 0 -50px;
    }
    .handoff__card {
        order: 2;
        position: static;
        width: 100%;
        height: auto;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        padding: 50px 20px 30px;
    }
    .handoff__card h2 {
        order: 1;
        writing-mode: horizontal-tb;
        text-align: center;
        font-size: 24px;
        letter-spacing: normal;
        margin: 0;
        align-self: center;
    }
    .handoff__list {
        order: 2;
        writing-mode: horizontal-tb;
        text-align: center;
        font-size: 14px;
        line-height: 1.9;
        letter-spacing: normal;
    }
    .handoff__list li {
        margin: 0 0 4px;
    }
    .for-you__grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
    }
    .for-you__title {
        order: 2;
        margin-bottom: 0;
    }
    .for-you__title span {
        display: none;
    }
    .for-you__title h2 {
        font-size: 22px;
    }
    .for-you__col--left img{
        display: none;
    }
    .for-you__col--right {
        order: 1;
        gap: 0;
    }
    .for-you__col--left {
        order: 3;
        flex-basis: 100%;
        gap: 0;
    }
    .for-you__quote {
        font-size: 14px;
        line-height: 2;
    }
    .footer {
        padding: 80px 20px
    }
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 20px
    }
    .footer__inner>img {
        width: 180px;
        margin: auto
    }
    .footer h2 {
        text-align: center
    }
    .reserve {
        display: flex;
        justify-content: center
    }
    .intro br {
    }
	
		    .book-stage__sea-wrap {
        position: static;
        width: 110px;
        grid-column: 1;
        grid-row: 1 / 3;
    }
	
	    .story-row .story-copy {
        display: flex;
        flex-direction: column;
        gap: 25px;
			font-feature-settings: normal;
-webkit-font-feature-settings: normal;
    }

    .story-row .story-copy h3,
    .story-row .story-copy p {
        order: initial;
        writing-mode: horizontal-tb;
        letter-spacing: normal;
        margin: 0;
		font-feature-settings: normal;
-webkit-font-feature-settings: normal;
    }
	
	
	/* モバイルではphoto03（開発風景）は非表示 */
	.story-row--three img:first-child {
    display: none;
}
	.story-row--three img:last-child {
    order: 1;
}
	
	.hero__side--left,.hero__side--right{
		display: none;
	}
	
	.booktitle01 {
    font-size: 20px;
}
	
	.story-row--one .story-copy:not(.story-row--one__overlay) {
    flex: 1;
	}
	
	.story-row--one__overlay {
		margin-top: 25px;
	}
	
	.story-row--one__overlay {
    padding-right: 0;
}
	
	.story-row--one {
    padding-left: 0;
}
	
	.story-row .story-copy h3 {
    font-size: 22px;
}
	
	.story-row--one__overlay {
    align-self: flex-start;
}
	
	.intro__text p,.intro__body p{
		margin: 0;
		padding: 0;
	}
	
	.pc_only{
		display: none;
	}
	.sp_only{
		display: block;
	}
	
	
	.for-you__col--left{
		margin-top: 30px;
	}
	
	.story-row--two img {
    flex: 1;
		margin-top: 50px;
}
	
	.story-row--three img:last-child {
    flex: 1;
		margin-top: 50px;
}
	
	.sp_book{
		        grid-column: 1 / 3;
		display: flex;
        width: 100%;
        height: auto;
	}
	
	.for-you>h2 {
    margin-bottom: 50px;
}
	

}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    .fade {
        transition: none
    }
}


.vertical,
.intro__lead,
.story-copy,
.for-you__title h2,
.for-you__quote p {
  text-orientation: mixed;

  font-feature-settings: "vert" 1;
  -webkit-font-feature-settings: "vert" 1;
	letter-spacing: .15em;
}