/*
Theme Name: Iwasaki Chihiro
Author: cloudot
Author URI: https://wordpress.org/
Description:
Version: 0
*/
#visit-calendar {
    font-size: 14px;
}
@media (max-width: 1439px) {
    #visit-calendar {
        font-size: 14px;
    }
}
@media (max-width: 1339px) {
    #visit-calendar {
        font-size: 14px;
    }
}
@media (max-width: 1140px) {
    #visit-calendar {
        font-size: 11.2px;
    }
}
@media (max-width: 1024px) {
    #visit-calendar {
        font-size: 9.8px;
    }
}
@media (max-width: 880px) {
    #visit-calendar {
        font-size: 8.4px;
    }
}
@media (max-width: 767px) {
    #visit-calendar {
        font-size: 15.4px;
    }
}
@media (max-width: 679px) {
    #visit-calendar {
        font-size: 15.4px;
    }
}
@media (max-width: 499px) {
    #visit-calendar {
        font-size: 11.2px;
    }
}

#visit-calendar #calendar .calendar th,
#visit-calendar #calendar .calendar td {
    border: none;
}
#visit-calendar #calendar .calendar td {
	padding: .3em 0;
}
#visit-calendar #calendar .calendarRight .dateCaption .dateCaption_date,
#visit-calendar #calendar .calendarRight .dateCaption .dateCaption_time {
    display: block;
}
#visit-calendar #calendar .calendarRight .dateEvent p {
    padding-left: 80px;
}
#visit-calendar #calendar .calendarLegend {
    margin-bottom: 0;
    padding-left: 0;
}
#visit-calendar #calendar .calendarLegend li::before {
    content: '';
    position: static;
}
#visit-calendar #calendar .calendar .dateCaption .dateCaption_date time {
    line-height: 1;
}
.donation-link {
    background-color: #5589c7;
    position: fixed;
    bottom: 15px;
    right: 60px;
    padding: 14px 22px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    z-index: 99999;
    transition: width 1s, height 1s, background-color 1s, transform 1s;
    cursor: pointer;
    display: none;
}
.donation-link:hover {
    background-color: #2e66ab;
}
.donation-link i,
.donation-link a {
    color: #fff;
    font-size: 13px;
}
.donation-link i {
    padding-left: 10px;
}
.donation-link a:hover {
    text-decoration: none;
    color: #fff;
    opacity: 1;
}
.donation-header {
    background-image: url('assets/images/donation-bg.png');
    padding: 14px 15px;
    width: 240px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    border: 1px solid #e4e4e4;
    border-radius: 50px;
    background-color: #fff;
}

#totopNav .totop {
    top: unset !important;
}

@media (min-width: 767px) {
    .donation-link {
        display: block;
    }
}

.post_card_exhibitions .cardC_image{
	width:25% !important;
}
.post_card_exhibitions .cardC_image, .cardC_text {
	vertical-align: top;
}
.post_card_exhibitions .post_card_period{
	font-size: 0.66667em;
	color: #783334;
	border:1px solid #783334;
	padding:0.25em 0.5em;
	margin-right:0.5em;
	display:none;
}
.post_card_exhibitions .cardC_bottom{
	text-align:right;
	padding-top:0;
}

.holdyear{
	display:block;
	margin-bottom:0.25em;
}
.holdcnt{
	display:none;
	padding-left:0.5em;
}
.mb_0{
	margin-bottom:0 !important;
}
.holdnav{
	margin-top:0.25em !important;
}
.holdnav a{
	padding-left:0.5em;
}

.sp_only{
	display:none;
}

@media (max-width: 767px) {
	.side_archive{
		padding-left:0;
	}
	.side_archive .holdcnt{
		padding-left:0;

	}
	.sidebar .lnk_exhi_foundation{
	}
	.pc_only{
		display:none;
	}
	.sp_only{
		display:block;
	}
	.pager.exhibitionPager-head li{
		margin-left:0;
	}
	.post_card_exhibitions_head{
		display: flex;
		flex-wrap: wrap;
	}
	.post_card_exhibitions_head_img{
		width:25%;
	}
	.post_card_exhibitions_head_date{
		width:70%;
		padding-left:5%;
	}
	.post_card_exhibitions .cardC_image.post_card_exhibitions_head{
		width:100% !important;
	}
}
.video_youtube {
    width: 100%;
    height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    pointer-events: none;
}
.video_youtube iframe {
    object-fit: cover;
    width: 100%;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .video_youtube {

        height: 43vw;
    }
}
@media (min-width: 469px) and (max-width: 768px) {
    .video_youtube {
        height: 88vw;
    }

}
@media (max-width: 468px) {
    .video_youtube {
        height: 323px;
    }
}

[lang="en-US"] .lang-page{
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
[lang="en"] .lang-page {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.lang-page {
    display: flex;
   align-items: center;
}
/*
CSS New 7-8/2024*/
.is-sp {
    display: none;
}
.is-pc {
    display: block;
}
.is-none {
    display: none;
}
#globalNav .sitemap {
    position: unset;
}
#globalNav .globalNav_innerIn {
    position: relative;
}
#globalNav .sitemap .menu.active .submenu {
    height: 100% !important;
    background-color: #f6f6f6;
    padding: 30px 30px;
}
#globalNav .sitemap > .menu-single {
    margin-top: 20px;
}
@media  (max-height: 750px) {
    #globalNav .sitemap .menu.active .submenu  {
        height: fit-content !important;
        padding-bottom: 30px;
    }

}
@media screen and (max-width: 768px) {
    #globalNav .sitemap > .menu-single {
        margin-top: unset;
    }
    #globalNav .sitemap .menu.active .submenu {
        padding: 20px 0 20px 0;
        height: 88% !important;
    }
    .is-sp {
        display: block;
    }
    .is-pc {
        display: none;
    }
    .fBox li.is-pc{
        display: none;
    }
    .fBox a.buttonA {
       min-width: 100%;
    }
    .fBox a.buttonA.is-sp {
        margin-top: 0.8em;
    }
    .fBox li {
        width:calc((100% / 3) - 2px);
    }
    .followList > li {
        margin-bottom: 1.5em;
    }
    /* .container #lifeandworks.custom-life .itemImg_cap {
        position: unset !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 20px !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
        flex-direction: column;
        font-size: 12px !important;
    }
    .container #lifeandworks.custom-life .itemImg_in {
        width: 78%;
        margin: 0 auto;
    }
    #lifeandworks.custom-life .itemImg_in img {
        width: 80%;
        float: unset !important;
    }
    #lifeandworks.custom-life .itemYear {
        left: 9% !important;
    } */
    #lifeandworks .itemImg_cap {
        font-size: 12px;
    }
    /* #lifeandworks #marriage2 .itemImg_cap {
        font-size: 12px;
    }
    #lifeandworks #decision .itemImg_cap {
        font-size: 12px;
    }
    #lifeandworks.custom-life #childbirth .itemImg_cap {
        font-size: 12px;
    }
    #lifeandworks #grope .itemImg_cap {
        font-size: 12px;
    }
    #lifeandworks.custom-life #forpeace .itemImg_cap {
        font-size: 12px;
    } */
    #lifeandworks.custom-life #born .item:not(:last-child) {
        margin-bottom: 30px;
    }
    #lifeandworks.custom-life #schooldays .itemSub {
        margin-top: 0;
    }
    #lifeandworks.custom-life #schooldays .item:not(:last-child) {
        margin-bottom: 30px;
    }
    #lifeandworks.custom-life #marriage1 .item {
        display: flex;
        flex-direction: column-reverse;
    }
    #lifeandworks.custom-life #manshu .itemImg_cap {
        margin-bottom: 20px !important;
        flex-direction: column;
    }
    #lifeandworks.custom-life #reporter.item {
        display: flex;
        flex-direction: column-reverse;
    }
    #lifeandworks.custom-life #reporter.item .itemText {
        order: 1;
    }
    #lifeandworks.custom-life #reporter.item .itemImg {
        order: 2;
    }
    #lifeandworks.custom-life #marriage2 {
        display: flex;
        flex-direction: column-reverse;
    }
   #lifeandworks.custom-life #marriage2 .itemText {
        order: 1;
    }
   #lifeandworks.custom-life #marriage2 .itemImg {
        order: 2;
    }
    #lifeandworks.custom-life  #childbirth .itemYear {
        top: 0;
    }
    #lifeandworks.custom-life #childbirth .itemImg_cap {
        margin-bottom: 20px !important;
    }
    #lifeandworks.custom-life #grope {
        display: flex;
        flex-direction: column-reverse;
    }
    #lifeandworks.custom-life #forpeace .itemImg_cap {
        margin-bottom: 20px !important;
    }
    #lifeandworks.custom-life #passaway {
        display: flex;
        flex-direction: column-reverse;
    }
    #lifeandworks.custom-life #passaway .itemText {
        order: 1;
    }
   #lifeandworks.custom-life #passaway .itemImg {
        order: 2;
    }
    .tbale table.A th:nth-child(3) {
        display: none;
    }
    .table table.A td:nth-child(2) {
        width: 70% !important;
        flex: 1;
    }

    .table .table table.A tr:nth-child(1) {
        display: none;
    }
    .table table.A tr {
        display: flex;
        flex-wrap: wrap;
        border-left: 1px solid  #a0a0a0;
    }
     .table table.A tr:nth-child(1) {
        display: none;
    }
    .table div.tableA-bottom {
        font-size: 14px;
    }

    .table table.A td:first-child {
        border-left: none;
    }
    .table table.A td:nth-child(3) {
        /* margin-left: 17.39583% !important; */
        margin-left: 35% !important;
        width: 100%;
        margin-bottom: 2.125em;
    }
    .table table.A td:nth-child(2) {
        width: 82% !important;
    }
    .table table.Ath:last-child {
        opacity: 0;
    }
    .table div.tableA-bottom {
        margin-bottom: 0;
    }
    .table table.techniqueB td:first-child {
        width: 50% !important;
        padding-right: 10% !important;
    }
    /* .table table.techniqueB td:last-child {
        width: 25% !important;
    } */
    .newsContent_anchor {
        display: flex;
        flex-direction: column;
    }
    .newsContent_item .newsContent_left {
        display: flex;
        align-items: center;
        width: 100%;
    }
    .newsContent_item .newsContent_left .newsContent_tag  {
        margin-left: 10px;
        margin-top: 0;
    }
    .newsContent_item  .newsContent_text {
        padding-left: 0;
    }
    #footer .footerNav_list .footerNav_item {
        display: inline-block;
    }
    #footer ul.footerNav_list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 10px;
    }
    /* #footer .footerNav_list .footerNav_item::after {
        border-radius: 50%;
        width: 4px;
        height: 4px;
        background-color: #707070;
        content: "";
        display: inline-block;
        vertical-align: middle;
        margin: 0 5px;
        margin-top: 8px;
    } */
    #footer .footerNav_list .footerNav_item:last-child::after {
        content: unset;
    }
    #footer .footerNav_list .footerNav_item a{
        font-size: 14px;
        line-height: 2.5;
        letter-spacing: normal;

    }
    #footer .lnSwitcher ul li a {
        line-height: 2.2;
    }
    .table table.technique {
        width: 100%;
    }
    .table table.technique tbody {
        width: 100%;
    }
    .table  #process table.technique tbody tr {
        width: 100%;
        display: grid;
        grid-template-columns: 65% 35%;
        grid-template-rows: auto auto;
    }
    .table  #process table.technique tbody tr td:nth-child(1) {
        /* order: 2; */
        width: 100% !important;
        padding: 102px 10px 10px 10px!important;
        margin-right: 10px;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        display: flex;
        align-items: flex-end;
    }
    .table #process table.technique tbody tr:nth-child(1) td:nth-child(1) {
        padding-top: 139px !important;
    }
    .table #process table.technique tbody tr:nth-child(5) td:nth-child(1) {
        padding-top: 170px !important;
    }
    .table  #process table.technique tbody tr td:nth-child(2) {
      /* order: 1; */
      padding-left: 0 !important;
      width: 100% !important;
      font-size: 14px;
      flex: 1;
      grid-column: 1 / 2;
      grid-row: 1 / 3;
    }
    .table  #process table.technique tbody tr td:nth-child(3) {
        /* order: 3; */
        width: 100% !important;
        padding: 10px 10px !important;
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .table .technique.techniqueB tbody tr td:nth-child(1){
        font-size: 14px;
    }
    #lifeandworks .itemText p {
        font-size: 14px;
    }
    .accessInfo_inner > dl dd {
        font-size: 14px;
    }
    .accessInfo_inner > address a {
        font-size: 14px;
    }
    .accessInfo_inner > address a.buttonC{
        font-size: unset;
    }
    .bnr-card__title span, .bnr-card__text {
        font-size: 14px;
    }
    .table table.A td:nth-child(3) div.tableA-top{
        border-bottom: 0;
        padding-left: 14px;
    }
    .table table.A td:nth-child(3) div.tableA-bottom {
        padding-left: 14px;
    }
    .table table.A th:first-child {
        border-left: 0;
    }
    .container-sp {
        padding-bottom: 15px;
    }
    #lifeandworks .itemImg_cap {
        font-size: 12px;
    }
    #lifeandworks .itemImg_cap small {
        font-size: 12px;
    }
    .site-kodomo-renew .content-post .content-post__author .author-description {
        font-size: 12px;
    }
    .post-content p {
        font-size: 14px;
    }
    .news .newsContent_text {
        font-size: 14px;
    }
    .museumInner .museumText {
        font-size: 14px;
    }
    .philosophy .philosophyText {
        font-size: 14px;
    }
    .overviewLeft p {
        font-size: 14px;
    }
    .greetingColumn  p {
        font-size: 14px;
    }
    .nosidebar p {
        font-size: 14px;
    }
    .nosidebar p.collectionArtist_text {
        font-size: 12px;
    }
    .bnr-card__btn a.buttonA {
        font-size: 12px;
    }
    [lang="ja"] .biography .subnavWrapper-custom .subnav_menu a {
        font-size: unset;
    }
    .post-content p.bannerFooter a span {
        font-size: unset;
    }
    .fieldB .banner p.bannerFooter {
        font-size: 1.09375em;
    }
    .custom-font {
        font-size: 14px;
    }
    .fBox_right a.buttonA {
        font-size: 11.2px;
    }
    .table .tableA-bottom p {
        margin-bottom: 0;
    }
    #year1975 table.A tr:nth-child(2) td:nth-child(2) div.tableA-top{
      opacity: 0;
        font-size: 1.65em !important;
        margin-top: 0 !important;
    }
    #year1975 table.A tr:nth-child(2) td:nth-child(2) div.tableA-bottom{
        border-top: solid 1px #a0a0a0;
    }
    .table #year1952-1962 table.A tr:nth-child(3) td:nth-child(2) div.tableA-bottom {
        min-height: unset   ;
    }
    .table #year1952-1962 table.A tr:nth-child(3) td:nth-child(1) div.tableA-bottom {
        min-height: unset   ;
    }
    .table #year1931-1937  table.A tr:nth-child(3) td:nth-child(2) div.tableA-bottom {
        min-height: unset   ;
    }
    .table #year1931-1937 table.A tr:nth-child(3) td:nth-child(1) div.tableA-bottom {
        min-height: unset   ;
    }
    #year1918-1930 div.tableA-bottom,
    #year1931-1937 div.tableA-bottom,
    #year1938-1945 div.tableA-bottom,
    #year1946-1951 div.tableA-bottom,
    #year1952-1962 div.tableA-bottom,
    #year1963-1966 div.tableA-bottom,
    #year1967-1974 div.tableA-bottom,
    #year1975 div.tableA-bottom{
        min-height: unset;
    }
    #language ul.invalid {
        height: 0px !important;
    }
    #language ul {
        height: 145px !important;
    }
    .language-text {
        line-height: 2.2;
    }
}
@media (min-width : 680px) and (max-width: 767px) {
    #language ul {
        height: 165px !important;
    }
}
@media(min-width:500px) and (max-width: 768px) {
    .table #process table.technique tbody tr:nth-child(1) td:nth-child(1) {
        padding-top: 105px !important;
    }

}

@media screen and (min-width: 499px) {
    .table #process table.technique tbody tr:nth-child(5) td:nth-child(1) {
        padding-top: 169px !important;
    }
}
@media (min-width:500px) and (max-width: 605px) {
    .table #process table.technique tbody tr:nth-child(5) td:nth-child(1) {
        padding-top: 139px !important;
    }
}
@media (min-width: 500px) and (max-width: 522px) {
    .table #process table.technique tbody tr:nth-child(5) td:nth-child(1) {
        padding-top: 169px !important;
    }
}
@media (min-width:606px) and (max-width: 768px) {
    .table #process table.technique tbody tr:nth-child(5) td:nth-child(1) {
        padding-top: 105px !important;
    }
}
@media screen and (max-width: 421px) {
    .table #process table.technique tbody tr:nth-child(3) td:nth-child(1) {
        padding-top: 137px !important;
    }
    .table #process table.technique tbody tr:nth-child(3) td:nth-child(2) span:nth-child(2){
        display: block;
        margin-bottom: -30px;
    }
    .table #process table.technique tbody tr:nth-child(4) td:nth-child(1) {
        padding-top: 137px !important;
     }
}
@media screen and (max-width: 450px) {
    .table #process table.technique tbody tr:nth-child(2) td:nth-child(1) {
        padding-top: 170px !important;
     }
}
@media (min-width: 375px) and (max-width: 415px) {
    .table #process table.technique tbody tr:nth-child(1) td:nth-child(1) {
        padding-top: 170px !important;
    }
}
 #footer.footer.bottom-container {
    padding-bottom: 5.5em;
}
@media (max-width: 767px) {
    .nosidebar p a span {
        font-size: 15.4px;
    }
    .post-content p a span {
        font-size: 19.25px;
    }
    #method p a {
        font-size: 19.25px;
    }
    #footer.footer {
        padding-bottom: 5.5em;
    }
}
@media (max-width: 679px) {
    .nosidebar p a span {
        font-size: 13.4px;

    }
    .post-content p a span {
        font-size: 16.625px;
    }
    #method p a {
        font-size: 16.625px;
    }
}
@media (max-width: 499px) {
    .nosidebar p a span {
        font-size: 11.2px;
    }
    .post-content p a span {
        font-size: 14px;
    }
    #method p a {
        font-size: 14px;
    }
    .custom-column {
        display: flex;
        flex-wrap: wrap;
    }
    .custom-column section {
        width: 50%;
    }

}
@media (min-width: 390px) and (max-width: 768px) {
    .indexLinks_txt {
        white-space: pre;
    }
}
/* Update now 21/08/2024 */
@media (max-width: 768px) {
    .news .newsContent_text {
        padding-top: 0.5em;
    }

    .news .newsContent_left .newsContent_tag {
        font-size: 11px;
        font-weight: 700;
    }

    .custom-text__sp {
        font-size: 11px;
    }
    .cardA_info--custom {
        font-size: 13px;
    }
    .cardA_cap--custom {
        font-size: 14px !important;
    }


    body.home #about .bannerFooter {
        display: flex;
        flex-wrap: wrap;
        gap: 0 10px;
    }

    #footer .language-text {
        font-size: 14px;
        white-space: pre;
    }
    #footer .lnSwitcher ul li a {
        font-size: 14px;
    }

    #pickup.pick-custom {
        padding-top: 0;
    }

    #globalNav .lnSwitcher_inner .language-text {
        margin-top: 0;
    }
    #globalNav{    padding-bottom: 5vw; }
}
@media (max-width: 767px) {

    .newsFooter a.btn-update span{
        font-size: 12px;
        line-height: 2;
    }
    body.home .bannerImage_wrapper {
        padding-top: 75%;
    }
    body.home .bannerCaption {
        margin-top: 3%;
    }
    body.home #about .bannerFooter .buttonA,
    body.home #collection .bannerFooter .buttonA,
    body.home #booklist .bannerFooter .buttonA,
    body.home #works .bannerFooter .buttonA {
        width: calc(50% - 10px);
        max-width: unset;
    }
    body.home #about .bannerImage_wrapper .bannerImage_sp,
    body.home #collection .bannerImage_wrapper .bannerImage_sp,
    body.home #works .bannerImage_wrapper .bannerImage,
    body.home #booklist .bannerImage_wrapper  .bannerImage_sp {
        height: 100%;
        object-fit: cover;
    }
    #footer .footerNote_copyright {
        padding-left: 1em;
        padding-right: 1em;
    }
    #globalNav .sitemap {
        margin-bottom: 1em;
    }
    #globalNav{    padding-bottom: 5vw; }
    a.buttonA span,
    a.buttonA {
        font-size: 12px;
        line-height: 2;
    }
}
/* @media(min-width: 450px)  and (max-width: 767px) {
    #globalNav #language ul.invalid {
        height: 0 !important;
    }
    #globalNav #language ul {
        height: 190px !important;
    }
} */
@media  (max-width: 449px) {
    #globalNav #language ul.invalid {
        height: 0 !important;
    }
    #globalNav #language ul {
        height: 145px !important;
    }
    .indexLinks_item--update a .indexLinks_txt {
        font-size: 1.7em;
    }

    .news .newsContent_date {
        font-size: 13px;
    }
    body.home #collection .bannerCaption {
        font-size: 1.7em;
    }
    #follow .followList  {
        font-size: 14px;
    }
    body.home #about .bannerCaption,
    body.home #booklist .bannerCaption,
    body.home #works .bannerCaption{  font-size: 1.7em }
}
/* 26/08/2024 */
@media screen and (max-width: 768px) {
    #museumsTokyo .museumFooter,
    #museumsAzumino .museumFooter{
        display: flex;
        justify-content: center;
    }
    #follow .followList li a {
        font-size: 14px;
        line-height: 2;
    }
    #follow .followList_sub > li:before {
        position: relative;
        top: 5px;
    }
   [lang="ru-RU"] a.buttonA {
        padding: 0.4em 1em;
        letter-spacing: 0;
   }
}