/* bar平野: responsive refinements for the existing TREE theme */
/* Clear navigation and menu pages. */
body:not(.home) #header .global_menu > ul > li > a,
body #header.active .global_menu > ul > li > a { color:#252a24 !important; }
body:not(.home) #header .global_menu > ul > li.current-menu-item,
body:not(.home) #header .global_menu > ul > li.current-menu-parent,
body:not(.home) #header .global_menu > ul > li.current-menu-ancestor,
body #header.active .global_menu > ul > li.current-menu-item,
body #header.active .global_menu > ul > li.current-menu-parent,
body #header.active .global_menu > ul > li.current-menu-ancestor { background:#eeebe3 !important; }
body:not(.home) #header .global_menu > ul > li > a:hover,
body #header.active .global_menu > ul > li > a:hover { color:#252a24 !important; background:#eeebe3 !important; }

body #header .global_menu > ul > li > a { font-size:16px; font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif; font-weight:500; letter-spacing:.02em; }
body #drawer_menu .menu a, body #footer_menu a { font-size:15px; }
body #menu_single { width:100%; max-width:1000px; }
body #menu_single #top_desc { max-width:760px; margin:0 auto 60px; font-size:16px; line-height:2; }
body #menu_single .menu_content1 { margin-bottom:75px; }
body #menu_single .menu_content1 .top_headline { margin-bottom:35px; font-size:30px; line-height:1.7; }
body #menu_single .menu_content1 .top_headline .sub { margin-top:12px; font-size:15px; line-height:1.85; }
body #menu_single .menu_content1 .image_area { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
body #menu_single .menu_content1 .image_area::after { display:none; }
body #menu_single .menu_content1 .image_area .item { width:100%; margin:0 !important; background:#f5f2eb; }
body #menu_single .menu_content1 .image_area .item img { width:100%; height:360px; object-fit:contain; background:#e9e5de; }
body #menu_single .menu_content1 .image_area .desc { padding:20px 24px; font-size:16px; line-height:1.9; color:#252a24; }
body #menu_single .menu_content1 .data_list { margin:40px 0 0; padding:35px 40px; border:1px solid #292d2820; border-radius:2px; }
body #menu_single .menu_content1 .data_list .headline { margin-bottom:24px; font-size:25px; line-height:1.65; text-align:left; }
body #menu_single .menu_content1 .data_list dl { display:block; border:0; font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif; }
body #menu_single .data_list .hirano-menu-row { display:flex; gap:24px; align-items:baseline; justify-content:space-between; border-bottom:1px solid #292d281c; padding:16px 0; }
body #menu_single .data_list .hirano-menu-row dt { display:block; width:auto; flex:1; min-width:0; margin:0; padding:0; border:0; font-size:16px; line-height:1.85; color:#252a24; overflow-wrap:anywhere; }
body #menu_single .data_list .hirano-menu-row dd { display:block; width:auto; flex:0 0 auto; max-width:40%; margin:0; padding:0; border:0; font-size:16px; line-height:1.85; color:#252a24; text-align:right; }
body #menu_single .data_list .hirano-menu-period { margin:30px 0 6px; background:#292d28; padding:13px 18px; }
body #menu_single .data_list .hirano-menu-period:first-child { margin-top:0; }
body #menu_single .data_list .hirano-menu-period dt { display:block; width:auto; margin:0; padding:0; border:0; line-height:1.6; color:#fff; font-size:18px; font-weight:600; }
body #menu_list .item .title { font-size:30px; line-height:1.65; }
body #menu_list .item .desc { font-size:16px; line-height:2; }
body #menu_list .link_button a { font-size:16px; min-height:52px; }
@media(max-width:950px) {
 body #menu_single .menu_content1 .data_list { padding:30px 25px; }
 body #menu_single .menu_content1 .image_area .item img { height:300px; }
}
@media(max-width:750px) {
 body #drawer_menu a { min-height:48px; line-height:1.6; font-size:16px; }
 body #menu_single #top_desc { margin-bottom:40px; font-size:15px; text-align:left; }
 body #menu_single .menu_content1 .top_headline { font-size:25px; margin-bottom:24px; }
 body #menu_single .menu_content1 .image_area { grid-template-columns:minmax(0,1fr); gap:22px; }
 body #menu_single .menu_content1 .image_area .item img { height:340px; }
 body #menu_single .menu_content1 .image_area .desc { padding:18px 20px; font-size:15px; }
 body #menu_single .menu_content1 .data_list { padding:24px 20px; margin-top:30px; }
 body #menu_single .menu_content1 .data_list .headline { font-size:22px; }
 body #menu_single .data_list .hirano-menu-row { gap:12px; padding:15px 0; }
 body #menu_single .data_list .hirano-menu-row dt, body #menu_single .data_list .hirano-menu-row dd { font-size:15px; line-height:1.85; }
 body #menu_single .data_list .hirano-menu-period dt { font-size:17px; }
 body #menu_list .item .title { font-size:26px; }
 body #menu_list .item .desc { font-size:15px; }
}


/* A quieter editorial menu: short names, provenance below, generous spacing. */
body #menu_single .menu_animate_item { opacity:1 !important; top:0 !important; transition:none !important; }

body #menu_single .menu_content1 .data_list { background:#f7f4ed !important; border:0; padding:44px 44px 32px; }
body #menu_single .menu_content1 .data_list .headline { font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-size:28px; margin-bottom:34px; letter-spacing:.06em; }
body #menu_single .menu_content1 .data_list dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:44px; }
body #menu_single .data_list .hirano-menu-period { grid-column:1 / -1; background:transparent; border-top:1px solid #a7956b; padding:24px 0 6px; margin:30px 0 0; }
body #menu_single .data_list .hirano-menu-period:first-child { border-top:0; margin-top:0; padding-top:0; }
body #menu_single .data_list .hirano-menu-period dt { color:#766341; font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-size:22px; font-weight:400; letter-spacing:.08em; }
body #menu_single .data_list .hirano-menu-row { padding:22px 0 24px; border-bottom:1px solid #292d2815; gap:14px; }
body #menu_single .hirano-menu-title { display:block; font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-size:20px; line-height:1.7; letter-spacing:.025em; word-break:keep-all; overflow-wrap:anywhere; text-wrap:balance; }
body #menu_single .hirano-menu-source { display:block; margin-top:9px; color:#6c7066; font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif; font-size:12px; line-height:1.85; word-break:keep-all; overflow-wrap:anywhere; text-wrap:pretty; }
body #menu_single .menu_content1 .image_area .item { background:#f7f4ed; }
body #menu_single .menu_content1 .image_area .desc { padding:24px 26px 28px; }
body #menu_single .menu_content1 .image_area .hirano-menu-title { font-size:21px; }
body #menu_single .data_list .hirano-menu-row dd { color:#766341; font-size:15px; padding-top:5px; white-space:nowrap; }
body #menu_single #top_desc { line-height:2.1; text-wrap:pretty; }
@media(max-width:750px) {
 body #menu_single .menu_content1 .data_list { padding:30px 24px 20px; }
 body #menu_single .menu_content1 .data_list dl { grid-template-columns:minmax(0,1fr); }
 body #menu_single .menu_content1 .data_list .headline { font-size:25px; line-height:1.65; margin-bottom:26px; }
 body #menu_single .data_list .hirano-menu-row { padding:20px 0; }
 body #menu_single .hirano-menu-title { font-size:20px; }
 body #menu_single .hirano-menu-source { font-size:12px; }
 body #menu_single .data_list .hirano-menu-period { margin-top:30px; padding-top:22px; }
 body #menu_single .data_list .hirano-menu-period dt { font-size:21px; }
 body #menu_single .menu_content1 .image_area .desc { padding:22px 24px; }
}

:root { --hirano-ink:#292d28; --hirano-cream:#f5f2eb; --hirano-accent:#a7956b; }
html { scroll-padding-top:90px; }
body { background:var(--hirano-cream); }
body a:focus-visible, body button:focus-visible { outline:2px solid var(--hirano-accent); outline-offset:4px; }
body .post_content { font-size:16px; line-height:2.05; overflow-wrap:anywhere; }
body .post_content img { max-width:100%; height:auto; }
body .post_content iframe, body .post_content video { max-width:100%; }
body .post_content table { max-width:100%; }
body .s_table { max-width:100%; overflow-x:auto; }
body #main_contents, body #main_col, body #page_content, body #access_page,
body #design_content1, body #design_content2, body #menu_single { box-sizing:border-box; }
body #page_content, body #access_page, body #design_content1, body #design_content2 { width:100%; max-width:1000px; }
body .post_content p { margin-bottom:1.5em; }
body .post_content h2, body .post_content h3 { line-height:1.65; overflow-wrap:anywhere; }
body.home #main_contents { padding-left:clamp(24px,6vw,100px); padding-right:clamp(24px,6vw,100px); }
body.home #main_contents::before, body.home #main_contents::after { display:none; }
body.home .cb_contents_inner { width:100%; max-width:1160px; box-sizing:border-box; }
body.home .index_design_content { padding:70px 0 !important; }
body.home .index_design_content .cb_contents_inner { display:grid; grid-template-columns:1.1fr 1fr; column-gap:0; row-gap:28px; align-items:stretch; }
body.home .index_design_content .cb_contents_inner::after { display:none; }
body.home .index_design_content .cb_side_headline { grid-column:1 / -1; position:static !important; transform:none; writing-mode:horizontal-tb; width:auto; margin:0 !important; opacity:1; display:block; text-align:left; }
body.home .index_design_content .cb_side_headline h2 { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px 22px; }
body.home .index_design_content .cb_side_headline .main { font-size:13px; letter-spacing:.2em; color:#7d6d4c; font-weight:500; }
body.home .index_design_content .cb_side_headline .sub { font-size:24px; font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-weight:500; }
body.home .index_design_content .image_wrap { grid-column:1; grid-row:2; width:100%; height:auto; min-height:420px; margin:0; top:0 !important; opacity:1; }
body.home .index_design_content .image { width:100%; height:100%; position:absolute; left:0; right:0; top:0; }
body.home .index_design_content .content_area { grid-column:2; grid-row:2; width:100%; position:static !important; padding:48px 44px; margin:0; box-sizing:border-box; background:var(--hirano-ink); color:#f7f4ec; }
body.home .index_design_content .content_area .catch { font-size:clamp(21px,2vw,27px); line-height:1.65; font-family:'Yu Mincho','Hiragino Mincho ProN',serif; }
body.home .index_design_content .content_area .desc { font-size:15px; line-height:2.15; text-align:left; margin-top:26px; overflow-wrap:anywhere; }
body.home .index_design_content .content_area .desc br { display:none; }
body.home .index_design_content.layout_type1 .image_wrap { grid-column:2; }
body.home .index_design_content.layout_type1 .content_area { grid-column:1; }
body.home .index_design_content .link_button { grid-column:1 / -1; margin:0; position:static !important; opacity:1; text-align:right; }
body.home .index_design_content .link_button a { height:auto; min-height:52px; min-width:220px; line-height:1.6; padding:16px 25px; box-sizing:border-box; background:var(--hirano-ink); color:#fff; letter-spacing:.1em; }
body.home .index_design_content .link_button a:hover { background:#4d5148; }
body.home .index_free_space.type3 { margin-left:0; margin-right:0; padding:0; }
body.home .hirano-intro { max-width:760px; margin:auto; text-align:center; }
body.home .hirano-intro h2 { font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-size:clamp(26px,3vw,38px); margin-bottom:30px; }
body.home .hirano-intro p { font-size:16px; line-height:2.15; margin-bottom:20px; text-align:left; }
body.home .index_message .cb_contents_inner { width:100%; max-width:860px; }
body.home .index_message .catch { float:none; width:100%; padding:0; text-align:center; }
body.home #index_slider .caption { width:calc(100% - 100px); max-width:1000px; }
body.home #index_slider .catch { font-size:clamp(26px,3.1vw,42px); line-height:1.65; text-wrap:balance; }
body.home #index_slider .desc { font-size:16px; line-height:2; max-width:740px; margin-left:auto; margin-right:auto; }
body.home #index_slider .overlay { background:rgba(0,0,0,.46); }
body.home #index_slider, body.home #index_slider .item { height:100vh; height:100svh; min-height:560px; max-height:900px; }
body #footer .desc, body #footer .address { line-height:1.9; }
@media (max-width:950px) {
 body.home .index_design_content .content_area { padding:32px 28px; }
 body.home .index_design_content .image_wrap { min-height:360px; }
 body .post_content { font-size:15px; }
}
@media (max-width:750px) {
 html { scroll-padding-top:80px; }
 body.home #main_contents { padding-left:24px; padding-right:24px; }
 body.home .index_design_content { padding:40px 0 !important; }
 body.home .index_design_content .cb_contents_inner { grid-template-columns:minmax(0,1fr); row-gap:0; }
 body.home .index_design_content .cb_side_headline { grid-column:1; padding-bottom:20px; }
 body.home .index_design_content .cb_side_headline .sub { font-size:22px; }
 body.home .index_design_content .image_wrap,
 body.home .index_design_content.layout_type1 .image_wrap { grid-column:1; grid-row:2; min-height:0; height:auto; aspect-ratio:4 / 3; }
 body.home .index_design_content .content_area,
 body.home .index_design_content.layout_type1 .content_area { grid-column:1; grid-row:3; padding:28px 24px; }
 body.home .index_design_content .content_area .catch { font-size:23px; }
 body.home .index_design_content .content_area .desc { font-size:15px; line-height:2; margin-top:20px; }
 body.home .index_design_content .link_button { grid-column:1; grid-row:4; margin-top:20px; text-align:center; }
 body.home .index_design_content .link_button a { width:100%; max-width:340px; font-size:14px; }
 body.home .hirano-intro p { font-size:15px; line-height:2.05; }
 body.home #index_slider .caption { width:calc(100% - 48px); }
 body.home #index_slider .catch { font-size:27px; }
 body.home #index_slider .desc { font-size:14px; line-height:1.95; }
 body.home #index_slider, body.home #index_slider .item { min-height:620px; max-height:860px; }
 body .post_content { font-size:15px; line-height:2; }
 body .post_content h2 { font-size:24px; }
 body .post_content h3 { font-size:21px; }
 body .link_button a { max-width:100%; box-sizing:border-box; }
 body #footer .desc { font-size:13px; }
}
@media (max-width:380px) {
 body.home #main_contents { padding-left:18px; padding-right:18px; }
 body.home .index_design_content .content_area { padding:25px 20px; }
 body.home #index_slider .catch { font-size:24px; }
 body.home #index_slider .desc { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 body.home .animate_item, body.home .animate_item2 { transition:none !important; }
}
