@charset "utf-8";
/*
Theme Name: humic substances
Theme URI: https://www.dik.co.jp/
Version: 2.0.1
Author: DIK
*/

:root {
    
    /* Color */
	--color-main: #70ad47;
	--color-main-light: #a4d882;
	--color-main-thin: #e6fdd7;
	--color-main-deep: #427421;
    
	--color-blue: #45a0f4;
	--color-blue-light: #deebf7;
	--color-blue-deep: #265785;
	
    --color-orange: #f5ba0f;
	--color-orange-light: #fff2cc;
	--color-orange-deep: #ff6c00;
    
    --color-red: #f83f3f;
	--color-red-light: #ffb1b1;
	--color-red-deep: #940000;
    
    --color-link: #00e;
    --color-link_hover: #07e;
    
    /* Font */
    --font-main: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    --font-serif: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro W3", "MS P明朝", "MS PMincho", serif;
    --font-copyright: Verdana, "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    
    --fa: "Font Awesome 6 Free"; /* https://fontawesome.com/search?o=r&m=free */
    
    /* Header, Logo Size */
    --size-header-height: 130px;
    --img-logo-src: url("images/base/logo.webp");
    --img-logo-width: 248px;
    --img-logo-height: 60px;
    @media (width <= 999px) {
        --size-header-height: 60px;
        /* --img-logo-src: url("images/base/logo-sp.png"); */ /* PC, SP 違う画像の場合 */
        --img-logo-width: 167px;
        --img-logo-height: 40px;
    }
    
    /* Contents Size */
    --size-content-max-width: 1115px;
    --size-content-min-width: 1000px;
    @media (width <= 999px) {
        --size-content-max-width: 100%;
        --size-content-min-width: 100px;
    }
    
    /* Toggle Menu - Width Size */
    --side-toggle-width: 100%;
    
    /* Global Menu Count */
    --global-menu-count: 6;
    
}

* { box-sizing: border-box; }
html { font-size: 62.5%; /* 15px x 0.625 = 10px(=1rem) */ }
body {
	background: #fff;
	font-family: var(--font-main);
	font-size: 1.6rem;
	-webkit-text-size-adjust: 100%;
	font-feature-settings: "palt";
	line-height: 1.7;
    letter-spacing: 1px;
}

/* ------------------------------------------------------- */
/* layout ------------------------------------------------ */
/* ------------------------------------------------------- */

.sectionInner {
	max-width: var(--size-content-max-width);
	margin: 0 auto;
	padding: 50px 0;
	clear: both;
}
#footer {
	width: 100%;
}
@media only screen and (max-width:999px) {
    .sectionInner {
        width: 100%;
        padding: 20px;
    }
    #footer {
        width: 100%;
    }
}

/* ------------------------------------------------------- */
/* header ------------------------------------------------ */
/* ------------------------------------------------------- */

#header {
    background: #fff;
	height: var(--size-header-height);
	width: 100%;
	position: fixed;
	z-index: 11;
	top: 0;
	left: 0;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.headerInner {
	max-width: var(--size-content-max-width);
	margin: 0 auto;
    @media (width <= 999px) {
		padding: 10px;
    }
}
header {
	width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    @media (width <= 999px) {
        display: block;
    }
}
.headerTitle {
	display: flex;
	align-items: center;
	padding: 10px 0;
    @media (width <= 999px) {
        flex-wrap: wrap;
		padding: 0;
    }
}
.logo {
	width: var(--img-logo-width);
	height: var(--img-logo-height);
    @media (width <= 999px) {
        order: 2;
    }
}
.logo a {
	display: block;
    width: 100%;
    height: 100%;
	background: var(--img-logo-src) no-repeat;
    background-size: 100%;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
    color: #fff;
    @media (width <= 999px) {
        /*background: url(images/base/logo.webp) no-repeat;*/
		background-size: 100%;
    }
}

/* ------------------------------------------------------- */
/* footer ------------------------------------------------ */
/* ------------------------------------------------------- */

#footer {
    background: #eee;
}
.footerInner {
	max-width: var(--size-content-max-width);
	margin: 0 auto;
	padding: 30px 0 25px;
    display: flex;
    justify-content: space-between;
}
.footerInfo {
    width: 650px;
}
.footerMenu {
    width: calc(100% - 650px);
}
.footerInfo {
    order: 1;
    text-align: left;
    padding-right: 25px;
    .footer-logo {
        img {
            width: 250px;
            height: auto;
            @media (width <= 999px) {
                width: 200px;
            }
        }
    }
    .footerInfo_address {
        display: flex;
        @media (width <= 999px) {
            display: block;
        }
        address {
            width: 300px;
            font-size: 1.3rem;
            @media (width <= 999px) {
                width: 100%;
            }
            div {
                margin-bottom: 10px;
                font-size: 1.8rem;
                font-weight: bold;
            }
            &:first-child {
                margin-right: 20px;
                @media (width <= 999px) {
                    margin-right: 0;
                    margin-bottom: 20px;
                }
            }
        }
    }
}
#copyright {
    text-align: center;
    font-size: 1.2rem;
    padding: 5px;
	font-family: var(--font-copyright);
    letter-spacing: 0;
}
@media only screen and (max-width:999px) {
    .footerInner {
        width: 100%;
        display: block;
	    padding: 15px;
    }
    .footerInfo,
    .footerMenu {width: 100%;}
    .footerInfo {
        text-align: center;
        padding-right: 0;
    }
}

/* ------------------------------------------------------- */
/* プリント用 -------------------------------------------- */
/* ------------------------------------------------------- */

@media print {	
    #humberger, #pageTop, #pageTop div, #movePageTop, #pageTop p {
        display: none!important;
    }
    #container {
        padding: 0!important;
    }
    #header {
        position: static!important;
    }
    .topContents {
        min-width: 1000px!important;
        width: 100%!important;
        margin: 0!important;
        padding: 0!important;
        overflow: hidden!important;
    }
}

/* ------------------------------------------------------- */
/* dark mode --------------------------------------------- */
/* ------------------------------------------------------- */

/*@media (prefers-color-scheme: dark) {
	html { filter: invert(1) hue-rotate(180deg); }
	html img { filter: invert(1) hue-rotate(180deg); }
}*/