@charset "UTF-8";

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

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

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

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 600;
}

a {
    text-decoration: none;
    text-underline-offset: 5px;
    color: inherit;
    transition: 0.1s ease-out;
}

a:hover {
    color: #E96600;
}

p {
    font-size: 16px;
    line-height: 32px;
}

h3,
h4,
li,
a,
p {
    color: #5A3A3A;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.sp {
    display: none;
}

header {
    border-top: 5px solid #F08300;
    position: relative;
    z-index: 10;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

.logo {
    margin: 10px 30px;
}
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .logo {
        width: 100px;
    }
}

/**************************************
 fv
 *************************************/
.fv_pc {
    width: 100%;
}
@media (max-width: 768px) {
    .fv_sp {
        width: 100%;
    }
}

/**************************************
 intro
 **************************************/
.intro-section {
    background-image: url(../images/content_bg.png);
}

.intro-textbox {
    padding: 40px 0 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text{
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    text-align: center;
}

.intro-text--red {
    color: #D50000;
    font-size: 24px;
    margin-top: 24px;
    line-height: 1.8;
    text-align: center;
}
@media (max-width: 768px) {
    .intro-text{
        font-size: 16px;
    }
    .intro-text--red{
        line-height: 1.6;
    }
}

/**************************************
 pickup
 **************************************/
.pickup-section {
    background-image: url(../images/content_bg.png);
}
.pickup-inner{
    background-color: #F9BE00;
    border-radius: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
}
.pickup-inner::before{
    position: absolute;
    content: "";
    background: url(../images/title_1.png)no-repeat;
    background-size: contain;
    width: 230px;
    height: 130px;
    top: -20px;
    left: -30px;
}
.pickup-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.pickup-karuta-detail{
    max-width: 740px;
    background-color: #fff;
    padding: 24px 40px;
}
.pickup-karuta-detail-inner{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.pickup-karuta-detail-title{
    margin-left: 2rem;
    font-size: 20px;
}
.pickup-karuta-detail-initial {
    min-width: 56px;
    max-width: 56px;
    height: 56px;
    background-color: #5A3A3A;
    color: #fff;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;

}

.pickup-karuta-detail-text{
    font-size: 16px;
    padding: 16px 0;
    line-height: 1.4;
    font-weight: 500;
}
.pickup-karuta-detail-name{
    border-top: 1px solid #707070;
    padding: 16px 0;
}
@media (max-width: 1150px) {
    .pickup-container{
        flex-direction: column;
    }
    .pickup-section{
        padding: 0 16px;
    }
    .pickup-inner::before{
        left: 0;
    }
}
@media (max-width: 768px) {
    .pickup-inner{
        padding: 40px 16px 20px;
    }
    .pickup-inner::before{
        width: 170px;
        height: 96px;
    }
    .pickup-karuta-detail{
        padding: 24px 16px;
    }
    .pickup-karuta-detail-title{
        font-size: 18px;
    }
}

/**************************************
 illust
 **************************************/
 .illust-section{
    background-image: url(../images/content_bg.png);
    padding-top: 20px;
 }
 .illust-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px 40px;
 }
 .illust-text--red{
    font-size: 40px;
    color: #E50012;
    font-weight: 600;
    line-height: 1.2;
 }
 .illust-text{
    font-size: 32px;
    line-height: 1.8;
 }
 .illust-link{
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    text-decoration: underline;
 }
 .illust-imgbox{
    max-width: 260px;
 }
 @media (max-width: 768px) {
     .illust-section{
        padding-top: 40px;
     }
    .illust-inner{
        padding: 0 16px;
        flex-direction: column;
    }
    .illust-text--red{
        font-size: 28px;
    }
    .illust-text{
        font-size: 24px;
    }
}
/**************************************
 cta
 **************************************/
 .cta{
    padding-top: 40px;
 }
 .cta-link{
    display: block;
    max-width: 720px;
    background-color: #E50012;
    color: #fff;
    font-size: 40px;
    text-align: center;
    padding: 18px;
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: 10px 10px 0px 0px rgba(90, 58, 58, 1);
 }
.cta-link:hover{
    color: #fff;
    box-shadow: none;
}
.cta-link-sub{
    display: block;
    font-size: 20px;
}
.cta-bottom{
    padding-top: 80px;
}
 @media (max-width: 768px) {
    .cta{
        padding: 24px 24px 0 16px;
    }
    .cta-link{
        font-size: 28px;
        line-height: 1.3;
        padding: 18px;
        box-shadow: 4px 4px 0px 0px rgba(90, 58, 58, 1);
    }
    .cta-link-sub{
        font-size: 16px;
        margin-top: 1rem;
    }
}

/**************************************
 share
 **************************************/
 .share{
    padding: 80px 0 140px;
 }
 .share-link{
    display: block;
    max-width: 380px;
    background-color: #E96600;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 16px;
    border-radius: 40px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0px 10px 20px 0px rgba(90, 58, 58, 0.2);
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    cursor: pointer;
 }
 .share-link::before{
    position: absolute;
    content: "";
    background: url(../images/icon_share.png);
    background-size: contain;
    width: 18px;
    height: 20px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
 }
 @media all and (min-width: 768px) {
    .share-link:hover {
      color: #e96600;
      background-color: #fff;
    }
    .share-link:hover::before {
      background-image: url("/jp/memory/assets/img/com/ico_share_orange.svg");
    }
  }
  
 .share-link span{
    display: inline-block;
    margin-left: 20px;
 }
 .share-bottom{
    padding: 48px 0 60px;
 }
 @media (max-width: 768px) {
    .share{
        padding: 40px 16px 100px;
    }
    .link-box .share{
        padding: 40px 16px 50px;
    }
    .share-link::before{
        left: 16%;
    }
 }

 /**************************************
  karuta
 **************************************/
 .karuta{
    background-color: #E96600;
    padding: 10px;
    width: 220px;
    height: 295px;
    box-shadow: 10px 10px 0px 0px rgba(90, 58, 58, 1);
}
.gallery-section .karuta{
    cursor: pointer;
    animation: slideRotateFadeIn 1s ease-out forwards;
    animation-delay: -1s;
    will-change: transform, opacity;
    padding: 8px;
    box-shadow: 4px 4px 0px 0px rgba(90, 58, 58, 1);
    width: 200px;
    height: 300px;
  }
    

    /* 動的に追加されたカードは newlly-added クラスを付与し、通常のアニメーションを実行 */
.karuta.newly-added {
    animation-delay: 0s;
  }
  
  /* 左からスライドイン＋rotateYしてフェードインするアニメーション */
  @keyframes slideRotateFadeIn {
    from {
      opacity: 0;
      transform: translateX(-400px) rotateY(180deg);
    }
  
    to {
      opacity: 1;
      transform: translateX(0) rotateY(0deg);
    }
  }
  
  /* スマホサイズの場合はフェードインのみのエフェクトに上書き */
  @media (max-width: 768px) {
    .karuta {
      animation: fadeIn 1s ease-out forwards;
      animation-delay: -1s;
    }
    .karuta.newly-added {
      animation-delay: 0s;
    }
  }
  
  /* フェードインだけのアニメーション定義 */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: none;
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

.karuta-inner{
    background-color: #fff;
    padding: 10px 68px 24px 0;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    transition: 0.1s ease-out;
    text-align: left;
}
.gallery-section .karuta-inner{
    padding: 10px 60px 40px 0;
}
.gallery-section .karuta-inner:hover{
    opacity: 0.8;
}
.karuta-text-wrap {
    min-width: 100px;
    display: flex;
    justify-content: flex-end;
}
.karuta-initial{
    width: 56px;
    height: 56px;
    position: absolute;
    right: 5px;
    top: 10px;
    background-color: #5A3A3A;
    color: #fff;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
}
.gallery-section .karuta-initial{
    width: 48px;
    height: 48px;
    font-size: 30px;
    line-height: 48px;
}
.karuta-text{
    font-size: 22px;
    line-height: 1.4;
    writing-mode: vertical-rl;
    margin: 2rem 0 0;
    max-height: 278px;
}
.gallery-section .karuta-text{
    font-size: 20px;
}
.karuta-btn{
    font-size: 12px;
    padding: 5px 10px;
    background-color: #E96600;
    color: #fff;
    border-radius: 20px;
    position: absolute;
    width: 140px;
    text-align: center;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
 @media (max-width: 768px) {
    .karuta-text-wrap {
        min-width: 40px;
    }

    .gallery-section .karuta{
        width: 160px;
        height: 230px;
        box-shadow: 5px 5px 0px 0px rgba(90, 58, 58, 1);
    }
    .gallery-section .karuta-inner{
        padding: 8px 48px 32px 8px;
    }
    .gallery-section .karuta-initial{
        width: 37px;
        height: 37px;
        line-height: 37px;
        font-size: 24px;
    }
    .gallery-section .karuta-text{
        font-size: 15px;
        max-height: 150px;
        margin: 0.8rem 0 0;
    }
    .karuta-btn{
        font-size: 10px;
        width: 120px;
        bottom: 5px;
    }
 }

/**************************************
 gallery
 **************************************/
.gallery-section {
    background-image: url(../images/content_bg_y.png);
    background-size: cover;
    background-position: center;
}
.gallery-inner{
    padding: 0 20px 80px;
    position: relative;
}
.gallery-title{
    font-size: 40px;
    line-height: 1.6;
    color: #5A3A3A;
    text-align: center;
    background-color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    max-width: 820px;
    margin: 0 auto;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
}
.gallery-title::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 15px 0 15px;
    border-color: #ffffff transparent transparent;
    translate: -50% 100%;
}
.gallery-btnbox{
    padding-top: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.gallery-btn-container{
    width: 400px;
    background-color: #5A3A3A;
    padding: 6px;
}
.gallery-btn-text{
    background-color: #fff;
    padding: 16px 16px 16px 80px;
    font-size: 20px;
    position: relative;
    cursor: pointer;
    transition: 0.1s ease-out;
}
.gallery-btn-text:hover,
.gallery-btn-text.active {
    background-color: #5A3A3A;
    color: #fff;
}

.gallery-btn-text.active {
    cursor: default;
}

.gallery-btn-text--atoz::before{
    position: absolute;
    content: "";
    background: url(../images/icon_atoz.png)no-repeat;
    background-size: contain;
    width: 48px;
    height: 48px;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.gallery-btn-text--penname::before{
    position: absolute;
    content: "";
    background: url(../images/icon_penname.png)no-repeat;
    background-size: contain;
    width: 48px;
    height: 48px;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.gallery-text{
    text-align: center;
    padding: 48px 16px;
}
.gallery-list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.gallery-more{
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.gallery-more-btn{
    position: relative;
    content: "";
    width: 40px;
    height: 40px;
    background: #5A3A3A;
    border-radius: 50%;
}
.gallery-more-btn::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 30%;
    width: 2px;
    background-color: white;
}
.gallery-more-btn::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 2px;
    width: 30%;
    background-color: white;
}
.gallery-more-text{
    text-align: center;
    margin-left: 1rem;
}
@media (max-width: 768px) {
    .gallery-title{
        font-size: 28px;
        width: auto;
        min-width: 360px;
    }
    .gallery-btn-container{
        padding: 3px;
        width: 160px;
    }
    .gallery-btnbox{
        flex-wrap: wrap;
        gap: 1rem;
    }
    .gallery-btn-text{
        font-size: 12px;
        line-height: 1.2;
        padding: 8px 8px 8px 42px;
    }
    .gallery-btn-text--atoz::before{
        width: 32px;
        height: 32px;
        left: 5px;
    }
    .gallery-btn-text--penname::before{
        width: 32px;
        height: 32px;
        left: 5px;
    }
   .gallery-text{
        padding: 20px 16px;
    }
   .gallery-list{
        gap: 15px;
    }
}

.link-box{
    background-image: url(../images/content_bg.png);
}
.top{
    padding: 40px 0 0;
    text-align: center;
}
.top-link{
    display: inline-block;
    margin: 32px 0;
    font-size: 18px;
    text-align: center;
}

/**************************************
 footer
 **************************************/
footer {
    text-align: center;
    background: #fff;
    padding: 0 0 120px;
    background-image: url(../images/content_bg.png);
}

footer .footer-copy {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .footer-copy span{
        display: block;
    }
}


/**************************************
 fixed
 **************************************/
 .fixed{
    position: fixed;
    flex-wrap: wrap;
    width: 100%;
    bottom: 0;
    right: 0;
    display: flex;
    z-index: 999;
    gap: 5px;
    height: 610px;
    width: 64px;
    top: 20%;
    writing-mode: vertical-rl;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
 }
 .fixed.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    }
 .fixed-btn-wrap{
    display: flex;
    gap: 5px;
    width: 100%;
 }
 .fixed-link{
    display: inline-block;
    background-color: #E50012;
    width: 64px;
    height: 230px;
    padding: 16px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    border-radius: 10px 0px 0px 10px;
 }
.fixed-link:hover{
    color: #E50012;
    background-color: #fff;
}
 .fixed-btn{
    width: 52px;
    height: 180px;
    background-color: #5A3A3A;
    padding: 4px 0 4px 4px;
    cursor: pointer;
 }
 .fixed-btn-atoz{
    position: relative;
 }
 .fixed-btn-atoz::before{
    position: absolute;
    content: "";
    background: url(../images/icon_atoz.png) no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    left: 60%;
    top: 10px;
    transform: translateX(-50%);
 }
 .fixed-btn-penname{
    position: relative;
 }
 .fixed-btn-penname::before{
    position: absolute;
    content: "";
    background: url(../images/icon_penname.png) no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    left: 60%;
    top: 10px;
    transform: translateX(-50%);
 }
 .fixed-btn-text{
    display: block;
    line-height: 1.4;
    text-align: left;
    background-color: #fff;
    width: 100%;
    padding-top: 38px;
 }

 .fixed-btn-text.active,
 .fixed-btn-text:hover{
    background-color: #5A3A3A;
    color: #fff;
  }

 .fixed-btn-text span{
    writing-mode: lr;
    height: 20px;
 }
 @media (max-width: 768px){
    .fixed{
        bottom: 0;
        right: auto;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        writing-mode: rl;
        width: 100%;
        height: auto;
        flex-direction: column-reverse;
        gap: 0;
    }
    .fixed-link{
        width: 100%;
        height: auto;
        border-radius: 0;
        font-size: 24px;
        line-height: 1;
    }
    .fixed-btn-wrap{
        gap: 0;
    }
    .fixed-btn{
        width: 100%;
        height: auto;
        padding: 2px 0 2px 2px;
    }
    .fixed-btn-text{
        padding: 8px 8px 8px 42px;
        font-size: 14px;
    }
    .fixed-btn-atoz::before{
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .fixed-btn-penname::before{
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
 }

 /**************************************
 modal
 **************************************/
 .modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    display: flex;
 }
 .modal-content{
    background: #fff;
    padding: 60px;
    max-width: 90%;
    max-height: calc(100% - 140px);
    position: relative;
    box-sizing: border-box;
 }
 .modal-body{
    background-color: #E96600;
    padding: 10px;
 }
 .modal-karuta-detail{
    max-width: 740px;
    background-color: #fff;
    padding: 24px 24px 0 24px;
}
.modal-karuta-detail-initial{
    min-width: 56px;
    max-width: 56px;
    height: 56px;
    background-color: #5A3A3A;
    color: #fff;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
}
.modal-karuta-detail-inner{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.modal-karuta-detail-title{
    margin-left: 2rem;
    font-size: 20px;
}
.modal-karuta-detail-text{
    font-size: 16px;
    padding: 16px 0;
    line-height: 1.4;
    font-weight: 500;
}
.modal-karuta-detail-name{
    border-top: 1px solid #707070;
    padding: 16px 0;
}
.modal-close{
    display: block;
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    top: -65px;
    right: -0;
    font-size: 24px;
    cursor: pointer;
    background-color: #E96600;
}
.modal-close::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)rotate(45deg);;
    height: 50%;
    width: 2px;
    background-color: #fff;
}
.modal-close::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)rotate(45deg);
    height: 2px;
    width: 50%;
    background-color: #fff;

}
.modal-close:hover{
    background-color: #fff;
}
.modal-close:hover::before{
    background-color: #E96600;
}
.modal-close:hover::after{
    background-color: #E96600;
}
.modal-nav button{
    width: 40px;
    height: 40px;
    background: url(../images/icon_prev_w.svg) no-repeat 12px center;
    background-color: #E96600;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}
.modal-nav button:hover{
    background: url(../images/icon_prev_og.svg) no-repeat 12px center;
    border: 2px solid #E96600;
}
.modal-nav button#nextBtn{
    background-image: url(../images/icon_next_w.svg);
    background-position-x: 15px;
    right: 10px;
    left: auto;
}
.modal-nav button#nextBtn:hover{
    background-image: url(../images/icon_next_og.svg);
}
@media (max-width: 768px){
    .modal-content{
        padding: 20px;
    }
    .modal-karuta-detail{
        padding: 16px 16px 0 16px;
    }
    .modal-karuta-detail-initial{
        min-width: 37px;
        max-width: 37px;
        height: 37px;
        line-height: 37px;
        font-size: 24px;
    }
    .modal-karuta-detail-text{
        overflow: auto;
        max-height: calc(50vh - 100px);
    }
    .modal-nav{
        text-align: center;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .modal-nav button{
        position: unset;
        margin: 0;
    }
}
.c-modal-01 {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  display: none;
}
.c-modal-01.active {
  display: flex;
}
.c-modal-01__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.c-modal-01__close {
  flex: 0 0 auto;
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border: 0;
  background-color: #e96600;
  border-radius: 50%;
  transition: background-color 0.3s ease-out;
  cursor: pointer;
  z-index: 6;
}
.c-modal-01__close::before {
  transition: background-color 0.3s ease-out;
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #fff;
  transform: translate(-50%) rotate(45deg);
  top: 50%;
  left: 50%;
}
.c-modal-01__close::after {
  transition: background-color 0.3s ease-out;
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #fff;
  transform: translate(-50%) rotate(135deg);
  top: 50%;
  left: 50%;
}
@media all and (min-width: 768px) {
  .c-modal-01__close:hover {
    background-color: #fff;
  }
  .c-modal-01__close:hover::before, .c-modal-01__close:hover::after {
    background-color: #e96600;
  }
}
.c-modal-01__wrap {
  max-width: 570px;
  padding: 0 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  z-index: 6;
}
.c-modal-01__inner {
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0px 10px 20px 0px rgba(90, 58, 58, 0.2);
}
.c-modal-01__heading {
  font-size: 2rem;
  text-align: center;
  border-bottom: 1px solid #bfbfbf;
  padding: 4px 0 23px;
}
.c-modal-01__list {
  padding: 70px 20px 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media all and (max-width: 767px) {
  .c-modal-01__list {
    padding: 40px 20px 10px;
  }
}
.c-modal-01__item {
  width: 88px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 1.2rem;
  border: 0;
  padding: 0;
  color: #333;
  cursor: pointer;
  background-color: inherit;
}
@media all and (min-width: 768px) {
  .c-modal-01__item {
    opacity: 1;
    transition: opacity 0.3s ease-out;
  }
  .c-modal-01__item:hover {
    opacity: 0.7;
    text-decoration: none;
    color: inherit;
  }
}
.c-modal-01__item::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
}
.c-modal-01__item--facebook::before {
  background: url("/jp/memory/assets/img/com/ico_facebook.svg") 0% 0%/contain no-repeat;
}
.c-modal-01__item--x::before {
  background: url("/jp/memory/assets/img/com/ico_x.svg") 0% 0%/contain no-repeat;
}
.c-modal-01__item--line::before {
  background: url("/jp/memory/assets/img/com/ico_line.svg") 0% 0%/contain no-repeat;
}
.c-modal-01__item--url::before {
  background: url("/jp/memory/assets/img/com/ico_url.svg") 0% 0%/contain no-repeat;
}

.c-modal-image {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  display: none;
}
.c-modal-image.active {
  display: flex;
}
.c-modal-image__wrap {
  max-width: 900px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  z-index: 6;
}
@media all and (min-width: 768px) {
  .c-modal-image__wrap {
    max-width: 100vw;
  }
}
.c-modal-image__img {
  display: flex;
  justify-content: center;
  width: 100%;
}
.c-modal-image__img figure img {
  width: 100%;
  max-height: 65vh;
  -o-object-fit: contain;
  object-fit: contain;
}
@media all and (min-width: 768px) {
  .c-modal-image__img figure img {
    max-height: 85vh;
    height: 85vh;
  }
}
.c-modal-image__close {
  flex: 0 0 auto;
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border: 0;
  background-color: #e96600;
  border-radius: 50%;
  transition: background-color 0.3s ease-out;
  cursor: pointer;
  z-index: 6;
}
.c-modal-image__close::before {
  transition: background-color 0.3s ease-out;
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #fff;
  transform: translate(-50%) rotate(45deg);
  top: 50%;
  left: 50%;
}
.c-modal-image__close::after {
  transition: background-color 0.3s ease-out;
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #fff;
  transform: translate(-50%) rotate(135deg);
  top: 50%;
  left: 50%;
}
@media all and (min-width: 768px) {
  .c-modal-image__close:hover {
    background-color: #fff;
  }
  .c-modal-image__close:hover::before, .c-modal-image__close:hover::after {
    background-color: #e96600;
  }
}
.c-modal-image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

