*
 Theme Name:   Tatsumi Child
 Theme URI:    https://tatsumi-kensetsu.net/tatsumi_child/
 Description:  Twenty twentyfour Child Theme
 Author:       John Doe
 Author URI:   https://example.com
 Template:     tatsumi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  tatsumi-child
*/


body {
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
    font-size:16px;
    --color_main: #71BB4D;
   }

.main-navigation ul {
  border-radius: 50px;
}

.ast-builder-menu .main-navigation > ul {
  padding-left: 15px;
  padding-right: 15px;
}

.sub-menu ul {
  border-radius: none !important;
}

.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
    line-height: 1.5em;
    text-align: center;
}

footer .footer_logo {
  padding-bottom: 15px;
}

#block-10,#block-11,#block-12 {
  padding-bottom: 10px;
}

footer .menu-link {
  font-size: 1em !important;
  line-height: 1.8em !important;
  color: #493e3e !important;
}


.txt_s {
  font-size:13px;
}

.txt_box {
  position: absolute;
  left: 0;
}

.txt_vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.25em;
  text-align: justify;
}

.txt_combine {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #F0F5FA;
}

.ttl {
  position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;
}

.ttl:before, .ttl:after { 
  content:'';
  width: 20px;
  height: 30px;
  position: absolute;
  display: inline-block;
}

.ttl:before {
  border-left: solid 1px #917236;
  border-top: solid 1px #917236;
  top:0;
  left: 0;
}

.ttl:after {
  border-right: solid 1px #917236;
  border-bottom: solid 1px #917236;
  bottom:0;
  right: 0;
}

/*
h3.step {
  font-size:1.2em;
  font-weight: 500;
}

h3.step .number {
  font-size: 2em;
  font-weight: 700;
}


h2.step:last-child {
  font-size: 1.8em !important;
  font-weight: 700;
}
  */


/* table_corp */
.table_corp {
  line-height: 1.5em;
  text-align:left;
  border-top: none;
  border-left: none;
}

.tr_line {
  font-family: Noto Sans Jp;
  font-weight:normal;
  border-bottom: 1px solid #b5b1b1 !important;
  line-height:1.8em;
}      

.table_corp th,
.table_corp td {
  color: #4F4F4F;
  padding: 24px 10px;
  border: none;
}

.table_corp th {
  width: 30%;
  font-weight:600;
}

.table_corp a,hover {
  color:#264868;
}

.inquiry {
  margin:0 auto;
  padding:0 1em 3em;
  width:100%;
  font-family: Noto Sans Jp;
  font-weight: 500;
}

.contact_confirm_ttl {
  font-size:1.2em;
  text-align: center;
}


/* company */

table.m_table  {
  max-width: 100%;
  border: none;
  margin: 0 auto;
}

table.m_table th,
table.m_table td {

}

table.m_table th {
  text-align: left;
  border: none;
  color: #151616;
  font-weight: 400;
  max-width: 35%;
  border-bottom: solid 1px #888 !important;
}

table.m_table td {
  border-bottom: solid 1px #CCC !important;
}


table.m_table tbody tr {
  display: flex;
  /* 改行を許可 */
  flex-wrap: wrap;
  font-weight: 400;
  padding: 1em 0.5em;

}

table.m_table tbody tr td, 
table.m_table tbody tr th {
  /* 30em < 100% -> 負の数 -> 無効 */
  /* 30em > 100% -> 正の数 */
  flex-basis: calc((30em - 100%) * 999);
  /* flex-basisが負の場合に幅を戻す */
  flex-grow: 1;
  border: none;
}

/* form */
.snow-monkey-form {
  font-family: Noto sans jp;
}

.entry-content ol {
  padding-top: -20px;
  padding-bottom: 30px;
}

.smf-item__label {
  padding: 10px 0;
}
.smf-form .smf-text-control__control {
  padding: 1.25rem 1rem !important;
}
.smf-action {
  text-align: center;
  padding: 1em 0 6em;
}
.smf-action .smf-button-control__control {
  background: #AC9E8D !important;
}



@media (max-width: 810px) {
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    text-align: left;
  }  
  .wp-block-snow-monkey-forms-item {
  width: 90% !important;
  margin: 2em 0 !important;
  padding-left: 2em !important;
}

  table.m_table th {
    text-align: left;
    border: none;
    color: #151616;
    font-size: 0.9em;
    max-width: 100%;
  }
  table.m_table td {
    border-bottom: none !important;
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    font-size: 15px;
    text-align: left;
} 

.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}
.timeline-date {
  font-size: 1.1em !important;
  font-weight: 500;
  margin-top: 20px;
  padding: 0;
}

 h3.timeline-ttl {
    font-size: 1em !important;
    font-weight: 500 !important;
    font-weight: 400;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 5px;
  }
}

/* for Desktop */
@media ( min-width : 640px ){
header .custom-logo-link img {
  max-width: 260px !important;
  width: 260px !important;
  padding-left: 10px !important;
}

  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    font-size: 1.1em !important;
    font-weight: 400;
    width: 230px;
    float: left;
    margin-top: 20px;
    padding: 20px 0;
  }

  h3.timeline-ttl {
    font-size: 1.1em !important;
    font-weight: 500 !important;
    font-weight: 400;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 5px;
  }

  p.timeline-txt {
    height:auto;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }

  .timeline-content {
    width: 65%;
    vertical-align: middle;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding: 20px 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 225px;
    top: 24px;
    border-radius: 100%;
    padding: 5px;
    margin-top: 25px;
  }
}



/* Privacy policy */

h2.privacy_ttl {
  font-size: 1.2em !important;
  font-weight:500;
  margin: 1.5em 0 .5em;
}


/* osusume */
.entry-meta {
  display: none !important;
}

/* Snow Monkey Forms */

#post-846 {
  margin: 5em auto;
}

.smf-progress-tracker {
  margin-top: 3em !important;
}

.smf-form .smf-form--simple-table.m_table {
  text-align: left !important;
}

/*.wp-block-snow-monkey-forms-item {
  width: 70% !important;
  margin: 2em auto !important; 
  padding-left: 2em !important;
}
*/
.smf-item__col .smf-item__col--label {
    width: 35% !important;
}

.smf-item__controls {
    width: 65% !important;
}

.smf-item__label__text {
  position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
position: absolute;
top: 50%;
right: -50px;
transform: translateY(-50%);
display: grid;
place-items: center;
width: 40px;
height: 23px;
border-radius: 4px;
content: "必須";
font-size: 12px;
color: #fff;
background: #ff6600;
}

.smf-action .smf-button-control__control {
  font-size: 1em;
  background-color: var(--color_main);
  background-image: none;
  color: #fff;
  border: none;
  transition: box-shadow 0.25s;
  border-radius: 80px;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0;
  min-width: 15%;
  padding: 1em;
  position: relative;
  text-decoration: none;
  width: auto;
}

.smf-action .smf-button-control__control:hover {
  border-color: inherit!important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
}

.smf-form .smf-form--simple-table.m_table {
  margin: 2em auto;
  text-align: center;
}


h2.flowstep {
  position: relative;
  padding: 1.5em .1em .5em 40px;
  border-bottom: 2px solid #493e3e;
  font-size: 20px;
 }
 
 h2.flowstep span {
  font-size: 36px;
  line-height: 1;
  position: absolute;
  bottom: 0.2em;
  left: 0;
 }

 .ast-desktop .ast-primary-header-bar.main-header-bar {
  padding-top: 20px !important;
}

/*
@media (min-width: 751px) {
a[href^="tel:"] ,a:link, a:hover ,a:visited  {
    pointer-events: none;
    cursor: default;
    color: #FFF;
}
}
*/

@media (max-width: 921px) {
  .ast-header-break-point .footer-widget-area[data-section="sidebar-widgets-footer-widget-1"] {
    display: block;
    text-align: left !important;
  }
}


 @media (min-width: 922px) {
.menu-footer_1-container,
.menu-footer_2-container {
  font-size: 15px;
  font-family: Noto sans jp;
  font-weight: 400;
}

.smf-form {
  width: 800px;
  margin: 0 auto;
}

.smf-item{
  margin-bottom: 1.5em;
}

 .site-content .ast-container {
    background: #F6F6F6;
  }
  .ast-container {
    max-width: 1600px;
    background: rgba(255,255,255,0.9);
    padding: 0 20px;
    border-radius: 50px;
    min-height: 65px;
  }
}


  /* mobile */
  @media (max-width: 575px) {
.menu-footer_1-container,
.menu-footer_2-container {
  font-size: 14px;
  font-family: Noto sans jp;
  font-weight: 400;
}
#menu-footer_1 {
  margin-top: -30px;
  margin-left: 0;
  text-align: left;
}
#menu-footer_2 {
  margin-top: -60px;
  margin-left: 0;
  text-align: left;
  }
  .txt_combine {
    /* キーワード値 */
text-combine-upright: none;
text-combine-upright: all;

/* Digits 値 */
text-combine-upright: digits; /* 2 桁の数字を垂直テキスト内に水平に収めます */
text-combine-upright: digits 4; /* 4 桁までの数字を垂直テキスト内に水平に収めます */

/* グローバル値 */
text-combine-upright: inherit;
text-combine-upright: initial;
text-combine-upright: revert;
text-combine-upright: revert-layer;
text-combine-upright: unset;
}

    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
      font-size: 16px;
      text-align: left;
  } 

    .txt_vertical {
      writing-mode: vertical-rl;
      letter-spacing: 0.8em;
      text-align: justify;
    }    

    .txt_vertical {
      writing-mode: vertical-rl;
      letter-spacing: 1em;
    }

    .circle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: #0F5FA;
    }

       .table_corp tr {
        font-family: Noto Sans Jp;
        font-weight:normal;
        border-bottom: 1px solid #b5b1b1 !important;
        line-height:1.8em;
      }  

    .table_corp th,
    .table_corp td {
      width: 100%;
      display: block;
    }
  
    .table_corp th {
      width: 100%;
    }
  
    .table_corp td {
      padding-top: 0;
    }
  }    