@charset "UTF-8";

/*
SP ～519px
tab 520px～959px
PC 960px～
*/
.top .pagetitle {
    background-image: url(../../img/PC&common/Access_top.jpg);
    background-position: center center;
}

/*================
access
================*/
/* セクション上余白 */
.access {
    padding-top: var(--section-gutter);
    width: 100%;
}

.access .access_inner {
    padding: 0 var(--side-gutter);
    width: 100%;
}

/* 見出し */
.access_inner h3 {
    height: 45px;
    width: 100%;
    margin: auto;
    font-family: var(--font-sawarabi-mincho);
    text-align: center;
    margin-bottom: var(--side-gutter);
}


/* 見出し左右に線 */
h3 span {
    position: relative;
}

h3 span::after,
h3 span::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 1px;
    background-color: #000;
    top: 50%;
    transform: translateY(-1px);
}

h3 span::before {
    left: -120px;
}

h3 span::after {
    right: -120px;
}

/* テキストコンテナ */
.access_text_container {
    width: 100%;
    margin: auto;
    padding-bottom: var(--contents-gutter);
}

/* リード文 */
.access .access_text {
    text-align: center;
    line-height: 1.6;
}

/* ===== テーブル ===== */
table {
    border-collapse: collapse;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

th,
td {
    padding: 10px;
    display: block;
    text-align: center;
    margin: auto;
}

th {
    font-weight: normal;
    background-color: rgba(var(--color-gry-rgb), 0.1)
}

td {
    margin-bottom: 10px;
}

table a {
    text-decoration: underline var(--color-gry) 1px;
}

table td.insta span {
    font-size: var(--size-sm);
}


/* ===== Google Map ===== */
/* 横幅を指定するための要素 */
.map-wrap {
    /* ここに横幅を指定 */
    width: 80vw;
    max-width: 360px;
    margin: auto;
    /* マップ下余白 */
    padding-bottom: var(--side-gutter);
}

/* Google Mapを囲う要素 */
.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.access address {
    width: 80vw;
    margin: auto;
    font-style: normal;
    background-color: rgba(var(--color-gry-rgb), 0.1);
    padding: 10px;
}

@media screen and (min-width:520px) {

    /* セクション上余白 */
    .access {
        padding-top: var(--section-gutter-pc);
    }

    /* メニュー見出し */
    .access_inner h3 {
        height: 60px;
        font-size: var(--size-lg);
    }

    /* テキストコンテナ */
    .access_text_container {
        max-width: 540px;
    }

    th,
    td {
        display: table-cell;
        text-align: left;
    }

    th {
        width: 20%;
        background-color: transparent;
    }

    tr:nth-child(odd) {
        background-color: rgba(var(--color-gry-rgb), 0.1)
    }

    .map-wrap {
        width: 70vw;
        max-width: 500px;
        margin: auto;
    }

    .access address {
        width: 70vw;
        max-width: 500px;
    }
}

/*=====min-width:520px=====*/
/*================
access PC
================*/
@media screen and (min-width:960px) {
    th {
        width: 30%;
        padding-left: 20px;
    }

    /* テキストコンテナ */
    .access_text_container {
        padding-bottom: var(--contents-gutter-pc);
    }

    .map-wrap {
        max-width: 800px;
    }
}