/*
 * grid
 * version:v1.0
 * Developer:popodesign
 * URL:https://popo-design.net
 */

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 10px;
}

body {
    /*background: url("https://www.rakuten.ne.jp/gold/c-eternal/pc/sale/img/sakura_bg.png");*/
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body:after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
    /*background: linear-gradient(-225deg, #E3FDF5 0%, #e5e5ff 100%);*/
    background: url("https://www.rakuten.ne.jp/gold/c-eternal/pc/cool/img/cool24-bg.png");
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
    background-size: 700px;
    height: 1000px;

}



/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2.0rem;
    position: relative;
}

/* ブロックを縦に表示 */
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}



/* 768px以上の表示 */
@media (min-width : 768px) {
    .row {
        display: flex;
        flex-direction: row;
        padding: 0;
    }

    .col {
        margin-left: 4%;
    }

    .col:first-child {
        margin-left: 0;
    }

    .row .col.span-1 {
        flex: 0 0 4.66666666667%;
        max-width: 4.66666666667%;
    }

    .row .col.span-2 {
        flex: 0 0 13.3333333333%;
        max-width: 13.3333333333%;
    }

    .row .col.span-3 {
        flex: 0 0 22%;
        max-width: 22%;
    }

    .row .col.span-4 {
        flex: 0 0 30.6666666667%;
        max-width: 30.6666666667%;
    }

    .row .col.span-5 {
        flex: 0 0 39.3333333333%;
        max-width: 39.3333333333%;
    }

    .row .col.span-6 {
        display: flex;
        flex-wrap: wrap;
    }

    .row .col.span-7 {
        flex: 0 0 56.6666666667%;
        max-width: 56.6666666667%;
    }

    .row .col.span-8 {
        flex: 0 0 65.3333333333%;
        max-width: 65.3333333333%;
    }

    .row .col.span-9 {
        flex: 0 0 74.0%;
        max-width: 74.0%;
    }

    .row .col.span-10 {
        flex: 0 0 82.6666666667%;
        max-width: 82.6666666667%;
    }

    .row .col.span-11 {
        flex: 0 0 91.3333333333%;
        max-width: 91.3333333333%;
    }

    .row .col.span-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 300;
    padding: 0 5px;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    letter-spacing: -.1rem;
}

h2 {
    font-size: 3.0rem;
    line-height: 1.25;
    letter-spacing: -.1rem;
}

h3 {
    font-size: 2.5rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
    text-align: center;
}

h4 {
    font-size: 2.4rem;
    line-height: 1.35;
    letter-spacing: -.08rem;
}

h5 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

h6 {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0;
}

/* PC表示 */
@media (min-width: 550px) {
    h1 {
        font-size: 3.0rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 2.5rem;
    }

    h4 {
        font-size: 1.8rem;
    }

    h5 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.5rem;
    }
}

p {
    margin-top: 0;
}

/* SP表示 */
@media screen and (max-width:767px) {
    h1 {
        font-size: 3.0rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.8rem;
    }

    h5 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.5rem;
    }
}

/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    color: #2A3239;
}

a:hover {
    color: #739EAB;
}



/* リスト
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
    list-style: circle inside;
}

ol {
    list-style: decimal inside;
}

ol,
ul {
    padding-left: 0;
    margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%;
}

li {
    margin-bottom: 1rem;
}


/* コード
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

pre>code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}


/* スペース
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
    margin-bottom: 1rem;
}

input,
textarea,
select,
fieldset {
    margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol {
    margin-bottom: 1rem;
}


/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-width {
    width: 100%;
    box-sizing: border-box;
}

.max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-width: 0;
    border-top: 1px solid #A9A9A9;
}

/* 3カラム⇒2カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-yoko {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    margin-bottom: 50px;
}


@media screen and (max-width:767px) {

    .flex-yoko {
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center;
        margin-bottom: 20px;
    }

}



div.image_circle img {
    width: 85%;
    height: 85%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;

}

.flexbox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    gap: 10px;
    grid-template-rows: 150px;
    margin:0 8% 100px;
    justify-content: space-between;
}

@media(max-device-width: 767px) {
    .flexbox {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 180px;
        margin:0 0 50px;
        gap: 2px;

    }

    .flex-item a {
        padding: 0px;
    }
}


.flex-item a {
    width: 90%;
    height: 100%;
    color: #04164e;
    background-image: url(https://image.rakuten.co.jp/c-eternal/cabinet/03400642/imgrc0105215508.jpg);
    background-repeat: repeat;
    background-color: #41d1f5;
    background-size:500px;
    object-fit: cover;
    border-bottom: 5px solid #e6e6e6;
    text-align: center;
    font-size: 1.3em;
    padding: 20px 10px 10px;
    border-radius: 20px;
    margin: 0 auto;
}

.flex-item2 a {
    background-color: #509fc4;
    background-image: url(https://image.rakuten.co.jp/c-eternal/cabinet/03400642/imgrc0105215522.jpg);
    background-size:500px;
}

.flex-item3 a {
    background-color: #81bcd3;
    background-image: url(https://image.rakuten.co.jp/c-eternal/cabinet/03400642/imgrc0105215521.jpg);
    background-size:500px;
}


.item {
    align-items: flex-start;
    box-sizing: border-box;
    margin: 0 10px 10px 0;
    width: calc(33.3333333% -5px);
    background-color: rgba(255, 255, 255, 0.70);
    border-radius: 10px;
}

.item img {
    border-radius: 10px;
    width: 100%;
}

.item:nth-child(3n) {
    margin-right: 0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px) {
    .item {
        margin: 0 20px 20px 0;
        width: calc(50% - 50px / 2);
    }

    .item:nth-child(2n) {
        margin-right: 0;
    }

    .item:nth-child(3n) {
        margin-right: 20px;
    }

    .item:nth-child(6) {
        margin-right: 0;
    }
}




/* 2カラム⇒2カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item2 {
    align-items: flex-start;
    box-sizing: border-box;
    margin: 0 20px 40px 0;
    width: calc(40% - 20px);
    background-color: rgba(255, 255, 255, 0.70);
    border-radius: 10px;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .1);
}

.item2 img {
    border-radius: 10px;
    width: 100%;
}

.item2:nth-child(2n) {
    margin-right: 0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px) {
    .item2 {
        margin: 0 20px 20px 0;
        width: calc(50% - 40px / 2);
    }

    .item2:nth-child(2n) {
        margin-right: 0;
    }
}



/* 3カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
section.back-color3 div.items div.item3 {
    align-items: flex-start;
    box-sizing: border-box;
    margin: 0 20px 0 0;
    width: calc(33.3333333% - 50px);
    border-radius: 10px;
}

section.back-color3 div.items div.item3 img {
    border-radius: 10px;
    width: 100%;
    margin: 0;
}

section.back-color3 div.items div.item3:nth-child(3n) {
    margin-right: 0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px) {
    section.back-color3 div.items div.item3 {
        margin: 0 5px !important;
        width: calc(50% - 40px / 2);
    }

    section.back-color3 div.items div.item3:nth-child(2n) {
        margin-right: 0;
    }

    section.back-color3 div.items div.item3:nth-child(3n) {
        margin-right: 20px;
    }

    section.back-color3 div.items div.item3:nth-child(6) {
        margin-right: 0;
    }
}