@charset "UTF-8";

:root {
  --deep: #17474c;
  --pale: #eaf5f7;
  --blue: #5c72bd;
  --text: #333;
  --font: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
}

h1, h2 {font-weight: 500;}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.9; letter-spacing: .04em; background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.sp, .sp-title {display: none;}
br.sp {display: block;}

.site-header { position: fixed; z-index: 50; top: 42px; left: 56px; right: 56px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.site-header--dark { color: #111; }
.site-header__logo { font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.site-header__menu { width: 38px; height: 22px; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
.site-header__menu span { display: block; height: 1px; margin-left: auto; background: currentColor; }
.site-header__menu span:first-child { width: 38px; }
.site-header__menu span:last-child { width: 24px; margin-top: 12px; }

.global-menu { position: fixed; z-index: 100; inset: 0 0 0 auto; width: 360px; padding: 128px 0 0 78px; color: #fff; background: rgba(23,71,76,.92); transform: translateX(100%); transition: transform .35s ease; }
.global-menu.is-open { transform: translateX(0); }
.global-menu__close { position: absolute; top: 46px; right: 58px; width: 56px; height: 56px; border: 0; background: transparent; cursor: pointer; }
.global-menu__close::before, .global-menu__close::after { content: ""; position: absolute; top: 27px; left: 0; width: 70px; height: 1px; background: #fff; }
.global-menu__close::before { transform: rotate(45deg); }
.global-menu__close::after { transform: rotate(-45deg); }
.global-menu__list { list-style: none; padding: 0; margin: 0; }
.global-menu__list a { display: block; margin-bottom: 28px; font-size: 28px; font-weight: 700; }

/* TOP */
.kv { position: relative; height: 850px; overflow: hidden; color: #fff; background: var(--deep); }
.kv__movie, .kv__movie iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.kv__movie iframe { pointer-events: none; border: 0; transform: scale(1.18); }
.kv__overlay { position: absolute; inset: 0; background: rgba(23,71,76,.6); }
.kv__line-art { position: absolute; left: 0; top: 0; width: 57%; opacity: .68; }
.kv__content { position: absolute; top: 315px; right: 180px; width: 430px; }
.kv__title { margin: 0 0 32px; font-size: 34px; line-height: 1.3; font-weight: 700; }
.kv__text { margin: 0 0 66px; line-height: 3; }
.kv__links { display: flex; gap: 44px; }

.text-link { position: relative; display: inline-block; min-width: 150px; padding: 0 0 14px 28px; font-weight: 700; }
.text-link::before { content: "▷"; position: absolute; left: 0; top: 0; font-size: 10px; }
.text-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; opacity: .8; }
.text-link--dark { color: #333; font-size: 12px; }

.works__inner, .works__heading, .works__body-inner { width: min(1360px, calc(100% - 80px)); margin: 0 auto; }
.works__inner__illust { width: min(1600px, calc(100% - 80px)); margin: 0 0 0 160px; }
.works--illustration { padding: 145px 0 120px; }
.section-title { margin: 0; font-size: 40px; line-height: 1; font-weight: 500;}
.illust-slider { display: grid; grid-template-columns: 300px 500px 300px 300px; gap: 36px; align-items: center; }
.illust-card img { width: 100%; border-radius: 10px; }
.illust-card p { margin: 14px 0 0; font-size: 11px; text-align: center; }
.illust-card--large img { aspect-ratio: 1 / 1.08; object-fit: cover; }

.works--web, .works--video { padding: 0 0 120px; background: #fff; }
.works__heading { padding-bottom: 56px; }
.works__heading .section-title { margin: 0; text-align: left; }
.works--web .works__body, .works--video .works__body { background: linear-gradient(to bottom, var(--pale) 0 78%, #fff 78% 100%); padding: 96px 0 0; }
.works__body-inner--web { display: grid; grid-template-columns: 320px 360px 500px; gap: 80px; align-items: start; }
.works__body-inner--video { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }
.works__lead p { margin: 0 0 64px; font-size: 14px; line-height: 2.1; }
.web-card, .video-card, .graphic-card { text-align: center; }
.web-card h3, .video-card h3, .graphic-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.web-card p, .video-card p, .graphic-card p { margin: 0 0 30px; font-size: 12px; line-height: 1.5; }
.web-card img { display: block; margin: 0 auto; border-radius: 10px; }
.web-card--sp img { width: 345px; }
.web-card--pc img { width: 520px; }

.works--graphic { padding: 140px 0 140px; background: #fff; }
.works__inner--graphic { display: grid; grid-template-columns: 360px 520px 520px; gap: 70px; align-items: start; }
.works--graphic .works__lead .section-title { margin: 0 0 120px; text-align: left; }
.graphic-card img { width: 520px; margin: 0 auto 34px; }

.video-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.video-card iframe { display: block; width: 100%; height: 540px; border: 0; border-radius: 14px; background: #d9d9d9; }
.site-footer { padding: 70px 0 90px; text-align: center; }
.site-footer img { width: 180px; margin: 0 auto; }

/* CHARACTER */
.character-hero { width: 100%; background: var(--pale); border-radius: 0 0 56px 56px; overflow: hidden; }
.character-hero__inner { position: relative; width: min(1360px, calc(100% - 80px)); height: 880px; margin: 0 auto; }
.character-hero__title { position: absolute; left: 20%; top: 255px; z-index: 2; color: #5c72bd; }
.character-hero__jp { margin: 0; font-size: 70px; line-height: 1.15; font-weight: 500; letter-spacing: .12em; }
.character-hero__en { margin: 26px 0 0; font-size: 12px; letter-spacing: .5em; }
.character-hero__image { position: absolute; right: 12%; bottom: 130px; width: min(625px, 52vw); max-width: none; }

.breadcrumb { width: min(1360px, calc(100% - 160px)); margin: 22px auto 96px; font-size: 10px; color: #6b7fc6; }
.breadcrumb a::after { content: "/"; margin: 0 12px; color: #aaa; }

.character-section__inner { position: relative; width: min(1040px, calc(100% - 160px)); margin: 0 auto; }
.character-section__heading span, .character-story span { display: block; margin-bottom: 28px; color: #5f74c5; font-size: 13px; font-weight: 700; letter-spacing: .26em;}
.character-section__heading h1, .character-section__heading h2, .character-story h2 { margin: 0; font-size: 44px; line-height: 1.5; }

.character-section--coffee { position: relative; padding: 0; background: linear-gradient(to bottom, #fff 0 300px, var(--pale) 300px 100%); border-radius: 0 0 0 56px; }
.character-section--coffee .character-section__inner { display: grid; grid-template-columns: 260px 1fr 160px; column-gap: 40px; align-items: start; }
.character-section--coffee .character-section__heading { grid-column: 1 / 2; }
.character-section--coffee .character-section__body { grid-column: 2 / 3; margin: 54px 0 0; font-size: 12px; }
.character-section__mini { grid-column: 3 / 4; width: 130px; margin-top: 24px; }
.character-movie { grid-column: 2 / 3; width: 100%; height: 330px; margin-top: 52px; background: #d9d9d9; }
.character-movie iframe { display: block; width: 100%; height: 100%; border: 0; }
.character-section--coffee::before, .character-section--coffee::after { content: ""; position: absolute; z-index: 1; background-repeat: no-repeat; background-size: contain; background-position: center; pointer-events: none; }
.character-section--coffee::before { left: calc(50% - 520px); top: 510px; width: 150px; height: 220px; background-image: url("../img/character/picture-book-left.png"); }
.character-section--coffee::after { right: calc(50% - 520px); top: 390px; width: 180px; height: 180px; background-image: url("../img/character/picture-book-right.png"); }
.button-row { grid-column: 2 / 3; display: flex; gap: 14px; justify-content: center; margin-top: 50px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-width: 200px; height: 50px; border-radius: 30px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 700; }
.button--outline { background: #fff; border: 1px solid var(--blue); color: var(--blue); }
.sns-grid { grid-column: 1 / 4; display: flex; justify-content: center; gap: 26px; margin-top: 116px; padding-bottom: 110px; }
.sns-grid a { width: 150px; }
.sns-grid span { display: block; margin-bottom: 8px; color: #5f74c5; font-size: 11px; font-weight: 700; }
.sns-grid img { border-radius: 8px; }

.character-section--product { width: 100%; padding: 220px 0 0; background: linear-gradient(to bottom, var(--pale) 0 75%, #fff 75% 100%); border-radius: 56px 0 0 56px; overflow: hidden; }
.character-section__inner--product { width: min(1360px, calc(100% - 80px)); max-width: none; display: grid; grid-template-columns: 260px 300px minmax(520px, 1fr); column-gap: 56px; align-items: start; }
.character-section--product .character-section__heading { grid-column: 1 / 2; }
.character-section--product .character-section__body { grid-column: 2 / 3; margin: 54px 0 0; font-size: 16px; line-height: 2.35;}
.product-main { grid-column: 3 / 4; grid-row: 1 / 5; width: calc(80% + 40px); max-width: none; justify-self: end; border-radius: 16px 0 0 16px; }
.product-thumbs { grid-column: 1 / 3; display: flex; gap: 28px; margin-top: 82px; }
.product-thumbs img { width: 300px; border-radius: 14px; }
.character-section--product .button { grid-column: 1 / 3; justify-self: center; margin-top: 36px; }

.character-story { width: 100%; padding: 250px 0 0; overflow: hidden; }
.character-story__inner { width: min(1020px, calc(100% - 160px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 520px; gap: 60px; align-items: center; }
.character-story h3 { margin: 80px 0 10px; color: #5f74c5; font-size: 22px; line-height: 1.8; letter-spacing: 0.2em; font-weight: 500;}
.character-story p { font-size: 16px; line-height: 2.5; letter-spacing: 0.1em; font-weight: 300;}
.story-gallery { width: calc(100% - 48px); margin: 260px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story-gallery__item--calendar, .story-gallery__item--bag { grid-column: auto; grid-row: auto; border-radius: 14px; }
.story-gallery__item--bread { grid-column: 1 / 3; grid-row: auto; border-radius: 0; }
.story-gallery__item--cafe { grid-column: 1 / 3; grid-row: auto; border-radius: 0 14px 14px 0; }
.story-bottom { width: calc(100% - 48px); margin: -20px auto 0; padding: 88px 0 70px; background: var(--pale); }
.story-bottom img { width: 120px; }

@media (max-width: 767px) {
  .sp {
    display: block;
    width: 44%;
    margin: 0 auto;
  }
  .sp-title{
    display: block;
    width: 100%;
    margin: 0 auto;
  }
  br.sp {
    display: none;
  }
  .pc {display: none;}
  body { font-size: 13px; }
  .site-header { top: 24px; left: 20px; right: 20px; }
  .site-header__logo { font-size: 10px; }
  .site-header__menu { width: 24px; }
  .site-header__menu span:first-child { width: 24px; }
  .site-header__menu span:last-child { width: 16px; margin-top: 8px; }
  .global-menu { width: 100%; padding: 120px 0 0 42px; background: #789899; }
  .global-menu__close { top: 24px; right: 32px; }

  .kv { height: 568px; }
  .kv__movie iframe { transform: scale(2.8); }
  .kv__line-art { top: auto; bottom: -50px; left: 0px; width: 50%; }
  .kv__content { top: 140px; right: 0; left: 0px; width: calc(100% - 80px); margin: 0 auto;}
  .kv__title { font-size: 22px; margin-bottom: 26px; text-align: center;}
  .kv__text { font-size: 14px; line-height: 2.6; margin-bottom: 26px; text-align: center;}
  .kv__links { gap: 36px; }
  .text-link { width: 100%; font-size: 14px; margin: 0 auto;}
  .text-link::after { width: 100%; }
  .text-link::before { content: "▷"; position: absolute; left: 0; top: 6px; font-size: 10px; }
  .kv__links .text-link { width: 90%; }

  .works__inner, .works__heading, .works__body-inner { width: calc(100% - 48px); }
  .works__inner__illust { width: calc(100% - 40px); margin: 0 auto;}
  .works__heading {padding-bottom: 0px;}
  .works--illustration { padding: 70px 0 80px; }
  .section-title { margin-bottom: 20px; font-size: 32px; text-align: center; }
  .illust-slider, .video-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 50px; }
  .illust-card, .video-card { flex: 0 0 170px; scroll-snap-align: center; }
  .illust-card--large { flex-basis: 250px; }
  .works--web, .works--video { padding: 0 0 10px; }
  .works--web .works__body, .works--video .works__body { background: var(--pale); padding: 60px 0 70px; }
  .works__body-inner--web, .works__body-inner--video, .works__inner--graphic { display: block; }
  .works__heading .section-title, .works--graphic .works__lead .section-title { text-align: center; }
  .works--graphic .works__lead .section-title {margin:0 0 28px 0px;}
  .works--graphic { padding: 80px 0 60px;}
  .works__lead { text-align: center; margin-bottom: 42px; }
  .works__lead p, .works works--graphic .works__lead p { width: 90%; margin: 0 auto 50px; text-align: left; font-size: 14px; font-weight: 300;}
  .web-card, .graphic-card { margin-bottom: 46px; }
  .web-card p, .video-card p, .graphic-card p { margin: 0 0 20px;}
  .web-card h3, .video-card h3 { font-size: 20px; }
  .web-card p, .video-card p { margin-bottom: 20px; font-size: 14px; }
  .web-card--sp img, .web-card--pc img, .graphic-card img { width: min(300px, 100%); }
  .video-card iframe { height: 300px; }
  .site-footer { padding: 20px 0; }

  .character-hero { border-radius: 0 0 24px 24px; }
  .character-hero__inner { width: 100%; height: 400px; padding: 72px 22px 28px; }
  .character-hero__title { left: 10%; top: 130px; }
  .character-hero__jp { font-size: 34px; }
  .character-hero__en { margin-top: 14px; font-size: 8px; }
  .character-hero__image { right: 6%; bottom: 36px; width: 70%; }
  .breadcrumb { display: none; }

  .character-section__inner, .character-story__inner { width: calc(100% - 48px); }
  .character-section--coffee { padding: 66px 0 0; background: linear-gradient(to bottom, #fff 0 320px, var(--pale) 320px 100%); border-radius: 0 0 0 26px; }
  .character-section--coffee .character-section__inner { display: block; }
  .character-section--coffee::before, .character-section--coffee::after, .character-section__mini { display: none; }
  .character-section__heading h1, .character-section__heading h2, .character-story h2 { font-size: 44px; line-height: 1.25; letter-spacing: .08em;}
  .character-section--coffee .character-section__body { margin: 24px 0 30px; }
  .character-movie { width: 100%; height: 210px; margin-top: 28px; }
  .button-row { margin-top: 18px; }
  .sns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 62px; padding-bottom: 70px; }
  .sns-grid a { width: auto; }

  .character-section--product {padding: 0; border-radius: 0 0 0px 26px; background: linear-gradient(to bottom, var(--pale) 0 80%, #fff 80% 100%); }
  .character-section--product .button {display: block; margin: 30px auto; text-align: center; line-height: 50px; width: 70%;}
  .character-section__inner--product { width: calc(100% - 48px); display: block; }
  .product-main { width: calc(90% + 24px); margin: 28px -40px 24px auto; border-radius: 14px 0 0 14px; }
  .product-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
  .product-thumbs img { width: 100%; }

  .character-story { padding-top: 80px; }
  .character-story h3 { font-size: 16px; margin: 40px 0 10px;}
  .character-story p { font-size: 13px; line-height: 2.5; letter-spacing: 0.1em; font-weight: 300;}
  .character-story__inner { display: block; }
  .character-story__inner img { margin-top: 40px; }
  .story-gallery { width: calc(85% - 48px); margin: 60px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .story-gallery__item--calendar, .story-gallery__item--bag { grid-column: auto; grid-row: auto; border-radius: 14px; }
  .story-gallery__item--bread { grid-column: 1 / 3; grid-row: auto; border-radius: 0; }
  .story-gallery__item--cafe { grid-column: 1 / 3; grid-row: auto; border-radius: 0 14px 14px 0; }
  .story-bottom { width: calc(100% - 48px); margin: 60px auto 0 auto; padding: 10px 0 10px; background: var(--pale); }
  .story-bottom img { width: 160px; }
}


/* =========================================================
   PICTURE BOOK FULL FIX - MUST BE AT END
   grid不使用 / PC指定：動画910px・左240px・右300px・上260px
   ========================================================= */

.character-section--coffee {
  position: relative !important;
  padding: 0 !important;
  background: linear-gradient(to bottom, #fff 0 480px, var(--pale) 480px 100%) !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

.picture-book {
  position: relative;
  width: 100%;
  min-height: 1010px;
}

.picture-book__head {
  position: relative;
  width: min(1120px, calc(100% - 80px));
  height: 290px;
  margin: 0 auto;
}

.picture-book__title-block {
  position: absolute;
  left: 0;
  top: 0;
}

.picture-book__label {
  display: block;
  margin-bottom: 38px;
  color: #5f74c5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .26em;
}

.picture-book__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: .08em;
}

.picture-book__text {
  position: absolute;
  left: 340px;
  top: 62px;
  margin: 0;
  font-size: 16px;
  line-height: 2.35;
  letter-spacing: .06em;
}

.picture-book__mini {
  position: absolute;
  right: 0;
  top: -72px;
  width: 260px;
  max-width: none;
}

.picture-book__body {
  position: relative;
  width: 100%;
  height: 610px;
}

.picture-book__movie {
  position: absolute;
  left: 50%;
  top: 0;
  width: 800px;
  height: 452px;
  transform: translateX(-50%);
  background: #d9d9d9;
  z-index: 2;
}

.picture-book__movie iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #d9d9d9;
}

.picture-book__cover {
  position: absolute;
  left: calc(45% - 675px);
  top: 330px;
  width: 240px;
  max-width: none;
  z-index: 3;
  border-radius: 10px;
}

.picture-book__image {
  position: absolute;
  left: calc(50% + 530px);
  top: 88px;
  width: 300px;
  max-width: none;
  z-index: 3;
  border-radius: 10px;
}

.picture-book__buttons {
  position: absolute;
  left: 50%;
  top: 550px;
  display: flex;
  justify-content: center;
  gap: 18px;
  transform: translateX(-50%);
  z-index: 4;
}

.picture-book .sns-grid {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 210px auto 0;
  padding-bottom: 0px;
}

.picture-book .sns-grid a {
  width: 300px;
}

.picture-book .sns-grid span {
  display: block;
  margin-bottom: 8px;
  color: #5f74c5;
  font-size: 11px;
  font-weight: 700;
}

.picture-book .sns-grid img {
  border-radius: 8px;
}

/* old parts hidden */
.character-section--coffee::before,
.character-section--coffee::after,
.character-section__mini,
.character-movie {
  display: none !important;
}

@media (max-width: 767px) {
  
  .character-section--coffee {
    background: linear-gradient(to bottom, #fff 0 390px, var(--pale) 390px 100%) !important;
  }
  
  .picture-book {
    min-height: auto;
    padding: 66px 0 0;
  }

  .picture-book__head {
    width: calc(100% - 48px);
    height: auto;
    margin: 0 auto;
  }

  .picture-book__title-block,
  .picture-book__text,
  .picture-book__mini {
    position: static;
  }

  .picture-book__label, .character-section__heading span, .character-story span {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .picture-book__title, .character-section__heading h1, .character-section__heading h2, .character-story h2 {
    font-size: 24px;
  }

  .picture-book__text {
    margin-top: 30px;
    font-size: 13px;
    line-height: 2.1;
    font-weight: 300;
  }
  
  .character-section--product .character-section__body {
    margin-top: 30px;
    font-size: 13px;
    line-height: 2.1;
    font-weight: 300;
  }
  
  .picture-book__mini {
    display: none;
  }

  .picture-book__body {
    width: calc(96% - 48px);
    height: auto;
    margin: 30px auto 0;
  }

  .picture-book__cover,
  .picture-book__image {
    display: none;
  }

  .picture-book__movie {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 210px;
    transform: none;
  }

  .picture-book__buttons {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 30px;
    transform: none;
  }
  .picture-book__buttons .button {
    min-width:160px;
    font-size: 16px;
  }

  .picture-book .sns-grid {
    width: calc(100% - 48px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 100px;
    padding-bottom: 100px;
  }

  .picture-book .sns-grid a {
    width: auto;
  }
}
/* =========================================================
   FINAL GALLERY FIX
   PC: gridを使わずabsolute配置で複雑なレイアウトに対応
   SP: sp-gallery.png 1枚画像のみ表示
   ========================================================= */

.story-gallery {
  position: relative;
  width: min(1560px, calc(100% - 70px));
  height: 980px;
  margin: 240px auto 0;
  display: block;
}

.story-gallery__item {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
}

.story-gallery__item--calendar {
  left: 95px;
  top: 0;
  width: 270px;
  border-radius: 16px;
}

.story-gallery__item--bag {
  left: 425px;
  top: 115px;
  width: 270px;
  border-radius: 16px;
}

.story-gallery__item--bread {
  right: -40px;
  top: 100px;
  width: 720px;
  border-radius: 0;
}

.story-gallery__item--cafe {
  left: -40px;
  top: 525px;
  width: 560px;
  border-radius: 0 16px 16px 0;
}

.story-bottom {
  width: 100%;
  margin: -160px auto 0;
  padding: 190px 0 40px;
  background: var(--pale);
  text-align: center;
}

.story-bottom img {
  width: 130px;
  margin: 0 auto;
}

.story-gallery-sp {
  display: none;
}

@media (max-width: 767px) {
  .story-gallery--pc {
    display: none;
  }
  .story-gallery-sp {
    display: block;
    width: 100%;
    margin: 60px auto 0;
  }
  .story-gallery-sp img {
    display: block;
    width: 100%;
    height: auto;
  }
  .story-bottom img {
    width: 120px;
  }
}
