@charset "utf-8";

/* CSS Document */
html {
    box-sizing: border-box;
}

body {
    text-align: center;
    margin: 0;
}

/* container */
#container {
    width: 100%;
    margin: 0 auto;
    background-color: #FFF;
    text-align: left;
}

/* wrapper */
#wrapper {
    display: flex;
    flex-direction: row;
    /* 横並び（デフォルト） */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    gap: 20px;
    /* 任意の余白 */
}

/* header */
header {
    background-color: #FFF;
    background-image: url(../img/top_bar_3.gif);
    background-repeat: repeat-x;
    height: 120px;
    width: auto;
    margin: 0 auto;
    padding: 10px 0px 10px 0px;
    font-size: 100%;
}

#header_main {
    position: relative;
    width: 1200px;
    height: 120px;
    margin: 0 auto;
    background-color: #fff;
}

/* 左上：h1 + 画像 縦並び */
header .left_area {
    position: absolute;
    left: 5px;
}

header .logo {
    font-size: 75%;
    margin: 0 0 8px 0;
    /* 下に余白をつけて画像と分ける */
    line-height: 1.5;
}

header .logoimg {
    display: block;
    height: 85px;
}

/* 中央：キャッチコピー */
header .copy {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    width: 670px;
    text-align: center;
}

/* 右上：お問い合わせ */
header .contact {
    position: absolute;
    top: 40px;
    right: 10px;
    border-radius: 100px;
    display: block;
    width: 180px;
    height: 50px;
    padding: 13px;
    box-sizing: border-box;
    background: #ff8c00;
    color: #FFF;
    text-decoration: none;
    text-align: center;
}

header .contact:hover {
    text-decoration: underline;
}

/* navbar */
#navbar {
    background-color: #00aadf;
    width: auto;
    height: 45px;
}

#navbar ul {
    display: flex;
    width: 1200px;
    list-style: none;
    margin: auto;
}

#navbar li {
    margin: auto;
    padding: 10px 0 7px 0;
}

#navbar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0 0 7px 0;
}

#navbar a:visited {
    color: #fff;
    text-decoration: none;
}

#navbar a:hover {
    color: #fff;
    border-bottom: #ff6e00 solid 3px;
    text-decoration: none;
}

/* mainimage */
#mainimage {
    width: 100%;
    height: 500px;
    margin: 3px 0 0 0;
    background-image: url(/img/top_image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    clear: both;
}

/* パンくずリスト */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.9rem;
    padding: 10px 0 10px 5px;
    clear: both;
    float: left;
    margin: 0;
}

.breadcrumb li:not(:last-of-type)::after {
    content: ">";
    margin: 0.6em;
    /* 記号の左右の余白 */
    color: #666;
    /* 記号の色 */
    padding: 0;
    white-space: nowrap;
    /* 折り返さずに表示 */
}

/* maincontents */
main {
    flex: 1;
    /* 残りを使用 */
    order: 2;
    /* PC時：2番目 → 右側 */
}

main h2 {
    background-color: #e7e7e7;
    border-bottom: #00acee solid 3px;
    text-align: left;
    width: 940px;
    height: 30px;
    margin-top: 22px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-top: 15px;
    font-size: 110%;
    font-weight: bold;
    color: #111;
    clear: both;
}

main h3 {
    width: 940px;
    height: 20px;
    background-image: url(../img/star.gif);
    background-repeat: no-repeat;
    background-position: left center;
    margin: 10px 3px 5px 3px;
    padding: 5px 0 7px 25px;
    border-bottom: #ccc solid 5px;
    font-size: 105%;
    font-weight: bold;
    color: #222;
}

main h4 {
    margin: 10px 5px 5px 5px;
    padding: 20px 0 5px 15px;
    font-size: 105%;
    font-weight: bold;
    border-bottom: dotted #CCC 3px;
}

main p {
    font-size: 100%;
    padding: 10px 15px 5px 15px;
}

main ul {
    padding: 7px 0 7px 0;
}

/* table 枠線 */
/* about-us 内の表に枠線を付ける */
.about-us table {
    border-collapse: collapse;
    /* 線を一本にする */
    width: auto;
    margin: 15px 10px 20px 10px;
}

.about-us th,
.about-us td {
    border: 1px solid #ddd;
    /* 黒の通常の線 */
    padding: 8px 12px;
    /* 余白（お好みで調整） */
    vertical-align: top;
}

/* 見出し（th）を少し見やすくする場合（任意） */
.about-us th {
    text-align: left;
    white-space: nowrap;
}

/* table 枠線 ここまで */

main .course_p {
    padding: 5px 0 10px 38px;
}

/* sidebar */
aside {
    flex: 0 0 260px;
    /* 固定幅 */
    order: 1;
    /* PC時：1番目 → 左側 */
}

aside p {
    font-size: 100%;
    padding: 5px 0 5px 10px;
}

aside img {
    margin: 2px 0 10px 0;
}

aside h3 {
    background-color: #e7e7e7;
    border-bottom: #c1c1c1 solid 3px;
    width: 217px;
    margin: 5px 0 0 2px;
    padding: 5px 0 3px 15px;
    font-size: 100%;
    font-weight: bold;
}

aside .side {
    font-size: 100%;
    width: 229px;
    border: solid #ddd 1px;
    margin-left: 2px;
}

aside .side a {
    background-image: url(../img/yajirushi_01.gif);
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0 0 0 8px;
    padding: 5px 0 5px 20px;
    display: block;
    text-decoration: none;
}

aside .side_info {
    font-size: 100%;
    width: 229px;
    border: solid #ddd 1px;
    margin-left: 2px;
}

aside .side_info_01 {
    margin: 5px 0 5px 10px;
}

aside .side .area {
    padding: 5px 0 3px 10px;
}


aside .side .side01 {
    padding: 3px 0 2px 10px;
}

aside .side .side02 {
    padding: 0 0 0 3px;
}

aside .time {
    margin: 0 0 0 20px;
}

/* footer */
footer {
    display: flex;
    justify-content: center;
    background-color: #e7e7e7;
    width: 100%;
    height: 100%;
    clear: both;
    font-size: 100%;
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
}

footer p {
    font-size: 100%;
    margin: 3px 15px 0 15px;
    padding: 3px 10px 2px 10px;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .privacy_link {
    background-image: url(../img/yajirushi_01.gif);
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0 0 0 8px;
    padding: 5px 0 5px 20px;
}

footer #link_nav {
    margin: 5px 15px 5px 15px;
}

footer address {
    padding: 10px 0 10px 0;
}

footer .footer_1 {
    flex: 1 5 auto;
    margin: 5px 5px 5px 80px;
}

footer .footer_2 {
    flex: 1 1 auto;
    margin: 30px 0 0 0;
}

footer .footer_3 {
    flex: 1 1 auto;
    margin: 5px 5px 5px 5px;
}

footer .footer_4 {
    flex: 1 1 auto;
    margin: 5px 50px 5px 15px;
}

#footer_end {
    background-color: #e7e7e7;
    width: 100%;
    height: 100%;
    font-size: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 15px 0 15px 0;
}

#trial_footer {
    position: fixed;
    left: 0;
    bottom: 0;
    margin: 10px 0 0 0;
    padding: 5px 10px 5px 10px;
    width: 100%;
    background-color: #00aadf;
    box-shadow: 0 -4px 5px rbga(0, 0, 0, 0, 6)
}

#trial_footer p {
    text-align: center;
    color: fff;
    font-weight: bold;
}

#trial_footer .trial_link {
    display: inline-block;
    margin: 0 0 0 10px;
    padding: 10px 20px;
    background-color: #00cc00;
    border-radius: 8px;
    color: #fff;
}

footer .pc {
    display: none;
}

footer .mb {
    display: none;
}

/* ハンバーガーメニュー開始 */
#nav-drawre {
    position: relative;
}

/* チェックボックス非表示 */
.nav-unshown {
    display: none;
}

/* アイコンのスペース */
#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

/* ハンバーガーアイコンをCSSで表現 */
#nav-open span,
#nav-open span:before,
#nav-open span:after {
    position: absolute;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
}

#nav-open span:before {
    bottom: -8px;
}

#nav-open span:after {
    bottom: -16px;
}

/* 開いた時の後ろの薄黒 */
#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3x ease-in-out;
}

/* 中身 */
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 330px;
    /* 開いた時の横幅 */
    height: 100%;
    background: #00aadf;
    /* 背景色 */
    transition: .3s ease-in-out;
    /* 滑らかに表示 */
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
}

/* 文字色など */
#nav-content li a {
    color: #fff;
    text-decoration: none;
}

#nav-content img {
    margin-top: 10px;
}

/* チェックが入ったもろもろ表示 */
#nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
}

#nav-drawer .instructor_link {
    margin: 20px 0 0 0;
}

@media screen and (min-width:767px) {
    #nav-open {
        display: none;
    }

    #nav-drawer p {
        display: none;
    }
}

/* ハンバーガーメニューここまで */

/* ページトップ */
.pagetop {
    display: none;
    position: fixed;
    bottom: 75px;
    right: 20px;
}

.pagetop a {
    display: block;
    background-color: #33ccff;
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    padding: 5px 10px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.pagetop a:hover {
    display: block;
    background-color: #b2d1fb;
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    padding: 5px 10px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

/* ページトップここまで */

/* 文字太さ、色 */
.font_red {
    color: #ff002a;
}

.font_or {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: yellow;
    text-decoration-thickness: 0.5em;
    text-decoration-skip-ink: none;
    text-underline-offset: -0.25em;
}

.font_b {
    font-weight: bold;
}

.font_bolder {
    font-weight: bolder;
}

.border {
    background: #f6f6f6;
    margin: 3px 0 -18px 0;
    padding: 5px 10px 5px 10px;
    border-radius: 15px 15px 15px 15px;
}

/* グレイ背景 */
.gray-back {
    background: #f0f0f0;
    margin: 5px;
    padding: 10px 10px 10px 10px;
    border-radius: 15px 15px 15px 15px;
}

/* その他 */
.lin_01 {
    background-image: url(../img/yajirushi_01.gif);
    background-repeat: no-repeat;
    background-position: left center;
    margin: 10px 0 0 5px;
    padding: 4px 0 4px 15px;
    font-size: 100%;
}

#right {
    float: right;
}

.center {
    margin: 8px 0 8px 135px;
}

.col {
    float: left;
}

.send {
    background-image: url(/img/send.jpg);
    background-repeat: no-repeat;
    width: 255px;
    height: 57px;
}

#need a {
    text-decoration: underline;
}

.img_mouseover:hover {
    opacity: 0.5;
}

.link_border {
    text-decoration: underline;
}

.line {
    padding: 3px 0 0 10px;
}


.circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #67A6EB;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    -ms-border-radius: 50px;
    border-radius: 50px;
}
