*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}a,button{cursor:revert}ol,ul,menu,summary{list-style:none}ol{counter-reset:revert}img{max-inline-size:100%;max-block-size:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}:where(pre){all:revert;margin: 0;box-sizing:border-box}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable="false"])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable="true"]){-webkit-user-drag:element}:where(dialog:modal){all:revert;box-sizing:border-box}::-webkit-details-marker{display:none}

*:focus{
  outline: 1px solid #aaf;
}

/* default
-------------------------------------------------------------------------------- */
body{
  font-size: 16px;
  line-height: 1.5;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif !important;
  font-weight: 400;
  color: #1C1C1C;
  background-color: #fff;
  min-height: 100vh;
}

li{
  list-style: none;
}
img{
  max-width: 100%;
  vertical-align: top;
}

/* output
-------------------------------------------------------------------------------- */
.htmlcontent{
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif !important;
  box-sizing: border-box;
  padding: 1em;
}

.htmlcontent h1{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1.4rem;
  font-weight: 600;
  color: #004D9F;
}
.htmlcontent h1::before{
  content: "";
  display: block;
  background-image: url("https://tokyobiennale.jp/tb2025/wp-content/themes/tb2025/assets/img/icon_ling.svg");
  background-size: 1.2em 1.2em;
  background-position: center center;
  background-repeat: no-repeat;
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 auto;
}
.htmlcontent .large{
  font-size: 1.5rem;
}
.htmlcontent .small{
  font-size: .75rem;
}
.htmlcontent b{
  font-weight: 600;
}
.htmlcontent i{
  font-style: italic;
}
.htmlcontent u{
  text-decoration: underline;
}
.htmlcontent .box{
  padding: 1em;
  border: 2px solid #004D9F;
}
.htmlcontent a{
  color: #004097;
}
.htmlcontent a.button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: auto;
  padding: .5em;
  box-sizing: border-box;
  background-color: #004097;
  color: #fff;
  text-align: center;
  border-radius: calc(1px * infinity);
}
.htmlcontent a.root{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  width: 90%;
  min-height: 50px;
  margin: auto;
  padding: .5em .5em .5em calc(.5em + 50px);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  box-sizing: border-box;
  background-color: #D9D9D9;
  color: #004097;
  text-align: center;
  border-radius: 5px;
}
.htmlcontent a.root::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 56px;
  height: 56px;
  background-image: url("https://tokyobiennale.jp/tb2025/wp-content/themes/tb2025/assets/img/icon_google_maps.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.htmlcontent hr{
  border-bottom: 2px solid #004097;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
.htmlcontent img{
  display: block;
  width: 60%;
  height: auto;
  margin: auto;
}


/* layout
-------------------------------------------------------------------------------- */

.l-wrap{
  width: calc(1200vw / 1440 * 100);
  margin: auto;
}
.l-info{
  width: 100%;
}
.l-container{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: calc(65vw / 1440 * 100);
}
.l-main{
  width: calc(868vw / 1440 * 100);
}
.l-sub{
  width: calc(300vw / 1440 * 100);
}

@media screen and (768px > width) {
  .l-wrap{
    width: 100%;
    margin: auto;
  }
  .l-info{
    width: 100%;
  }
  .l-container{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    margin-top: calc(25vw / 390 * 100);
  }
  .l-main{
    width: 100%;
  }
  .l-sub{
    width: 100%;
  }
}


/*
-------------------------------------------------------------------------------- */
.wrap{
  /* font-family: monospace; */
  line-height: 1.4;
  width: 1000px;
  max-width: 100%;
  margin: 50px auto 0;
}

.container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.container + .container{
  margin-top: 1em;
}

@media screen and (768px > width) {
  .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
  }
  .container + .container{
    margin-top: 1em;
  }
}
.title{
  display: block;
  font-size: 30px;
  line-height: 1.4;
  font-weight: bold;
  color: #004D9F;
  text-align: center;
  margin-bottom: 1em;
}
.editor_btn{
  position: sticky;
  top: 0px;
  width: 100%;
  z-index: 100;
  padding: 10px 0;
  backdrop-filter: blur(2px);
  background-color: rgba(255,255,255,.6);
}

.textarea{
  width: 48%;
  /* width: 300px; */
}
.textarea_label{
  background-color: #004D9F;
  color: #fff;
  text-align: center;
  padding: .5em;
  border-radius: .5em .5em 0 0;
}
.textarea_label-preview{
  background-color: #aaa;
  color: #fff;
  text-align: center;
  padding: .5em;
  border-radius: .5em .5em 0 0;
}
.textarea_form{
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0 0 .5em .5em;
}
.textarea_form:nth-child(n+3){
  color: #f00;
}
.textarea_form.readonly{
  background-color: #efefef;
}
.textarea_form::placeholder{
  color: #ccc;
}
.c-icon{
  width: 1.2em;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media screen and (768px > width) {
  .textarea{
    width: 90%;
    margin: auto;
  }
}


.resultarea{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
}
.resultarea div{
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-right: 1em;
}
.resultnumber{
  color: #000;
  font-size: 1.6em;
  margin-right: 0.25em;
}
.resultarea pre{
  display: inline-block;
}

@media screen and (768px > width) {
  .resultarea{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 90%;
  }
}

.manual_link{
  text-decoration: underline;
  color: #004D9F;
}

.settings{
  margin: 1em 0;
}
.checkbox{
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}
.checkbox::before{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: .25em;
  margin-right: 0.5em;
  border: 1px solid #ccc;
}
.checkbox::after{
  content: "";
  position: absolute;
  top: .4em;
  left: .2em;
  bottom: 0;
  width: .75em;
  height: .5em;
  transform: rotate(-45deg);
}
.checkbox:has(input:checked)::after{
  border-bottom: 2px solid #9c9;
  border-left: 2px solid #9c9;
}
.inputNumber{
  border: 1px solid #aaa;
  width: 5em;
  margin: 0 .2em;
}
.linkButton{
  position: relative;
  display: inline-block;
  padding: .25em .5em;
  border: 1px solid #ccc;
  border-radius: .5em;
  cursor: pointer;
}
.linkButton_comment{
  display: none;
  font-size: .75em;
  position: absolute;
  background-color: #aca;
  padding: 0.5em;
  border-radius: calc(1px * infinity);
  text-align: center;
  right: 0;
  bottom: calc(100% + 1em);
  left: 0;
  color: #000;
}
.is-copied > .linkButton_comment{
  display: block;
}
.linkButton_comment::after{
  content: "";
  position: absolute;
  display: block;
  top: 99%;
  right: 0;
  left: 0;
  margin: auto;
  width: 1em;
  height: 1em;
  clip-path: polygon(0 0, 100% 0, 50% 75%);
  background-color: #aca;
  pointer-events: none;
}




/* p-footer
-------------------------------------------------------------------------------- */
.p-footer{
  background: #FC6758;
  padding: calc(48vw / 1440 * 100) 0 calc(32vw / 1440 * 100);
  margin-top: calc(65vw / 1440 * 100);
}
.p-footer__top{
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: calc(1200vw / 1440 * 100);
  margin: 0 auto;
}
.p-footer__logo{
  width: calc(160vw / 1440 * 100);
  height: auto;
  flex: 0 0 auto;
}
.p-footer__logo svg{
  width: 100%;
  height: 100%;
}
.p-footer__container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-left: calc(40vw / 1440 * 100);
  padding-left: calc(40vw / 1440 * 100);
  border-left: 1px solid #fff;
}
.p-footer__link01{
  display: block;
  margin-bottom: calc(18vw / 1440 * 100);
  font-size: calc(14vw / 1440 * 100);
  text-decoration: none;
  color: #fff;
}
.p-footer__link01__main{
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(240vw / 1440 * 100);
  font-size: calc(14vw / 1440 * 100);
}
.p-footer__link01__main span{
  flex: 0 0 auto;
}
.p-footer__link01__main::after{
  content: "";
  width: 100%;
  height: 1px;
  margin: 0 .2em;
  background-color: #fff;
  flex-shrink: 1;
}
.p-footer__link01__sub{
  font-size: calc(14vw / 1440 * 100);
}
.p-footer__link01__sub svg{
  width: .8em;
  height: .8em;
}
.p-footer__link02{
  display: block;
  font-size: calc(14vw / 1440 * 100);
  margin-bottom: calc(8vw / 1440 * 100);
  color: #fff;
  text-decoration: none;
}
.p-footer__copy{
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  font-size: calc(12vw / 1440 * 100);
  width: calc(1200vw / 1440 * 100);
  margin: calc(90vw / 1440 * 100) auto 0;
  color: #fff;
}


@media screen and (768px > width) {
  .p-footer{
    padding: calc(48vw / 390 * 100) 0 calc(32vw / 390 * 100);
    margin-top: calc(65vw / 390 * 100);
  }
  .p-footer__top{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    width: calc(380vw / 390 * 100);
    margin: 0 auto;
  }
  .p-footer__logo{
    width: calc(160vw / 390 * 100);
    height: auto;
    margin: auto;
    flex: 0 0 auto;
  }
  .p-footer__logo svg{
    width: 100%;
    height: 100%;
  }
  .p-footer__container{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    width: calc(380vw / 390 * 100);
    margin-top: calc(40vw / 390 * 100);
    padding-top: calc(40vw / 390 * 100);
    margin-left: unset;
    padding-left: unset;
    border-top: 1px solid #fff;
    border-left: 0px;
  }
  .p-footer__link01{
    display: block;
    margin-bottom: calc(10vw / 390 * 100);
    padding-bottom: calc(10vw / 390 * 100);
    font-size: calc(14vw / 390 * 100);
    border-bottom: 1px dashed #fff;
    text-decoration: none;
    color: #fff;
  }
  .p-footer__link01__main{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: calc(12vw / 390 * 100);
  }
  .p-footer__link01__main span{
    flex: 0 0 auto;
  }
  .p-footer__link01__main::after{
    content: "";
    display: none;
  }
  .p-footer__link01__sub{
    font-size: calc(14vw / 390 * 100);
  }
  .p-footer__link01__sub svg{
    width: .8em;
    height: .8em;
  }
  .p-footer__link02{
    display: block;
    font-size: calc(14vw / 390 * 100);
    margin-bottom: calc(8vw / 390 * 100);
    color: #fff;
    text-decoration: none;
  }
  .p-footer__copy{
    display: flex;
    justify-content: center;
    align-items: stretch;
    font-size: calc(12vw / 390 * 100);
    width: 100%;
    margin: calc(90vw / 390 * 100) auto 0;
    color: #fff;
  }
}



/* unit
-------------------------------------------------------------------------------- */


@media screen and (768px < width) {
  .u-sp{
    display: none;
  }
}
@media screen and (768px > width) {
  .u-pc{
    display: none;
  }
}






/* input
-------------------------------------------------------------------------------- */
.c-editButton{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  padding: .25em .5em;
  min-width: 3em;
  margin-top: 0.25em;
  /* border-radius: .25em; */
  background-color: #eee;
  cursor: pointer
}
.c-editButton--wrap{
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  margin-right: 1em;
  /* border: 1px solid #ddd;
  padding: .25em .5em; */
}
.c-editButton:first-child{
  border-radius: .5em 0 0 .5em;
}
.c-editButton:last-child{
  border-radius: 0 .5em .5em 0;
}
.c-editButton:hover{
  background-color: #d4e7fc;
}
.c-submit{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 80%;
  background-color: #004D9F;
  color: #fff;
  padding: 1em;
  margin: 1rem auto ;
  border-radius: calc(1px * infinity);
  cursor: pointer;
  filter: drop-shadow(2px 2px 2px #999);
  transition: transform .15s ,filter .15s;
}
.c-submit:active{
  transform: translate(0, 1px);
  filter: drop-shadow(0 0 0 #999);
}
.c-editButton__input{
  border: 1px solid #ccc;
  width: 10em;
  padding: .25em;
  margin-top: 0.25em;
  margin-left: 0.25em;
  border-radius: .25em 0 0 .25em;
  background-color: #fff;
}
select{
  border: 1px solid #ccc;
  padding: .25em;
  margin-top: 0.25em;
  border-radius: .25em;
  background-color: #fff;
}
