/* すべてのページに適用される設定 */
html {
    font-size: 16px;
    font-family: sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0 0 0 0;
}

h1 {
    margin-top: 200px;
    text-align: left;
    z-index: -1;
}

p,
li,
td {
    line-height: 1.7
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

/* すべてのページに適用　-　ヘッダー　*/
.header {
    padding-top: 16px;
    background-color: #FFF;
    background-image: url(../images/stripe.jpg);
    background-repeat: repeat-x;
    /* メニュー固定 */
    top: 0;
    position: fixed;
    height: 120px;
    width: 100%;
}


.logo {
    margin: 0 0 0 0;
}

.nav {
    background-image: url(../images/nav.png);
    margin-top: 0;
    margin-bottom: 0;
}

.nav ul {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 0 0 0;
}

.nav a:link {
    color: #46494b;
}

.nav a:visited {
    color: #46494b;
}

.nav a:hover {
    text-decoration: none;
}

.nav a:active {
    text-decoration: none;
}

/* パンくずリスト */
.cp_breadcrumb *,
.cp_breadcrumb *:after,
.cp_breadcrumb *:before {
    margin-top: 0;
    margin-top: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    font-size: 10px;
}

.cp_breadcrumb {
    padding: 0;
    background-color: #fff;
    color: #46494bd0;

}

.cp_breadcrumb a {
    text-decoration: none;
    color: #46494bd0;
}

.cp_breadcrumb .breadcrumbs {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.cp_breadcrumb li {
    display: inline-block;
    position: relative;
    padding-right: calc(16px + 8px);
    margin-right: 8px;
    color: #46494bd0;
}

.cp_breadcrumb li::before {
    content: '›';
    width: 10px;
    height: 10px;
    line-height: 1;
    text-align: center;
    font-size: 10px;
    color: inherit;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cp_breadcrumb li:last-child {
    margin-right: 0;
    padding-right: 0;
    color: #3868A0;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
}

.cp_breadcrumb li:last-child::before {
    content: normal;
}


/* 固定の幅 */
:target {
    scroll-margin-top: 180px;
}

/* すべてのページに適用　-　ヒーロー　*/


/* すべてのページに適用　-　メイン　*/
.mein {
    text-align:center
}
main {
    margin: 0 auto 90px auto;
    max-width: 1000px;
}


.prise th,
.prise td {
    border: 1px solid #dbdbdb;
    padding: 20px;
}

.prise th {
    width: 112px;
    text-align: leftse;
    vertical-align: top;
}


/* すべてのページに適用　-　フッター　*/
.gotop {
    text-align: center;
}

.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #f9cbde;
    color: #46494bd0;
    text-align: center;
}

/* 個別のスタイル */
/* index.html */
/* タイトル装飾b.pribon b.pkakomi*/
.bribon {
    font-weight: #46494bf3;
    color: #46494bd0;
    font-size: medium;
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    background: #d6ebff;
    box-shadow: 0px 0px 0px 10px #d6ebff;
    border: dashed 2px white;

}

.bkakomi {
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: 1em 0;
    color: #46494bd0;
    /*文字色*/
    background: #FFF;
    border: solid 3px #d6ebff;
    /*線*/
    border-radius: 10px;
    /*角の丸み*/
}

.p {
    margin: 0;
    padding: 0;
}

h2,
h3 {
    color: #46494bd0;
    /*文字色*/
}

.pribon {
    color: #46494bd0;
    /*文字色*/
    font-weight: #292b2cd0;
    /*文字色*/
    font-size: medium;
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    background-color: #f9cbde;
    box-shadow: 0px 0px 0px 10px #f9cbde;
    border: dashed 2px white;
}

.pkakomi {
    display: inline-block;
    padding: 0.5em 0.5em;
    margin-top: 0;
    margin-bottom: 0;
    color: #46494bd0;
    /*文字色*/
    background: #FFF;
    border: solid 3px #f9cbde;
    /*線*/
    border-radius: 5px;
    /*角の丸み*/
}

.prise {
    border-collapse: collapse;
}

/* 料金表スタイル */
.prise th,
.prise td {
    border: 1px solid #dbdbdb;
    padding: 20px;
}

/* お教室情報スタイル */
.shop-info {
    border-collapse: collapse;
}

.shop-info th,
.shop-info td {
    border: 1px solid #dbdbdb;
    padding: 20px;
}

.shop-info th {
    width: 112px;
    text-align: left;
    vertical-align: top;
}

/* osigoto.html */
.items {
    /* display: grid; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* contact.html */
form {
    margin: 0 auto;
    max-width: 640px;
}

#kind {
    font-size: 1rem;
    padding: 6px;
}

input[type="text"],
textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}

textarea {
    height: 140px;
}

.submit {
    text-align: center;
}

.sodati {
    text-align: center;
}

input[type="submit"] {
    border: none;
    padding: 20px;
    width: 100px;
    background-color: #a2cc51;
    border-radius: 10px;
    color: #ffffff;
    font-size: medium;
    font-weight: bold;
}
/* access.html */
.accessmap {
    max-width: 600px;
    text-align: left;
    vertical-align: top;
}
.access2 th,
.access2 td {
    border: 1px solid none;
    padding: 0px;
}

.access2 th {
    padding: 0.2em 0.5em;
    margin: 2em 0;
    width: 112px;
    text-align: leftse;
    vertical-align: top;
}

.access2 td {
    padding: 20px;
    text-align: left;
}

.google-map iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }

    main {
        padding: 0 4%;
    }

    /* index.html */
    .hero.index {
        padding: 28vh 0;
    }

    /* menu.html */
    .items {
        grid-template-columns: 1fr 1fr;
    }


    /* スマホ対応 */
    @media (max-width: 480px) {
        .items,
        .access2,
        .google-map {
            /* grid-template-columns: 1fr; */
            display: block;
            grid-template-columns: 1fr;
        .h1 {
            margin-top: 200px;
        }
        }
    }

}