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

/* SMARTPHONE
================================================== */
@media screen and (max-width: 768px) {
  
  .page--main {
    position: relative;
  }
  
  .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;
    margin: 0;
    order: 2;
  }
  .cere--header-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    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 {
    position: absolute;
    right: 4%;
    top: 0;
    bottom: 0;
    margin: 0;
    writing-mode: vertical-rl;
    font-feature-settings: initial;
  }
  .cere--header-ph1 {
    width: 72.4%;
  }
  
  
  .cere--txt {
    text-align: center;
    margin-bottom: 80px;
    order: 1;
  }
  .cere--txt-l .sec--tt {
    position: relative;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
  }
  .cere--txt-l .sec--tt::before,
  .cere--txt-l .sec--tt:after {
    display: block;
    content: '';
    width: 16px;
    height: 1px;
    background-color: var(--font-color-base);
  }
  .cere--txt-l .sec--tt::before {
    margin-right: 5px;
  }
  .cere--txt-l .sec--tt: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-stack {
    width: 86.7%;
    margin: 0 auto 50px;;
  }
  .cere--ph-stack-b {
    margin-bottom: 30px;
  }
  

  .cere--phgal-wrap {
    margin: 0 auto 100px;
  }
  .cere--phgal-inner > div {
    position: relative;
  }
  .cere--phgal--ph1 {
    width: 73.9%;
    margin: auto;
    z-index: 5;
  }
  .cere--phgal--ph2 {
    width: 66.9%;
    height: auto;
    aspect-ratio: 1	/	1.466;
    margin: -20% auto 0 0;
    overflow: hidden;
  }
  .cere--phgal--ph2 video {
    width: 100.6%;
    height: auto;
  }
  .cere--phgal--ph3 {
    width: 61.9%;
    margin: -68% 0 10% auto;
    z-index: 5;
  }
  .cere--phgal--ph4 {
    width: 49.3%;
    margin: 0 auto 10% auto;
    z-index: 5;
  }
  .cere--phgal--ph5 {
    width: 80.4%;
    margin: 0 auto 10% auto;
  }
  .cere--phgal--ph6 {
    width: 42.9%;
    margin: 0 auto 11% 9.8%;
  }
  .cere--phgal--ph7 {
    width: 72%;
    margin: 0 0 0 auto;
  }
  
  
  .cere--book-wrap {
    position: relative;
    background-color: #FFF;
    margin-bottom: 40px;
    z-index: 10;
  }
  .cere--book-wrap::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 75%;
    background-color: #5D6666;
    z-index: 1;
  }
  .cere--book {
    position: relative;
    display: flex;
    flex-flow: column;
    width: 81.3%;
    margin: auto;
    z-index: 5;
  }
  .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--close {
    position: relative;
    padding-bottom: 50px;
    background-color: #5D6666;
    z-index: 5;
  }
  .cere--close-ph {
    width: 84%;
    margin: 0 auto 30px;;
  }
  .cere--close-txt {
    width: 81.3%;
    margin: 0 auto 40px;;
  }
  .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;
  }
  .cere--close-ph1 {
    margin-bottom: 50px;
  }
  .cere--close-ph2 {
    width: 65.4%;
    margin: auto;
  }
  
}

/* DESKTOP
================================================== */
@media screen and (min-width: 769px), print {
  
  .page--main {
    position: relative;
    padding: 280px 0 0;
  }
  
  .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: center;
    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: 8px 0 0 40px;
    order: 2;
  }
  .cere--header-ph1 {
    width: 370px;
    height: auto;
    order: 1;
  }
  .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 {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
  }
  .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--ph-stack {
    width: 896px;
    margin: 0 auto 150px;;
  }
  .cere--ph-stack-b {
    margin-bottom: 80px;
  }
  .cere--ph-stack-txt {
    width: 846px;
    margin: auto;
  }
  
  
  .cere--phgal-wrap {
    margin: 0 auto 240px;
  }
  .cere--phgal-inner {
    width: 75.7%;
    max-width: 1454px;
    margin: auto;
  }
  .cere--phgal-inner > div {
    position: relative;
  }
  .cere--phgal--ph1 {
    width: 49.5%;
    margin: 0 0 0 3.7%;
    z-index: 5;
  }
  .cere--phgal--ph2 {
    width: 34.5%;
    height: auto;
    aspect-ratio: 1	/	1.466;
    margin: -14% 0 0 44.9%;
    overflow: hidden;
  }
  .cere--phgal--ph2 video {
    width: 100.6%;
    height: auto;
  }
  .cere--phgal--ph3 {
    width: 31.9%;
    margin: -28% 0 0 18.7%;
    z-index: 5;
  }
  .cere--phgal--ph4 {
    width: 25.4%;
    margin: -8% 15.6% 4% auto;
    z-index: 5;
  }
  .cere--phgal--ph5 {
    width: 48%;
  }
  .cere--phgal--ph6 {
    width: 28.3%;
    margin: -8% 0 6% auto;
  }
  .cere--phgal--ph7 {
    width: 37.1%;
    margin: 0 0 0 auto;
  }
  
  
  .cere--close {
    background-color: #5D6666;
  }
  
  .cere--book-wrap {
    position: relative;
    background-color: #FFF;
    z-index: 5;
  }
  .cere--book-wrap::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 300px;
    background-color: #5D6666;
    z-index: 1;
  }
  .cere--book {
    position: relative;
    display: flex;
    width: 826px;
    margin: 0 auto 80px;
    z-index: 5;
  }
  .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--close-ph-wrap {
    position: relative;
    width: 79.8%;
    max-width: 1532px;
    margin: auto;
    padding-bottom: 130px;
    z-index: 5;
  }
  .cere--close-ph1 {
    width: 55.5%;
    margin: 0 0 5%;
  }
  .cere--close-ph2 {
    width: 47%;
    margin: 0 8% 0 auto;
  }
  .cere--close-txt {
    margin-bottom: 80px;
  }
  .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;
  }

}
