
/* ----------------------- */
/* variables               */
/* ----------------------- */
:root {

  --font-family: Roboto, Noto Sans JP, sans-serif;
  --font-family-jp: Noto Sans JP, sans-serif;
  --font-family-en: Noto Sans JP, sans-serif;

  --font-size-base: 16px;

  --font-size-heading-x-huge: 4rem; /* 64px */
  --font-size-heading-huge: 3rem; /* 48px */
  --font-size-heading-xxl: 2.5rem; /* 40px */
  --font-size-heading-xl: 2rem; /* 32px */
  --font-size-heading-lg: 1.5rem; /* 24px */
  --font-size-heading-md: 1.25rem; /* 20px */
  --font-size-heading-sm: 1rem; /* 16px */
  --font-size-heading-xs: 0.875rem; /* 14px */

  --line-height-heading: 1.4;

  --font-size-body-xl: 1.25rem; /* 20px */
  --font-size-body-lg: 1.125rem; /* 18px */
  --font-size-body-md: 1rem; /* 16px */
  --font-size-body-sm: 0.875rem; /* 14px */
  --font-size-body-xs: 0.75rem; /* 12px */  

  --line-height-body: 2;
  --line-height-body-lg: 1.7;


  --color-primary: #7B61B1;
  --color-primary-darken: #584483;
  --color-accent: #D97F09;
  --color-accent-darken: #B06306;
  --color-secondary: #4B4968;

  --color-bg-white: #FFFFFF;
  --color-bg-gray: #F4F4F3;
  --color-bg-primary: #F9F9FA;
  --color-bg-primary-darken: #D5D5E1;
  --color-bg-secondary: #EAEAF0; 
  --color-bg-accent: #FFF4E0;
  --color-bg-accent-darken: #FDDCA3;

  --color-text: #1C1A10;
  --color-text-sub: #494840;
  --color-text-disabled: #D2D1CF;
  --color-text-placeholder: #777670;
  --color-text-link: #1860B3;
  --color-text-link-sub: #494840;
  --color-text-white: #FFFFFF;

  --color-border: #BBBAB7;
  --color-border-darken: #333128;

  --color-alert: #D92626;
  --color-alert-darken: #A30F0F;

  --gradation-accent: linear-gradient(90deg, #D97F09 0%, #C47108 100%);
  --color-orange-600: #C47108;

  --max-width: 1440px;

  --shadow-10: 0px 2px 3px rgba(51, 49, 40, 0.25);
  --shadow-20: 0px 3px 6px rgba(51, 49, 40, 0.25);
  --shadow-30: 0px 4px 8px rgba(51, 49, 40, 0.25);
  --shadow-40: 0px 5px 12px rgba(51, 49, 40, 0.25);
  --shadow-50: 0px 7px 16px rgba(51, 49, 40, 0.25);
  --shadow-60: 0px 10px 16px rgba(51, 49, 40, 0.25);
  --shadow-70: 0px 13px 16px rgba(51, 49, 40, 0.25);
  --shadow-80: 0px 16px 16px rgba(51, 49, 40, 0.25);
  --shadow-90: 0px 20px 20px rgba(51, 49, 40, 0.25);
  --shadow-100: 0px 24px 24px rgba(51, 49, 40, 0.25);

  --letter-spacing: 0.8px;
  --letter-spacing-lg: 1.6px;
}

@media screen and (max-width:1080px) {
  :root {
    --font-size-heading-x-huge: 3rem; /* 48px */
    --font-size-heading-huge: 2.5rem; /* 40px */
    --font-size-heading-xxl: 2rem; /* 32px */
    --font-size-heading-xl: 1.5rem; /* 24px */
    --font-size-heading-lg: 1.25rem; /* 20px */
    --font-size-heading-md: 1.125rem; /* 18px */
    --font-size-heading-sm: 1rem; /* 16px */
    --font-size-heading-xs: 0.875rem; /* 14px */
  }
}
@media screen and (max-width:960px) {
  :root {
    --font-size-heading-x-huge: 2.25rem; /* 36px */
    --font-size-heading-huge: 1.75rem; /* 28px */
    --font-size-heading-xxl: 1.5rem; /* 24px */
    --font-size-heading-xl: 1.25rem; /* 20px */
    --font-size-heading-lg: 1.125rem; /* 18px */
    --font-size-heading-md: 1rem; /* 16px */
    --font-size-heading-sm: 0.875rem; /* 14px */
    --font-size-heading-xs: 0.75rem; /* 12px */
  }
}

/* ----------------------- */
/* base                    */
/* ----------------------- */
html {
  color: var(--color-text);
  background-color: var(--color-bg-primary);
  font-size: --var(--font-size-base);
  line-height: var(--line-height-body);
  font-family: var(--font-family);
  letter-spacing: var(--letter-spacing);
  margin: 0;
  padding: 0;
}

body {
  font-size: var(--font-size-body-md);
  margin: 0;
  padding: 0;
}

a {
  color: var(--color-text-link);
}

img {
  max-width: 100%;
}
input,
select,
textarea,
button {
  outline: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
  line-height: var(--line-height-heading);
  padding: 0;
  margin: 0;
}

ul,ol,li {
  padding: 0;
  margin: 0;
}


/* ----------------------- */
/* common                  */
/* ----------------------- */
br.lg {
  display: none;
}
br.md {
  display: none;
}
br.sm {
  display: none;
}
br.sp {
  display: none;
}
@media screen and (max-width:1440px) {
  br.lg {
    display: block;
  }
}
@media screen and (max-width:1280px) {
  br.md {
    display: block;
  }
}
@media screen and (max-width:1080px) {
  br.sm {
    display: block;
  }
}
@media screen and (max-width:960px) {
  br.pc {
    display: none;
  }
  br.lg {
    display: none;
  }
  br.md {
    display: none;
  }
  br.sm {
    display: none;
  }  
  br.sp {
    display: block;
  }
}

.btn {
  background: var(--gradation-accent);
  border-radius: 9999px;

  padding: 12px 32px;
  box-sizing: border-box;

  font-size: var(--font-size-body-lg);
  line-height: 1;
  font-weight: bold;
  color: var(--color-text-white);
  text-decoration: none;

  text-align: center;

  box-shadow: var(--shadow-50);

  transition: filter 0.3s ease;
  filter: brightness(1);

  &:hover {
    filter: brightness(1.15);
  }
}  


.consultation-btn {
  background: var(--gradation-accent);
  border-radius: 16px;

  width: 280px;
  height: 90px;
  padding-left: 24px;
  box-sizing: border-box;

  font-size: var(--font-size-heading-md);  
  line-height: var(--line-height-heading);
  font-weight: bold;
  color: var(--color-text-white);
  text-decoration: none;

  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;  

  position: absolute;

  box-shadow: var(--shadow-50);

  .shoulder {
    font-size: var(--font-size-body-sm);  
    line-height: var(--line-height-body);
  }

  &::after {
    content: " ";
    position: absolute;
    right: -15px;
    border: 2px solid var(--color-orange-600);
    background: url(../images/arrow.svg) var(--color-bg-white) 50% 50% no-repeat;
    border-radius: 100%;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
  }

  transition: filter 0.3s ease;
  filter: brightness(1);

  &:hover {
    filter: brightness(1.15);
  }

}

#fixed-consultation-btn {
  position: fixed;
  bottom: 120px;
  right: 320px;
  opacity: 0;
  visibility: hidden; 
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;  
}

#fixed-consultation-btn.is-visible {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width:960px) {
  #fixed-consultation-btn.is-visible {
    opacity: 0;
    visibility: hidden; 
  }  
}

.circle-list li {
  position: relative;
  line-height: var(--line-height-heading);
  list-style: none;
  padding: 4px 0 4px 22px;
  margin-top: 4px;
  &:first-child {
    margin-top: 0;
  }
  &::before {
    position: absolute;
    left: 2px;
    top: 7px;      
    content: " ";
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: var(--color-primary-darken);
  }
  &.list-style-none {
    padding-left: 0;
    &::before {
      content: none;
    }
  }
}
@media screen and (max-width:960px) {
  .circle-list li {
    font-size: var(--font-size-body-sm);
    padding: 2px 0 0 16px;
    letter-spacing: 0.4px;
    &::before {
      position: absolute;  
      left: 1px;
      top: 6px;        
      width: 10px;
      height: 10px;
    }
  }
}

/* ----------------------- */
/* header                   */
/* ----------------------- */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-shrink: 0;
  position: absolute;
  z-index: 9999;
  width: 100%;
  max-width: 1440px;
  padding: 0 80px;
  box-sizing: border-box;
  height: 56px;
  top: 24px;
  left: 50%;
  transform: translate(-50%, 0);
  h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 4px;
    width: 256px;

    font-size: var(--font-size-heading-sm);
    color: var(--color-primary-darken);
  }  
  .contact {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
    text-align: right; 
  }
  .phone {
    color: var(--color-primary-darken); 
  }
  .phone .number {
    font-size: var(--font-size-heading-lg);
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    color: var(--color-primary-darken); 
    &:hover {
      text-decoration: underline;
    }    
  }
  .phone .time {
    font-size: var(--font-size-body-xs);
    font-weight: normal;
    line-height: 1;
  }    
}
@media screen and (max-width:1280px) {
  #header {  
    padding: 0 24px;
  }
}
@media screen and (max-width:960px) {
  #header {  
    padding: 0 16px;
    top: 12px;
    position: fixed;
    z-index: 9999;    
    h1 {
      width: auto;  
      align-items: flex-start;
      font-size: 0.625rem;
    }
    h1 img {
        width: 120px;
      }
    .phone {
      display: none;
    }
    .btn {
      font-size: var(--font-size-body-md);
    }
  }
}

/* ----------------------- */
/* footer                  */
/* ----------------------- */
#footer {
  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
  }
  .upper {
    background: var(--color-bg-secondary);
    padding: 64px 40px;
  }
  .bottom {
    background: var(--color-bg-white);
    padding: 24px 16px;
  }

  .office-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content:flex-start;
    gap: 64px;
  }
  .office {
    flex: 1;
    padding-top: 32px;
    border-top: 3px solid var(--color-border-darken);
    .name {
      font-size: var(--font-size-heading-md);
      line-height: var(--line-height-heading);
    }
    .address {
      margin: 16px 0 0 0;
      padding: 0;
    }
  }

  .bottom .inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 64px;    
  }
  .link {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content:flex-start;
    align-items: center;
    gap: 16px; 
    a {
      text-decoration: none;
      color: var(--color-text-link-sub);
      font-size: var(--font-size-body-sm);
      padding-right: 13px;
      background: url(../images/arrow-link.svg) right center no-repeat;
      &:hover {
        text-decoration: underline;
      }      
    }
  }
  .copyright {
    margin: 8px 0 0 0;
    padding: 0;
    font-size: var(--font-size-body-sm);
  }
  .certification {
    width: 290px;
  }
}
@media screen and (max-width:960px) {
  #footer {
    font-size: var(--font-size-body-sm);
    .upper {
      padding: 32px 24px;
    }    
    .office-list {
      flex-direction: column;
      gap: 24px;
    }
    .office {
      width: 100%;
    }
    .bottom .inner {
      flex-direction: column;
      gap: 24px;
    }
    .link a {
      flex: 1;
      line-height: var(--line-height-heading);
    }
    .certification {
      margin: 0 auto;
    }    
  }
}

/* ----------------------- */
/* container               */
/* ----------------------- */
#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 64px;
  position: relative;
  box-sizing: border-box;
  background: url(../images/main_visual_bg.svg) -57px -582px no-repeat;
}
@media screen and (min-width:1440px) {
  #container {
    background-position-x: calc(100vw - 1497px);
  }
}
@media screen and (min-width:2000px) {
  #container {
    background-position-x: 503px;
  }
}
@media screen and (max-width:960px) {
  #container {
    gap: 48px;
    overflow: hidden;
  }
}
/* ----------------------- */
/* contents                */
/* ----------------------- */
.contents {
  width: 100%;
  padding-bottom: 120px;
  overflow: hidden;
}
@media screen and (max-width:960px) {
  .contents {
    padding-bottom: 80px;
  }
}
/* ----------------------- */
/* section                 */
/* ----------------------- */
.contents-section {
  margin-top: 120px;
  &:first-child {
    margin-top: 0;
  }
  &.bg {
    background: var(--color-bg-primary-darken);
    padding: 64px 0;
  }
}
@media screen and (max-width:960px) {
  .contents-section {
    margin-top: 80px;
  }
}
.section-header {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 189px;
  box-sizing: border-box;

  color: var(--color-primary-darken);
  line-height: var(--line-height-heading);
  .shoulder {
    display: inline-block;
    margin: 0 auto;
    font-size: var(--font-size-heading-xs);
    background: url(../images/coach_icon.svg) left center no-repeat;
    background-size: 22px 22px;
    padding-left: 24px;
  }
  .title {
    font-size: var(--font-size-heading-huge);
    strong {
      color: var(--color-accent);
    }
  }
  &.center {
    text-align: center;
    padding: 0;
  }
}
@media screen and (max-width:1280px) {
  .section-header  {
    padding-left: 13%;
  }
}
@media screen and (max-width:1080px) {
  .section-header  {
    padding-left: 80px;    
  }
}
@media screen and (max-width:960px) {
  .section-header  {
    padding-left: 24px;
    &.center {
      padding-left: 24px;
      text-align: left;
    }       
  }
}
/* ----------------------- */
/* main-visual             */
/* ----------------------- */

#main-visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap:46px;

  overflow: hidden;

  width: 100%;
  max-width: calc(var(--max-width) + 732px - 595px );
  padding-left: 125px;
  margin: 0 auto;
  box-sizing: border-box;

  color: var(--color-primary-darken);
  line-height: var(--line-height-heading);

}
@media screen and (max-width:1440px) {
  #main-visual {
    padding-left: calc(100% - 1280px);
  }
}
@media screen and (max-width:1280px) {
  #main-visual {
    padding-left: 0;
    gap: 32px;
  }
}
@media screen and (max-width:960px) {
  #main-visual {
    flex-direction: column-reverse;
    gap: 0;
  }
}


 #main-visual .copy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 170px 0px 0px 40px;
  min-width: 636px;
  box-sizing: border-box;
  .main-copy {
    font-weight: bold;
    letter-spacing: var(--letter-spacing-lg);
  }
  h1 {
    font-size: var(--font-size-heading-x-huge);
  }
  .point {
    color: var(--color-text-white);
    font-size: var(--font-size-heading-sm);
    font-weight: normal;
    letter-spacing: var(--letter-spacing);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
  }
  .point li {
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
    gap: 4px;
    .number {
      font-size: var(--font-size-heading-lg);
      font-weight: bold;
    }
  }
  .sub-copy {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    h2 {
      font-size: var(--font-size-heading-xl);
    }
  }
  .price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;

    width: 128px;
    height: 128px;

    border-radius: 100%;
    background-color: var(--color-bg-accent);

    font-size: var(--font-size-heading-sm);
    font-weight: bold;
    line-height: 1;
    text-align: center;

    .shoulder { 
      font-size: var(--font-size-heading-xs); 
    }
    .number { font-size: var(--font-size-heading-lg); }
  }
}

@media screen and (max-width:1280px) {
  #main-visual .copy-wrapper {
    padding-left: 40px;
  }
}
@media screen and (max-width:1080px) {
  #main-visual .copy-wrapper {
    min-width: 564px;
  }
}
@media screen and (max-width:960px) {
  #main-visual .copy-wrapper {
    min-width: inherit;
    padding-top: 0;
    margin-top: -64px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 1;

    .main-copy {
      width: 100%;
    }
    .point {
      gap: 4px;
      width: 100%;
    }
    .point li {      
      flex: 1;
      display: block;
      padding: 8px 4px;
      width: 100%;
      line-height: 1;
      font-size: 0.625rem;
      text-align: center;
      letter-spacing: 0px;
      .number {
        font-size: var(--font-size-body-sm);
      }
    }
    .sub-copy {
      gap: 4px;
    }
    .sub-copy h2 {
      font-size: var(--font-size-heading-sm);
    }
    .price {
      font-size: var(--font-size-heading-xs);
      width: 108px;
      height: 108px;
    } 
  }
}

 #main-visual .consultants {
  width: calc(100vw - 845px);
  max-width: 732px;
  min-width: 595px;
  overflow: hidden;
  position: relative;

  img {
    max-width: 732px;
  }
  
  .consultation-btn {
    right: 32px;
    bottom: 24px;

  }
}
@media screen and (max-width:1280px) {
  #main-visual .consultants {
    padding-top: 64px;
    width: calc(100vw - 665px);
    min-width: 445px;

    img {
      max-width: inherit;
      width: 120%;  
    }    
    .consultation-btn {
        right: 63px;
        bottom: 4px;
    }    
  }
}
@media screen and (max-width:1080px) {
  #main-visual .consultants {
    padding-top: 80px;
    min-width: 365px; 
    .consultation-btn {
        right: 34px;
    }    
  }
}
@media screen and (max-width:960px) {
  #main-visual .consultants {
    padding-top: 0;
    margin-top: -32px;
    .consultation-btn {
        display: none;
    }    
  }
}

/* ----------------------- */
/* casestudy               */
/* ----------------------- */
#casestudy .section-header {
  padding-left: 292px;
}
@media screen and (max-width:1280px) {
  #casestudy .section-header  {
    padding-left: 20%;
  }
}
@media screen and (max-width:1080px) {
  #casestudy .section-header  {
    padding-left: 80px;
  }
}
@media screen and (max-width:960px) {
  #casestudy .section-header  {
    padding-left: 24px;
  }
}
.casestudy-wrapper {
  .control {
    position: absolute;
    display: flex;
    gap: 16px;
    right: 80px;
    bottom: 0;
  } 
  .prev , .next {
    font-size: 0;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    border-radius: 100%;
    background-color: #fff;
    border: var(--color-primary) 4px solid;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-20);
    cursor: pointer;

    transition: opacity 0.3s ease;
    opacity:1;

    &:hover {
      opacity:0.75;
    }    
  }
  .prev {
    background-image: url(../images/prev.svg);
  }
  .next {
    background-image: url(../images/next.svg);
  }  
}
@media screen and (max-width:1280px) {
  .casestudy-wrapper {
    .control {
      right: 24px;
    }
  }
}
@media screen and (max-width:960px) {
  .casestudy-wrapper {
    .control {
      right: 24px;
    }
    .prev , .next {
      width: 48px;
      height: 48px;
    }
  }
}
.casestudy-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  position: relative;
  margin-top: 32px;
  margin-left: -54px; 
}
@media screen and (max-width:960px) {
  .casestudy-list  {
    margin-left: 24px;
    margin-right: 24px;
  }
}

.casestudy-item {
  list-style: none;
  max-width: 406px;
  a {
    display: block;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
    opacity:1;

    &:hover {
      opacity:0.75;
    }    
  }
  .photo {
    aspect-ratio: 4 / 3;
    height: auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-80);
    img {
      object-fit :cover;
      aspect-ratio: 16 / 9;
      height: 100%;
    }
    .detail {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 108px;
      height: 36px;
      font-size: var(--font-size-body-xs);
      font-weight: bold;
      line-height: var(--line-height-body);
      border-radius: 16px 0 0 0;

      box-sizing: border-box;
      padding: 7px 16px 6px;
      background: url(../images/arrow-white-s.svg) rgba(88, 68, 131, 0.8) right 10px center no-repeat;
      color: var(--color-text-white);
    }
  }
  .text {
    margin-top: 24px;
    .company {
      font-size: var(--font-size-body-xs);
      line-height: var(--line-height-heading);
      color: var(--color-text-sub);
    }
    .title {
      margin-top: 4px;
      font-size: var(--font-size-heading-md);
      line-height: var(--line-height-heading);
      font-weight: bold;
      color: var(--color-secondary);
    }
    .summary {
      margin-top: 12px;
      display: flex;
      align-items: stretch;
      flex-direction: column;
      gap: 12px;
      font-size: var(--font-size-body-xs);
      .before, .after {
        display: flex;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 12px;
      }
      .tag {
        color: var(--color-text-white);
        font-weight: bold;
        line-height: 1.2;
        text-align: center;
        padding: 4px;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        justify-content: center;        
        background-color: var(--color-primary-darken);

      }
      .after .tag {
        background-color: var(--color-primary);
      }
      .description {
        margin: 0;
        color: var(--color-text);
        line-height: var(--line-height-body-lg);
      }
    }
  }
}
@media screen and (max-width:960px) {
  .casestudy-item  {
   max-width: calc(100% - 48px);
  }
}


/* ----------------------- */
/* pitfall                 */
/* ----------------------- */
#pitfall {
  position: relative;
  &::before {
    content: " ";
    position: absolute;
    background: url(../images/pitfall-bg.svg) no-repeat;
    width: 958px;
    height: 867px;
    right: 0;
    top: -640px;
    z-index: -1;
  }
}
@media screen and (max-width:1280px) {
  #pitfall {
    &::before {
      right: -160px;
    }
  }
}
@media screen and (max-width:1080px) {
  #pitfall {
    &::before {
      right: -360px;
    }
  }
}
@media screen and (max-width:640px) {
  #pitfall {
    &::before {
      right: -560px;
    }
  }
}
@media screen and (max-width:480px) {
  #pitfall {
    &::before {
      right: -640px;
    }
  }
}
.pitfall-item {
  list-style: none;
  max-width: var(--max-width);
  margin: 40px auto 0;
  position: relative;
  &::before {
    content: " ";
    position: absolute;
    z-index: 0;
    height: 100%;
    width: calc(50vw - 720px);
    left: calc(-1 * 50vw + 720px);
    background-color: var(--color-bg-white);
  }
  .inner {
    position: relative;
    z-index: 1;    
    margin: 0 109px 0 0;
    padding: 0 0 0 109px;
    background-color: var(--color-bg-white);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 40px;

    border-radius: 16px;
  }
  .text {
    padding: 32px 40px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;    
  }
  &.small {
    .inner {
      margin-left: 0;
      padding-left: 0;
      margin-right: 218px;
    }
  }
  &.right {
    .text {
      padding-left: 40px;
      padding-right: 0;
    }
    .inner {
      margin-left: 69px;
      margin-right: 0;
      padding-left: 0;
      padding-right: 109px;
      flex-direction: row-reverse;
    }
    &.small {
      .inner {
        padding-right: 0;
        padding-left: 48px;
        margin-left: 218px;
      }
    }    
    &::before {
      left: inherit;
      right: calc(-1 * 50vw + 720px);
    }    
  }  
  .illust {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    max-width: 438px;
  }  
  .title {
    font-size: var(--font-size-heading-xl);
    line-height: var(--line-height-heading);
  }
  ul {
    margin-top: 8px;
  }
}

@media screen and (max-width:1280px) {
  .pitfall-item {
    &::before {
      width: calc(50vw - 640px);
      left: calc(-1 * 50vw + 640px);
    }
    .inner {
      margin: 0 29px 0 0;
      padding: 0 0 0 29px;
    }
    &.small {
      .inner {
        margin-right: 138px;
      }
    }
    &.right {
      .inner {
        margin-right: 0;      
        margin-left: 9px;
        padding-right: 29px;
      }
      &.small {
        .inner {
          padding-left: 68px;
          margin-left: 118px;
        }
      }    
      &::before {
        left: inherit;
        right: calc(-1 * 50vw + 640px);
      }    
    }
    .illust {
      max-width: 320px;
    }   
  }
}
@media screen and (max-width: 960px) {
.pitfall-item {
    margin-top: 24px;
    &::before {
      content: none;
    }    
    &:first-child {
      margin-top: 40px;
    }
    .inner {
      margin: 0 24px;
      padding: 24px;
      max-width: 100%;
      flex-direction: column;
      gap: 16px;
    }
    .text {
      padding: 0;
    }
    &.small {
      .inner {
        padding: 24px;
        margin-right: 24px;
        margin-left: 24px;
      }
    }
    &.right {
      .text {
        padding: 0;
      }
      .inner {
        margin-right: 24px;      
        margin-left: 24px;
        padding-left: 24px;
        padding-right: 24px;
        flex-direction: column;    
      }
      &.small {
        .inner {
          padding-right: 24px;
          padding-left: 24px;
          margin-left: 24px;
        }
      }
    }      
  }
}

/* ----------------------- */
/* reason                 */
/* ----------------------- */
#reason {
  position: relative;
  &::before {
    content: " ";
    position: absolute;
    background: url(../images/reason-bg.svg) no-repeat;
    width: 1271px;
    height: 877px;
    left: 0;
    top: -640px;
    z-index: -1;
  }
}
@media screen and (max-width: 1080px) {
  #reason {
    position: relative;
    &::before {
      left: -160px;
      top: -600px;      
    }
  }
}

@media screen and (max-width: 640px) {
    #reason {
        &::before {
            left: -430px;
            top: -500px;
        }
    }
}


.reason-list {
  max-width: var(--max-width);
  display: flex;
  gap: 32px;
  margin: 40px auto 0;
  padding: 0px 80px;
  box-sizing: border-box;
}
@media screen and (max-width:1280px) {
  .reason-list {
    padding: 0px 24px;
    gap: 16px;
  }
}
@media screen and (max-width:960px) {
  .reason-list {
    gap: 24px;
    flex-direction: column;
  }
}
.reason-item {
  list-style: none;
  flex: 1;
  text-align: center;
  .illust {
    padding: 0;
    margin: 0;
  }
  .shoulder {
    margin-top: 16px;
    font-size: var(--font-size-heading-md);
    line-height: var(--line-height-heading);
    color: var(--color-primary-darken);
    font-weight: bold;
  }
  .title {
    margin-top: 4px;
    font-size: var(--font-size-heading-xl);
  }  
}

/* ----------------------- */
/* menu                    */
/* ----------------------- */
#menu {
  position: relative;
  &::before {
    content: " ";
    position: absolute;
    background: url(../images/menu-bg.svg) no-repeat;
    width: 1997px;
    height: 1535px;
    left: -720px;
    top: -30px;
    z-index: -1;
  }
}
.menu-list-wrapper {
  margin: 40px auto 0;
  padding: 0 80px;
  box-sizing: border-box;

  max-width: var(--max-width);
  display: flex;
  gap: 40px;
  flex-direction: column; 
}
@media screen and (max-width:1280px) {
  .menu-list-wrapper {
    gap: 24px;
    padding: 0px 24px;
  }
}
@media screen and (max-width:960px) {
  .menu-list-wrapper {
    align-items: center;
  }
}

.menu-list {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: stretch;  
  flex-wrap: wrap;
  gap: 40px;  
}
@media screen and (max-width:960px) {
  .menu-list {
    gap: 24px;
    padding-right: 0;
    &.bottom {
      padding-left: 0;
    }    
  }
}
@media screen and (max-width:1280px) {
  .menu-list {
    gap: 24px;
  }
}
.menu-item {
  max-width: 400px;
  min-width: 312px;
  box-sizing: border-box;  

  list-style: none;
  flex: 1;
  padding: 40px;
  border-radius: 12px;
  background: var(--color-bg-white);
  text-align: center;
  > .title {
    font-size: var(--font-size-heading-xl);
    color: var(--color-primary-darken);
  }
}
@media screen and (max-width:1280px) {
  .menu-item {
    padding: 24px;
  }
}
.menu-content {
  margin-top: 24px;
  > li {
    list-style: none;
    padding: 16px 24px;
    background: var(--color-bg-primary);
    border-radius: 8px;
    margin-top: 24px;
  }
  &:first-child {
    margin-top: 0;
  }
  .title { 
    font-size: var(--font-size-heading-md);
  }
  .description {
    line-height: var(--line-height-heading);
    margin: 4px 0 0 0;
    padding: 0;
  }
}
@media screen and (max-width:1080px) {
  .menu-content {
    > li {
      padding: 16px;
    }
  }
}
/* ----------------------- */
/* comparison              */
/* ----------------------- */
.comparison-table-wrapper {
  padding: 0 80px;
  max-width: var(--max-width);
  margin: 40px auto 0;
}
@media screen and (max-width:1280px) {
  .comparison-table-wrapper {
    padding: 0px 24px;
  }
}
.comparison-table {
  width: 100%;
  min-width: 750px;
  border-spacing: 16px;
  table-layout: fixed;
  thead th.hidden {
    width: 203px;
  }
  .vendor {
    background: var(--color-bg-primary-darken);
    font-size: var(--font-size-heading-md);
    line-height: var(--line-height-heading);
    color: var(--color-primary-darken);
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px 12px 0px 0px;

    &.priority {
      font-size: var(--font-size-heading-lg);
      color: var(--color-text-white);
      background: var(--color-primary-darken);
    }
    .detail {
      display: block;
      font-size: var(--font-size-heading-sm);
      line-height: 1.2;
    }
  }
  .criteria {
    padding: 0;
    > div {
      background: var(--color-bg-primary-darken);
      font-size: var(--font-size-heading-md);
      line-height: var(--line-height-heading);
      color: var(--color-primary-darken);
      text-align: left;

      height: 124px;

      margin-right: 32px;
      padding: 24px 4px 24px 16px;   
      box-sizing: border-box;
      position: relative;       

      display: flex;
      align-items: center;
      justify-content: flex-start;      


      &::after {
        content: " ";
        position: absolute;
        right: -32px;
        top: 0;        
        width: 32px;
        height: 124px;
        background: var(--color-bg-primary-darken);
        clip-path: polygon(0 0, 0 100%, 100% 50%);
      }
    }
  }
  .evaluation {
    padding: 10px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    text-align: center;
    line-height: var(--line-height-heading);

    .mark {
      font-family: var(--font-family-jp);
      margin: 0;
      padding: 0;
      font-size: var(--font-size-heading-xl);
      line-height: 48px;
    }
    .description {
      margin: 0;
      padding: 0;
      height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;

      font-size: var(--font-size-heading-sm);
      line-height: 1.2;
      font-weight: bold;
    }
    
    &.priority {
      background: var(--color-bg-accent);
      .mark {
        font-size: var(--font-size-heading-huge);
        color: var(--color-primary-darken);
      }
      .description {
        font-size: var(--font-size-heading-md);
        color: var(--color-primary-darken);
      }      
    }
  }
}
@media screen and (max-width:1280px) {
  .comparison-table {
    .vendor {
      .detail {
        font-size: var(--font-size-heading-xs);
      }
    }
    .evaluation {    
      .description {
        font-size: var(--font-size-heading-xs);
      }
      &.priority {
        .description {
          font-size: var(--font-size-heading-sm);
        }      
      }       
    }   
  }
}
@media screen and (max-width:1080px) {
  .comparison-table {
    thead th.hidden {
      width: 182px;
    }    
    .evaluation {
      padding: 6px;
    }
    .vendor {
      padding: 12px 8px;
      .detail {
        font-size: var(--font-size-body-xs);
      }
    } 
  }
}
@media screen and (max-width:960px) {
  .comparison-table-wrapper {
    overflow-x: scroll;
  }
  .comparison-table {    
    border-spacing: 8px;
    thead th.hidden {
      width: 167px;
    }      
  }
}

/* ----------------------- */
/* flow                    */
/* ----------------------- */
.flow-list-wrapper {
  margin: 40px auto 0;
  padding: 0px 80px;
  box-sizing: border-box;
  
  max-width: var(--max-width);
  display: flex;
  gap: 40px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
@media screen and (max-width:1280px) {
  .flow-list-wrapper {
    padding: 0px 24px;
  }
}
@media screen and (max-width: 960px) {
  .flow-list-wrapper {
      padding: 0px 24px;
      gap: 24px;
  }
}
.flow-list {
  display: flex;
  gap: 24px;
  margin: 0;
  padding-right: calc(33.3% - 80px);
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;  

  &.bottom {
    padding-right: 0;
    padding-left: calc(33.3% - 80px);
  }
}
@media screen and (max-width: 960px) {
  .flow-list {
    gap: 24px;
    flex-direction: column;
    padding-right: 0;
    &.bottom {
      padding-left: 0;
    }
  }
}
.flow-item {
  background: var(--color-bg-white);
  height: 120px;
  border-radius: 12px;

  font-size: var(--font-size-heading-lg);
  font-weight: bold;
  line-height: var(--line-height-heading);
  color: var(--color-primary-darken);
  text-align: center;

  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  &::after {
    position: absolute;
    right: -34px;
    top: 38px;
    z-index: 1;

    content: " ";
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background: url(../images/arrow-white.svg) center center no-repeat var(--color-primary-darken);
  }
  &.last{
    box-sizing: border-box;
    font-size: var(--font-size-heading-xl);
    border: var(--color-primary-darken) 4px solid;
    &::after {
      content: none;
    }
  }
}
@media screen and (max-width:1280px) {
  .flow-item {
    font-size: var(--font-size-heading-md);
    &.last{
      font-size: var(--font-size-heading-lg);
    }
  }
}
@media screen and (max-width:960px) {
  .flow-item {
      height: 48px;
      padding: 8px;
      br {
        display: none;
      }
      &::after {
        right: calc(50% - 12px);
        bottom: -23px;
        top: inherit;   
        width: 20px;
        height: 20px;
        background-size: 16px;
        transform: rotate(90deg);        
      }
  }
}
/* ----------------------- */
/* plan                    */
/* ----------------------- */
#plan {
  position: relative;
  &::before {
    content: " ";
    position: absolute;
    background: url(../images/plan-bg.svg) no-repeat;
    width: 1440px;
    height: 2799px;
    left: 0px;
    bottom: -1300px;
    z-index: -1;
  }
}
.plan-list {
  max-width: var(--max-width);
  padding: 0 80px;
  margin: 40px auto 0;
  box-sizing: border-box;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  align-content: center;
  gap: 40px;
}
@media screen and (max-width:1280px) {
  .plan-list {
    padding: 0px 24px;
  }
}
.plan-item {
  list-style: none;

  width: 620px;
  background: var(--color-bg-white);
  border: var(--color-bg-primary-darken) solid 8px;
  border-radius: 16px;

  padding: 40px;

  box-sizing: border-box;

  &.spot {
    border: none;
  }

  p {
    margin: 0;
    padding: 0;
  }
  .title {
    font-size: var(--font-size-heading-xxl);
    color: var(--color-primary-darken);
    line-height: var(--line-height-heading);
    text-align: center;
  }
  .summary {
    margin-top: 4px;
    font-size: var(--font-size-heading-md);
    text-align: center;      
    color: var(--color-accent-darken);
    font-weight: bold;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap:12px;

  }
  .plus {
    font-family: var(--font-family-en);
    font-size: var(--font-size-heading-lg);
    position: relative;
    top: -2px
  }
  .tool {
    font-size: var(--font-size-heading-xs);
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
  }
  .note {
    margin-top: 4px;

    font-size: var(--font-size-heading-xs);
    color: var(--color-text-sub);
    line-height: var(--line-height-heading);
    text-align: center;
    font-weight: bold;
  }
  .price {
    margin-top: 12px;
    font-size: var(--font-size-heading-huge);
    line-height: var(--line-height-heading);
    font-weight: bold;
    text-align: center;
  }
  .currency {
    font-size: var(--font-size-heading-md);
  }
  .from {
    font-size: var(--font-size-heading-xl);
    font-weight: normal;
  }
  .slash {
    font-weight: normal;
    font-family: var(--font-family-jp);
  }
  .monthly {
    font-size: var(--font-size-heading-lg);
  }
  .description {
    margin-top: 24px;

    font-size: var(--font-size-body-sm);
    color: var(--color-text-sub);
  }
  .service-list-wrapper {
    margin-top: 24px;

    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .service-list {
    flex: 1;
    margin-right: 0.5rem;
    &.wide {
      flex: none;
      margin: 0 auto;      
    }
    .plus {
      padding: 0 22px 0 0;

      font-size: var(--font-size-heading-xl);
      font-family: var(--font-family-en);
      color: var(--color-primary-darken);
      font-weight: bold;
      line-height: 1;
      text-align: center;

      &::before {content: none;}
    }    
  }
  .service-item {
    padding-right: 8px;
  }
}

@media screen and (max-width:960px) {
  .plan-item {
    width: 100%;
    border-width: 4px;
    padding: 24px;
    .summary {
      flex-direction: column;
      display: flex;
      gap: 0px;
    }
    .plus {
      line-height: 1;
      padding-bottom: 8px;
    }
    .service-list-wrapper {
      flex-direction: column;
    }
    .service-list {
      &.wide {
        flex: 1;
      }
    }
  }
}

/* ----------------------- */
/* merit                   */
/* ----------------------- */
#merit {
  background: var(--color-bg-secondary);
}
.merit-list {
  max-width: var(--max-width);
  display: flex;
  gap: 32px;
  margin: 40px auto 0;
  padding: 0px 80px;
  box-sizing: border-box;
}
@media screen and (max-width:1280px) {
  .merit-list {
    padding: 0px 24px;
  }
}
@media screen and (max-width:960px) {
  .merit-list {
    flex-direction: column;
  }
}
.merit-item {
  list-style: none;
  flex: 1;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  .illust {
    padding: 0;
    margin: 0;
  }
  .title {
    margin-top: 16px;
    font-size: var(--font-size-heading-xl);
    color: var(--color-primary-darken);
    line-height: var(--line-height-heading);
  }
  .descriptions {
    margin-top: 8px;
  }
}

/* ----------------------- */
/* faq                   */
/* ----------------------- */
.faq-list {
  margin: 0 auto;
  max-width: 842px;
}
@media screen and (max-width:960px) {
  .faq-list {
    padding: 0 24px;
  }
}
.faq-item {
  list-style: none;
  margin-top: 40px;

  background: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-30);

  .mark {
    font-size: var(--font-size-heading-xxl);
    color: var(--color-secondary);
    line-height: 1;
    width: 72px;
    padding-top: 16px;
    text-align: center;
  }
  .question {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start; 
    cursor: pointer;   
  }
  .title {
    font-size: var(--font-size-heading-md);
    line-height: var(--line-height-heading);
    padding: 24px 0;
    flex: 1;
  }
  .toggle {
    font-size: 0;
    width: 72px;
    height: 72px;
    background: url(../images/toggle.svg) center center no-repeat;
    transform: rotate(180deg);
  }
  .answer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;  
    border-top-style: solid;
    border-top-color: var(--color-border);
    border-top-width: 0;

  
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, border-top-width 0.3s ease-out;

    .mark {
      color: var(--color-accent);
    }

    .answer-body {
      margin: 0;
      padding: 16px 72px 24px 0;
      font-size: var(--font-size-body-xl);
      flex: 1;
    }
  }
  &.open {
    .answer {
      max-height: 500px; 
      border-top-width: 1px;
    }

    .toggle {
      transform: rotate(0deg);
    }
  }  
}

@media screen and (max-width:960px) {
  .faq-item {
    .mark {
      width: 48px;
    }
    .title {
      padding-top: 16px;
    }
    .toggle {
      width: 48px;
      height: 48px;
      padding-top: 4px;
    }
    .answer {
      .answer-body {
        padding: 12px 48px 16px 0;
        font-size: var(--font-size-body-md);
      }
    }
  }
}
/* ----------------------- */
/* important               */
/* ----------------------- */
#important {
  background: var(--color-bg-white);
  .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;    
  }
  .photo {
    width: 36%;
    margin: 0;
    padding: 0;
    line-height: 0;
  }
  .message {
    margin-right: 40px;
  }
  .shoulder {
    font-size: var(--font-size-heading-sm);
    line-height: var(--line-height-heading);
    color: var(--color-primary-darken);
    font-weight: bold;
  }
  .title {
    margin-top: 8px;
    font-size: var(--font-size-heading-xl);
    line-height: var(--line-height-heading);
    color: var(--color-primary-darken);
    font-weight: bold;
    strong {
      color: var(--color-accent);
    }
  }
  .description {
    margin: 16px 0 0 0;
    padding: 0;
    color: var(--color-text-sub);
  }
}
@media screen and (max-width:1280px) {
  #important {
    .title {
      font-size: var(--font-size-heading-lg);
    }  
  }
}
@media screen and (max-width:960px) {
  #important {
    .inner {
      flex-direction: column;
      gap: 24px;
      padding-bottom: 32px;
    }
    .photo {
      width: 100%;
    }
    .message {
      margin: 0 24px;
    }
    .title {
      margin-top: 16px;
    }    
    .description {
      line-height: var(--line-height-heading);
    }      
  }  
}
/* ----------------------- */
/* contact                 */
/* ----------------------- */
#contact {
  text-align: center;
  line-height: var(--line-height-heading);

  display: flex; 
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
    
  .title {
    font-size: var(--font-size-heading-huge);
    color: var(--color-primary-darken);
    strong {
      color: var(--color-accent);
    }
  }
  .phone {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    gap : 4px;

    a.number {
      font-size: var(--font-size-heading-huge);
      text-decoration: none;
      color: var(--color-secondary);
      &:hover {
        text-decoration: underline;
      }
    }
    .time {
      font-size: var(--font-size-heading-md);
      color: var(--color-text-sub);
      font-weight: normal;

    }
  }
  .btn {
    font-size: var(--font-size-heading-xl);
    line-height: var(--line-height-heading);
    padding: 16px 32px;
    width: 100%;
    max-width: 625px;
  }
}
@media screen and (max-width:960px) {
  #contact {
    margin-left: 24px;
    margin-right: 24px;
    gap: 24px;    
    .title {
      font-size: var(--font-size-heading-xl);
    }
  }
}