@charset "utf-8";
/* dlight */
.dm {}

/* SMARTPHONE
================================================== */
@media screen and (max-width: 768px) {
  
  .page--main {
    position: relative;
  }
  .page--main::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 490px;
    background-color: #5D6666;
    z-index: 1;
  }
  
  .cere--header {
    position: relative;
    display: flex;
    flex-flow: column;
    margin: 0 auto 80px;
  }
  .page--header {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1	/	0.993;
    order: 2;
  }
  .cere--header-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 84%;
    height: auto;
    aspect-ratio: 1	/	0.821;
    background-image: url(../img/ceremony/cere_hd_panel_bg.png);
    background-size: cover;
  }
  .cere--header-panel h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    font-feature-settings: initial;
    margin: 0;
    order: 3;
  }
  .cere--header-panel > * {
    flex: 1;
  }
  .cere--header-panel p {
    font-family: var(--font-en-ci);
    font-size: 1rem;
    order: 1;
  }
  .cere--header-ph1 {
    width: 44.3%;
    height: auto;
    aspect-ratio: 1	/	1.504;
    order: 2;
  }
  .cere--header-ph2 {
    width: 100%;
  }
  
  
  .cere--book-wrap {
    position: relative;
    padding: 120px 0;
    background-color: #FFF;
    z-index: 10;
  }
  .cere--book {
    display: flex;
    flex-flow: column;
    width: 81.3%;
    margin: 0 auto 80px;
  }
  .cere--book > div {
    flex: 1;
  }
  .cere--book1 {
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
    background-image: url(../img/ceremony/cere_book_ph1_bg.jpg);
    background-size: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 1	/	1.318;
  }
  .cere--book1-ph {
    width: 52.5%;
    height: auto;
    aspect-ratio: 1	/	1.418;
  }
  .cere--book-txt {
    width: 81.3%;
    margin: auto;
  }
  
  .cere--txt {
    text-align: center;
    margin-bottom: 50px;
    order: 1;
  }
  .cere--txt-l .sec--tt-en {
    font-size: 3rem;
    letter-spacing: 0;
    margin-bottom: 12px;
  }
  .cere--txt-l .sec--catch {
    position: relative;
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
  }
  .cere--txt-l .sec--catch::before,
  .cere--txt-l .sec--catch:after {
    display: block;
    content: '';
    width: 16px;
    height: 1px;
    background-color: var(--font-color-base);
  }
  .cere--txt-l .sec--catch::before {
    margin-right: 5px;
  }
  .cere--txt-l .sec--catch:after {
    margin-left: 5px;
  }
  .cere--txt-r .sec--read {
    margin-bottom: 20px;
  }
  .cere--spec {
    display: flex;
    justify-content: center;
    column-gap: 20px;
  }
  .cere--spec li {
    font-family: var(--font-ja-go);
    font-size: 1rem;
    margin-left: -0.4em;
  }
  
  .cere--ph-wrap {
    position: relative;
    margin: 0 auto 100px;;
  }
  .cere--ph1 {
    position: absolute;
    right: 0;
    top: 10%;
    width: 68.3%;
    z-index: 5;
  }
  .cere--ph2 {
    width: 72.8%;
    margin: 0 auto 120px 0;
    overflow: hidden;
  }
  .cere--ph2 video {
    width: 101%;
    height: auto;
  }
  .cere--ph3 {
    width: 100%;
    margin: 0 auto 60px;
  }
  .cere--ph4 {
    width: 44.8%;
    margin: 0 auto 60px;
  }
  .cere--ph5 {
    width: 81.3%;
    margin: auto;
  }

  #design-gallery {
    width: 1010px;
    margin: auto;
  }
  #design-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 133px;
    row-gap: 130px;
  }
  #design-gallery ul li {
    width: 248px;
  }
  
  .cere--close {
    position: relative;
    padding-bottom: 100px;
    z-index: 5;
  }
  .cere--close-ph {
    width: 84%;
    margin: 0 auto 30px;;
  }
  .cere--close-txt {
    width: 81.3%;
    margin: auto;
  }
  .cere--close-en {
    font-family: var(--font-en-ci);
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    text-align: left;
    color: #FFF;
    margin-bottom: 30px;
  }
  .cere--close-ja {
    text-align: justify;
    color: #FFF;
  }
  
}

/* DESKTOP
================================================== */
@media screen and (min-width: 769px), print {
  
  .page--main {
    position: relative;
    padding: 280px 0 0;
  }
  .page--main::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 700px;
    background-color: #5D6666;
    z-index: 1;
  }
  
  .page--header {
    position: relative;
  }
  .cere--header {
    position: relative;
    width: 878px;
    margin: 0 auto 200px;
  }
  .cere--header-panel {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 655px;
    height: 538px;
    background-image: url(../img/ceremony/cere_hd_panel_bg.png);
    background-size: cover;
  }
  .cere--header-panel h1 {
    writing-mode: vertical-rl;
    font-feature-settings: initial;
    margin: 0;
    order: 3;
  }
  .cere--header-panel p {
    font-family: var(--font-en-ci);
    font-size: 1.4rem;
    order: 1;
  }
  .cere--header-ph1 {
    width: 238px;
    height: auto;
    aspect-ratio: 1	/	1.504;
    order: 2;
  }
  .cere--header-ph2 {
    width: 492px;
  }
  
  .cere--txt {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 130px;
  }
  .cere--txt-l {
    margin-bottom: 60px;
  }
  .cere--txt-l .sec--tt-en {
    letter-spacing: 0;
    margin-bottom: 12px;
  }
  .cere--txt-l .sec--catch {
    position: relative;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 2px;
  }
  .cere--txt-l .sec--catch::before,
  .cere--txt-l .sec--catch:after {
    display: block;
    content: '';
    width: 16px;
    height: 1px;
    background-color: var(--font-color-base);
  }
  .cere--txt-r .sec--read {
    margin-bottom: 50px;
  }
  .cere--spec {
    display: flex;
    column-gap: 20px;
  }
  .cere--spec li {
    font-family: var(--font-ja-go);
    font-size: 1.4rem;
    margin-left: -0.4em;
  }
  
  .cere--book-wrap {
    position: relative;
    padding: 130px 0;
    background-color: #FFF;
    z-index: 5;
  }
  .cere--book {
    display: flex;
    width: 826px;
    margin: 0 auto 80px;
  }
  .cere--book > div {
    flex: 1;
  }
  .cere--book1 {
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
    background-image: url(../img/ceremony/cere_book_ph1_bg.jpg);
    background-size: cover;
    order: 2;
  }
  .cere--book1-ph {
    width: 220px;
    height: auto;
    aspect-ratio: 1	/	1.418;
  }
  .cere--book2 {
    order: 1;
  }
  .cere--book-txt {
    width: 826px;
    margin: auto;
  }
  
  .cere--ph-wrap {
    position: relative;
    max-width: 1360px;
    height: auto;
    aspect-ratio: 1 / 2;
    margin: 0 auto 260px;
    background-color: #FFF;
    z-index: 10;
  }
  .cere--ph-wrap > div {
    position: absolute;
  }
  .cere--ph1 {
    width: 469px;
    top: 234px;
    left: 310px;
    z-index: 5;
  }
  .cere--ph2 {
    width: 446px;
    top: 0;
    left: 630px;
    overflow: hidden;
  }
  .cere--ph2 video {
    width: 101%;
    height: auto;
  }
  .cere--ph3 {
    width: 967px;
    top: 960px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .cere--ph4 {
    width: 337px;
    bottom: 355px;
    left: 110px;
  }
  .cere--ph5 {
    width: 773px;
    bottom: 0;
    right: 0;
  }

  #design-gallery {
    width: 1010px;
    margin: auto;
  }
  #design-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 133px;
    row-gap: 130px;
  }
  #design-gallery ul li {
    width: 248px;
  }
  
  .cere--close {
    position: relative;
    padding-bottom: 130px;
    z-index: 5;
  }
  .cere--close-ph {
    width: 1030px;
    margin: 0 auto 50px;;
  }
  .cere--close-en {
    font-family: var(--font-en-ci);
    font-size: 3.4rem;
    letter-spacing: 0.08em;
    text-align: center;
    color: #FFF;
    margin-bottom: 30px;
  }
  .cere--close-ja {
    width: 512px;
    margin: auto;
    text-align: center;
    color: #FFF;
  }

}
