/* common */
.break-out {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.img-logo-h {
    height: auto;
}

.img-logo-f {
    height: auto;
}

.img-sns-ss {
    width: 25px;
    height: auto;
}

.img-sns-s {
    width: 33px;
    height: auto;
}

.img-sns-m {
    width: 48px;
    height: auto;
}

.show-msg { /* メッセージのみの画面用 */
    margin-left: auto;
    margin-right: auto;
    margin-top: 3vh;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }


/* header */
/* header details nav */
#menu {
    color: black;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    /* background-color:#fca800; */
    padding: 8px;
    font-weight: bold;
    font-size: 1rem;
}
div.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    /* background-color:#fca800; */
    padding: 8px;
    font-weight: bold;
    font-size: 1rem;
}
    
.hataya-name {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}
@media screen and (max-width: 400px) {
    .hataya-name {
        font-size: 7vw;
        font-weight: bold;
        text-align: center;
    }
}
@media (min-width: 400.1px) and (max-width: 575.9px) {
    .hataya-name {
        font-size: calc(14px + 4vw);
        font-weight: bold;
        text-align: center;
    }
}
.navbar-menu-icon {
    display: inline-block;
    width: 3em;
    height: 3em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url(../images/Icons/icons8-menu-120Gray.png);
}



/* footer */
.footer-row {
    height: 170px;
    position: relative;
}

.footer-box {
    position: absolute;
    font-size: 0.7rem;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    color: lightblue;
}

.footer-contents {
    display: inline-block;
    vertical-align: middle;
    padding: 6px;
}



/* add acocunt */
.font-priv-term {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
ol.list_parentheses{
    margin-left: calc(0px + 0.5vw); /* サイトに合せて調整 */
}
ol.list_parentheses li{
    list-style-type:none;
    counter-increment: cnt;
}
ol.list_parentheses li::before{
    display: marker;
    content: "（" counter(cnt) "）";
    text-align: right;
    position: absolute;
    left: calc(4.5em - 1.5vw);  /* サイトに合せて調整 */
}

/* tel(type：tel → number)の矢印消す */
.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}



/* top */
.show-language-icon {
    display: block;
    position: absolute;
    top: 1.8vh;
    right: 1vw;
}
.btn-language {
    border-radius: 20%;
    background-color: transparent;
    border: 1px transparent;
    background-color: rgba(255, 255, 255, 0.5);
}
@media (min-height: 560px) and (max-width: 1200px) {
    .btn-language {
        background-color: transparent;
    }
}

.narrow-hidden {
    display: block;
}
.narrow-show {
    display: none;
}
/* @media (max-height: 810px) { */
@media (max-height: 920px) {
    .narrow-hidden {
        display: none;
    }
    .narrow-show {
        display: block;
    }
}

.narrow-hidden-notice {
    display: block;
}
.narrow-show-notice-icon {
    display: none;
}
.narrow-hidden-top-title {
    display: block;
    top: 1.8vh;
    left: 1.8vw;
    text-align: center;
    background-color: transparent;
    border-radius: 70% 70% 70% 70%;
}
.narrow-show-top-title {
    display: none;
}
@media (max-height: 560px) {
    .show-language-icon {
        display: flex;
        top: 1.8vh;
        right: 0;
        left: 1vw;
    }
    .narrow-hidden-notice {
        display: none;
    }
    .narrow-show-notice-icon {
        display: block;
        position: absolute;
        top: 17vh;
        left: 1vw;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 70% 70% 70% 70%;
        border : 5px rgba(255, 255, 255, 0.5);
    }
    .narrow-hidden-top-title {
        display: none;
    }
    .narrow-show-top-title {
        display: block;
        top: 1.8vh;
        left: 3vw;
        text-align: center;
        margin-left: 10%;
    }
}
@media (max-height: 560px) and (min-width: 1200px) { 
    .show-language-icon {
        top: 1.8vh;
        right: 1vw;
        left: auto;
    }
    .narrow-hidden-notice {
        display: none;
    }
    .narrow-show-notice-icon {
        display: block;
        position: absolute;
        top: 17vh;
        right: 1vw;
        left: auto;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 70% 70% 70% 70%;
    }
    .narrow-hidden-top-title {
        display: none;
    }
    .narrow-show-top-title {
        display: block;
        position: absolute;
        top: 1.8vh;
        right: 7vw;
        left: auto;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 10%;
    }
}

/* notice iframe responsive */
@media (max-width: 576px) { 
    .noticeWrapper {
        position: relative;
        padding-bottom: 42%;
        height: 0;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) { 
    .noticeWrapper {
        position: relative;
        padding-bottom: 20%;
        height: 0;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) { 
    .noticeWrapper {
        position: relative;
        padding-bottom: 20%;
        height: 0;
    }
}
@media (min-width: 1200px) { 
    .noticeWrapper {
        position: relative;
        padding-bottom: 15%;
        height: 0;
    }
}
.noticeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#index {
    display: flex;
	flex-direction: column;
	min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}
.index-bg-base {
    display: flex;
	flex-direction: column;
	min-height: 100vh;
    overflow: hidden;
    z-index: -2;
}



/* hataya list */
.hl-img-frame {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.hl-icon {
    border-radius: 13%;
}
.order-align {
    text-align: right;
}
@media (max-width: 576px) { 
    .hl-img-frame {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .hl-icon {
        width: 100px;
        height: 100px;
    }
    .order-align {
        text-align: center;
    }
}



/* hataya details */
/* images */
.hataya-title {
    font-size: 18px;
    text-align: center;
}
@media screen and (max-width: 575.9px) {
    .hataya-title {
        font-size: 17px;
        text-align: center;
    }
}

.hataya-info {
    font-size: 18px;
}
@media screen and (max-width: 575.9px) {
    .hataya-info {
        font-size: 16px;
    }
}

.centerd {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate(50%,50%);
}
.img-sample { 
    position: relative;
    padding-top: 66.6666%; /* 3:2 ratio */
    overflow: hidden;
}
img.sample { 
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    height: auto;
    transform: translate(-50%,-50%);
}
.img-sample-info {
    text-align: center;
    min-height: 3.5em;
}
.img-sample-list {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0;
}
img.sample-list { 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    height: auto;
}

.img-galley { 
    position: relative;
    padding-top: 100%;/* 1:1 ratio */
    overflow: hidden;
}
.img-galley-p {
    position: absolute;
    font-size: 0.7rem;
    z-index:10;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.img-galley .img-galley-inner { 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate(50%,50%);
}
.img-galley .img-galley-img img { 
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    height: auto;
    transform: translate(-50%,-50%);
}
img .galley { 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    height: auto;
}

/* sample info readmore */
p.indent {
    text-indent: 1em;
    margin: 0 0 1.5em 0;
}
.text-length {
    --break-length: 40;
}
@media (min-width: 768px) and (max-width: 991.98px) { 
    .text-length {
        --break-length: 70;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .text-length {
        --break-length: 92;
    }
}
@media (min-width: 1200px) { 
    .text-length {
        --break-length: 125;
    }
}

.readmore{
    position: relative;
}

.readmore-content{
    position: relative;
    overflow: hidden;
    overflow-wrap: break-word;
    height: 3.5em;
}
.readmore-content::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    content: "";
    height: 2em;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, #FFFFFFcf 50%, #FFFFFFcf 50%, #FFFFFF 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, #FFFFFFcf 50%, #FFFFFFcf 50%, #FFFFFF 100%);
}
/* 続きを読むボタン */
.readmore-label{
    display: table;
    bottom: 0.4em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: 0 auto;
    z-index: 2;
    padding: 0 0.7em;
    border-radius: 10px;
    color: #FFF;
}
.readmore-label:before{
    content: '続きを読む';
}

.readmore-check{
    display: none;
}
/*チェック時にボタンを非表示*/
.readmore-check:checked ~ .readmore-label{
    position: static;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
    /* display: none; */
}
.readmore-check:checked ~ .readmore-label:before{
    content: '閉じる';
}
/*チェック時に高さを自動に戻す*/
.readmore-check:checked ~ .readmore-content{
    height: auto;
}
/*チェック時グラデーション等を削除*/
.readmore-check:checked ~ .readmore-content::before {
    display: none;
}



/* n e w s */
div.news{
	background-color: white;
}
table.news {
	width: 100%;
	border: none;
	font-size: 13px;
    /* align-content: left; */
	border-collapse: collapse;
}

table.news th, table.news td {
	padding: 10px 0;
	border-bottom: dotted 1px #999;
	vertical-align: top;
}

table.news th {
	width: 100px;
	padding-left: 8px;
	text-align: left;
	color: brown;
	font-weight: normal;
}

table.news td {
	color: #666666;
}

td.news a {
	color: #666666;
	text-decoration: underline;
}

@media screen and (max-width:498px){
	table.news {
		width: 100%;
	}
	table.news th, td {
		display: block;
		width: 100%;
	}
	table.news th {
		border-bottom: none;
		padding: 10px 0 0 0;
	}
	table.news td {
		padding: 0 0 10px 0;
		font-size: 90%;
	}
}


