@charset "UTF-8";
@import url("./grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --theme-color: #800000;
    --black-color: #000;
    --white-color: #fff;
    --code-555-color: #555;
    --code-ccc-color: #ccc;
    --code-ddd-color: #ddd;
    --code-f3f3f3-color: #f3f3f3;
    --code-f7eeee-color: #f7eeee;
    --code-e60012-color: #e60012;
    --code-4e0000-color: #4e0000;
}

img {
	max-width:100%;
	height: auto; /*高さ自動*/
}

a {
    color: var(--theme-color);
    text-decoration-line: underline;
    display: inline;
}

a:hover { 
    color: var(--white-color);
    background-color: var(--theme-color);
    text-decoration: none;
}

a img {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* a img:hover {
	opacity: 0.8;
} */

.redback {
	background-color: var(--code-f7eeee-color);
	color: var(--theme-color);
	padding: 1rem;
    border-left: solid 20px;
    border-image: linear-gradient(to bottom, pink 0%, var(--theme-color) 100%) 1;
}

.redunderline {
    width: 35%;
    margin-left: auto;
    margin-right: auto;;
    color: var(--theme-color);
    border-bottom: 8px solid var(--theme-color);
}

.redtext {
    color: var(--theme-color);
}

.whitetext {
    color: var(--white-color);
}

.underline {
    border-bottom: 3px solid rgba(128, 0, 0, 0.5);
	padding-bottom: 0.5rem;
    display: block;
    margin-bottom: 3rem;
}

.center {
	text-align: center;
}

.right {
    text-align: right;
}

.futoji {
    font-weight: 600;
}

/*--- ヘッダー ---*/
.logobox {
    margin: auto;
    padding: 0;
}

.logobox h1 {
    margin: 0;
    padding: 0;
}

.logobox a:hover { 
    background-color: var(--white-color);
}

.infobox {
    margin: auto;
    padding: 1rem 0 0 0;
}

.infobox .tel {
    font-family: 'arial black';
    font-size: 2.5rem;
}

.menu {
	background-color: var(--white-color);
    margin-bottom: 1.0rem;
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}

nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}

nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--black-color);
    /* add */
    margin: 0 5px;
    box-shadow: 2px 2px var(--theme-color);
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

nav li a .en {
    font-size: 80%;
    color: var(--code-555-color);
}

nav a:hover {
    background-color: var(--code-f3f3f3-color);   
	color: var(--black-color);
}

nav li.active a {
    background-color: var(--code-f3f3f3-color);   
    color: var(--black-color);
}

nav a {
    padding: 0.5rem;
	display: block;
}

@media screen and (min-width: 769px){
    /* PC時はMENUボタンを非表示 */
    #open,#close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }

    #sp-footer {
        display: none !important;
    }
}

/*--- メイン画像 ---*/
.mainimg {
    position: relative;
}

/* .mainimg img {
	width: 100vw;
} */

.toptitle {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

.subimg {
    position: relative;
}

.subimg  img {
    width: 100vw;
}

.subimg .txt01 {
    position: absolute;
    color: #FFF;
    font-size: 3.2rem;
    text-align: center;
    top: 25%;
    width: 100%;
}

.subimg .txt02 {
    position: absolute;
    color: #FFF;
    font-size: 4.5rem;
    text-align: center;
    top: 45%;
    width: 100%;
}

.fadein {
    opacity: 0;
    animation: fadein 2s ease forwards;
}

@keyframes fadein {
    100% {
        opacity: 1;
    }
}

.txt01 {
    animation-delay: 1s;
}

.txt02 {
    animation-delay: 2s;
}

/*--- メインコンテンツ ---*/
main {
    margin: 3rem 0 5rem 0;
    line-height: 2.0;
}

/* スローガン */
.slogan h4 {
    font-weight: 600;
}

/* 新着 */
.topics {
    width: 100%;
    /* height: 200px; */
    height: 230px;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.new {
    background-color: var(--code-e60012-color);
    color: var(--white-color);
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 10px; /* ちょっとだけ角丸 */
    -webkit-animation: blink 1s infinite alternate;
    animation: blink 1s infinite alternate;
    font-size: 90%;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* コンセプト */
.concept {
    text-align: center;
    margin-bottom: 3rem;
}

.concept img {
    width: 100%;
    max-width: 300px;
}

.concept h5 {
    font-weight: 600;
    text-align: left;
}

.concept p {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 110%;
    text-align: left;
}

/* ズームナビ*/
#mainnavi {
    margin: 0;
    line-height: 2.0;
    background-color: var(--theme-color);
}

#mainnavi h5 a {
    color: var(--white-color);
    text-decoration: underline;
    display: inline;
}

#mainnavi h5 a:hover {
    background-color: var(--white-color);
    color: var(--theme-color);
    text-decoration: none;
}

#mainnavi p {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 110%;
    text-align: left;
}

.zoombox {
    margin: 3rem 0 3rem 0;
}

.zoomimg {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin:0 auto;
    overflow: hidden;
    cursor: pointer;
}

.zoomimg a {
    background-color: var(--theme-color);
}

.zoomimg img {
    transition:0.7s;
    border-radius: 20px;
}

.zoomimg img:hover {
    transform: scale(1.1);
    transition:0.7s;
    border-radius: 20px;
}

/* scroll_up ｜下から上へ出現 */
.scroll_up {
    transition: 1.0s;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
    visibility: visible;
}

.timing02 {
    transition-delay: 0.5s;
}

.timing03 {
    transition-delay: 1.0s;
}

/* scroll_left ｜左から出現 */
.scroll_left {
    -webkit-transition: 1.0s;
    -moz-transition: 1.0s;
    -o-transition: 1.0s;
    transition: 1.0s;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/* scroll_right ｜右から出現 */
.scroll_right {
    -webkit-transition: 1.0s;
    -moz-transition: 1.0s;
    -o-transition: 1.0s;
    transition: 1.0s;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/* 会社概要 */
.greeting {
    margin: 1.0rem 0;
}

.greeting p {
    line-height: 2.0;
    margin: 1.5rem 0;
    padding: 0;
}

.sign {
    margin: 1rem 0 2rem;
}

.sign img {
    width: 100%;
    max-width: 260px;
}

.hanabi {
    text-align: center;
}

.hanabi img {
    width: 100%;
    max-width: 400px;
}

.memo {
    font-size: 80%;
}

/* 個人情報 */ 
.privacy {
    margin-bottom: 5rem;
}

.privacy ul {
    list-style: none;
    margin-top: 1.0rem;
    padding-left: 1.5rem;
}

.privacy ul li {
    text-indent: -2.3rem;
    padding-left: 2.3rem;
    margin-bottom: 0;
}

/* 通知書 */
.tsuuchi {
    width: 100%;
    max-width: 500px;
}

.tsuuchi img {
    border: 1px solid var(--theme-color);
}

/* テーブル */
.table-solid {
    width: 100%;
	margin-bottom: 5rem;
	border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid var(--theme-color);
    border-left: 1px solid var(--theme-color);
}

.table-solid th {
    width: 30%;
    padding: 10px;
    font-weight: 400;
    text-align: left;
    border-right: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
}

.table-solid th span {
    display: inline;
}

.table-solid td {
    padding: 10px;
    white-space: pre-line;
    border-right: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
}

.table-dotted {
    width: 100%;
    border-collapse: separate;
    border-top: 1px dotted var(--theme-color);
}

.table-dotted th {
    width: 30%;
    padding: 12px 15px;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px dotted var(--theme-color);
    background-color: var(--code-f3f3f3-color);
}

.table-dotted td {
    padding: 12px 15px;
    border-left: 1px dotted var(--theme-color);
    border-bottom: 1px dotted var(--theme-color);
}

.no928 {
    display: inline;
}

/*--- フッター ---*/
footer {
    background-color: var(--code-f3f3f3-color);
    padding: 2rem 0;
	color: var(--black-color);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--theme-color);
}

footer ul {
    list-style: none;
}

footer h5 {
    font-weight: 600;
    color: var(--theme-color);
}

footer h5 a {
    text-decoration: underline;
    display: inline;
}

footer h5 a:hover {
    background-color: var(--theme-color);
    color: var(--white-color);
    text-decoration: none;
}

.footer-menu {
    margin: 1.0rem 0 0;
    padding: 0;
}

.footer-menu ul {
	margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
    padding: 0;
    display: inline;
}

.footer-menu li a {
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    font-size: 100%;
    color: var(--code-555-color);
    box-shadow: 2px 2px var(--code-ccc-color);
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

.footer-menu li a:hover {
    background-color: var(--code-ccc-color);
    color: var(--black-color);
}

.footer-menu li.active a {
    background-color: var(--code-ccc-color);
    color: var(--black-color);
}

@media screen and (min-width: 769px){
    /* PC時はMENUボタンを非表示 */
    #sp-footer {
        display: none !important;
    }
}

/*--- コピーライト ---*/
.copyright {
    font-size: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: var(--theme-color);
    color: var(--white-color);
}

/*--- ページトップへ戻るボタン ---*/
#pagetop {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 40px;
    opacity: 0.7;
    animation: fuwafuwa 2s infinite ease-in-out;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

#pagetop a {
    width: 60px;
    height: 60px;
    text-decoration: none;
}

#pagetop a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f0aa';
    font-size: 60px;
    color: var(--theme-color);
}

#pagetop a:hover {
    text-decoration: none;
    background-color: transparent;
    opacity: 1.0;
}

@media screen and (max-width: 768px) {
    .logobox {
        margin: 0 auto;
        padding: 0;
	    text-align: left;
    }

    .infobox {
        margin: 0 auto;
        padding: 0;
	    text-align: center;
    }

    .head #open,#close  {
        position: absolute;
        top: 80px;
        right: 12px;
    }

    nav ul {
	    flex-direction: column;
    }

    nav li {
        margin-bottom: 0;
	    padding-top: 0;
	    border-bottom: 1px solid var(--code-f3f3f3-color);
    }

    nav li a {
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
    }

    .redunderline {
        width: 70%;
    }

    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url(../img/buttonred.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 80px;
        right: 12px;
    }

    #close  {
        display: block;
        background: url(../img/button2red.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 80px;
        right: 12px;
    }

    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }

    .toptitle {
        top: 30%;
        width: 90%;
    }

    .subimg .txt01 {
        font-size: 2.4rem;
    }

    .subimg .txt02 {
        font-size: 3.4rem;
    }

    .txt01 {
        animation-delay: 0s;
    }

    .txt02 {
        animation-delay: 0s;
    }

    .order1 {
        order: 0;
    }

    .order2 {
      order: 1;
    }

    .concept h5 {
        text-align: center;
    }

    .concept p {
        text-align: center;
    }

    .zoomimg {
        max-width: 650px;
    }

    .tsuuchi {
        margin: 0 auto;
    }

    .footer-menu {
        margin: 0;
    }

    #pc-footer {
        display: none;
    }

    #sp-footer {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .redunderline {
        width: 90%;
    }

    main {
        line-height: 1.8;
    }

    .subimg .txt01 {
        font-size: 1.7rem;
        top: 15%;
    }

    .subimg .txt02 {
        font-size: 2.4rem;
        top: 40%;
    }

     /* テーブル */
    .table-solid th {
        width: 100%;
        display: block;
        border-bottom: 1px dotted var(--theme-color);
    }

    .table-solid td {
        width: 100%;
        display: block;
    }

    .table-dotted th {
        width: 100%;
        display: block;
    }

    .table-dotted td {
        width: 100%;
        border-left: none;
        display: block;
    }

    .zoomimg {
        max-width: 400px;
    }

    .no928 {
        display: block;
    }

    .footer-menu li a {
        margin: 10px;
        padding: 10px 15px;
    }
    
    .copyright {
        font-size: 90%;
    }

    #pagetop {
        bottom: 120px;
        animation: none;
    }
}

/*-- パンくずリスト ---*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
}