﻿/* ページ全体にゴシックフォントを適用（iOS対策） */
@supports (-webkit-touch-callout: none) {
  body, h1, h2, h3, h4, h5, h6, h7, p, span, div, li, a, input, button, textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "游ゴシック", "Meiryo", sans-serif !important;
  }
}

/*
Infinity v1.1
*/

/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 15px  !important;
    line-height: 150%  !important;
}
@media only screen and (max-device-width: 480px) { /* スマホのみ */
body {
    font-size: 14px  !important;
}}


::-moz-selection {
    background: #2980b9;
    color: #222;
    text-shadow: none;
}

::selection {
    background: #2980b9;
    color: #222;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0 60px;
    padding: 0;
}





textarea {
    resize: vertical;
}

.nopaddingbottom {
    padding-bottom: 0 !important;
}

.mt0 {
    margin-top: 0 !important
}

.mb60 {
    margin-bottom: 60px !important
}

.mb30 {
    margin-bottom: 25px !important
}

/* ==========================================================================
   General styles
   ========================================================================== */
#content-wrapper {
    max-width: 1270px;
    margin: 0 auto;
    background-color: #fff;
}

body {
    height: 100%;
}

body {
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
    font-weight: 300;
    font-size: 15px;/*■フォントサイズ*/
    color: #555;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
}

.col-md-4 {
    padding-bottom: 20px;
}

.row {
    margin-right: 0px;
    margin-left: -10px;
}

.modal-header {
    background: #2980b9;
}

.modal-header h4 {
    color: white;
}

.modal-footer {
    background: #2980b9;
}

.navbar-nav {
    float: right;
}

.navbar-fixed-top {
    width: 100%;
}

.navbar-default {
    border-color: transparent;
    background-color: rgba(255,255,255,0.0);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #fff;
}

.navbar-default.opaqued .navbar-nav > li > a, .navbar-default.opaqued .navbar-brand h1, .navbar-default.opaqued .navbar-brand {
    color: #ffffff;
    background: transparent;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    font-size: 100%;
}

.navbar-brand h1 {
    text-transform: ;
}

.navbar-brand .pe-7s-loop {
    position: relative;
    margin-right: -2px;
    -webkit-transform: rotate(45deg); 
    -moz-transform: rotate(45deg); 
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg); 
    font-size: 30px;
}

.navbar-default.opaqued h1 {
    font-size: 0px !important;/*元は38px→0,文法解説のみ，ビューアページから文法解説ページを開いた時に，上部が欠けることを避けるため。*/
    position: relative;
    top: -2px;
}

.opaqued.navbar-default .navbar-toggle, .opaqued.navbar-default .navbar-toggle:hover, .opaqued.navbar-default .navbar-toggle:focus {
    border-color: transparent;
    background-color: transparent;
    color: #fff;
}

.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    border-color: transparent;
    background-color: transparent;
    color: #222;
}

.dropdown-menu {
    border: none !important;
    border-radius: 0 !important; 
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.dropdown-menu li {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 100%;
    text-transform: uppercase;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background-color: #fff;
    font-size: 12px;
}

.opaqued {
    padding: 0;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.opaqued {
    padding: 25px 0;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.navbar-toggle {
    border-color: transparent;
    border: 0px solid transparent;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand h1 {
    margin: 5px 0 5px 0;/* 元は「15px 0px」 */
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #2980b9;
    background-color: transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: transparent;
    color: #202020;
}

.navbar-default.opaqued .navbar-nav > li > a:hover,
.navbar-default.opaqued .navbar-nav > li > a:focus {
    background-color: transparent;
    color: #e5e5e5;
    text-shadow: rgba(0,0,0,0.4) 0px 1px 1px;
}

.navbar-nav > li > a {
    padding-top: 25px;
    padding-bottom: 25px;
    font-weight: 700;
    font-size: 18px !important;/* ■上部ナビのフォントサイズ */
    text-transform: uppercase;
        width: 250px;/* ■上部ナビの全体幅 */
    letter-spacing: 2px;
}

.navbar-nav > li > a:after {
    content: '';
    width: 34px;
    height: 5px;
    position: absolute;
    border-bottom: none;
    margin: 0 auto;
    left: 50%;
    margin-left: -17px;
    top: 55px;
}
















hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    background: white;
}

.odd a img {
    background: #f5f5f5;
}

.collapse.open {
    display: block;
}

/* ==========================================================================
   TITLES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: '';
    font-weight: 700;
    color: ;
}


h1{
    font-family: '';
    font-weight: ;
    color: ;
    font-size: 30px;
}

h2{
    font-family: '';
    font-weight: ;
    color: ;
    font-size: 25px;
}

h3{
    font-family: '';
    font-weight: ;
    color: #00552e;
    font-size: 1.2em;
    line-height: 1.4em;
    margin-left:1em;
    text-indent:-1em;
}



h4{
    font-family: '';
    font-weight: ;
    color: ;
    font-size: 1em;
    line-height: 1.0em;
}

h5{
    font-family: '';
    font-weight: ;
    color: ;
    font-size: 18px;
}

h6{
    font-family: '';
    font-weight: ;
    color: white;
    font-size: 20px;
}


h7{
    font-family: '';
    font-weight: ;
    color: white;
    font-size: 40px;
    line-height: 1.3em;

}


.midasi{
    font-family: '';
    font-weight: ;
    color: blue;
    font-size: 1em;
}


*.siro{/* 白くするクラス */
    font-family: '';
    font-weight: ;
    color: white;
    font-size: 40px;
}



strong {/* strongを太くしない */
font-weight: normal;
}




/* ==========================================================================
   P AND TYPOGRAPHY
   ========================================================================== */
p {
    line-height: 1.6em;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "Monaco";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- ";
}

/* Images */
.overflow-image {
    margin-top: -65px;
}

/* Links */
a {
    color: #2980b9;
    word-wrap: break-word;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #2980b9;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

.icon-x4 {
    font-size: 2em;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */
#headerwrap {
    margin-top: 0px;
    text-align: center;
    background-attachment: relative;
    background-position: center;
    min-height: 650px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
    color: #ffffff;
    margin-top: 0px;
    padding-bottom: 30px;
    letter-spacing: 4px;
    font-size: 100px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}

#headerwrap p {
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
    letter-spacing: -1px;
    margin-left: 15px;
    text-shadow: none;
    text-transform: uppercase;
}

.greywrap {
    background: #f5f5f5;
    margin-top: 0px;
    padding-top: 40px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.greywrap .callout {
    margin-bottom: 20px;
}

.greywrap .icon {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
}

#footerwrap {
    margin-top: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: none;
    text-align: center;
}

#footerwrap h4 {
    color: white;
    font-size: 100%;
    text-transform: uppercase;
}

#footer-social {
    padding: 0;
    margin: 0 0 40px 0;
}

#footer-social li {
    color: #202020;
    background-color: #f5f5f5;
    width: 40px;
    height: 40px;
    line-height: 42px;
    text-align: center;
    list-style: none;
    display: inline-block;
    opacity: 0.95;
}

#footer-social li a {
    color: #202020;
    font-size: 18px;
}

#footer-social li:hover {
    background-color: #111;
    color: #f5f5f5;
}

#footer-social li:hover a {
    color: #f5f5f5;  
}
}

.homebtn {
    border: 3px solid #fff;
    color: #fff;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 40px;
}

.homebtn:hover {
    border: 3px solid #fff;
    background-color: #fff;
    color: #222;
}

.homeicon {
    font-size: 20px;
    margin-left: 8px;
    position: relative;
    top: -3px;
}

.btt-wrapper {
    margin-bottom: 30px;
    line-height: 1;
}

.btt-link {
    font-size: 40px;
    color: #f5f5f5;
}

.btt-link:hover {
    color: #111;
}

#search-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    font-style: 40px;
    padding: 15px;
    height: 70px;
    z-index: 99;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

#search-wrapper input {
    width: 1170px;
    padding: 10px;
    border: none !important;
    display: block;
    margin: 0 auto;
    background-color: #eee;
}

#search-wrapper.opaqued {
    background-color: rgba(0,0,0,0);
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h1 {
    padding-top: 60px;
}

.white p {
    padding-top: 3px;
}

/* Section Dividers */
.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    border-bottom: 2px solid #E6EAED;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #202020;
    background-position: center center;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: relative;
    text-align: center;
}

.textdivider h1 {
    padding-top: 25px;
    color: white;
    font-size: 40px;
}

.textdivider p {
    color: white;
    font-size: 25px;
}

.section {
    padding-bottom: 60px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-content {
    position: relative;
    padding: 18px 25px 10px;
    background: #f5f5f5;
    border-bottom: 4px solid #ccc;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.service-content h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    text-transform: uppercase;
}

.service-content:hover, .blog-content:hover {
    border-bottom: 4px solid #2980b9;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.service-content p {
    padding: 0;
    margin-bottom: 15px;
}

.service-icon-wrapper {
    padding: 0;
    z-index: 99;
}

.hi-icon {
    background: #2980b9;
    display: inline-block;
    margin: 0;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 2em;
    line-height: 60px !important;
    z-index: 99;
}

.hi-icon:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(41, 128, 185, 0);
    border-left-color: #2980b9;
    border-width: 10px;
    margin-top: -10px;
    z-index: 99;
}

/* ==========================================================================
   Staff Section
   ========================================================================== */
.team-image-wrapper {
    padding: 0;
    background: #2b2b2b;
    position: relative;
    z-index: 1;
}

.team-image-wrapper:after {
    left: 100%;
    top: 25px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(41, 128, 185, 0);
    border-left-color: #2b2b2b;
    border-width: 10px;
    margin-top: -10px;
    z-index: 10;
}

.team-image {
    margin-bottom: 0px;
    max-width: 100%;
    height: auto;
    border: 5px solid #2b2b2b;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.team-info {
    text-align: left;
    background: #f5f5f5;
}

.team-info h4 {
    font-size: 22px;
    text-transform: uppercase;
}

.team-info p {
    padding: 0;
}

.team-social {
    background: #2b2b2b;
    padding: 4px;
    color: #fff;
    display: inline-flex;
    clear: both;
    position: relative;
    margin-bottom: 6px;
    font-size: 100%;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.team-social:hover {
    color: #fff;
    background: #202020;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.team-social.twitter {
    background: #55acee;
}

.team-social.facebook {
    background: #3b5998;
}

.team-social.flickr {
    background: #ff0084;
}
/* ==========================================================================
   Image Mask
   ========================================================================== */
.grid figure {
    margin: 0;
    position: relative;
}

.grid figure img {
    width: 100%;
    display: block;
    position: relative;
}

.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 15px;
    color: #ffffff;
    background: rgba(0,0,0,0.6);
}

.grid figcaption h5 {/* 並べる画像のタイトル */
    margin: 0 0 10px;
    font-size: 100%;
    padding-top: 0px;
    padding-left: 0;
    padding-bottom: 0px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0px;
    width: 100%;
    clear: both;
    display: inline-block;
}

.grid figcaption a {
    text-align: center;
    padding: 5px 10px;
    display: inline-block;
    background: #2f2f2f;
    color: #ffffff;
    font-size: 100%;
}

/* Caption Style */
.mask figure {
    overflow: ;
}

.mask figure img {
    -webkit-transition: -webkit-transform 0s;
    -moz-transition: -moz-transform 0s;
    transition: transform 0s;
    -webkit-user-select: ;
    -webkit-touch-callout: ; 
    }

.no-touch .mask figure:hover img,
.mask figure.cs-hover img,
.mask figure:focus img,
.mask figure:active img {
    -webkit-transform: translateY(-0px);
    -moz-transform: translateY(-0px);
    -ms-transform: translateY(-0px);
    transform: translateY(-0px);
}

.mask figcaption {/* ■重要　並べる図の説明*/
    text-align: center;
    height: 100%;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s; 
}

.no-touch .mask figure:hover figcaption,
.mask figure:focus figcaption,
.mask figure:active figcaption,
.mask figure.cs-hover figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.mask figure.hovereffect figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.grid figure:active figcaption, .grid figure:focus figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
    position: relative;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0);
    border-radius: 0;
    padding: 8px 10px 7px;
    top: 50%;
    margin-top: -18px;
}

.mask figcaption a:hover {
    background-color: #fff;
    border: 2px solid #fff;
    color: #2980b9;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
}

.img-wrapper img {
    position: relative;
}

.img-wrapper .img-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,0.8);
    display: block;
    top: 0;
    opacity: 0;
    text-align: center;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.img-wrapper:hover .img-mask {
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.mask-icon {
    font-size: 20px;
    color: #fff;
    border: 2px solid #fff;
    opacity: 0.6;
    display: block;
    position: relative;
    top: 50%;
    margin: 0 auto;
    width: 45px;
    height: 45px;
    line-height: 44px;
    margin-top: -20px;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
*/
.mask-icon:hover {
    color: #fff;
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.ih-item.square {
    width: 100% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
  Portfolio Carousel■並べる画像  
   ========================================================================== */
#portfolio-content {
    overflow: hidden;
    background-color: #222;
}

#portfolio-categories {
    text-align: center;
    list-style-type: none !important;
    list-style: none;
    padding: 0;
    margin: 50px 0 50px 0;
}

#portfolio-categories li {
    display: inline-block;
    list-style-type: none;
    list-style: none;
}

#portfolio-categories li a.active {
    position: relative;
    background: #ffffff;
    border: 1px solid #2980b9;
    color: #2980b9;
}

#portfolio-categories li a.active:after, #portfolio-categories li a.active:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}


#portfolio-categories li a.active:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 5px;
    margin-left: -5px;
}

#portfolio-categories li a.active:before {
    border-color: rgba(41, 128, 185, 0);
    border-top-color: #2980b9;
    border-width: 6px;
    margin-left: -6px;
}

#portfolio-content #filters {
    height: 50px;
    position: relative;
    display: block;
}

#portfolio-content .col-md-3 {
    padding: 0;
    width: 50%;/*■並べる画像幅 ３枚のときは33%になるが100%にならないので使用不可(スマホでおかしくなる)  */
}

#portfolio-carousel {
}

#portfolio-carousel .col-md-4 {
    width: 100%;
}

#portfolio-carousel .owl-buttons {
    position: absolute;
    width: 100%;
    top: 40%;
    z-index: 10;
    height: 0;
}

#portfolio-carousel .owl-buttons .owl-prev, #portfolio-carousel .owl-buttons .owl-next {
    border: 2px solid #555;
    opacity: 0.9;
    background-color: #202020;
    color: #f5f5f5;
    font-size: 18px;
    padding: 6px 8px;
}

#portfolio-carousel .owl-buttons .owl-prev {
    float: left;
    margin-left: 20px;
    padding: 6px 10px 5px 7px;
}

#portfolio-carousel .owl-buttons .owl-next {
    float: right;
    margin-right: 20px;
    padding: 6px 7px 5px 10px;
}

















/* ==========================================================================
   ISOTOPE
   ========================================================================== */
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* ==========================================================================
  SINGLE PROJECTS
   ========================================================================== */
.single-project-slideshow {
}

.single-project-slideshow h2 {
    color: #fff;
    font-size: 36px;
    text-transform: uppercase;
    margin: 40px 0 0px;
}

.single-project-slideshow .carousel-control span {
    border: 0px solid #fff;
    padding: 12px 8px 8px 7px;
    line-height: 30px;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
}

.carousel-control {
    opacity: 1;
}

#currently-viewing {
    margin-top: 0;
    background-color: rgba(0,0,0,0);
    border-bottom: none !important;
}

#tubular-container {
    z-index: -5 !important;
}

#big-video-wrap {
    background-color: #fff !important;
    overflow:hidden;
    position:fixed;
    height:100%;
    width:100%;
    top:0;
    left:0; 
    z-index: -1;
}

#big-video-wrap video, #big-video-vid {
    background-color: #fff !important;
    background: #fff;
}
#big-video-vid,#big-video-image{position:absolute;}
#big-video-control-container{position:fixed;bottom:0;padding:10px;width:100%;background:rgba(0,0,0,.25);
  -webkit-transition-duration:0.6s;-moz-transition-duration:0.6s;-ms-transition-duration:0.6s;-o-transition-duration:0.6s;transition-duration:0.6s;}
#big-video-control{width:100%;height:16px;position:relative;}
#big-video-control-middle{margin: 0 56px 0 24px;}
#big-video-control-bar{display: none;width:100%;height:16px;position:relative;cursor:pointer;}
#big-video-control-progress{position:absolute;top:7px;height:3px;width:0%;background:#fff;}
#big-video-control-track{position:absolute;top:8px;height:1px;width:100%;background:#fff;}
#big-video-control-bound-left{left:0;}
#big-video-control-bound-right{right:-1px}
#big-video-control-track .ui-slider-handle {opacity:0;}
#big-video-control-playhead{left:30%;}
#big-video-control-play{position:absolute;top:0;left:0;height:16px;width:16px;background-image:url('bigvideo.png');}
#big-video-control-timer{position:absolute;top:1px;right:0;color:#fff;font-size:11px;}
#big-video-control-playhead,#big-video-control-bound-left,#big-video-control-bound-right{position:absolute;top:0;height:16px;width:1px;background:#fff;}
#big-video-control .ui-slider-handle{border-left:solid 1px #fff; width:16px;height:16px;position:absolute;top:-8px;}
.transparent{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;}
.vjs-big-play-button{display:none !important;}
.vjs-control-bar {
    display: none;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
#pricing .panel-success {
    border-color: #ccc;
}

#pricing .panel-success > .panel-heading {
    color: #f5f5f5;
    background-color: #2b2b2b;
    border-color: #2b2b2b;
    border-radius: 0 !important;
}

#pricing .panel-success > .panel-heading h4 {
    color: #f5f5f5;
}

#pricing .panel-body {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
}

#pricing .panel-body .lead {
    margin: 10px 0;
    line-height: 1.2;
}

.panel {
    border-radius: 0;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-bg {
    margin-bottom: 50px;
    overflow: hidden;
}

.blog-bg img {
    max-width: 100%;
    height: auto;
}

.title-mb {
    margin-bottom: 60px;
}

.divider-spacer {
    margin: 35px 0 60px;
}

.blog-meta {
    position: relative;
    background: #202020;
    z-index: 1;
    padding: 10px;
}

.blog-meta img {
    max-width: 100%;
    height: auto;
}

.blog-meta:after {
    left: 100%;
    top: 25px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(43, 43, 43, 0);
    border-left-color: #2b2b2b;
    border-width: 10px;
    margin-top: -10px;
    z-index: 1;
}

.blog-meta-main {
    font-size: 100%;
    font-weight: bold;
    margin: 10px 0 10px 0;
    color: #c0c0c0;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.blog-meta-main span:hover, .blog-meta-main span a {
    color: #505050;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.blog-meta-main a {
    color: #888;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.blog-counts {
    padding: 10px;
    margin-bottom: -10px;
    margin-left: -10px;
    margin-right: -10px;
    background: #333;
    color: #eee;
}

.blog-counts .counter {
    font-size: 100%;
    display: inline;
    margin: 0 0 0 6px;
    color: #eee;
    line-height: 1.4;
}

.blog-counts h5 {
    margin: 0;
}

.blog-meta-main .post-meta-link {
    margin-right: 10px;
}

.blog-bg h4 {

    color: #eee;
    padding-top: 0px;
    font-size: 100%;
    line-height: 1.2;
}

.blog-bg h5 {
    color: #dadada;
    font-size: 11px;
}

.blog-content {
    position: relative;
    padding-top: 10px;
    background: #f5f5f5;
    border-bottom: 4px solid #ccc;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;

}

.blog-content h2 {
    margin-top: 5px;
    font-size: 24px;
}

.blog-content .btn {
    float: right;
    margin-bottom: 20px;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single-post-header {
    margin-top: 150px;
    text-align: center;
}

.single-metas {

    font-size: 20px;
    color: #c0c0c0;
    font-weight: 700;
    margin-top: 40px;
}

.single-metas a {
    color: #505050;
}

.single-metas i {
    position: relative;
    top: 2px;
}

.single-metas .counter {
    font-size: 20px;
    width: auto;
    color: #505050;
    display: inline-block;
    position: relative;
    font-weight: 700;
}

.single-metas span {
    margin: 0 5px;
}


/* ==========================================================================
   SINGLE POST COMMENTS
========================================================================== */
h3.comments-title {
    margin-bottom: 60px;
}

.comment-list {
    list-style-type: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 40px;
    clear: left;
    position: relative;
    display: block;
    overflow: hidden;
}

.comment-meta {
    position: relative;
    background: #2b2b2b;
    z-index: 1;
    padding: 10px;
}

.comments-wrapper {
    margin-bottom: 60px;
}

.comment-meta img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.comment-metadata {
    margin-top: 10px;
    color: #fff;
    font-size: 11px;
    margin-bottom: 5px;
}

.comment-metadata a {
    color: #fff;
}

.comment-meta:after {
    left: 100%;
    top: 25px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(43, 43, 43, 0);
    border-left-color: #2b2b2b;
    border-width: 10px;
    margin-top: -10px;
    z-index: 1;
}

.comment-list p {
    padding-top: 0;
}

.comment-list .reply {
    text-align: right;
}

.comment-content {
    padding-right: 0;
}

#respond {
    margin-bottom: 40px;
}

#respond p {
    padding: 0;
    margin: 0;
}

#respond .comment-notes {
    margin-bottom: 10px;
}

#respond #author, #respond #email, #respond #url, #respond #comment {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
}

/* POST NAV
   ========================================================================== */
#single-post-nav {
    width: 100%;
    height: 0;
    position: fixed;
    top: 50%;
}

#single-post-nav .prev {
    float: left;
    margin-left: 20px;
    font-size: 20px;
    color: #f5f5f5;
}

#single-post-nav .next {
    float: right;
    margin-right: 20px;
    font-size: 30px;
    color: #f5f5f5;
}

.tooltip-inner {
  max-width: 200px;
  padding: 8px 12px;
  color: #202020;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 100%;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  border-radius: 0px;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sb-img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.sidebar-post {
    margin-bottom: 30px;
}

.sidebar-post-content {
    padding: 0;
}

.sidebar-post-content h4 {
    margin: 0 0 7px;
    text-transform: uppercase;
    font-size: 16px;
}

.sidebar-post-content .blog-meta-main {
    font-size: 12px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.sidebar-post-content .blog-meta-main span {
    margin-bottom: 3px;
    display: block;
}

.sidebar-title {
    margin-bottom: 30px;
    text-transform: uppercase;
}

.project-sidebar p {
    margin-bottom: 0;
}

/* ==========================================================================
   RELATED
   ========================================================================== */
.related-posts .blog-meta-main.related {
    text-align: left;
    color: #f5f5f5;
    font-size: 12px;
}

.related-posts .owl-item h2 {
    text-align: left;
    color: #f5f5f5;
    margin: 10px 0 5px;
    font-size: 18px;
}

.related-posts .blog-meta-main.related a {
    color: #fff;
}

/* ==========================================================================
   STATS
   ========================================================================== */
span.counter {
    font-size: 44px;
    color: #fff;
    width: 100%;
    display: block;
    position: relative;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.counter-desc {
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.counter-icon-x4 {
    font-size: 4em;
    color: #fff;
    margin-top: 35px;
}

/* ==========================================================================
   CLIENTS
   ========================================================================== */
#clients {
    padding-bottom: 80px;
}

#clients .owl-item img {
    max-width: 160px;
    height: auto;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
#contactform input#name, #contactform input#email, #contactform input#website, #contactform textarea#comments {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
}

#contactform textarea#comments {
    min-height: 150px;
}

#contact h3 {
    text-transform: uppercase;
}

#mapwrapper {
    width: 100%;
    height: 400px;
}

.form-horizontal .control-label {
    display: none;
}

#message {
    padding: 0;
}

/* ==========================================================================
   FADE IN
   ========================================================================== */
.no-display {
    opacity: 0;
}

.appear {
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.backstretch:before, #big-video-wrap:before, #tubular-container:before {
    content: '';
    background-color: rgba(0,0,0,0.5);
    min-width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    z-index: 1;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
#testimonials-slider p {
    text-align: left;
    font-style: italic;
}

.testimonial-author-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-width: 100px;
}

#testimonials-slider i {
    font-size: 20px;
    color: #eee;
    font-style: normal;
}

.flip180 {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    display: inline-block;
    position: relative;
    top: 3px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-success {
    color: #2980b9;
    background-color: transparent;
    border-color: #2980b9;
    font-weight: 700;
    border-radius: 0;
    padding: 12px 20px;
    text-transform: uppercase;
}

.btn-success:hover, .btn-success:active, .btn-success:focus, .btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open>.dropdown-toggle.btn-success.focus, .open>.dropdown-toggle.btn-success:focus, .open>.dropdown-toggle.btn-success:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn:active, .btn.active {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* ==========================================================================
   OWL CORE
   ========================================================================== */
.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
/* display none until init */
.owl-carousel {
    display: none;
    position: relative;
    width: 100%;
    -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
    float: left;
}

.owl-controls .owl-page,
.owl-controls .owl-buttons div {
    cursor: pointer;
}

.owl-controls {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing {
    cursor: url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
}

/* 
 *  Owl Carousel CSS3 Transitions 
 *  v1.3.2
 */

.owl-origin {
    -webkit-perspective: 1200px;
    -webkit-perspective-origin-x: 50%;
    -webkit-perspective-origin-y: 50%;
    -moz-perspective: 1200px;
    -moz-perspective-origin-x: 50%;
    -moz-perspective-origin-y: 50%;
    perspective: 1200px;
}
/* fade */
.owl-fade-out {
    z-index: 10;
    -webkit-animation: fadeOut .7s both ease;
    -moz-animation: fadeOut .7s both ease;
    animation: fadeOut .7s both ease;
}

.owl-fade-in {
    -webkit-animation: fadeIn .7s both ease;
    -moz-animation: fadeIn .7s both ease;
    animation: fadeIn .7s both ease;
}
/* backSlide */
.owl-backSlide-out {
    -webkit-animation: backSlideOut 1s both ease;
    -moz-animation: backSlideOut 1s both ease;
    animation: backSlideOut 1s both ease;
}

.owl-backSlide-in {
    -webkit-animation: backSlideIn 1s both ease;
    -moz-animation: backSlideIn 1s both ease;
    animation: backSlideIn 1s both ease;
}
/* goDown */
.owl-goDown-out {
    -webkit-animation: scaleToFade .7s ease both;
    -moz-animation: scaleToFade .7s ease both;
    animation: scaleToFade .7s ease both;
}

.owl-goDown-in {
    -webkit-animation: goDown .6s ease both;
    -moz-animation: goDown .6s ease both;
    animation: goDown .6s ease both;
}
/* scaleUp */
.owl-fadeUp-in {
    -webkit-animation: scaleUpFrom .5s ease both;
    -moz-animation: scaleUpFrom .5s ease both;
    animation: scaleUpFrom .5s ease both;
}

.owl-fadeUp-out {
    -webkit-animation: scaleUpTo .5s ease both;
    -moz-animation: scaleUpTo .5s ease both;
    animation: scaleUpTo .5s ease both;
}
/* Keyframes */
/*empty*/
@-webkit-keyframes empty {
    0% {
        opacity: 1;
    }
}

@-moz-keyframes empty {
    0% {
        opacity: 1;
    }
}

@keyframes empty {
    0% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes backSlideOut {
    25% {
        opacity: .5;
        -webkit-transform: translateZ(-500px);
    }

    75% {
        opacity: .5;
        -webkit-transform: translateZ(-500px) translateX(-200%);
    }

    100% {
        opacity: .5;
        -webkit-transform: translateZ(-500px) translateX(-200%);
    }
}

@-moz-keyframes backSlideOut {
    25% {
        opacity: .5;
        -moz-transform: translateZ(-500px);
    }

    75% {
        opacity: .5;
        -moz-transform: translateZ(-500px) translateX(-200%);
    }

    100% {
        opacity: .5;
        -moz-transform: translateZ(-500px) translateX(-200%);
    }
}

@keyframes backSlideOut {
    25% {
        opacity: .5;
        transform: translateZ(-500px);
    }

    75% {
        opacity: .5;
        transform: translateZ(-500px) translateX(-200%);
    }

    100% {
        opacity: .5;
        transform: translateZ(-500px) translateX(-200%);
    }
}

@-webkit-keyframes backSlideIn {
    0%, 25% {
        opacity: .5;
        -webkit-transform: translateZ(-500px) translateX(200%);
    }

    75% {
        opacity: .5;
        -webkit-transform: translateZ(-500px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0) translateX(0);
    }
}

@-moz-keyframes backSlideIn {
    0%, 25% {
        opacity: .5;
        -moz-transform: translateZ(-500px) translateX(200%);
    }

    75% {
        opacity: .5;
        -moz-transform: translateZ(-500px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateZ(0) translateX(0);
    }
}

@keyframes backSlideIn {
    0%, 25% {
        opacity: .5;
        transform: translateZ(-500px) translateX(200%);
    }

    75% {
        opacity: .5;
        transform: translateZ(-500px);
    }

    100% {
        opacity: 1;
        transform: translateZ(0) translateX(0);
    }
}

@-webkit-keyframes scaleToFade {
    to {
        opacity: 0;
        -webkit-transform: scale(.8);
    }
}

@-moz-keyframes scaleToFade {
    to {
        opacity: 0;
        -moz-transform: scale(.8);
    }
}

@keyframes scaleToFade {
    to {
        opacity: 0;
        transform: scale(.8);
    }
}

@-webkit-keyframes goDown {
    from {
        -webkit-transform: translateY(-100%);
    }
}

@-moz-keyframes goDown {
    from {
        -moz-transform: translateY(-100%);
    }
}

@keyframes goDown {
    from {
        transform: translateY(-100%);
    }
}

@-webkit-keyframes scaleUpFrom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.5);
    }
}

@-moz-keyframes scaleUpFrom {
    from {
        opacity: 0;
        -moz-transform: scale(1.5);
    }
}

@keyframes scaleUpFrom {
    from {
        opacity: 0;
        transform: scale(1.5);
    }
}

@-webkit-keyframes scaleUpTo {
    to {
        opacity: 0;
        -webkit-transform: scale(1.5);
    }
}

@-moz-keyframes scaleUpTo {
    to {
        opacity: 0;
        -moz-transform: scale(1.5);
    }
}

@keyframes scaleUpTo {
    to {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */
.owl-theme .owl-controls {
    margin-top: 10px;
    text-align: center;
}

.owl-theme .owl-controls .owl-buttons div {
    color: #FFF;
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 10px;
    font-size: 12px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
}

.owl-theme .owl-controls.clickable .owl-buttons div:hover {
    filter: Alpha(Opacity=100);
    opacity: 1;
    text-decoration: none;
}

.owl-theme .owl-controls .owl-page {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    filter: Alpha(Opacity=100);
    opacity: 1;
}

.owl-theme .owl-controls .owl-page span.owl-numbers {
    height: auto;
    width: auto;
    color: #FFF;
    padding: 2px 10px;
    font-size: 12px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.owl-item.loading {
    min-height: 150px;
    background: url(AjaxLoader.gif) no-repeat center center;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #cccccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #cccccc;
}

.mfp-preloader a:hover {
    color: white;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    filter: alpha(opacity=65);
    padding: 0 0 18px 10px;
    color: white;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100);
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: white;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #cccccc;
    font-size: 12px;
    line-height: 18px;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    filter: alpha(opacity=65);
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100);
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px;
}

.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px;
}

.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: black;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444;
}

.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 100%;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.mfp-ie7 .mfp-img {
    padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
    padding: 0;
}

.mfp-ie7 .mfp-content {
    padding-top: 44px;
}

.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0;
}


/* ==========================================================================
   Logo Slider
   ========================================================================== */
#logo-slider img {
    opacity: 0.6;
}

#logo-slider img:hover {
    opacity: 1;
}


/* ==========================================================================
   Countdown
   ========================================================================== */
#countdown {
    font-size: 80px;
    text-transform: uppercase;
    color: #fff;
}

#countdown span {
    text-align: center;
    width: 140px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin: 0;
}

#countdown b {
    clear: left;
    display: block;
    position: relative;
    font-size: 100%;
    text-transform: uppercase;
}

#countdown span {

}

/* PRELOADER */
.js div#preloader { 
    position: fixed; 
    left: 0; 
    top: 0;
    z-index: 999999;
    width: 100%; 
    height: 100%; 
    overflow: visible; 
    background: #202020 url('../img/loading.gif') no-repeat center center; 
}

#content-wrapper {
    overflow: hidden;
    display: block;
    position: relative;
}

.section-title {
    padding-top: 0 !important;
    margin-top: 0;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width:1050px), screen and (max-device-width:1050px) {
    body .header {
        background-attachment: scroll;
    }
}

@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .header {
        background-attachment: scroll;
    }
}

@media all and (min-width: 769px) {
    #headerwrap, .fullheight {
        min-height: 100vh
    }
    .page-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

@media screen and (max-width:768px) {
    #headerwrap {
        min-height: 560px;
    }
    #headerwrap h1 {
        font-size: 80px;
    }
    #headerwrap p {
        font-size: 30px;
        line-height: 38px;
    }
    .navbar-toggle {
        padding: 5px 20px 0px 5px;/*■右上のメニューアイコン　アイパッド対応■*/
        margin-top: 8px;
        margin-right: 0;
        border-radius: 0;
        font-size: 22px;
    }
    .navbar-collapse {/*■スマホ版メニューのサイズなど■*/
        background-color: #e0e0e0;
        height: ;/*■%指定は効かない■*/
        overflow-x:;/*■元はscroll■*/
    }
    .navbar-collapse ul {
        width: 50%;/*■アイパッド対応　元は100■*/
        float: ;/*■アイパッド対応　元はnone■*/
        text-align: center;
        margin: 0;
    }
    .navbar-collapse ul li a {
        color: #222 !important;
    }
    .navbar-fixed-top {
        padding: 0px;/*■アイパッド対応　元は10px 15px■*/
    }
    .navbar-nav > li > a {
        padding-top: 12px;
        padding-bottom: 0px;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
        padding-left: 0;
    }
    .opaqued .navbar-brand h1 {
        margin: 20px 20px;/*■アイパッド対応　元は17px 0■*/
    }
    .navbar-brand h1 {
        margin: 5px 30px 5px 30px;/*■アイパッド対応　元は10px 0■*/
    }
    .page-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    #portfolio-content .col-md-3 {
        width: 50%;
    }
    .btn-success, .btn- {
        padding: 8px 100%;
    }
    .fullheight, #headerwrap {
        min-height: 100vh;
    }
}

@media all and (max-width: 880px) {
    #portfolio-content .col-md-3 {
        width: 100%;
    }
}











/* ■ボタン（新規追加） */
.btn a {
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #6070BF;
	border-radius: 5px;	
}
.btn a:hover {
	color: #fff;
	background: #333;
}


/* ■TOPページの機能紹介（ボタン風）画像作成時のみに使用 */

.btn2 {
font-size: 13;
	position: relative;
	display: inline-block;
	padding: 8px 12px 8px 12px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #006DF0;
	border-radius: 5px;	
}




/* ■学習効果ページの英文画像（切り替え）のボタン */
input {
   /* input要素全部に対して装飾 */
   	color: #fff !important;
   background-color: #6070BF; /*  */
   border: 1px solid #6070BF; /* 枠線 */
   border-radius: 0.3em;      /* 角丸 */
}
input:hover {
   /* マウスが上に載ったとき */
   	color: #fff !important;
   background-color: black; /*  */
   border: 1px solid black;
}
input:active {
   /* 押されたとき */
   background-color: #696969; /*  */
   border: 1px solid #696969;
}









/*p(パタグラフ)の２行目以降を１行下げる*/
div#text1 p {
 margin-left:1em;
 text-indent:-1em;
}

/*p(パタグラフ)の２行目以降を２行下げる*/
div#text2 p {
 margin-left:2em;
 text-indent:-2em;
}

/*p(パタグラフ)の３行目以降を３行下げる*/
div#text3 p {
 margin-left:3em;
 text-indent:-3em;
}

/*p(パタグラフ)の行間なくす*/
.pcut p {
margin:0;
}







/*■リンク矢印マーク https://www.pressmantech.com/tech/design/2738#arrow-sample4-5*/
.yajirusi{      /*■共通*/
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: ;
    vertical-align: middle;
    text-decoration: none;
    font-size: px;
}
.yajirusi::before,
.yajirusi::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.shounari::before{        /*■＞マーク*/
    left: 3px;
    width: 4px;
    height: 4px;
    border-top: 2px solid #696969;
    border-right: 2px solid #696969;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.shounariLarge::before{        /*■＞マーク大*/
    left: 3px;
    width: 5px;
    height: 5px;
    border-top: 2px solid #696969;
    border-right: 2px solid #696969;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}









.MiniFont {  /* ミニフォント，色はグレー */
    font-size:12px;
color: #c0c0c0 ;
}


.MiniFont2 {  /* ミニフォント，色は黒 */
    font-size:13px;
color:  ;
}


















/*■折りたたみメニュー-----------------------------------------------
参考ページhttps://saruwakakun.com/html-css/reference/accordion */
/*ボックス全体*/
.accbox {
    margin: 2em 0;
    padding: 0;
    max-width: ;/*最大幅*/
}


/*ラベル*/
.accbox label {
    display: block;
    margin: 1.5px 0;
    padding : 13px 12px;
    color: white;
    font-weight: bold;
    background: black;
    cursor :pointer;
    transition: all 0.5s;
    border-radius: 10px;
}

/*アイコンを表示
.accbox label:before {
    content: '\f054';
    font-family: 'FontAwesome';
    padding-right: 8px;
}*/

/*クリック時にアイコンを入れ替える
.cssacc:checked + label:before {
    content: '\f078';
}*/

/*ラベルホバー時*/
.accbox label:hover {
    background :gray;
}

/*チェックは隠す*/
.accbox input {
    display: none;
}

/*中身を非表示にしておく*/
.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.cssacc:checked + label + .accshow {
    height: auto;
    padding: 5px;
    background: white;
    opacity: 1;
}

.accbox .accshow p {
    margin: 15px 10px}



/*■折りたたみメニュー-------------------------------------------ここまで */






img {
    vertical-align: middle;
    max-width: 600px;/*■すべての画像の最大幅*/
    height: auto;
}


img.large { max-width: 4000px; }/*■左右いっぱいに表示する画像*/









/*■表組み*/
table {width:97%; max-width:700px; font-size:100%; line-height:1.3em;}
table td {padding: 03px 5px;}
td.tablewidth {width:35%; max-width:200px; min-width:170px;}
td.tablewidth2 {width:20%; max-width:200px; min-width:90px;}
td.tablewidth3 {width:20%; max-width:200px; min-width:125px;}
td.tablewidth4 {width:30%; max-width:300px; min-width:125px;}
table {margin: 5px 5px 5px 10px;}











/*■チェックボックス*/
input[type="checkbox"]{
margin: 0px 3px 0px 0px;
}



/*■文法解説ページのナンバー■*/
.number{
  color: #00552e;
  font-size: ;/*指定しないこと*/
  font-weight: bold;
}

/*「ハイレベル」「高校」「中２秋以前」「日本語にはない」*/
span.H-Level,
span.H-Level2,
span.H-Level3,
span.H-Level4 {
  font-size: 12px;
  font-weight: bold;
  border-style: solid;
  border-width: 1px 4px;
  border-radius: 3px;
  color: white;
  white-space: nowrap;
  padding: 0 2px;
  margin: 0 2px;
  vertical-align: 2px; /* 微調整用 */
}

/*■ハイレベル，指導要領-外，指導要領-発展■*/
span.H-Level {
  border-color: #4b0082;
  background-color: #4b0082;
}
/*■中学　オレンジ■*/
span.H-Level2 {
  border-color: #F39467;
  background-color: #F39467;
}
/*■高校　紫■*/
span.H-Level3 {
  border-color: red;
  background-color: red;
}
/*■日本語ではしない こげ茶■*/
span.H-Level4 {
  border-color: #654321;
  background-color: #654321;
}






span.matome {/*「まとめ」の文字装飾*/
font-size: 15px;
font-weight: bold;
border: solid green;
border-width: 1px 4px;
border-radius: 15px;
background-color: green;
color: white;
white-space: nowrap;
padding: 0 5px 0 5px;
margin: 0 5px 0 0;
}


















/*■ページ内リンクの位置を上げる■*/
a.anchor {
    display: block;
    padding-top: 25px;/*元は70px→25px*/
    margin-top: -25px;/*上と同じ値に（マイナス指定）*/
}

@-moz-document url-prefix() {/*Firefoxのみ*/
a.anchor {
    display: block;
    padding-top: 25px;
    margin-top: -25px;
}
}

@media only screen and (max-device-width: 480px) { /* スマホのみ */
a.anchor {
    display: block;
    padding-top: 25px;
    margin-top: -25px;
}}














/*■英文とルビ訳■*/
ruby {
  position: relative;
  font-size: 110% !important;
  font-weight: normal;
  color: #008800;
  line-height: 250% !important;
  text-align: left; /* ルビ訳の配置。元はcenter */ 
  white-space: nowrap; /* 改行を防ぐ */
}
ruby>rt {
  font-weight: bold !important; /* 元はnormal */
  font-size: 11px !important;
  line-height: 50% !important; 
  text-align: left; /* ルビ訳の配置。元はcenter */
  position: absolute; /* 絶対位置指定を追加 */
  top: 100%; /* テキストの下に移動 */
  left: 0; /* 左側に位置するように調整 */
  transform: translateY(3px); /* ルビをテキストから少し離す */
  font-weight: normal !important;
  white-space: nowrap; /* 改行を防ぐ */
    letter-spacing: -0.1em;/* 横幅詰める */
}




















/* ■Firefox用 */
@-moz-document url-prefix() {
    ruby {
        display:  !important; /* Firefox用 指定せず【重要】 */
        margin-bottom: 2em; /* ルビの下に適切なマージンを追加 */
    }
ruby>rt {
        position: absolute; /* ルビを下付きに */
        bottom: -1.5em; /* ルビを下付きにするための位置調整 */
        left: 1.5em; /* 左寄せ */
        vertical-align: sub; /* ルビ下に */
    }
}









/* ■ボタンで訳を非表示に */
/* ボタンで訳を非表示に */
ruby>rt {
 color: #547443; /* 初期の色 */
}
.hosoku {
  color: #547443; /* 初期の色 */
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
}
.answer {
  font-weight: bold;
}

/*■ルビの付く行■*/
p.rubi {
  margin-top: -10px !important;  
  padding-bottom: 10px !important;
  line-height: 2.5; 
}
/* iOS専用スタイル */
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (hover: none) 
  and (pointer: coarse) {
  /* Androidを除外 */
  @supports (-webkit-overflow-scrolling: touch) {
    p.rubi {
      margin-top: 0px !important;  
      padding-bottom: 5px !important;
      margin-bottom: -5px !important;  
      line-height: 1.0; 
    }
  }
}






































.IRO {color:green; font-weight: normal;}
.B {color:green; font-weight: bold;}


/*下線　オレンジ*/
.under {
  background: linear-gradient(transparent 80%, #F39467 10%);
  background-size: 100% 20px; /* 下線の太さを調整 */
  background-repeat: no-repeat;
  background-position: 0 25% !important; /* 下線を少し上に移動（95%で調整） */
}


.setumei {
padding-top: 0em !important;
padding-bottom: 0.1em !important;
}





html {
  scroll-padding-top: 40px;
}
html{
  scroll-behavior: smooth;
  scroll-margin-top: 60px; 
}


















.sotomi  {
    margin-left: 0px;
    color: blue;
    font-size: 20px;
}
.mondai_check  {
    display: none;
}
.nakami  {
    visibility: hidden;
    height: 0;
    background-color: #cccccc;
    padding: 10px;
    border-radius: 5px;
}
.mondai_check:checked + .nakami  {
    visibility: visible;
    height: auto;
}



/* ■ワードのようにきれいに表示  */
/* 基本：全体を両端揃え */
p, body {
  text-align: justify !important;
}
/* rubi は除外 */
p.rubi {
  text-align: initial !important;
}
/* nakami 内は除外 */
div.nakami p {
  text-align: initial !important;
}
/* nakami 内 soroe 内は再び適用 */
div.nakami div.soroe p {
  text-align: justify !important;
}

/* 除外 */
div.box-kakomonnkigou p {
  text-align: initial !important;
}



















/* ■パネルとボタン  */
#fixed-panel {
    position: fixed;
    bottom: 10px;
        left: calc(100% - 110px);
    transform: translateX(-50%);
    width: 200px; 
    height: 50px !important;
    background-color: blue;
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: space-between; /* 子要素間のスペースを均等に */
    padding: ;
    color: white;
    justify-content: center; /* ボタンを中央配置 */
}
button {
    width: 55px; 
    height: 35px;
    background-color: white;
    color: blue;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    align-items: center; 
    justify-content: center;
    line-height: 100%;
    margin: 10px 0;
    padding: 0 0;
    margin: 0 0;
}
button#backButton {
    background-color: blue !important;
}
/* 画像の調整 */
#backButton img, #zoom img, #toggleButton img {
    width: 40px;
    height: 35px;
    /*margin-bottom: 20px;*/
    background-color: blue;
}
@media (min-width: 1300px) {
    #fixed-panel {
        left: calc(50% + 525px);
    }
}








/* ■検索ボックス  */

#mySearchBox {
    width: calc(80% - 400px);
    margin: 5px;
  padding: 5px;
  font-size: 20px;
  font-weight: normal; 
  background-color: white;
    color: black !important; /* 入力文字の色 */
}
/* プレースホルダーの文字色を指定 */
#mySearchBox::placeholder {
    color: gray; /* 好きな色に変更可能 */
    opacity: 1;  /* 透明度を確実に1に */
}
#mySearchBtn{
    margin: 5px;
  padding: 5px;
  font-size: 20px;
  font-weight: normal; 
        background-color: blue;
    color: white;
}
#myPrevBtn, #myNextBtn{
    margin: 5px;
  padding: 5px;
  font-size: 20px;
  font-weight: normal; 
        background-color: gray;
    color: white;
}
#myControls {
  display: none;
  align-items: center;
  gap: 5px;
        color: red;
}

mark {
  background: pink;
  font-weight: bold;
}
mark.current {
  background: red;
}



#mySearchBox,
#mySearchBtn,
#myPrevBtn,
#myNextBtn {
  height: 40px;   
}








@media (max-width: 768px) {
#mySearchBox {
width: calc(100% - 210px);
  margin: 0px;
margin-left: 5px;
    margin-top: 5px;
  padding: 5px 3px;
  font-size: 16px;
  background-color: white;
    color: black !important; /* 入力文字の色 */
}
/* プレースホルダーの文字色を指定 */
#mySearchBox::placeholder {
    color: gray; /* 好きな色に変更可能 */
    opacity: 1;  /* 透明度を確実に1に */
}
#mySearchBtn{
    margin: 0px;
    margin-top: 5px;
  padding: 0px;
  font-size: 16px;
        background-color: blue;
    color: white;
}
#myPrevBtn, #myNextBtn{
    margin: 0px;
        margin-top: 5px;
  padding: 0px;
  font-size: 16px;
        background-color: gray;
    color: white;
}
#myControls {
  display: none;
  align-items: center;
  gap: 2px;
        color: red;
    margin-right: 5px;
      font-size: 10px;
}
span#myCounter {
width: 20px;
      font-size: 9px;
      line-height: 1; /* 行間を1に設定 */
    margin-top: 5px
}
    
}





@media (max-width: 40px) {
#mySearchBox {
margin-left: 3px;
width: calc(100% - 200px);
    margin-top: 5px;
  padding: 5px 2px;
  font-size: 12px;
}
#mySearchBtn{
        margin-top: 5px;
  font-size: 10px;
}
#myPrevBtn, #myNextBtn{
        margin-top: 5px;
  padding: 0px !important;
  font-size: 10px;

}
#myControls {
    margin-right: 2px;
      font-size: 8px;
}
span#myCounter {
width: 15px;
      font-size: 8px;
      line-height: 1; /* 行間を1に設定 */
}

}

/* 【重要】英語の左を１文字分開ける */
p.rubi { margin-left: 28px !important; }























/* ■■■■■■■■■■■以下は例文用に追加■■■■■■■■■■■■■ */




/* ■閉じるメニュー */
.nakami .close-btn {
  display: block;       /* インラインボタンをブロック化 */
  margin-left: auto;    /* 左側の余白を自動で広げる */
  margin-top: 10px;
}




.description2,.description3 { /* ツールチップのスタイル */
  width: 190px; /* 横幅 */
  position: absolute;
  left: 100px; /* ■重要：センターは50%，左揃えは100px */
  bottom: 100%; /* グラデーションありは80等 */
  transform: translateX(-50%);
  margin-bottom: 8px; /* テキストとの距離 */
  padding: 8px 2px 6px 6px;
  border-radius: 3px; /* 角の丸み */
  background-color: #5593BC;
  font-size: 14px;
  color: #fff;
  text-align: ;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
  font-weight: normal;
  white-space: normal;
}
/* ■縦表示ではセンター */
article[id^="en"].tate span.jpline .description2,
article[id^="en"].tate span.jpline .description3
{
  left: 50%;
}

.mouse3 .description2 {
background-color: gray; /元は*#447596;*/
}

.description2 a {
  color: #FFEFCF;
	word-break:keep-all;
        font-weight:bold;
	border-bottom: dotted 2px ;
}
.description2 a:hover {
	color:red;
}
.mouse2:hover .description2, .mouse3:hover .description2  { /* マウスオーバー時のスタイル */
  bottom: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を70％に */
}
.description2 b { /* 見出しの太字部分 */
  color: #FFEFCF;
	word-break:keep-all;
font-weight:bold;
}

/* ルビ訳側の <strong> にマーカー */
span.enline strong {
  background: linear-gradient(transparent 70%, #fac61e 0%);/* 元は30%,90% */
  font-weight: inherit;
  width: 100px;
  height: 100px;
  position: relative;
  margin-left: -1px;
  margin-right: -1px;
  padding: 0px 2px;
  border-radius: 2px;
}




/* 辞書と文法解説のポップアップを上げる（スマートフォン＋タブレット） */
@media screen and (max-width: 767px) {
  .description {
    margin-bottom: 30px !important;
  }
  .description2 {
    margin-bottom: 40px !important;
  }
}



/* 文法解説ポップアップ */
.mouse3 .description2 {
    text-align: justify;/* ワードのようにきれいに表示  */
	padding: 6px 5px !important;
}
.mouse2 .description2 {
    text-align: justify;/* ワードのようにきれいに表示  */
	padding: 6px 5px !important;
}


/* はみ出し防止 */
div.nakami {
  white-space: normal;     /* 折り返しを許可 */
  word-break: break-word;  /* 単語途中でも改行可（英語長文用） */
  overflow-wrap: break-word; /* 同上（ブラウザ互換性） */
  box-sizing: border-box;  /* paddingやborderを含めて幅計算 */
  max-width: 100%;         /* 親要素からはみ出さない */
}


/* スラッシュ，カギカッコ */
span.slash, span.slashb{
    color: blue;
    font-weight: bold;
    font-size:1em ;
    letter-spacing: -0.2em;
}
span.kagi{
color: red;
font-weight: bold;
font-size:1em ;
}





strong {
  font-weight: inherit;
  width: 100px;
  height: 100px;
  position: relative;
  margin-left: -1px;
  margin-right: -1px;
  padding: 0px 2px;
  border-radius: 2px;
  background: linear-gradient(transparent 80%, #F39467 10%);
  background-size: 100% 20px; /* 下線の太さを調整 */
  background-repeat: no-repeat;
  background-position: 0 25% !important; /* 下線を少し上に移動（95%で調整） */


    
}

.brackets, .bracketsb {	
color: red;	
font-weight:bold;	
font-size: 120%;	
}











/* ■文法の例文プルダウン */
.mouse2,.mouse3 {
  background: linear-gradient(transparent 0%, #add8e6 0%);
  position: relative;
  cursor: pointer;
  line-height: 1em;
  padding: 0px 4px;
  bottom: 2px;
  border-radius: 3px;
  white-space: nowrap;
  margin: 0px 1px;
  font-size: 14px; /* 任意 */
}
.mouse3 {
  background: linear-gradient(transparent 0%, #faedaf 0%);
}
.reibun {	
line-height: 200%;
}	
.reibun p {
  margin-bottom: 20px;
}
.commentb {
line-height: 0%;
color: #547443;	
}
label.sotomi{
margin-top: 15px !important;
margin-bottom: px;  
line-height : 1.2em;
}
@media screen and (max-width: 768px) {
  label.sotomi {
    font-size: 15px;
  }
}
/* ▼ 初期状態（閉じている） */
.mondai_check + .nakami {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 5s ease,
    opacity 1s ease;
}
/* ▼ チェックONで開く */
.mondai_check:checked + .nakami {
  max-height: 5000px;
  opacity: 1;
}
/* ＞ アイコン（初期：下向き） */
label.title::before {
  content: "＞";
  display: inline-block;
  margin-right: 6px;
  transform: rotate(90deg) scaleX(0.6); /* ▼ */
  transition: transform 0.2s ease;
}
/* チェックONで回転（上向き） */
div:has(> .mondai_check:checked) > label.title::before {
  transform: rotate(-90deg) scaleX(0.6); /* ▲ */
}






















/* mouse2 内にある strong だけ下線を 3px 下げる */
.mouse2 strong, .mouse3  strong {
  background-position: 0 calc(95% + 1px) !important;
}






/* 英文法のマークの2段組み */
.container-kakomonnkigou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  max-width: 1050px;
  margin: 0 auto;
}
.box-kakomonnkigou {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  box-sizing: border-box;
  background: transparent;
}
@media (min-width: 1050px) {
  .container-kakomonnkigou {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}


