@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

/*-- 0.702 ---- 0.790 ---- 0.889 ---- 1.000 ---- 1.125 ---- 1.266 ---- 1.424 ---- 1.602 ---- 1.802 ---- 2.027 ---- 2.281 ---- 2.566 ---- 2.887 ---- 3.247 ---- 3.653 ---- 4.11 ---- 4.624 ---- 5.202 ---- 5.852 ---- 6.583 --*/

/*-- reset -------------------------- */
*, html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{font-size: 100%;vertical-align: baseline;margin: 0;padding: 0;border: 0;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%; }ol,ul{list-style: none; }article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;}audio,canvas,video {display: inline-block;}audio:not([controls]) {display: none;}img {vertical-align: top;margin: 0px;padding: 0px;border-style: none;}embed,iframe,object,video {max-width: 100%;}.container h1,.container h2,.container h3,.container h4,.container h5,.container h6,.container p,.container ol,.container ul,.container blockquote,.container dl,.container embed,.container iframe,.container object,.container video,.container table{margin-bottom: 20px;}.container h1,.container h2,.container h3,.container h4,.container h5,.container h6,.header h1,.header h2,.header h3,.header h4,.header h5,.header h6,footer h1,.footer h2,.footer h3,.footer h4,.footer h5,.footer h6{font-weight: 400;}
.dialog h1,.dialog h2,.dialog h3,.dialog h4,.dialog h5,.dialog h6,.dialog p,.dialog ol,.dialog ul,.dialog blockquote,.dialog dl,.dialog embed,.dialog iframe,.dialog object,.dialog video,.dialog table{margin-bottom: 20px;}.dialog h1,.dialog h2,.dialog h3,.dialog h4,.dialog h5,.dialog h6{font-weight: 400;}

/*-- Base --------------------------- */
*,html{font-size: 16px;}
body{color: #333;font-family: 'Zen Kaku Gothic New','Yu Gothic',YuGothic,'游ゴシック','ヒラギノ角ゴ ProN W3',Hiragino Kaku Gothic ProN,'メイリオ',Meiryo,sans-serif;font-weight: 400;font-size: 1em;line-height: 1.8;text-align: center;text-rendering: optimizeLegibility;background: #FFF;}
a:link, a:active, a:visited{color: #336699;text-decoration: none;outline: none;-webkit-transition: all 0.5s;transition: all 0.5s;}
a:hover{color: #336699;}
img{display: block;width: 100%;max-width: 100%;height: auto;}
*, *::after, *::before{-webkit-box-sizing: border-box; box-sizing: border-box;}
.clearfix::before, .clearfix:after{content: ''; display: table;}
.clearfix::after{clear: both;}

/*-- wrapper -------------------------*/
#wrapper{text-align: left;width: 100%;padding-top: 0px;position: relative;}


/*-- footer ------------------------- */
/*----------------------------------- */
#footer{color: #3A3A3A;background: #EAEAEA;padding: 50px 20px 30px;}
#footer a{text-decoration: none;}
.footer{max-width: 1480px;margin: 0px auto;position: relative;}

.footer .pagetop{width: 60px;height: 60px;border-radius: 50%;position: fixed;right: 40px;bottom: 40px;overflow: hidden;z-index: 5555;}
.footer .pagetop a{color: #FFF;font-weight: 700;font-size: 0.889rem;background: #3A3A3A;width: 60px;height: 60px;padding-top: 10px;border-radius: 50%;position: relative;overflow: hidden;
display: flex;align-items: center;justify-content: center;}
.footer .pagetop a:after{content: '';transform: translateX(-50%) rotate(45deg);transition: all 0.3s;display: block;width: 8px;height: 8px;border-top: 2px solid #FFF;border-left: 2px solid #FFF;position: absolute;left: 50%;top: 15px;}
.footer .pagetop a:hover{background: #AF3C39;}



.footer .navi{margin-bottom: 40px;border-top: 1px solid rgba(255,255,255,.1);}
.footer .navi .toggle{display: none;}
.footer .navi .acc-wrap{position: relative;}
.footer .navi .acc-ttl,
.footer .navi .acc-cont{transition: all 0.5s;transform: translateZ(0);-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.footer .navi .acc-ttl a,
.footer .navi .acc-cont a{color: #3A3A3A;width: 100%;border-bottom: 1px solid rgba(255,255,255,.1);
display: flex;align-items: center;}
.footer .navi .acc-ttl a{font-size: 1.125rem;height: 50px;}
.footer .navi .acc-ttl.lbl a{pointer-events: none;}
.footer .navi .acc-ttl.lbl::before,
.footer .navi .acc-ttl.lbl::after{content: '';transition: all 0.5s;display: block;background: rgba(255,255,255,.8);width: 1px;height: 15px;position: absolute;right: 1.25rem;top: 1.25rem;}
.footer .navi .acc-ttl.lbl::before{transform: rotate(0deg);}
.footer .navi .acc-ttl.lbl::after{transform: rotate(90deg);}
.footer .navi .acc-cont{max-height: 0;overflow: hidden;}
.footer .navi .acc-cont ul{margin-bottom: 0px;}
.footer .navi .acc-cont ul li a{font-size: 0.889rem;height: 40px;padding: 0px 10px;}
.footer .navi .acc-cont ul li.top a{font-size: 1rem;}
.footer .navi .toggle:checked + .acc-ttl.lbl + .acc-cont{transition: all 1s;max-height: 720px;}
.footer .navi .toggle:checked + .acc-ttl.lbl::before{transform: rotate(45deg) !important;}
.footer .navi .toggle:checked + .acc-ttl.lbl::after{transform: rotate(135deg) !important;}
.footer .meta .note{font-size: 0.889rem;padding-top: 20px;margin-bottom: 20px;}
.footer .meta .note ul{display: flex;}
.footer .meta .note ul li{line-height: 1;padding: 0px 10px;border-right: 1px solid #363636;}
.footer .meta .note ul li::first-of-type{padding-left: 0px;}
.footer .meta .note ul li::last-of-type{padding-right: 0px;border-right: none;}
.footer .meta .note ul li a{color: #3A3A3A;position: relative;}
.footer .meta .note ul li a::after{content:'';display: block;background: rgba(255,255,255,.8);width: 100%;height: 1px;position: absolute;left: 0px;bottom: 0px;opacity: 0;transition: opacity 0.35s, transform 0.35s;transform: scale(0);}
.footer .meta .note ul li a:hover:after{opacity: 1;transform: scale(1);}
.footer .meta .copy{font-size: 0.889rem;}
.footer .meta .copy p{margin-bottom: 10px;}
.footer .meta .copy address a,
.footer .meta .copy address a:hover{color: #3A3A3A;font-style: normal;}


#container{width: 100%;margin: 0px auto;}
.container{width: 100%;margin: 0px auto;}

/*-- contents ----------------------- */
/*----------------------------------- */
.contents{width: 100%;padding: 0px 50px;}
.contents.full{padding: 0px;}

/*-- cont-wrap ---------------------- */
/*----------------------------------- */
.cont-wrap{width: 100%;max-width: 1480px;padding: 0px 0px 0px;margin: 0px auto;}
.cont-wrap.full{max-width: 100%;padding: 0px;}


.contents .cont{background: #FFF;width: 100%;max-width: 1480px;padding: 0px 10px 40px;margin: 0px auto;overflow: hidden;}



/*-- site-wrap ---------------------- */
/*-----------------------------------
#header .header:after{content:'';display: block;background: #0666A0;background: linear-gradient(90deg, #0666A0 0%, #CC1330 100%);width: 100%;height: 12px;position: absolute;left: 0px;top: 0px;}
#site-wrap{width: 100%;margin: 0px auto;
display: flex;flex-wrap: wrap;}
 */


/*-- site-ttl ----------------------- */
/*-----------------------------------
#site-ttl{width: calc(100% - 240px);width: 100%;height: 60px;margin-left: 120px;position: relative;z-index: 7777;}
#site-ttl a{text-indent: 100%;transition: none;white-space: nowrap;background: url(https://waglad.com/images/base/logo.svg) no-repeat center center / auto 40px;display: block;width: 100%;height: 60px;margin: 0px;overflow: hidden;}
 */
/*-- site-navi ---------------------- */
/*----------------------------------- */





/* navbar */

.navbar{background: #ffffff;height: 65px;padding: 0 60px;box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);
display: flex;align-items: center;justify-content: space-between;}
.sticky {position: -webkit-sticky;position: sticky;top: 0;z-index: 999;
}
.navbar .logo{color: #122f48;font-weight: 700;font-size: 20px;text-transform: uppercase;text-decoration: none;}

/* nav menu button */

.menu-btn{display: none;width: 1.5rem;height: 1.5rem;position: relative;cursor: pointer;z-index: 2;
align-items: center;justify-content: center;}

.navbar .menu-btn__lines::before,
.navbar .menu-btn__lines::after{content: "";position: absolute;}
.navbar .menu-btn__lines,
.navbar .menu-btn__lines::before,
.navbar .menu-btn__lines::after{transition: all 0.4s ease-in-out;background: #132f48;width: 1.5rem;height: 0.1rem;}
.navbar .menu-btn__lines::before{transform: translateY(-0.5rem);}
.navbar .menu-btn__lines::after{transform: translateY(0.5rem);}

.navbar .menu-items{display: flex;align-items: center;}
.navbar ul li{list-style: none;transition: 0.3s ease;}
.navbar ul li .arrow{transition: all 0.3s ease-out;}
.navbar ul li a {color: #112f48;text-decoration: none;}

/* dropdown menu */
.navbar .dropdown{position: relative;background: #369;}

.expand-btn:after {content: " \25BE";margin-left: 5px;opacity: 0.4;}

.navbar .dropdown-menu,
.menu-right{line-height: 30px;transition: all 0.4s ease;background: #e9ecef;width: 190px;border-top: 1px solid white;border-radius: 0 0 5px 5px;-webkit-box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);position: absolute;left: 0;top: 65px; opacity: 0;visibility: hidden;}
.navbar .menu-right {top: 0;left: 100%;}
.navbar .dropdown-menu,
.menu-left{left: unset;right: 0;}
.navbar .menu-left{left: -100%;}

.navbar .menu-item{font-size: 14px;width: 100%;padding: 0.5rem 1.5rem;
  display: flex;justify-content: space-between;}
.navbar .menu-item:hover{color: #ff5722;}
.menu-item.first-item{padding: 1.5rem 1rem;}

.navbar .dropdown:hover .dropdown-menu{opacity: 1;visibility: visible;}
.navbar .dropdown-right:hover .menu-right{left: 100%;opacity: 1;visibility: visible;}
.navbar .dropdown-right:hover .menu-left{left: -100%;}

/* mega menu  */

.navbar .mega-menu{transition: all 0.4s ease-out 0s, visibility 0.1s linear 0s;width: 100vw;border-top: 1px solid #ffffff;
 position: absolute;left: 0;top: 65px;opacity: 0;visibility: hidden;}

.mega-menu .content{background: #e9ecef;display: grid;width: 100%;padding: 1rem;box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);
justify-content: space-between;grid-template-columns: repeat(4, 1fr);gap: 1rem;}

.blog .content{grid-template-columns: repeat(4, 1fr);}

.content .col {line-height: 3rem;
display: flex;flex-direction: column;justify-content: space-between;}
.content .col .img-wrapper{display: block;width: 100%;height: 20vw;position: relative;overflow: hidden;}
.content .col .img{position: absolute;top: 0;right: 0;bottom: 0;left: 0;}
.content .col img {transition: transform 0.3s ease-in-out;width: 100%;}
.content .col .img-wrapper:hover img{transform: scale(1.1);}

.content .col .menu-title{color: #ff5722;font-weight: bold;font-size: 1.2rem;line-height: 3rem;}
.content .col p {color: #112f48;line-height: 1.2rem;margin-top: 5px;}

.content .col .mega-links{border-left: 1px solid #3c3c3c;}

.content .col .read-more{color: #03a9f4;font-size: 16px;transition: color 0.3s ease;padding-top: 1rem;padding-right: 10px;
display: flex;justify-content: flex-end;}

.col .mega-links li,
.col .mega-links li a{padding: 0 1rem;}

.menu-items li:hover .mega-menu{opacity: 1;visibility: visible;}

.content .col .read-more:hover{color: #ff5722;}



/* animation menu hamburger */
.menu-btn.open .menu-btn__lines {
  transform: translateX(1rem);
  background: transparent;
}

.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-0.5rem, 0.5rem);
  background: #132f48;
}

.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-0.5rem, -0.5rem);
  background: #132f48;
}

/* Responsive style */
@media screen and (max-width: 1024px) {
  .navbar {
    padding: 10px 20px;
  }

  .overflow {
    overflow: hidden;
  }

  .overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 500;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .overlay-active {
    opacity: 1;
    visibility: visible;
  }

  .menu-btn {
    display: flex;
  }

  .navbar .menu-items {
    position: fixed;
    height: 100%;
    max-height: initial;
    overflow-y: auto;
    width: 80%;
    top: 65px;
    left: 0;
    background: #fcfcfc;
    display: block;
    transform: translateX(-100vh);
    transition: 0.3s ease-out;
    padding-bottom: 100px;
  }

  .menu-items.open {
    transform: translateY(0);
  }

  .menu-items li:first-child {
    margin-top: 20px;
  }

  .menu-items li a {
    padding: 10px 1rem;
    display: block;
    font-size: 18px;
  }

  .menu-items .dropdown-right .right-arrow {
    transform: rotate(90deg);
  }

  .menu-item.first-item {
    padding: 1rem 1rem;
  }

  /* DROPDOWN, MEGA MENUS */
  .menu-items .dropdown-menu,
  .menu-items .menu-right,
  .menu-items .mega-menu {
    position: static;
    opacity: 1;
    top: 4rem;
    visibility: visible;
    margin-left: -18px;
    width: auto;
    max-height: 0;
    transform: scaleX(0);
    transform-origin: left;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .menu-items .dropdown-menu,
  .menu-items .menu-right {
    padding-left: 1rem;
    width: 102%;
    margin-left: -10px;
  }

  .menu-items .mega-menu .col {
    padding-left: 1rem;
  }

  .expand-btn.open + .sample {
    max-height: 100%;
    transform: scaleZ(1);
  }

  .expand-btn.open + .blog.sample{transform: scaleZ(1);max-width: fit-content;max-height: 100%;
    
    
    }
	
	.expand-btn a{pointer-events: none;}
	.expand-btn.open a{pointer-events: auto;}	
	

.navbar .sample {border-top: none;}

.sample li {margin: 0;}

.sample li:last-child {border-bottom: none;}
.sample li a{font-size: 1rem;}
	
.mega-menu .content{padding: 1rem 1rem 0 1rem;
grid-template-columns: auto;}
.mega-menu .content .col{width: 100%;padding-top: 1rem;margin-bottom: 0.5rem;}
.col .mega-links li,
.col .mega-links li a{padding: 0 0.5rem;}
.content .col .mega-links {padding-left: 0.5rem;border-left: 0;}
.col .mega-links li{margin: 0;}
}