@charset "utf-8";

@media (max-width: 1400px) {
	.sitelogo a {width: calc(64px / 1.2); height: calc(63px / 1.2);}
	.main-visual .slick-dots {bottom: var(--space-200);}

	.greeting-section .thumb {width: 60%;}
}

/* Landscape tablet */
@media (max-width: 1024px) {
	body, input, textarea, select, button, table {font-size:15px;}
	
	/* header */
    #gnb {display:none;}
    .btn-m-menu {display:flex;}
	.hd-contact-btn {margin-right: 40px;}
	.hd-contact-btn:after {width: 16px; height: 16px;}

	/* main-visual */
	.main-visual, .main-visual .item {height: 60vw;}
	.main-visual .slick-dots {bottom: var(--space-100);}
	.main-visual .slick-dots li button {width: 22px; height: 22px;}
	.main-visual .slick-dots li button:before {width: 8px; height: 8px;}
	
	/* main */
	.main-biz-list {height: 320px;}
	.main-biz-item .tit:after {width: 28px; height: 28px; }

	.main-project-prev, .main-project-next {width: 48px; height: 48px;}
	.main-project-item:hover, .main-project-item:focus {border-radius: 0 70px 0 0;}
	.main-biz-item .tit-v {font-size: 20px;}
	.main-biz-item .tit {font-size: 18px;}

	.main-cs-btn:after {width: 16px; height: 16px;}

	/* footer */
	#footer .scroll-top {width: 70px; height: 70px;}
	#footer .ft-logo a {width: 60px;}
	
	/* sub */	
	.lnb-wrap {bottom: 0;}
	.lnb ul li {height: 60px;}
	.sub-title .tit p {font-size: 18px;}

	/* content */
	.greeting-section .txt:after {width: 100px; height: 100px;}

	.vision-logo {width: 100px;}
	.vision-values-item .icon {width: 50px; height: 50px;}

	.history-year {width:280px;}
	.history-year h4 {font-size:48px;}
	.history-item .month {font-size: 20px;}
	.history-txt p {font-size: 18px;}
	.history-txt:before {top: 13px;}
	.history-item:after {top: 7px; width: 18px; height: 18px;}

	.org-head {width: 200px; height: 200px;}
	.org-teams {--org-gap: 160px;}

	.location-map {height: 300px;}

	.biz-strength-head {width: 35%;}

	.card-list .link-item .info {padding: 16px;}
	
	/* board */
	.input {padding:5px 14px; height:40px;}
	textarea.input {padding:12px 14px;}

	.board-search .search input.input {width:240px;}

	.board-list colgroup col {width:auto !important;}
	.board-list table thead th {font-size:15px;}
	.board-list table tbody td {font-size:15px;}

    .simple-list .link-item {padding:24px 0;}
    .simple-list .link-item .num {max-width:80px; font-size:16px;}
    .simple-list .link-item .num .notice {width:48px; height:48px;}
    .simple-list .link-item .cnt .tit {font-size:18px;}
    .simple-list .link-item .cnt .info {margin-top:12px; font-size:13px;}
    .simple-list .link-item .arrow {max-width:80px; font-size:24px;}

	.gallery-list ul li .tit {font-size:15px;}

	.card-list {gap:32px;}
	.card-list .link-item .info .tit {font-size:18px;}
	.card-list .link-item .info .txt {font-size:15px;}
	.card-list .link-item .info .date {font-size:13px;}

	.news-list .thumb {width:200px;}
	.news-list .tit {font-size:17px;}
	.news-list .txt {font-size:14px;}
	.news-list .date {font-size:13px;}

	.event-list ul li .tit {font-size:15px;}

	.faq .tit {font-size:15px;}
	.faq .tit a {padding:9px 60px 9px 12px;}
	.faq .tit a:after {top:14px;}
	.faq .q {flex:0 0 32px; width:32px; height:32px; font-size:16px; line-height:32px;}
	.faq .cnt {padding:18px 25px 18px 60px;}

	.calendar-head h3 {font-size:28px; margin:0 30px;}
	.calendar-head .cal-btn {width:40px; height:40px;}
	.calendar table th {font-size:15px;}
	.calendar table td {height:110px; font-size:14px;}
	.calendar ul li:before {top:7px;}

	.board-white table {font-size:15px;}

	.board-form table {font-size:15px;}

	.files-upload-text .upfiles-alt {font-size:14px;}

	.board-view-tit {padding:14px 6px;}
	.board-view-tit h3 {font-size:18px;}
	.board-view-info {padding:13px 6px; font-size:13px;}
	.board-view-cnt {padding:15px 6px 40px;}

	.board-prev-next {font-size:14px;}

	.btn-pack.medium {height:40px; padding:0 16px; font-size:15px; line-height:38px;}
	.btn-pack.large {min-width:140px; height:50px; font-size:18px; line-height:48px;}

	.product-list ul li {width:25%;}
	.product-list ul li .tit {font-size:15px;}
	.product-image {width:350px;}
	.product-info .tit {font-size:25px;}

	.store-search {padding:22px 5%;}
	.store-search .map-area {width:280px;}
	.store-search .map-img .local {padding:0 10px; font-size:13px; line-height:22px;}

	.result-group .gall li {width:25%;}

} 

/* portrait tablet */
@media (max-width: 900px) {	
	.only-desktop {display:none;}
	.only-tablet {display:block;}
	.only-tablet-mobile {display:block;}
	
	/* header */

	/* main-visual */

	/* main */
	.main-biz-list {flex-wrap:wrap; justify-content:center; height:auto; overflow:visible;}
	.main-biz-item {flex:1 0 33.333%; min-width:0; aspect-ratio:5 / 3; min-height:200px; padding:var(--space-24); transition:none; align-items:center;}
	.main-biz-item .tit-v span {writing-mode:horizontal-tb; white-space:normal; text-align:center;}
	.main-biz-item .tit {white-space:normal; font-size:var(--font-size-24);}
	.main-biz-item .desc {font-size:var(--font-size-16);}
	.main-biz-item .box {position:static; width:100%;}
	.main-biz-item .tit:after {position:absolute; top:5px; right:5px; width:24px; height:24px; transform:rotate(-45deg);}
	.main-biz-list:hover .main-biz-item:hover,
	.main-biz-list:focus-within .main-biz-item:focus {align-items:flex-start;}
	.main-biz-list:hover .main-biz-item:hover:after,
	.main-biz-list:focus-within .main-biz-item:focus:after {background:linear-gradient(180deg, rgba(1,27,68,0) 50%, rgba(1,27,68,.48) 100%), linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.48) 100%), linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 100%);}
	.main-biz-list:hover .main-biz-item:hover .tit-v,
	.main-biz-list:focus-within .main-biz-item:focus .tit-v {display:none;}
	.main-biz-list:hover .main-biz-item:hover .box,
	.main-biz-list:focus-within .main-biz-item:focus .box {display:flex;}
	.main-biz-list:hover .main-biz-item:hover .tit,
	.main-biz-list:hover .main-biz-item:hover .desc,
	.main-biz-list:focus-within .main-biz-item:focus .tit,
	.main-biz-list:focus-within .main-biz-item:focus .desc {animation:bizBoxIn .3s ease both;}
	.main-biz-list:hover .main-biz-item:not(:hover) .tit-v,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .tit-v {display:flex;}
	.main-biz-list:hover .main-biz-item:not(:hover) .box,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .box {display:none;}
	.main-biz-list:hover .main-biz-item:not(:hover) .tit,
	.main-biz-list:hover .main-biz-item:not(:hover) .desc,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .tit,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .desc {opacity:0; animation:none;}

	.main-project .contain {flex-direction: column; gap: 30px;}
	.main-project-info {width: 100%; max-width: 100%; gap: 20px;}
	.main-project-nav {justify-content: flex-end;}
	.main-project-slide {margin-right: 0;}

	/* footer */
	#footer .ft-btm {flex-direction: column; align-items: start;}
	#footer .ft-copy {width: 100%; flex-wrap: wrap;}
	
	/* sub */
	.sub-title {flex-direction: column-reverse;}
	.path {width: 100%; justify-content: end;}
	.path .home {width: 20px; height: 20px;}

	/* content */
	.greeting-section {flex-direction: column;}
	.greeting-section .thumb {width: 100%; margin-left: 0;}
	.greeting-section .txt {width: 100%;}

	.vision-philosophy .thumb {border-radius: 0 100px 0 0;}
	.vision-values-item {flex: 0 0 calc(50% - var(--space-16) /2);}
	.vision-values-item:first-child {border-radius: 60px 0 0 0;}
	.vision-values-item:nth-child(2) {border-radius: 0 60px 0 0;}
	.vision-values-item:nth-child(3) {border-radius: 0 0 0 60px;}
	.vision-values-item:nth-child(4) {border-radius: 0 0 60px 0;}

	.history-row {flex-direction:column;}
	.history-row:first-child .history-year {padding-top:60px;}
	.history-row:first-child .history-items {padding-top:20px;}
	.history-row:last-child .history-items {padding-bottom:80px;}
	.history-body {border-right:0; border-left:0;}
	.history-year {width:100%;}
	.history-year h4 {padding-left:24px; font-size:40px;}
	.history-items {gap:20px; padding:20px 0 60px 40px; width: 100%;}
	.history-item:before {top:4px; left:-54px; width:28px; height:28px;}
	.history-item:after {left:-49px;  border-width:5px;}
	.history-item .month {width:48px; font-size:20px;}
	.history-txt:before {top:13px;}

	.org-head {width: 160px; height: 160px;}
	.org-teams {--org-gap: 120px; gap: 12px;}

	.location-map {height: 240px;} 
	.location-list {flex-direction: column;}
	.location-list li {border-right: 0; padding: 14px 0;}
	.location-list p {font-size: 18px;}

	.biz-strength-inner {flex-direction: column; gap: 30px;}
	.biz-strength-head {width: 100%;}
	.biz-strength-list {width: 100%;}
	.biz-strength-deco {top: 0; right: 0; left: unset;}

	.biz-thumb .thumb {border-radius: 0 100px 0 0;}

	/* board */
	.gallery-list ul {margin:0 -10px;}
	.gallery-list ul li {width:33.33333333%; padding:0 10px;}

	.card-list {gap:32px 20px;}

	.event-list ul li {width:50%;}

	.store-search {padding:30px; margin-bottom:30px;}
	.store-search .map-area {display:none;}
	.store-search .search-area h3 {text-align:center; margin-bottom:30px;}
} 

/* Landscape phone */
@media (max-width: 640px) {
	body, input, textarea, select, button, table {font-size:15px;}
	.only-desktop-tablet {display:none;}
	.only-tablet {display:none;}
	.only-mobile {display:block;}

	/* header */
	.sitelogo a {width: calc(64px / 1.5); height: calc(63px / 1.5);}
    .hd-contact-btn {font-size: 14px;}

	/* main-visual */
	.main-visual, .main-visual .item {height: 120vw;}
	.main-visual .caption h2 {font-size: 24px;}
	.main-visual .caption p {font-size: 16px;}
	.main-visual .scroll {display:none;}
	.main-visual .slick-dots {bottom: 30px;}

	/* main */
	.main-biz-item {flex:0 0 100%; min-height:0; align-items:flex-start;}
	.main-biz-item:after {background:linear-gradient(180deg, rgba(1,27,68,0) 50%, rgba(1,27,68,.48) 100%), linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.48) 100%), linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 100%);}
	.main-biz-item .tit-v {display:none;}
	.main-biz-item .box {display:flex;}
	.main-biz-item .tit,
	.main-biz-item .desc {opacity:1; animation:none;}
	.main-biz-list:hover .main-biz-item:not(:hover) .tit-v,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .tit-v {display:none;}
	.main-biz-list:hover .main-biz-item:not(:hover) .box,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .box {display:flex;}
	.main-biz-list:hover .main-biz-item:not(:hover) .tit,
	.main-biz-list:hover .main-biz-item:not(:hover) .desc,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .tit,
	.main-biz-list:focus-within .main-biz-item:not(:focus) .desc {opacity:1; animation:none;}
	.main-biz-item .tit:after {position: static; width: 20px; height: 20px; transform:none;}

	.main-project-item .tit {font-size: 18px;}
	.main-project-item .desc {font-size: 14px;}
	.main-project-prev, .main-project-next {width: 44px; height: 44px;}

	/* footer */
	#footer .ft-brand {flex-direction: column; align-items: start;}
	#footer .scroll-top {width: 56px; height: 56px; font-size: 14px;}
	
	/* sub */
	.lnb ul li {height: 45px;}
	.lnb ul li a {font-size: 14px;}
    
	/* content */
	.greeting-section .thumb {border-radius: 0 70px 0 0;}
	.greeting-section .txt:after {width: 80px; height: 80px;}

	.vision-logo {width: 70px;}
	.vision-philosophy .thumb {border-radius: 0 70px 0 0;}
	.vision-philosophy .thumb img {min-height: 200px; object-fit: cover;}
	.vision-values-item {flex: 0 0 100%; border-radius: 12px !important;}
	.vision-values-item .icon {width: 40px; height: 4px;}
	.vision-values-item .tit strong {font-size: 20px;}
	.vision-values-item .desc p {font-size: 16px;}
	
	.history-deco {font-size:48px;}
	.history-row:first-child .history-year {padding-top:40px;}
	.history-row:first-child .history-items {padding-top:16px;}
	.history-row:last-child .history-items {padding-bottom:60px;}
	.history-year h4 {padding-left:16px; font-size:32px;}
	.history-items {gap:16px; padding:20px 0 40px 32px;}
	.history-item {flex-direction:column; gap:0;}
	.history-item:before {top:3px; left:-44px; width:24px; height:24px;}
	.history-item:after {top:7px; left:-40px; width:16px; height:16px; border-width:4px;}
	.history-item .month {width:40px; font-size:18px;}
	.history-item .cont {gap:16px;}
	.history-txt strong,
	.history-txt p,
	.history-txt li {font-size:16px;}
	.history-txt:before {top:11px;}
	
	.org-head {width:140px; height:140px; font-size:18px;}
	.org-teams {display:flex; flex-direction:column; gap:12px; margin-top:32px;}
	.org-teams:before,
	.org-teams:after,
	.org-team:before {display:none;}
	.org-team strong,
	.org-team .sub {font-size:16px;}

	.location-map {height: 200px;}
	
	.biz-strength-deco {display: none;}
	.biz-thumb .thumb {border-radius: 0 70px 0 0;}
	.biz-thumb .thumb img {min-height: 200px; object-fit: cover;}
	.biz-strength-item {padding: 16px;}
	.biz-strength-item .num {font-size: 20px;}
	.biz-strength-item .tit strong {font-size: 18px;}

	.card-list .link-item .info {padding: 12px;}
	.card-list .link-item .info .cate {font-size: 14px;}

	/* board */
	.input {font-size:14px; padding:0 10px; height:38px;}
	select.input {padding-right:26px; background-position:right 8px center; background-size:12px auto;}
	textarea.input {padding:7px 10px;}

	.board-search {display:flex; flex-direction:column; margin-bottom:10px;}
	.board-search .total-page {order:3; float:none; font-size:13px;}
	.board-search .cate {float:none; order:1; margin-left:0; margin-bottom:5px;}
	.board-search .cate .input {display:block; width:100%;}
	.board-search .search {float:none; order:2; display:flex;}
	.board-search .search .input {flex:1 1 auto; min-width:0; width:1%;}

	.board-list {display:none;}
	.board-list-m {display:block;}

    .simple-list .link-item {padding:16px 0;}
    .simple-list .link-item .num {max-width:50px; font-size:14px;}
    .simple-list .link-item .num .notice {width:40px; height:40px; font-size:12px;}
    .simple-list .link-item .cnt .tit {font-size:15px;}
    .simple-list .link-item .cnt .info {gap:5px 16px; margin-top:8px; font-size:12px;}
    .simple-list .link-item .arrow {display:none;}

	.gallery-list {padding-top:15px;}
	.gallery-list ul {margin:0 -7px;}
	.gallery-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.gallery-list ul li .thumb {margin-bottom:10px;}
	.gallery-list ul li .tit {font-size:14px;}
	.gallery-list ul li .date {font-size:12px; margin-top:4px;}

	.card-list {grid-template-columns:repeat(2, 1fr); gap:24px 16px; margin-bottom:32px;}
	.card-list .link-item {border-radius:10px;}
	.card-list .link-item .info {padding:12px;}
	.card-list .link-item .info .tit {font-size:15px;}
	.card-list .link-item .info .txt {margin-top:10px; font-size:13px;}
	.card-list .link-item .info .date {margin-top:10px; font-size:12px;}

	.news-list ul li {padding:17px 0;}
	.news-list .thumb {width:38%; margin-right:14px;}
	.news-list .tit {font-size:15px; max-height:2.8em; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
	.news-list .txt {font-size:13px; margin-top:3px; max-height:3em; -webkit-line-clamp:2;}
	.news-list .date {display:none;}

	.event-list {padding-top:20px;}
	.event-list ul li {width:100%; margin-bottom:32px;}
	.event-list ul li .thumb {margin-bottom:10px;}
	.event-list ul li .tit {font-size:15px;}
	.event-list ul li .date {font-size:12px; margin-top:4px;}

	.faq .tit a {padding:7px 0 7px 5px;}
	.faq .tit a:after {display:none;}
	.faq .q {flex:0 0 26px; width:26px; height:26px; font-size:15px; line-height:26px; margin-right:10px;}
	.faq .cnt {padding:12px 12px 12px 15px;}

	.calendar-head {margin-bottom:15px;}
	.calendar-head h3 {font-size:20px; margin:0 17px;}
	.calendar-head .cal-btn {width:34px; height:34px; background-size:9px auto;}
	.calendar-head .cal-prev {background-image:url("/images/bbs/cal_prev_x2.png");}
	.calendar-head .cal-next {background-image:url("/images/bbs/cal_next_x2.png");}
	.calendar table th {padding:6px 4px; font-size:14px;}
	.calendar table td {height:60px; padding:5px 4px; font-size:12px;}
	.calendar ul li {padding-left:0; margin-bottom:6px;}
	.calendar ul li:before {display:none;}
	.calendar .cal-date {font-size:10px; margin-bottom:8px;}

	.board-white table {display:block; border-top:0; border-bottom:0; font-size:14px;}
	
	.board-white table tbody {display:block;}
	.board-white table tr {display:block; padding:12px 0;}
	.board-white table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-white table td {display:block; border:0; padding:0;}
	.board-white .editor {padding:0; margin-top:-12px;}
	.board-white .item {margin:3px 12px 3px 0;}
	.board-white #user_name {max-width:100% !important;}
	.board-white + .buttons {margin-top:30px;}

	.board-form table tbody {display:block;}
	.board-form table tr {display:block; padding:12px 0;}
	.board-form table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-form table td {display:block; border:0; padding:0;}
	.board-form + .buttons {margin-top:30px;}

	.form-agree {margin:30px 0 30px;}
	.form-agree h3 {font-size:16px;}
	.form-agree .scroll-box {font-size:12px; max-height:110px; overflow:auto;}
	.form-agree .check {margin-top:12px; font-size:14px;}

	.board-view-tit h3 {font-size:17px;}
	.board-view-info {font-size:12px;}

	.board-prev-next dl {padding:10px 6px;}
	.board-prev-next dt {width:70px}

	.buttons {margin:15px 0;}

	.btn-pack.small {height:26px; padding:0 8px; font-size:11px; line-height:24px;}
	.btn-pack.medium {height:38px; padding:0 14px; font-size:14px; line-height:36px;}
	.btn-pack.large {min-width:120px; height:42px; padding:0 18px; font-size:15px; line-height:40px;}
	.btn-pack.xlarge {min-width:120px; height:50px; padding:0 22px; font-size:16px; line-height:48px;}
	.btn-pack.comment {width:80px; height:32px; font-size:14px;}

	.paginate {margin-top:20px;}
	.paginate a,  
	.paginate strong{margin:0 1px;width:30px;height:30px;font-size:14px;line-height:30px;}  
	.paginate a.direction {margin:0;}
	.paginate a.direction.prev {margin-right:14px;}
	.paginate a.direction.next {margin-left:14px;}

	.comment-area {margin-top:37px;}
	.comment-total {font-size:14px; margin-bottom:12px;}
	.comment-write {position:relative; padding:10px;}
	.comment-write .byte {position:absolute; bottom:15px; left:12px; font-size:12px;}
	.comment-write .write {display:block;}
	.comment-write .write textarea {display:block; width:100%; height:65px; margin-right:0;}
	.comment-write .write .btn {text-align:right; margin-top:6px;}
	.comment-item {padding:17px 4px;}
	.comment-item.comment-reply {padding-left:25px; background-image:url("/images/bbs/icon_reply_x2.png"); background-position:3px 18px; background-size:auto 13px;}
	.comment-info {font-size:14px;}
	.comment-info .name {margin-right:5px;}
	.comment-info .date {font-size:11px;}
	.comment-ctr {font-size:12px;}
	.comment-ctr .bar {vertical-align:middle; margin:-.2em 4px 0;}
	.comment-txt {font-size:14px;}
	.comment-link {font-size:13px;}
	.comment-input {padding:10px;}
	.comment-input textarea {height:48px;}

	.board-password {padding:30px 20px;}

	.product-list ul {margin:0 -7px;}
	.product-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.product-list ul li .thumb {margin-bottom:10px;}
	.product-list ul li .tit {font-size:14px;}
	.product-summary {display:block;}
	.product-image {width:100%; margin-bottom:20px;}
	.product-info {width:100%;}
	.product-info .tit {font-size:22px; padding-bottom:14px; margin-bottom:14px;}
	.product-detail {padding-bottom:25px; margin-bottom:25px;}
	.product-detail .tit {font-size:17px; padding-bottom:10px; margin-bottom:14px;}

	.store-search {padding:0;}
	.store-search .search-area h3 {font-size:16px; padding:15px 25px; margin-bottom:20px; background:#f4f4f4;}
	.store-search .search-area dl {display:block; padding:0 15px; margin:20px 0;}
	.store-search .search-area dl dt {width:auto; margin-bottom:6px; font-size:15px;}
	.store-search .search-area dl dd {width:auto;}
	.store-search .search-area input.input {width:calc(100% - 74px); margin-right:4px;}
	.store-search .search-area select.input {width:calc(50% - 39px); margin-right:4px;}
	.store-search .search-area .btn-pack.medium {width:70px;}

	.result-top {font-size:18px;}
	.result-group .gall {margin:0 -7px;}
	.result-group .gall li {width:50%; padding:0 7px;}
	.result-group dl dt {font-size:15px;}
	.result-group dl dd {font-size:13px;}
	.result-group dl dd.date {font-size:12px;}

} 

@media (max-width: 420px) {
	.biz-strength-list {grid-template-columns:repeat(1, 1fr);}
	.biz-strength-thumb {aspect-ratio: 1 / 1;}

} 