.body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif !important;
}

.carousel-item {
    padding: 15vw 0;
    background-size: cover;
    background-position: center;
}

.carousel-inner {
    height: 100% !important;
}

.carousel-indicators .active {
    background-color: #000 !important;
}

.carousel-indicators li {
    border: 1px solid rgb(36, 36, 36) !important;
}

@media screen and (min-width: 768px) {
    .carousel-indicators {
        bottom: -7% !important;
    }
}

@media screen and (min-width: 1050px) {
    .section-header {
        width: 90%;
        margin: 0px auto;
    }

    .section-header h2 {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .section-header h2:before,
    .section-header h2:after {
        content: "";
        border-top: 2px solid;
        margin: 0 20px 0 0;
        flex: 1 0 20px;
    }

    .section-header h2:after {
        margin: 0 0 0 20px;
    }
}

/* about */

#about {
    position: relative;
    margin-top: 4%;
}

#about h1 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: #2394b3;
}

#about h3 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2394b3;
}

#about p {
    display: table;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    margin: 0px auto;
    text-align: left;
    font-size: 12.3px;
    font-weight: 600;
    color: #000000;
}

#about a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    margin: 0px auto;
    display: table;
    background-color: #2394b3;
    color: #fff;
    padding: 5px 17px;
    border-radius: 4px;
}

.box-message {
    float: right;
    background-color: #ffa500;
    padding: 11px 9px;
    margin-top: -3%;
    border-radius: 6px;
    box-shadow: 2px 2px #45454542;
}

.box-message h5 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    background-color: #fff;
    padding: 4px 3px;
    color: #ffa500;
    font-weight: 600;
}

.box-message p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 20px;
    text-align: center;
    color: #fff;
}

.fixedmessage {
    position: sticky;
    top: 10%;
    align-self: flex-end;
    z-index: 1;
}

/* news */

.news {
    position: relative;
    margin-top: 4%;
}

hr {
    border-top: 2px solid #dadada !important;
}

.jp-header {
    position: relative;
    width: 100%;
}

.jp-header h3 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}

#howto {
    display: block;
}

#cards {
    margin: 0px auto;
    width: 95%;
}

.card {
    position: relative;
    background: #f7f7f7;
    border-radius: 5px;
    margin: 10px auto;
    overflow: hidden;
    width: 90%;
}

.card h5 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.5;
}

.card p {
    padding: 0 10px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.card a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.card img {
    height: 150px;
    object-fit: cover;
    margin: 0;
}

#howtobutton {
    margin-left: -1%;
    text-align: center;
}

#howtobutton a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    background: #000;
    color: #fff;
    width: 30%;
}

#howtobutton a:hover {
    background: #000;
    color: #fff;
}

#howtojpheader {
    margin-left: 0%;
}

/* service */

#service {
    position: relative;
    width: 100%;
    background-color: #f7f7f7;
    margin-top: 6%;
}

#servicejpheader {
    margin: 0px auto;
    display: contents;
}

#servicejpheader h3 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
}

#servicejpheader p {
    text-align: center;
}

#cards {
    margin: 0px auto;
    width: 95%;
}

.serv-card {
    position: relative;
    background: #fff;
    border-radius: 5px;
    margin: 10px auto;
    overflow: hidden;
    width: 90%;
    padding: 14px 14px;
    box-shadow: 2px 2px #dedede;
    min-height: 350px;
}

.serv-card h5 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.5;
}

.serv-card p {
    padding: 0 10px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.serv-card a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.serv-card img {
    height: 150px;
    object-fit: cover;
    margin: 0;
}

#servicebutton {
    margin-left: -1%;
    text-align: center;
}

#servicebutton a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
    background: #000;
    color: #fff;
    width: 30%;
}

#servicebutton a:hover {
    background: #000;
    color: #fff;
}

/* seminar */

#seminar {
    display: block;
}

.jp-header p {
    font-weight: 600;
    margin: 0px auto;
    text-align: center;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    letter-spacing: 1px;
}

.seminar-card {
    position: relative;
    background: #fff;
    margin: 10px auto;
    overflow: hidden;
    width: 90%;
    padding: 14px 14px;
    border: 1px solid #000;
    min-height: 350px;
}

.seminar-card h5 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.5;
}

.seminar-card p {
    padding: 0 10px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.seminar-card a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.seminar-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin: 0;
}

/* blogs */

.blog-card {
    position: relative;
    background: #fff;
    margin: 10px auto;
    overflow: hidden;
    width: 90%;
    padding: 0px 7px;
    border: 1px solid #000;
    min-height: 330px;
}

.blog-card h5 {
    margin-top: 3px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 600;
    font-size: 12px;
    background-color: #000;
    line-height: 1.5;
    padding: 3px 7px;
    color: #fff;
}

.blog-card p {
    padding: 0 10px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    display: block;
    padding: 0 0px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1.5;
    text-align: justify;
}

.blog-card a {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
        "游ゴシック", "Yu Gothic", sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.blog-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin: 0;
}

@media screen and (min-width: 600px) {
    .card {
        width: 100%;
        margin: 1%;
        float: left;
    }
}

@media screen and (min-width: 1050px) {
    .card {
        width: 100%;
        margin: 1%;
        float: left;
        padding: 26px 26px;
        min-height: 450px;
    }
}

/* For Desktop View */
@media screen and (min-width: 1024px) {
    .carousel-indicators {
        bottom: -12% !important;
    }

    /* news */

    .section-header {
        width: 50%;
    }
}

/* For Tablet View */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .carousel-indicators {
        bottom: -7% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h1 {
        font-size: 16px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    .howtobutton {
        letter-spacing: 1px;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 100%;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}

/* For Mobile Portrait View */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
    .carousel-indicators {
        bottom: -7% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 16px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}

/* For Mobile Landscape View */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
    .carousel-indicators {
        bottom: -26% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 16px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}

/* For Mobile Phones Portrait or Landscape View */
@media screen and (max-device-width: 640px) {
    .carousel-indicators {
        bottom: -34% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 16px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    .card {
        padding: 16px 16px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}

/* iPhone SE, iPhone XR, Pixel 5, iPad  */
@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .carousel-indicators {
        bottom: -24% !important;
    }

    .jp-header h3 {
        font-size: 22px;
    }

    .card {
        padding: 22px 22px;
        min-height: 478px;
        padding: 22px 22px;
        margin-bottom: 20px;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 18px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .serv-card {
        min-height: 390px;
    }

    .seminar-card {
        min-height: 390px;
    }

    .blog-card img {
        width: 100%;
        object-fit: cover;
    }

    .fixedmessage {
        position: relative;
    }

    .box-message {
        width: 68%;
        margin-top: 3%;
        margin-left: 17%;
        float: none;
    }

    #about h1 {
        font-size: 32px;
    }

    #about h3 {
        font-size: 18px;
    }
}

/* For iPhone 5 Portrait or Landscape View */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .carousel-indicators {
        bottom: -28% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 18px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}

/* iPhone XS, iPhone 12 Pro */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
    .carousel-indicators {
        bottom: -28% !important;
    }

    /* news */

    .section-header {
        width: 70%;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* how to */

    .jp-header h3 {
        font-size: 16px;
        text-align: center;
        padding: 0px;
        margin-bottom: 40px;
    }

    /* how to */
    #howto {
        margin: 0px auto;
    }

    #service {
        margin: 0px auto;
    }

    #serviceheader {
        margin-left: 0%;
    }

    #servicejpheader {
        margin-left: 0%;
    }

    #howtoheader {
        margin-left: 15%;
    }

    #howtojpheader {
        margin-left: 0%;
    }

    #howtobutton a {
        width: 85%;
        font-size: 12px;
    }

    #servicebutton a {
        width: 84%;
    }

    .serv-card img {
        width: 100%;
        object-fit: contain;
    }

    .seminar-card img {
        width: 100%;
        object-fit: contain;
    }

    .card img {
        width: 100%;
        object-fit: contain;
    }

    .jp-header p {
        font-size: 12px;
    }

    .blog-card img {
        width: 100%;
        object-fit: contain;
    }
}


#main strong {
    font-weight: bold !important;
    color: #000 !important;
}